*
The moose likes Websphere and the fly likes Session Management in Websphere 3.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Session Management in Websphere 3.5" Watch "Session Management in Websphere 3.5" New topic
Author

Session Management in Websphere 3.5

Smruti Mohapatra
Greenhorn

Joined: Feb 27, 2003
Posts: 2
Hello,
I have WAS 3.5 on AIX.
I am getting the following error on my logs.
Can anyone help ?
Exception occurred
Session Object Internals:
id : ZVM4R4A415K1JGZDZUZ13UQ
hashCode : 1735145819
create time : Mon Feb 24 00:40:25 MST 2003
last access : Mon Feb 24 00:49:36 MST 2003
max inactive interval : 28800
user name : anonymous
valid session : true
new session : false
session active : true
overflowed : false
session application parameters : com.ibm.servlet.personalization.sessiontracking.SessionApplicationParameters@236c394a
session tracking epm app data : com.ibm.servlet.personalization.sessiontracking.SessionTrackingEPMApplicationData@3f97b94a
enable epm : true
non-serializable app specific session data : {}
serializable app specific session data : {currentOrg=pcs.data.OrgData@4c00b95b, currentUser=pcs.data.AppUser@7ffdb95b, OrderDisplayBean=pcs.beans.emea.OrderDisp
layBean@9f44b95b, Logon=pcs.beans.emea.LoginBean@79ee395b, OrderDisplay=pcs.beans.emea.OrderDisplayBean@74ab395b}

app data changes : {Thread[Worker#103,5,Servlet Request Worker Threads]={OrderDisplayBean=pcs.beans.emea.OrderDisplayBean@9f44b95b}}
app data removals : null
user write hit : false
max inact write hit : false
listener count hit : false
update : update sessions set
listener count : 0
buflen : 0
cached : true
cacheId : 0005
cacheIdUpdated : false
syncFromServlet : false
lockId : null
app namepcs61EMEAWebAppClone
java.io.UTFDataFormatException at java.io.DataOutputStream.writeUTF(DataOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputString(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtableMR.handlePropertyHits(BackedHashtableMR.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.ejbStore(BackedHashtable.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.storeSession(BackedHashtable.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.put(BackedHashtable.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionContext.sync(DatabaseSessionContext.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.SessionData.releaseSession(SessionData.java(Compiled Code))
at com.ibm.servlet.engine.srt.SRTSessionAPISupport.finish(SRTSessionAPISupport.java(Compiled Code))
at com.ibm.servlet.engine.srt.SRTConnectionContext.finishConnection(SRTConnectionContext.java(Compiled Code))
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java(Compiled Code))
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled Code))
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled Code))
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled Code))
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled Code))
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:221)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
Thanks in advance !!!
Smruti..
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
My first guess is that you're trying to write something non-serializable (like an EJB reference maybe?) into the Session.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Smruti Mohapatra
Greenhorn

Joined: Feb 27, 2003
Posts: 2
Well as you have made an assumption, I would like to give you a scenario.
Say I am using a class B which is derived from A. Now A is implementing java.io.serializable interface. But B does not. Does that make B Non-serializable ?
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
No, B would be Serializable as it still implements the interface (through inheriting it).
Kyle
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Management in Websphere 3.5
 
Similar Threads
ajax4jsf - Not serializabe exception
Error during saving session into database
Error in EJBCreate
IllegalStateException
Upload error