You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Derek Alexander <D....@lse.ac.uk> on 2007/08/03 16:22:21 UTC

Error reported when starting app in cluster

Getting an ERROR reported when starting webapp within a cluster. 

Note, at this time I am starting the first server in the cluster, which is
the 192.168.0.1 mentioned in the error message.

Can someone please explain if it is correct that I am receiving an error and
if so, what is wrong.

2007-08-03 15:12:25,796 36   [main] WARN 
org.apache.catalina.cluster.session.DeltaManager  - Manager [/123/456/789],
requesting session state from
org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.0.1:12345,catalina,192.168.0.1,12345,
alive=20829629727]. 
This operation will timeout if no session state has been received within 60
seconds.

2007-08-03 15:13:25,853 60093 [main] ERROR
org.apache.catalina.cluster.session.DeltaManager  - Manager [/123/456/789]:
No session state send at 03/08/07 15:12 received, timing out after 60,086
ms.

Thanks,
D.

-- 
View this message in context: http://www.nabble.com/Error-reported-when-starting-app-in-cluster-tf4212847.html#a11984296
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error reported when starting app in cluster

Posted by Derek Alexander <D....@lse.ac.uk>.

Filip Hanik - Dev Lists wrote:
> 
> Derek Alexander wrote:
>>> the same app would have to run on both instances,
>>>     
>>
>> You mean this error is normal when starting the first server in a
>> cluster?
>>   
> if it was the first server, it wouldn't request state from another, 
> would it ?:)
> 

Indeed, using lsof and ps I found there was a 'ghost' tomcat instance
running. Killed that and all is well.
-- 
View this message in context: http://www.nabble.com/Error-reported-when-starting-app-in-cluster-tf4212847.html#a12016178
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error reported when starting app in cluster

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Derek Alexander wrote:
>> the same app would have to run on both instances,
>>     
>
> You mean this error is normal when starting the first server in a cluster?
>   
if it was the first server, it wouldn't request state from another, 
would it ?:)
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error reported when starting app in cluster

Posted by Derek Alexander <D....@lse.ac.uk>.
> the same app would have to run on both instances,

You mean this error is normal when starting the first server in a cluster?


-- 
View this message in context: http://www.nabble.com/Error-reported-when-starting-app-in-cluster-tf4212847.html#a11985035
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error reported when starting app in cluster

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
the same app would have to run on both instances,

Filip

Derek Alexander wrote:
> Getting an ERROR reported when starting webapp within a cluster. 
>
> Note, at this time I am starting the first server in the cluster, which is
> the 192.168.0.1 mentioned in the error message.
>
> Can someone please explain if it is correct that I am receiving an error and
> if so, what is wrong.
>
> 2007-08-03 15:12:25,796 36   [main] WARN 
> org.apache.catalina.cluster.session.DeltaManager  - Manager [/123/456/789],
> requesting session state from
> org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.0.1:12345,catalina,192.168.0.1,12345,
> alive=20829629727]. 
> This operation will timeout if no session state has been received within 60
> seconds.
>
> 2007-08-03 15:13:25,853 60093 [main] ERROR
> org.apache.catalina.cluster.session.DeltaManager  - Manager [/123/456/789]:
> No session state send at 03/08/07 15:12 received, timing out after 60,086
> ms.
>
> Thanks,
> D.
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error reported when starting app in cluster

Posted by Derek Alexander <D....@lse.ac.uk>.
> Does this application run well in a tomcat that isn't clustered? 
Yes

> Does your application have the <distributable/> element in web.xml?
Yes

> I'd recommend looking through the output in the other log files in
> $CATALINA_HOME/logs/, especially localhost, to see whether there are
> any exceptions / errors reported that might keep your application from
> comin' up well.

No other problems reported.

This error appears at the beginning of the application's log then afterwards
it continues and starts the application without problem. I can then go on to
use the application.

Haven't tested whether session replication is working yet, but this doesn't
inspire confidence. 
Sounds like it is not normal to see this, so will check my cluster
configuration.

Cheers,
D.

-- 
View this message in context: http://www.nabble.com/Error-reported-when-starting-app-in-cluster-tf4212847.html#a11984950
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error reported when starting app in cluster

Posted by Kristian Rink <kr...@zimmer428.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Derek;

[Derek Alexander <D....@lse.ac.uk> @ Fri, 3 Aug 2007 07:22:21
- -0700 (PDT)]

> 2007-08-03 15:13:25,853 60093 [main] ERROR
> org.apache.catalina.cluster.session.DeltaManager  - Manager
> [/123/456/789]: No session state send at 03/08/07 15:12 received,
> timing out after 60,086 ms.

Does this application run well in a tomcat that isn't clustered? 

Does your application have the <distributable/> element in web.xml?

Having gone through something like that as well, a while ago, I'd
recommend looking through the output in the other log files in
$CATALINA_HOME/logs/, especially localhost, to see whether there are
any exceptions / errors reported that might keep your application from
comin' up well.

Cheers,
Kristian


- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: kawazu@jabber.ccc.de * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGszuDcxBAPOA1m6wRAo05AKCZQ+EWwJTI9ISGk8jIRdMbV6Y+yACdER5a
HkVUqUrLOHsDQPfpb7x94J8=
=qr33
-----END PGP SIGNATURE-----