[
http://jira.jboss.com/jira/browse/JBAS-4018?page=comments#action_12353735 ]
Tom Elrod commented on JBAS-4018:
----------------------------------
So I totally forgot about the response object being a
org.jboss.invocation.MarshalledValueEX, meaning at the remoting level, all the classes
have been loaded successfully, so it won't do any remote classloading dynamically. It
is when the MarshalledValueEX reaches the UnifiedInvokerProxy (or PooledInvokerProxy),
that the actual response value is pulled out from the MarshalledValueEX and the CNF
exception occurs.
So can either wait for JBAS-3658 or try to find a temporary hack to make it work (i.e.
using current org.jboss.web.WebService). Even then, am not sure how we shoe horn it in so
know location of WebService on client side.
failing org.jboss.test.jrmp.test.DynLoadingUnitTestCase
-------------------------------------------------------
Key: JBAS-4018
URL:
http://jira.jboss.com/jira/browse/JBAS-4018
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: Test Suite
Environment: Java Version 1.5.0_10
Java Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) Server VM
Java VM Version 1.5.0_10-b03
Java VM Info mixed mode
OS Name Linux
OS Version 2.6.9-42.0.2.ELsmp
OS Arch i386
Reporter: Dimitris Andreadis
Assigned To: Tom Elrod
Priority: Critical
Fix For: JBossAS-4.2.0.CR1
testAccess Error N/A
java.lang.reflect.UndeclaredThrowableException
at $Proxy2.copy(Unknown Source)
at
org.jboss.test.jrmp.test.DynLoadingUnitTestCase.testAccess(DynLoadingUnitTestCase.java:69)
Caused by: java.lang.ClassNotFoundException: org.jboss.test.jrmp.ejb.AString
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
at
org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
at
org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:187)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:121)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
... 17 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira