axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19836] - Exception in service constructor makes future SOAP calls hang
Date Tue, 01 Jul 2003 05:08:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19836>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19836

Exception in service constructor makes future SOAP calls hang





------- Additional Comments From mark-apache@inomial.com  2003-07-01 05:08 -------
This is the log output from the first service invocation. My "Debug" service
throws a (synthetic) exception in the Debug() constructor. From this point on,
attempts to access the Debug service never return.

Note that there are no exceptions (or any logging at all, that I can see) apart
from the exception during instantiation. Also, the first call (that causes the
service to be instantiated) does return with a soap fault; only the second and
subsequent calls fail.

I have just this moment discovered that after a really long time the service
call might return but I don't have any hard data on that at the moment. It might
well be just be my client-side timing out.

Hope this helps

Mark



cms: 1/07/2003 14:57:59 org.apache.axis.transport.http.AxisServlet processAxisFault
cms: INFO: AxisFault:
cms: AxisFault
cms:  faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptioncms:  faultSubcode:
cms:  faultString: java.lang.RuntimeException: This is my runtimeException
cms:  faultActor:
cms:  faultNode:
cms:  faultDetail:
cms:    {http://xml.apache.org/axis/}stackTrace: java.lang.RuntimeException:
This is my runtimeException
cms:    at com.inomial.cms.soap.cli.scripts.Debug.&lt;init&gt;(Debug.java:13)
cms:    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)cms:    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
cms:    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
cms:    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
cms:    at java.lang.Class.newInstance0(Class.java:306)
cms:    at java.lang.Class.newInstance(Class.java:259)
cms:    at
org.apache.axis.providers.java.JavaProvider.makeNewServiceObject(JavaProvider.java:536)
cms:    at
org.apache.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:258)
cms:    at
org.apache.axis.providers.java.JavaProvider.getSessionServiceObject(JavaProvider.java:230)
cms:    at
org.apache.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:147)
cms:    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:310)
cms:    at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
cms:    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
cms:    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
cms:    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:475)
cms:    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
cms:    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
cms:    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
cms:    at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
cms:    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
cms:    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
cms:    at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:651)
cms:    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
cms:    at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
cms:    at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
cms:    at org.mortbay.http.HttpServer.service(HttpServer.java:863)
cms:    at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
cms:    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
cms:    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
cms:    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
cms:    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
cms:    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
cms:
cms:    {http://xml.apache.org/axis/}isRuntimeException: true
cms:
cms: java.lang.RuntimeException: This is my runtimeException
cms:    at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
cms:    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:340)
cms:    at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
cms:    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
cms:    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
cms:    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:475)
cms:    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
cms:    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
cms:    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
cms:    at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
cms:    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
cms:    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
cms:    at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:651)
cms:    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
cms:    at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
cms:    at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
cms:    at org.mortbay.http.HttpServer.service(HttpServer.java:863)
cms:    at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
cms:    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
cms:    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
cms:    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
cms:    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
cms:    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
cms: Caused by: java.lang.RuntimeException: This is my runtimeException
cms:    at com.inomial.cms.soap.cli.scripts.Debug.<init>(Debug.java:13)
cms:    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)cms:    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
cms:    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
cms:    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
cms:    at java.lang.Class.newInstance0(Class.java:306)
cms:    at java.lang.Class.newInstance(Class.java:259)
cms:    at
org.apache.axis.providers.java.JavaProvider.makeNewServiceObject(JavaProvider.java:536)
cms:    at
org.apache.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:258)
cms:    at
org.apache.axis.providers.java.JavaProvider.getSessionServiceObject(JavaProvider.java:230)
cms:    at
org.apache.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:147)
cms:    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:310)
cms:    ... 21 more

Mime
View raw message