Like I mentioned in another thread, you need to make your loggers either static or transient (if you choose not to use static logger variables). Java will not attempt to serialize these variables at that point and you will avoid the error below.


Jake

At 12:26 PM 4/3/2003 +0530, you wrote:


Hi All,


I got this error while working on Websphere in clustered environment.


As  more information, I would like to add that I am using SessionManager
implementation which takes unique application key and user object to
get/set to/from HttpSession. I am using LogMgrImpl prog that actaully takes
care of logging through log4j after receving messages from user log
message.

Here is the stack trace

WTRN0047E: java.io.NotSerializableException:
com.brocade.configauto.logger.LogMgrImpl
      at
   java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
      at
   java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
      at
   java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
      at
   java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
      at
   java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
      at
   java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
      at

com.ibm.servlet.personalization.sessiontracking.BackedHashtableMR.handlePropertyHits(BackedHashtableMR.java:310)
      at

com.ibm.servlet.personalization.sessiontracking.BackedHashtable.ejbStore(BackedHashtable.java:3340)
      at

com.ibm.servlet.personalization.sessiontracking.BackedHashtable.storeSession(BackedHashtable.java:3085)
      at

com.ibm.servlet.personalization.sessiontracking.BackedHashtable.put(BackedHashtable.java:3929)
      at

com.ibm.servlet.personalization.sessiontracking.DatabaseSessionContext.sync(DatabaseSessionContext.java:162)
      at

com.ibm.servlet.personalization.sessiontracking.SessionData.releaseSession(SessionData.java:335)
      at

com.ibm.servlet.engine.srt.SRTSessionAPISupport.finish(SRTSessionAPISupport.java:324)
      at

com.ibm.servlet.engine.srt.SRTConnectionContext.finishConnection(SRTConnectionContext.java:91)
      at
   com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:194)
      at

com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
      at

com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
      at

com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
      at

com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
      at

com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
      at

com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
      at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)



Pls help

   best regards,
   Amandeep



   -----------------------------------------
   Amandeep Midha (CHARMIE)
   IT Solutions (India) Pvt. Ltd.
   No. 17, South End Road,
   Basavangudi
   Bangalore - 560 004. India
   TEL : 91-80-6657180 EXT: 2116
   FAX: 91-80-6655755
   -----------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to