[jboss-jira] [JBoss JIRA] Closed: (JBREM-387) classloading problem - using wrong classloader

David Lloyd (JIRA) jira-events at lists.jboss.org
Wed Sep 26 05:31:22 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBREM-387?page=all ]

David Lloyd closed JBREM-387.
-----------------------------


> classloading problem - using wrong classloader
> ----------------------------------------------
>
>                 Key: JBREM-387
>                 URL: http://jira.jboss.com/jira/browse/JBREM-387
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: general
>    Affects Versions: 1.4.1 final
>            Reporter: Tom  Elrod
>         Assigned To: Tom  Elrod
>             Fix For: 2.0.0.CR1 (Boon)
>
>
> From Clebert:
> There is definetly something wrong with ClassLoading on Remoting.
> I tried to debug this today. And I could see two things:
> On JavaSerializationManager,
>      if(inputStream instanceof ObjectInputStreamWithClassLoader)
>       {
>          //if(((ObjectInputStreamWithClassLoader)
> inputStream).getClassLoader() == null)
>          //{
>             ((ObjectInputStreamWithClassLoader)
> inputStream).setClassLoader(customClassLoader);
>          //}
>          objInputStream = (ObjectInputStream) inputStream;
>       }
> The classLoader here is different than remotingClassLoader.
> And I didn't see where the classloader is set from the current call.
> On JBossHead...
> Build JBoss
> Go to /ejb3
> Build (to build tescases)
> Run JBoss
> Go to /ejb3
> build -f build-test.xml -Dtest=regression/ejbthree440 test

-- 
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

        



More information about the jboss-jira mailing list