[
https://jira.jboss.org/jira/browse/JBWS-2349?page=com.atlassian.jira.plug...
]
Alessio Soldano updated JBWS-2349:
----------------------------------
Fix Version/s: jbossws-native-3.0.7
(was: jbossws-native-3.0.6)
Redeployment error when using a jbossws client proxy inside a RAR
connector
---------------------------------------------------------------------------
Key: JBWS-2349
URL:
https://jira.jboss.org/jira/browse/JBWS-2349
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.0.3
Environment: JDK 6, WinXP SP3, JBoss AS 4.0.3 GA
Reporter: Silvano Maffeis
Assignee: Alessio Soldano
Fix For: jbossws-native-3.0.7
I have a JBoss JCA connector (RAR) which creates a JAX-WS client to call a Web Service.
This works fine when I deploy the RAR connector for the first time, or when I restart
JBoss.
However, If I do a hot redeployment of the connector, then the next time the connector
attempts to create a JAXWS client, the following exception occurs.
Seems a JBoss AS classloader related issue.
8:44:11,890 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new
connection: null
javax.xml.ws.WebServiceException: Cannot create proxy
at
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createProxy(ServiceDelegateImpl.java:422)
at
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:275)
at
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:202)
at javax.xml.ws.Service.getPort(Service.java:143)
at com.vipera.myproj.tx.jaxws.InvokeMW.getInvokeMWSoap(InvokeMW.java:56)
at
com.vipera.myproj.tx.MashreqTransactionPlugin.createSoapClient(MashreqTransactionPlugin.java:542)
at
com.vipera.myproj.tx.MashreqTransactionPlugin.initSoapClient(MashreqTransactionPlugin.java:617)
at
com.vipera.myproj.tx.MashreqTransactionPlugin.startup(MashreqTransactionPlugin.java:342)
at
com.vipera.ts.server.jca.spi.BackendManagedConnection.<init>(BackendManagedConnection.java:88)
at
com.vipera.ts.server.jca.spi.BackendManagedConnectionFactory.createManagedConnection(BackendManagedConnectionFactory.java:116)
at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:619)
at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:264)
at
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:575)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:332)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
at
com.vipera.ts.server.jca.cci.BackendConnectionFactory.getConnection(BackendConnectionFactory.java:84)
at
com.vipera.ts.server.tx.TransactionService.handleTransaction(TransactionService.java:142)
at com.vipera.ts.server.tx.TransactionService.handle(TransactionService.java:74)
at com.vipera.fw.be.disp.ServiceDispatcher.dispatchService(ServiceDispatcher.java:119)
at com.vipera.fw.be.disp.ServiceDispatcher.handle(ServiceDispatcher.java:92)
at com.vipera.fw.be.AbstractHandler.dispatch(AbstractHandler.java:115)
at
com.vipera.ts.server.session.SessionCheckerHandler.handle(SessionCheckerHandler.java:107)
at com.vipera.fw.be.AbstractHandler.dispatch(AbstractHandler.java:115)
at
com.vipera.ts.server.handler.ContainerCheckerHandler.handle(ContainerCheckerHandler.java:127)
at com.vipera.fw.be.AbstractHandler.dispatch(AbstractHandler.java:115)
at com.vipera.ts.server.handler.ServletConnectorIn.handle(ServletConnectorIn.java:32)
at com.vipera.ts.server.servlet.ConnectionServlet.doPost(ConnectionServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: interface
com.vipera.myproj.tx.jaxws.InvokeMWSoap is not visible from class loader
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
at
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createProxy(ServiceDelegateImpl.java:402)
... 49 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira