Hi ,
I have deployed my session bean as web services and it works
fine as long as i do not add a soap handler in the
webservices.xml
after i have added a soap handler it is deployed
successfully to sun one app server with jwsdp1.5 but on
invoking web service
i get the following error.
Can you please help and letme know is there any other
setting i need.
entry in webservices.xml is
<handler>
<handler-name>MWSWebServiceRequestHandler</handler-name>
<handler-class>com.cimex.mobilewebservices.framework.request.handler.MWSWebServiceRequestHandler</handler-class>
</handler>
I am using jdk1.4 sun one app server 8.2 jwsdp1.5
[#|2009-01-21T16:14:51.022+0000|SEVERE|sun-appserver-pe8.2|com.sun.xml.rpc.server|_ThreadID=14;|Can't
overwrite cause
java.lang.IllegalStateException: Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:319)
at
com.sun.enterprise.webservice.EjbContainerPreHandler.handleRequest(EjbContainerPreHandler.java:80)
at
com.sun.xml.rpc.client.HandlerChainImpl.handleRequest(HandlerChainImpl.java:86)
at
com.sun.xml.rpc.server.StreamingHandler.callRequestHandlers(StreamingHandler.java:918)
at
com.sun.xml.rpc.server.StreamingHandler.preHandlingHook(StreamingHandler.java:831)
at
com.cimex.mobilewebservices.framework.request.requestcontroller.ejb.MWSRequestControllerService_Tie.preHandlingHook(MWSRequestControllerService_Tie.java:236)
at
com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:102)
at
com.sun.enterprise.webservice.EjbWebServiceDispatcher.handlePost(EjbWebServiceDispatcher.java:140)
at
com.sun.enterprise.webservice.EjbWebServiceDispatcher.invoke(EjbWebServiceDispatcher.java:79)
at
com.sun.enterprise.webservice.EjbWebServiceValve.dispatchToEjbEndpoint(EjbWebServiceValve.java:187)
at
com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:131)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:542)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
|#]
[Message sent by forum member 'vishalparmar' (vishalparmar)]
http://forums.java.net/jive/thread.jspa?messageID=327433