[jboss-user] [JBoss Web Services] - Weird ClassCastException in ws client
Joao Heleno
do-not-reply at jboss.com
Wed Apr 11 10:57:02 EDT 2012
Joao Heleno [https://community.jboss.org/people/jheleno] created the discussion
"Weird ClassCastException in ws client"
To view the discussion, visit: https://community.jboss.org/message/729387#729387
--------------------------------------------------------------
Hello all!
I started getting this weird error *java.lang.ClassCastException: org.jboss.ws.core.soap.SOAPElementImpl cannot be cast to org.jboss.ws.core.soap.SOAPElementImpl* and I don't know what's causing it.
JBoss version is 5.1.0.
Here's the stack:
*2012-04-11 15:37:04,505 ERROR [STDERR] (http-0.0.0.0-8443-10) javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message*
2012-04-11 15:37:04,506 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:396)
2012-04-11 15:37:04,506 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
2012-04-11 15:37:04,506 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
2012-04-11 15:37:04,506 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at $Proxy1019.pedido(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at outsystems.nosacss_incm_ws.actions.ActMakeRequest.mosMakeRequest(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at osacss_backoffice.referencesproxy.rssextensionacss_incm_ws.actions.ActMakeRequest.mosMakeRequest(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at osacss_backoffice.actions.ActMakeRequest.executeMakeRequest(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at osacss_backoffice.managedbean.flowweblocks.WBlkEncomendas_Formulario.commandFinalizaEncomenda_Ajax(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at osacss_backoffice.managedbean.flowweblocks.WBlkEncomendas_Formulario.btn_ButtonK8VMO9LGhFES0evnuKUn3EQClick(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at java.lang.reflect.Method.invoke(Method.java:597)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.el.parser.AstValue.invoke(AstValue.java:170)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at outsystems.hubedition.webwidgets.uicomponent.utils.MethodExpressionEventListener.invokeAction(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at outsystems.hubedition.webwidgets.ajaxEvents.MethodExpressionAjaxClickEventListener.processAjaxClickEvent(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at outsystems.hubedition.webwidgets.ajaxEvents.AjaxClickEvent.processListener(Unknown Source)
2012-04-11 15:37:04,515 ERROR [STDERR] (http-0.0.0.0-8443-10) at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at outsystems.hubedition.webwidgets.uicomponent.os_controls.WebBlockInstanceComponent.broadcast(Unknown Source)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at outsystems.hubedition.webwidgets.BaseRequestStartupFilter.doFilter(Unknown Source)
2012-04-11 15:37:04,516 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2012-04-11 15:37:04,525 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2012-04-11 15:37:04,526 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2012-04-11 15:37:04,526 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2012-04-11 15:37:04,526 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
2012-04-11 15:37:04,526 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
2012-04-11 15:37:04,526 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2012-04-11 15:37:04,526 ERROR [STDERR] (http-0.0.0.0-8443-10) at java.lang.Thread.run(Thread.java:662)
*2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) Caused by: java.io.IOException: Could not transmit message*
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:265)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:340)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) ... 49 more
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:249)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:161)
2012-04-11 15:37:04,527 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.Client.invoke(Client.java:1724)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.Client.invoke(Client.java:629)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:243)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) ... 52 more
*2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.SOAPElementImpl cannot be cast to org.jboss.ws.core.soap.SOAPElementImpl*
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImpl.java:57)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:136)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:294)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:82)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:570)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
2012-04-11 15:37:04,528 ERROR [STDERR] (http-0.0.0.0-8443-10) ... 57 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/729387#729387]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120411/69e62379/attachment-0001.html
More information about the jboss-user
mailing list