users@glassfish.java.net

RE: FW: Custom Login Realm Serializable Exception

From: Lasitha Kodikara <lasithabk_at_millenniumit.com>
Date: Mon, 16 Nov 2009 14:21:28 +0530

Hi Kumar,

 

Thanks a lot for the reply. This is the full stack trace which I get. I
still couldn't find the point where this exception comes. But this exception
comes, whenever I shutdown or start the server. If I don't login to the
application (Custom Login) this error does not occur.

 

If you want I can send the login module contents also. Please let me know.

 

Regards,

Lasitha

 

From: Vbkumar.Jayanti_at_Sun.COM [mailto:Vbkumar.Jayanti_at_Sun.COM]
Sent: Monday, November 16, 2009 1:15 PM
To: users_at_glassfish.dev.java.net
Subject: Re: FW: Custom Login Realm Serializable Exception

 

Lasitha Kodikara wrote:

Hi Guys,

 

I am really stuck with this. Any help on this would be highly appreciated L

There is no direct usage of the class sun.security.acl.PrincipalImpl in the
runtime. So from where is this coming. Is this coming from your custom login
module ?.

kumar



Thanks in advance

Lasitha

 

From: Lasitha Kodikara [mailto:lasithabk_at_millenniumit.com]
Sent: Sunday, November 15, 2009 5:24 PM
To: users_at_glassfish.dev.java.net
Subject: Custom Login Realm Serializable Exception

 

Hi All,

 

In my application I have written a Custom Login Module, which will
authenticate the user and fetch groups and policies from the data base. This
works fine. And the users do get authenticated without any error. However
when I shut down the server or start the server, it gives the following
exception. From my understanding this seems like, it is giving an exception
when the session is trying to persist.

 

I am extending AppservPasswordLoginModule and AppservRealm classes to write
my Custom Login Module.

 

However even I get this, when I stop and starts the server still the user
authentication is remembered (J).

 

Can you please help me to get rid of this exception.

 

Following is the stack trace I get.

 

Thanks in Advance,

Lasitha

 

java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: sun.security.acl.PrincipalImpl

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at java.util.LinkedList.readObject(LinkedList.java:964)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at java.io.ObjectInputStream.access$300(ObjectInputStream.java:188)

        at
java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:210
9)

        at java.io.ObjectInputStream.readFields(ObjectInputStream.java:519)

        at
javax.security.auth.Subject$SecureSet.readObject(Subject.java:1287)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)

        at javax.security.auth.Subject.readObject(Subject.java:929)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at
org.apache.catalina.session.StandardSession.readRemainingObject(StandardSess
ion.java:1793)

        at
org.apache.catalina.session.StandardSession.readObject(StandardSession.java:
1759)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at
org.apache.catalina.session.StandardSession.deserialize(StandardSession.java
:1125)

        at
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:501)

        at
org.apache.catalina.session.StandardManager.load(StandardManager.java:418)

        at
org.apache.catalina.session.StandardManager.start(StandardManager.java:810)

        at
org.apache.catalina.core.StandardContext.managerStart(StandardContext.java:4
942)

        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5259)

        at com.sun.enterprise.web.WebModule.start(WebModule.java:353)

        at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)

        at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:
304)

        at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

        at java.util.concurrent.FutureTask.run(FutureTask.java:138)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.NotSerializableException: sun.security.acl.PrincipalImpl

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)

        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

        at java.util.LinkedList.writeObject(LinkedList.java:943)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.access$300(ObjectOutputStream.java:143)

        at
java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:
1668)

        at
java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:454)

        at
javax.security.auth.Subject$SecureSet.writeObject(Subject.java:1281)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)

        at
java.util.Collections$SynchronizedCollection.writeObject(Collections.java:16
02)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)

        at javax.security.auth.Subject.writeObject(Subject.java:919)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

        at
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java
:1879)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

        at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:67
0)

        at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:584)

        at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:840)

        at
org.apache.catalina.core.StandardContext.managerStop(StandardContext.java:49
52)

        at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:5452)

        at com.sun.enterprise.web.WebModule.stop(WebModule.java:384)

        at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1302)

        at com.sun.enterprise.web.VirtualServer.stop(VirtualServer.java:453)

        at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1302)

        at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:554)

        at org.apache.catalina.startup.Embedded.stop(Embedded.java:986)

        at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:930)

        at
com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:815)

        at
com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLife
cycle.java:100)

        at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.jav
a:553)

        at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.
java:145)

        at
com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:75)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventList
ener(AdminEventMulticaster.java:1532)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(Adm
inEventMulticaster.java:1521)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEvent
Multicaster.java:486)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEve
ntMulticaster.java:182)

        at
com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotifica
tion(AdminChannelServer.java:121)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

        at sun.rmi.transport.Transport$1.run(Transport.java:159)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:
790)

        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6
49)

        ... 3 more

PWC2773: Exception loading sessions from persistent storage

java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: sun.security.acl.PrincipalImpl

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at java.util.LinkedList.readObject(LinkedList.java:964)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at java.io.ObjectInputStream.access$300(ObjectInputStream.java:188)

        at
java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:210
9)

        at java.io.ObjectInputStream.readFields(ObjectInputStream.java:519)

        at
javax.security.auth.Subject$SecureSet.readObject(Subject.java:1287)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)

        at javax.security.auth.Subject.readObject(Subject.java:929)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at
org.apache.catalina.session.StandardSession.readRemainingObject(StandardSess
ion.java:1793)

        at
org.apache.catalina.session.StandardSession.readObject(StandardSession.java:
1759)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

        at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at
org.apache.catalina.session.StandardSession.deserialize(StandardSession.java
:1125)

        at
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:501)

        at
org.apache.catalina.session.StandardManager.load(StandardManager.java:418)

        at
org.apache.catalina.session.StandardManager.start(StandardManager.java:810)

        at
org.apache.catalina.core.StandardContext.managerStart(StandardContext.java:4
942)

        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5259)

        at com.sun.enterprise.web.WebModule.start(WebModule.java:353)

        at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)

        at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:
304)

        at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

        at java.util.concurrent.FutureTask.run(FutureTask.java:138)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.NotSerializableException: sun.security.acl.PrincipalImpl

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)

        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

        at java.util.LinkedList.writeObject(LinkedList.java:943)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.access$300(ObjectOutputStream.java:143)

        at
java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:
1668)

        at
java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:454)

        at
javax.security.auth.Subject$SecureSet.writeObject(Subject.java:1281)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)

        at
java.util.Collections$SynchronizedCollection.writeObject(Collections.java:16
02)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)

        at javax.security.auth.Subject.writeObject(Subject.java:919)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

        at
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java
:1879)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

        at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:67
0)

        at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:584)

        at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:840)

        at
org.apache.catalina.core.StandardContext.managerStop(StandardContext.java:49
52)

        at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:5452)

        at com.sun.enterprise.web.WebModule.stop(WebModule.java:384)

        at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1302)

        at com.sun.enterprise.web.VirtualServer.stop(VirtualServer.java:453)

        at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1302)

        at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:554)

        at org.apache.catalina.startup.Embedded.stop(Embedded.java:986)

        at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:930)

        at
com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:815)

        at
com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLife
cycle.java:100)

        at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.jav
a:553)

        at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.
java:145)

        at
com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:75)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventList
ener(AdminEventMulticaster.java:1532)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(Adm
inEventMulticaster.java:1521)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEvent
Multicaster.java:486)

        at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEve
ntMulticaster.java:182)

        at
com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotifica
tion(AdminChannelServer.java:121)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

        at sun.rmi.transport.Transport$1.run(Transport.java:159)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:
790)

        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6
49)

        ... 3 more

 


****************************************************************************
****************************************************************************
***********

"The information contained in this email including in any attachment is
confidential and is meant to be read only by the person to whom it is
addressed. If you are not the intended recipient(s), you are prohibited from
printing, forwarding, saving or copying this email. If you have received
this e-mail in error, please immediately notify the sender and delete this
e-mail and its attachments from your computer."

****************************************************************************
****************************************************************************
***********

 


****************************************************************************
****************************************************************************
***********

"The information contained in this email including in any attachment is
confidential and is meant to be read only by the person to whom it is
addressed. If you are not the intended recipient(s), you are prohibited from
printing, forwarding, saving or copying this email. If you have received
this e-mail in error, please immediately notify the sender and delete this
e-mail and its attachments from your computer."

****************************************************************************
****************************************************************************
***********

 



*******************************************************************************************************************************************************************

"The information contained in this email including in any attachment is confidential and is meant to be read only by the person to whom it is addressed. If you are not the intended recipient(s), you are prohibited from printing, forwarding, saving or copying this email. If you have received this e-mail in error, please immediately notify the sender and delete this e-mail and its attachments from your computer."

*******************************************************************************************************************************************************************