And these tests continue to run fine here. We need to be able to
reproduce the issue you are seeing on my box.
    [junit] Running
org.jboss.test.naming.test.InternalNamingClassReplacementUnitTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.109 sec
Send me the server log of just the
InternalNamingClassReplacementUnitTestCase
run.

This change does not serialize these proxies on every call, it only
makes them Serializable. The only time a local home interface is serialized
is when the home is obtained from JNDI. The local interfaces are
only serialized when passivation occurs so this is not a performance
issue.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Scott Stark" <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 11:25 AM
Subject: Re: [JBoss-dev] [ jboss-Bugs-541855 ] Passivation of stateful sess
beans fails


> This change, serializing local proxies as well as remote ones, breaks the
> local ejb-link naming tests on my machine: previously only the remote ones
> were broken.
>
> In the nightly tests, the remote tests (not the local) also failed on jdk
> 1.4, a similar setup to mine.
>
>
http://www.lubega.com/testarchive/sun_j2sdk140/org/jboss/test/naming/test/In
ternalNamingClassReplacementUnitTestCase.html
>
>
> As far as I can tell, the serialization code is keeping the first version
> of the class it sees, forever.  I haven't dug into sun's code yet,
however.
> (Is it available for 1.4 anyway?)
>
> I would think this change to serialized storage of local proxies would
slow
> things down significantly compared to references.  I was considering
> changing storage of remote proxies to references as well, on the argument
> that local access is expected to be more frequent than remote access, so
> the cost of serializing a referenced proxy for each remote call would be
> less than the cost of deserializing a serialized proxy for a local call.
> It would also fix these tests on more systems.
>
> Any comments?
>
> thanks
> david jencks
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to