Hi all, i'm trying to deploy a Web Service with Axis2.
Thos are my spec: Axis2 v 1.5.1 Jboss 5.0.1 Java 1.5 I added all axis2 libs in WEB-INF/lib, except xercesImpl-2.6.2.jar and xml-apis-1.3.02.jar. In attachment the war (with service source), WITHOUT libs. When i deploy, everything seems fine. If i try to invoke the service, i get: ERROR [AxisEngine] The service cannot be found for the endpoint reference (EPR) http://localhost:8380/sample/IntegrationManager Then i try to search the service invoking http://localhost:8380/sample/IntegrationManager?wsdl and i have an http 404. Looking at jboss log there is an exception: 17:13:38,108 ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet threw exception java.lang.StackOverflowError at javax.servlet.http.HttpServletRequestWrapper.getMethod(HttpServletRequestWrapper.java:114) at javax.servlet.http.HttpServletRequestWrapper.getMethod(HttpServletRequestWrapper.java:114) [......................................] [......................................] at javax.servlet.http.HttpServletRequestWrapper.getMethod(HttpServletRequestWrapper.java:114) at javax.servlet.http.HttpServletRequestWrapper.getMethod(HttpServletRequestWrapper.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:610) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) at org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:121) at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:390) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:249) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) at org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:121) at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:390) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:249) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [......................................] [......................................] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) at org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:121) 17:13:38,116 INFO [AbstractAgent] Old Servlet API :javax.servlet.ServletException: Servlet execution threw an exception Similar exception when invoking http://localhost:8380/sample/services/listServices (i should get the deployed services, right?), ending with: [......................................] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480) at org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:121) at org.apache.axis2.transport.http.ListingAgent.processListServices(ListingAgent.java:404) at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 17:13:38,116 INFO [AbstractAgent] Old Servlet API :javax.servlet.ServletException: Servlet execution threw an exception Where i'm wrong?? Thx, Lorenzo
sample.war
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
