• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session Management in Websphere 3.5

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My first guess is that you're trying to write something non-serializable (like an EJB reference maybe?) into the Session.
Kyle
 
Smruti Mohapatra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, B would be Serializable as it still implements the interface (through inheriting it).
Kyle
 
Look! It's Leonardo da Vinci! And he brought a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic