You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepak Bhole (JIRA)" <ji...@apache.org> on 2006/02/10 21:57:14 UTC

[jira] Commented: (AXIS2-441) Axis 0.94 - Can't use other urlpath than /services/*. Gives "AxisService Not found yet" in the reply as an AxisFault.

    [ http://issues.apache.org/jira/browse/AXIS2-441?page=comments#action_12365966 ] 

Deepak Bhole commented on AXIS2-441:
------------------------------------

It doesn't seem like the service folder is meant to be configurable (from the axis perspective). The "services" directory is hardcoded. AFAIK, the web.xml is used only by tomcat for figuring out which servlet to send the request to.

> Axis 0.94 - Can't use other urlpath than /services/*. Gives "AxisService Not found yet" in the reply as an AxisFault.
> ---------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS2-441
>          URL: http://issues.apache.org/jira/browse/AXIS2-441
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Versions: 0.94
>  Environment: Windows XP, Tomcat 5.5.7, j2sdk 1.4.2_08, axis 0.94.
>     Reporter: Anders Syvertsen

>
> Trying to run axis2 under a different urlpath than the default, /services/* but it doesnt work.
> Changing in web.xml the default mapping to,
> <servlet-mapping>
>     <servlet-name>Axis2Servlet</servlet-name>
>     <url-pattern>/services2/*</url-pattern>
> </servlet-mapping>
> and it crashes when i try to invoke the service, when pointing my browser to the WSDL it displays correctly though.
> The stacktrace axis2 replies with is:
> <?xml version="1.0" encoding="UTF-8" ?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> 	<soapenv:Header />
> 	<soapenv:Body>
> 		<soapenv:Fault>
> 			<faultcode>Client</faultcode>
> 			<faultstring>AxisService Not found yet</faultstring>
> 			<faultactor>http://myAxisServer/role/default</faultactor>
> 			<detail>
> <soapenv:Exception>org.apache.axis2.AxisFault: AxisService Not found yet at org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContext(InstanceDispatcher.java:99) at org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.java:56) at org.apache.axis2.engine.Phase.invoke(Phase.java:376) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:351) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:322) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:274) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)</soapenv:Exception>
> 			</detail>
> 		</soapenv:Fault>
> 	</soapenv:Body>
> </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira