You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Anders Syvertsen <an...@more.no> on 2006/02/09 10:48:20 UTC

[Axis2 0.94] Can axis2 run on other urlpath than /services/* ?

Trying to run an axis2 service on another urlpath than /services/* and 
the WSDL shows up correctly. However, when i try to invoke the service
i get "AxisService Not found yet". It works when i use urlpath, /services/*

The urlpath i tried was,
    <servlet-mapping>
        <servlet-name>Axis2Servlet</servlet-name>
        <url-pattern>/services2/*</url-pattern>
    </servlet-mapping>

It should be mentioned i run axis1 on /services1/*. Running axis1 on 
/services1/* and axis2 on /services/* works fine. But changing the 
urlpath of my axis1 services would break the systems already using them, 
so i kind of need to run them on /services/*. If its not possible to run 
axis2 on another path than /services/* i might need to convert all my 
axis1 services to axis2.

The full stacktrace axis2 replies with is:
<<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>



Re: [Axis2 0.94] Can axis2 run on other urlpath than /services/* ?

Posted by Davanum Srinivas <da...@gmail.com>.
In axis2 jira please. just the above stack trace will do and make sure
you mention what changes u made to web.xml etc.

thanks.
dims

On 2/9/06, Anders Syvertsen <an...@more.no> wrote:
> Log a bug in the axis2 jira? or log the bug in tomcat and post it here?
> Haven't got any stacktrace in tomcat tho'.
>
> Davanum Srinivas wrote:
>
> >Can you please log a bug?
> >
> >thanks,
> >dims
> >
> >On 2/9/06, Anders Syvertsen <an...@more.no> wrote:
> >
> >
> >>Trying to run an axis2 service on another urlpath than /services/* and
> >>the WSDL shows up correctly. However, when i try to invoke the service
> >>i get "AxisService Not found yet". It works when i use urlpath, /services/*
> >>
> >>The urlpath i tried was,
> >>    <servlet-mapping>
> >>        <servlet-name>Axis2Servlet</servlet-name>
> >>        <url-pattern>/services2/*</url-pattern>
> >>    </servlet-mapping>
> >>
> >>It should be mentioned i run axis1 on /services1/*. Running axis1 on
> >>/services1/* and axis2 on /services/* works fine. But changing the
> >>urlpath of my axis1 services would break the systems already using them,
> >>so i kind of need to run them on /services/*. If its not possible to run
> >>axis2 on another path than /services/* i might need to convert all my
> >>axis1 services to axis2.
> >>
> >>The full stacktrace axis2 replies with is:
> >><<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>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >--
> >Davanum Srinivas : http://wso2.com/blogs/
> >
> >
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Re: [Axis2 0.94] Can axis2 run on other urlpath than /services/* ?

Posted by Anders Syvertsen <an...@more.no>.
Log a bug in the axis2 jira? or log the bug in tomcat and post it here? 
Haven't got any stacktrace in tomcat tho'.

Davanum Srinivas wrote:

>Can you please log a bug?
>
>thanks,
>dims
>
>On 2/9/06, Anders Syvertsen <an...@more.no> wrote:
>  
>
>>Trying to run an axis2 service on another urlpath than /services/* and
>>the WSDL shows up correctly. However, when i try to invoke the service
>>i get "AxisService Not found yet". It works when i use urlpath, /services/*
>>
>>The urlpath i tried was,
>>    <servlet-mapping>
>>        <servlet-name>Axis2Servlet</servlet-name>
>>        <url-pattern>/services2/*</url-pattern>
>>    </servlet-mapping>
>>
>>It should be mentioned i run axis1 on /services1/*. Running axis1 on
>>/services1/* and axis2 on /services/* works fine. But changing the
>>urlpath of my axis1 services would break the systems already using them,
>>so i kind of need to run them on /services/*. If its not possible to run
>>axis2 on another path than /services/* i might need to convert all my
>>axis1 services to axis2.
>>
>>The full stacktrace axis2 replies with is:
>><<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>
>>
>>
>>
>>    
>>
>
>
>--
>Davanum Srinivas : http://wso2.com/blogs/
>  
>


Re: [Axis2 0.94] Can axis2 run on other urlpath than /services/* ?

Posted by Davanum Srinivas <da...@gmail.com>.
Can you please log a bug?

thanks,
dims

On 2/9/06, Anders Syvertsen <an...@more.no> wrote:
> Trying to run an axis2 service on another urlpath than /services/* and
> the WSDL shows up correctly. However, when i try to invoke the service
> i get "AxisService Not found yet". It works when i use urlpath, /services/*
>
> The urlpath i tried was,
>     <servlet-mapping>
>         <servlet-name>Axis2Servlet</servlet-name>
>         <url-pattern>/services2/*</url-pattern>
>     </servlet-mapping>
>
> It should be mentioned i run axis1 on /services1/*. Running axis1 on
> /services1/* and axis2 on /services/* works fine. But changing the
> urlpath of my axis1 services would break the systems already using them,
> so i kind of need to run them on /services/*. If its not possible to run
> axis2 on another path than /services/* i might need to convert all my
> axis1 services to axis2.
>
> The full stacktrace axis2 replies with is:
> <<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>
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/