Hi all, 

Recently I tried to integrated Apache Axis2 to my web app using Resin pro
3.0.24. Java version is jdk1.5.0_16.

Basically I copy all the needed Axis2 jar files to 

myApp/WEB-INF/lib

and added the following mapping to web.xml

<servlet>
  <servlet-name>AxisServlet</servlet-name>
  <servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
  <servlet-name>AxisServlet</servlet-name>
  <url-pattern>/services/*</url-pattern>
</servlet-mapping>

But when I start Resin, the following error showed up.

WEB-INF/web.xml:145: `org.apache.axis2.transport.http.AxisServlet' is not
a known servlet. Servlets belong in the classpath, often in WEB-INF/classes.

IN web.xml, I have another mapping for another class whose jar also in
WEB-INF/lib directory and it works just fine. Meaning the Axis.jar that
includes the AxisServlet.class is definitely in the classpath.

Can anyone tell me what's wrong and how to fix the problem?
I'd really appreciate it.

thanks in advance,

-tian


-- 
View this message in context: 
http://www.nabble.com/Help%21-How-to-fix-the-error-when-staring-Resin%2C-%60org.apache.axis2.transport.http.AxisServlet%27-is-not-a-known-servlet--tp20043802p20043802.html
Sent from the Resin mailing list archive at Nabble.com.



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to