duh, didn't read your message all the way through.
look in the other log files, it should get logged somewhere.

Filip

----- Original Message ----- 
From: "Filip Hanik - Dev" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 09, 2004 12:12 PM
Subject: Re: Clustering on Tomcat 5.0.26 with DeltaManager


> you should also see a stack trace, please post that one to the list, 
> that should give us all the info we need. Most likely is that one of your attributes 
> are not serializable
> 
> Filip
> 
> ----- Original Message ----- 
> From: "Matt Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 09, 2004 12:05 PM
> Subject: Clustering on Tomcat 5.0.26 with DeltaManager
> 
> 
> > Any info on the following would be appreciated, cannot see the exception
> > being generated.  I have the logging level set to debug.  I am using a
> > filter to wrap the session, but I the valve should never see this so I
> > would not expect a ClassCastException.  Is there any way to tell the
> > logging in tomcat to dump the exception???
> >  
> > In my log, I am seeing the following
> >  
> > StandardContext[]2004-06-06 21:39:25,347 ERROR [http-80-Processor24]
> > org.apache.catalina.cluster.session.DeltaManager - Unable to serialize
> > delta request
> > 
> > Looking at the Delta Manager, somewhere here is the problem, in request
> > Completed...
> >  
> >            try {
> >                DeltaSession session = (DeltaSession)
> > findSession(sessionId);
> >                DeltaRequest deltaRequest = session.getDeltaRequest();
> >                SessionMessage msg = null;
> >                if (deltaRequest.getSize() > 0) {
> >    
> >                    byte[] data = unloadDeltaRequest(deltaRequest);
> >                    msg = new SessionMessageImpl(name,
> > SessionMessage.EVT_SESSION_DELTA,
> >                                             data, sessionId,
> >  
> > sessionId+System.currentTimeMillis());
> >                    session.resetDeltaRequest();
> >                } else if ( !session.isPrimarySession() ) {
> >                    msg = new SessionMessageImpl(getName(),
> >  
> > SessionMessage.EVT_SESSION_ACCESSED,
> >                                          null,
> >                                          sessionId,
> >  
> > sessionId+System.currentTimeMillis());
> >                }
> >                session.setPrimarySession(true);
> >                //check to see if we need to send out an access message
> >                if ( (msg == null) ) {
> >                    long replDelta = System.currentTimeMillis() -
> > session.getLastTimeReplicated();
> >                    if ( replDelta > (getMaxInactiveInterval()*1000) ) {
> >                        msg = new SessionMessageImpl(getName(),
> >  
> > SessionMessage.EVT_SESSION_ACCESSED,
> >                                              null,
> >                                              sessionId,
> >  
> > sessionId+System.currentTimeMillis());
> >                    }
> >                    
> >                }
> >                
> >                //update last replicated time
> >                if ( msg != null )
> > session.setLastTimeReplicated(System.currentTimeMillis());
> >                return msg;
> >            }
> >            catch (IOException x) {
> >                log.error("Unable to serialize delta request", x);
> >                return null;
> >            }
> > 
> >  
> > Thanks,
> >  
> > m.
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to