dev@glassfish.java.net

AS 9.1 EE build 31 - java.io.InvalidClassException: com.sun.ejb.base.io.SerializableS1ASEJBObjectReference;

From: jothir ganesan <Jothir.Ganesan_at_Sun.COM>
Date: Thu, 18 Jan 2007 13:49:30 +0530

Hi

I executed a list of HA tests with As 9.1 EE promoted build 31. Our tests typically does the following:

- start the cluster
- send a(or 2-3) request(s) throught the lbplugin to the instance in a cluster. The instance listed first in Loadbalancer.xml serves the request. (In our case, it is instance1)
- stop and start the instance(say instance1) that handled the request
- send the next (remaining) request(s) to check for session availability.
- Undeploy the app.

*These tests have persistence type set to 'file'.*

Instance 1 was restarted most of the times.

In the course of execution, after deploy, instance 1 had the below given exception and goes into an inconsistent state and thereby all the following tests fail.

[#|2007-01-16T17:27:24.584+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=21;_ThreadName=RMI TCP Connection(37)-10.12.163.192;/sfsbtc20;|WEB0111: Enabling file-based persistence for web module [/sfsbtc20]'s sessions|#]

[#|2007-01-16T17:27:37.184+0530|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|com.sun.enterprise.iiop.FailoverIORInterceptor.establish_components: ignoring SSL ports: SSL eas-sf280r-04 33820|#]

[#|2007-01-16T17:27:37.189+0530|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|com.sun.enterprise.iiop.FailoverIORInterceptor.establish_components: ignoring SSL ports: SSL_MUTUALAUTH eas-sf280r-04 33920|#]

[#|2007-01-16T17:27:37.193+0530|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|com.sun.enterprise.iiop.FailoverIORInterceptor.establish_components: ignoring SSL ports: SSL eas-sf280r-02 33820|#]

[#|2007-01-16T17:27:37.195+0530|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|com.sun.enterprise.iiop.FailoverIORInterceptor.establish_components: ignoring SSL ports: SSL_MUTUALAUTH eas-sf280r-02 33920|#]

[#|2007-01-16T17:27:37.198+0530|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|com.sun.enterprise.iiop.FailoverIORInterceptor.establish_components: ignoring SSL ports: SSL eas163 33820|#]

[#|2007-01-16T17:27:37.200+0530|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|com.sun.enterprise.iiop.FailoverIORInterceptor.establish_components: ignoring SSL ports: SSL_MUTUALAUTH eas163 33920|#]

[#|2007-01-16T17:27:37.559+0530|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;|
Test 20 Ejb passivate() |#]

[#|2007-01-16T17:27:37.611+0530|WARNING|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=19;_ThreadName=httpSSLWorkerThread-1111-0;_RequestID=ac356435-56e0-4190-b962-4a5715ebd2e9;|Error during checkpoint (SFSBTest20. Key: 1f00900a2ac4ca60-c3000ca35854a7ed-1) java.io.NotSerializableException: java.net.Socket|#]

[#|2007-01-16T17:27:38.270+0530|WARNING|sun-appserver9.1|GRIZZLY|_ThreadID=20;_ThreadName=httpSSLWorkerThread-1111-1;