Saturday, March 15, 2008

Axis configure error

copy axis webapp to tomcat webapp and visit:
http://localhost:8080/axis/happyaxis.jsp
Axis Happiness Page
Examining webapp configuration

.....

Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location

Error: could not find class javax.activation.DataHandler from file activation.jar
Axis will not work.
See http://java.sun.com/products/javabeans/glasgow/jaf.html

solution: put activation.jar and mailapi.jar under the common\lib of the Tomcat. Other locations do not work.
By the way, Axis optional component XML security jar xmlsec.jar should put under the same place, tomcat/common/lib, if axis has not found it.

No comments :