[jboss-user] [JBossWS] - JAX-RPC Web Services - Class is not a servlet error - How to
srkpriv
do-not-reply at jboss.com
Mon Nov 12 11:32:51 EST 2007
Can anyone help me resolve this 'Class is not a servlet' issue that I am facing. I am running this in JBoss App Server 4.2.1.GA and I have the Webservices.xml, mapping.xml, wsdl and web.xml available in the respective directories?
Do I have to do any further config changes or something to make this work?
javax.servlet.ServletException: Class com.erp.core.ws.hello.HelloServlet is not a Servlet
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.ClassCastException: com.erp.core.ws.hello.HelloServlet
Please let me know.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103770#4103770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103770
More information about the jboss-user
mailing list