[jcifs] NotSerializable Exception jcifs.UniAddress

Kedar Jog Kedar.Jog at gmail.com
Mon Apr 2 18:45:40 GMT 2007


I am getting the following error on a WebSphere cluster. The App implements 
NTLM Auth using jcifs. Does UniAddress need to be made Serializable. I am 
using the latest and greates jcifs version 

[4/2/07 13:40:26:159 EDT] 00000050 SessionContex E   Exception is: 
java.io.NotSerializableException: jcifs.UniAddress
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
(Compiled Code))
	at java.io.ObjectOutputStream.defaultWriteFields
(ObjectOutputStream.java(Inlined Compiled Code))
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java
(Compiled Code))
	at java.io.ObjectOutputStream.writeOrdinaryObject
(ObjectOutputStream.java(Compiled Code))
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
(Compiled Code))
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java
(Inlined Compiled Code))
	at java.util.Hashtable.writeObject(Hashtable.java(Compiled Code))
	at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java(Compiled Code))
	at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java
(Compiled Code))
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java
(Compiled Code))
	at java.io.ObjectOutputStream.writeOrdinaryObject
(ObjectOutputStream.java(Compiled Code))
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java
(Compiled Code))
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java
(Compiled Code))
	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.commonSetup
(BackedHashtable.java:2095)
	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.persistSession
(BackedHashtable.java:2306)
	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.ejbStore
(BackedHashtable.java(Compiled Code))
	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.storeSession
(BackedHashtable.java(Compiled Code))
	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.put
(BackedHashtable.java(Compiled Code))
	at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.sync
(DatabaseSessionContext.java(Compiled Code))
	at com.ibm.ws.webcontainer.httpsession.SessionData.sync
(SessionData.java:302)
	at com.ibm.ws.webcontainer.httpsession.DatabaseSessionData.sync
(DatabaseSessionData.java:944)
	at 
com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.checkForSessionWrite
s(DatabaseSessionContext.java(Compiled Code))
	at 
com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.asyncExternalWrite
(DatabaseSessionContext.java(Compiled Code))
	at com.ibm.ws.webcontainer.httpsession.SessionAlarmListener.alarm
(SessionAlarmListener.java(Compiled Code))
	at com.ibm.ejs.util.am._Alarm.run(_Alarm.java(Compiled Code))
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled 
Code))

 



More information about the jcifs mailing list