[jboss-user] [JBoss Web Services] - Re: java.lang.IllegalStateException:

guido scollo do-not-reply at jboss.com
Wed Nov 16 06:58:19 EST 2011


guido scollo [http://community.jboss.org/people/guido_scollo] created the discussion

"Re: java.lang.IllegalStateException:"

To view the discussion, visit: http://community.jboss.org/message/636760#636760

--------------------------------------------------------------
I'm working at the same line code. I'll give you more informations. Jboss is v4.2.3, jbossws is v3.0.1, JDK is 1.6.

The client that invoke the web service operation works well is is invoked inside GUI code. But the same client crashes if invokend inside the implementation of another web service operation.

A complete error stack trace is swown here:

2011-11-16 12:55:28,234 INFO  [resi.ResiClientImpl] trustStoreFile=[C:\Program Files\EMX\jboss-4.2.3GA\server\default\conf\ssl\cosign-conf.jks];  password=[xxx]
2011-11-16 12:55:28,312 WARN  [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot access wsdlURL:  https://127.0.0.1:8443/inemIFWS/ResiIFWSImpl?wsdl https://127.0.0.1:8443/inemIFWS/ResiIFWSImpl?wsdl
2011-11-16 12:55:28,312 WARN  [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta data for: { http://IFResi.ws http://IFResi.ws}ProbeServicePort
2011-11-16 12:55:28,328 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] START: rebuildMetaData
2011-11-16 12:55:28,328 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] setParameterStyle: null
2011-11-16 12:55:28,328 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] processSOAPBinding on: ws.ifresi.ResiIFPortType
2011-11-16 12:55:28,328 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] setParameterStyle: BARE
2011-11-16 12:55:28,328 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Create new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]
2011-11-16 12:55:28,328 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] getConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]
2011-11-16 12:55:28,343 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] parse: file:/C:/Program Files/EMX/jboss-4.2.3GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
2011-11-16 12:55:28,578 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure EndpointMetaData
2011-11-16 12:55:28,578 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 PRE handlers
2011-11-16 12:55:28,578 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 ENDPOINT handlers
2011-11-16 12:55:28,578 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 POST handlers
2011-11-16 12:55:28,578 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] JAXBContext [types=[class ws.ifresi.GetId, class ws.ifresi.GetIdProbesResponse, class ws.ifresi.GetAll, class ws.ifresi.GetAllProbesResponse, class ws.ifresi.NotifyNetworkChangeRequestElem, class ws.ifresi.NotifyNetworkChangeResponseElem],tns= http://IFResi.ws http://IFResi.ws]
2011-11-16 12:55:28,671 ERROR [STDERR] java.lang.IllegalStateException: Cannot obtain xml type for: [xmlName={ http://IFResi.ws http://IFResi.ws}getIdElem,javaName=ws.ifresi.GetId]
2011-11-16 12:55:28,671 ERROR [STDERR]     at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.populateXmlType(JAXWSMetaDataBuilder.java:988)
2011-11-16 12:55:28,671 ERROR [STDERR]     at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.populateXmlTypes(JAXWSMetaDataBuilder.java:1014)
2011-11-16 12:55:28,671 ERROR [STDERR]     at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:304)
2011-11-16 12:55:28,671 ERROR [STDERR]     at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:271)
2011-11-16 12:55:28,671 ERROR [STDERR]     at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:202)
2011-11-16 12:55:28,671 ERROR [STDERR]     at javax.xml.ws.Service.getPort(Service.java:92)
2011-11-16 12:55:28,687 ERROR [STDERR]     at resi.ResiClientImpl.getResiPort(ResiClientImpl.java:349)
2011-11-16 12:55:28,687 ERROR [STDERR]     at resi.ResiClientImpl.getId(ResiClientImpl.java:224)
2011-11-16 12:55:28,687 ERROR [STDERR]     at inemRep.impl.InemRepWSImpl.notifyProbeChange(InemRepWSImpl.java:242)
2011-11-16 12:55:28,687 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-11-16 12:55:28,687 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2011-11-16 12:55:28,687 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-11-16 12:55:28,687 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.wsf.container.jboss42.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:102)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:221)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
2011-11-16 12:55:28,687 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2011-11-16 12:55:28,687 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2011-11-16 12:55:28,687 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)


Thank's all
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/636760#636760]

Start a new discussion in JBoss Web Services at Community
[http://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/20111116/d2679803/attachment-0001.html 


More information about the jboss-user mailing list