[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: Clustering on Tomcat 5.0.26 with DeltaManager
From:       "Matt Smith" <matt () incursiontech ! com>
Date:       2004-06-09 17:22:27
Message-ID: 055f01c44e46$56617000$6501a8c0 () internal ! incursiontech ! com
[Download RAW message or body]

That is what I am wondering about ... I have the level set to debug, but
no stack trace is being logged ...  I could probably determine the issue
if I could see the stack trace.

Here is the log with the messages just prior, and the messages just
after.  There are no more messages from Processor23

StandardContext[]2004-06-07 07:56:50,948 DEBUG [http-80-Processor24]
kodo.DataCache - Cache hit while looking up key "370". 
StandardContext[]2004-06-07 07:56:50,953 DEBUG [http-80-Processor24]
Logs.com.incursiontech.ipscp.jdbc.PreparedStatementWrapper -
org.apache.commons.dbcp.DelegatingPreparedStatement@e3cbb9
SQL::[com.mysql.jdbc.PreparedStatement@e3cbb9: SELECT t0._version,
t0.count, t0.end, t1.id, t1._class, t1._version, t2.id, t2._class,
t2._version, t2.description, t2.name, t1.current, t1.description,
t1.name, t0.start FROM PegCountBucket t0 LEFT OUTER JOIN PegCount t1 ON
t0.peg = t1.id LEFT OUTER JOIN PegCategory t2 ON t1.category = t2.id
WHERE t0.id = 370 FOR UPDATE]
StandardContext[]2004-06-07 07:56:51,006 ERROR [http-80-Processor23]
org.apache.catalina.cluster.session.DeltaManager - Unable to serialize
delta request
StandardContext[]2004-06-07 07:56:51,010 DEBUG [http-80-Processor24]
kodo.jdbc.SQL - <t 32697810, conn 24577207> [57 ms] executing prepstmnt
11370703 SELECT t0._version, t0.count, t0.end, t1.id, t1._class,
t1._version, t2.id, t2._class, t2._version, t2.description, t2.name,
t1.current, t1.description, t1.name, t0.start FROM PegCountBucket t0
LEFT OUTER JOIN PegCount t1 ON t0.peg = t1.id LEFT OUTER JOIN
PegCategory t2 ON t1.category = t2.id WHERE t0.id = ? FOR UPDATE
[params=(long) 370]
StandardContext[]2004-06-07 07:56:51,018 DEBUG [http-80-Processor24]
kodo.DataCache - Cache hit while looking up key "19".

m.

-----Original Message-----
From: Filip Hanik - Dev [mailto:devlists@hanik.com] 
Sent: Wednesday, June 09, 2004 12:13 PM
To: Tomcat Users List; matt@incursiontech.com
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" <matt@incursiontech.com>
To: <tomcat-user@jakarta.apache.org>
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic