I've put Axis 1.4 under
Tomcat 6.0.18 and it does almost everything
as described.
However, I can compile and deploy the calculator.jws app only because it imports no classes. Another app EchoHeaders.jws cannot be compiled and deployed because the class javax.servlet.http.HttpServletRequest cannot be found.
One observation : the web.xml file in D:\Tomcat\webapps\axis\WEB-INF has :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Apache-Axis</display-name>
<listener>
<listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
</listener>
etc.
etc.
Then starting Tomcat shows a "can't find class" error :
..
INFO: Starting
Servlet Engine: Apache Tomcat/6.0.18
- Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart).
Attachment support is disabled.
27.12.2008 19:58:24 org.apache.coyote.http11.Http11Protocol start
..
..
But (!!!) when I reduce the axis web.xml to this :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
Then Tomcat starts without a hitch :
..
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
27.12.2008 18:45:08 org.apache.coyote.http11.Http11Protocoll start
..
..
I've got
Java 1.6 and the env vari classpath also points to j2ee.jar.
are axis and Tomcat stepping on each other's toes?
must server.xml in Tomcat be modified to take axis into account?
What am I doing wrong?