You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Sánchez <ch...@gmail.com> on 2007/11/30 21:27:38 UTC

Infinite loop restarting web app

I made a change to a jar file for a web app and uploaded it using my
normal process.  Immediately after refreshing the jar on the server,
Tomcat went into an infinite loop restarting the app (See snippit from
stdout log below).


Any ideas what could have caused this?  I erased the jars and
re-uploaded but the problem continues

Is there any way to specify that tomcat should simply give up if an
app doesn't start after 'n' tries within a couple of minutes?


I'm on Tomcat 6.0.13

30-nov-2007 21:23:23 org.apache.catalina.loader.WebappClassLoader modified
INFO:     Additional JARs have been added : 'jep-2.3.0.jar'
30-nov-2007 21:23:23 org.apache.catalina.core.StandardContext
 reload
INFO: Reloading this Context has started
30-nov-2007 21:23:33 org.apache.catalina.loader.WebappClassLoader modified
INFO:     Additional JARs have been added : 'jep-2.3.0.jar'

30-nov-2007 21:23:33 org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
30-nov-2007 21:23:43 org.apache.catalina.loader.WebappClassLoader modified
INFO:     Additional JARs have been added : '
jep-2.3.0.jar'
30-nov-2007 21:23:43 org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
     ...........................................

Thanks,


David Sánchez

Re: Infinite loop restarting web app

Posted by David Sánchez <ch...@gmail.com>.
Hi cuck,

I found the problem!

Another tomcat project had a copy of this .jar and this copy was in future.

Thanks for the info.

David,

2007/11/30, David Sánchez <ch...@gmail.com>:
>
> Hi,
>
> The file jep-2.3.0.jar is:
>    Created: viernes, 30 de noviembre de 2007, 22:07:51
>    Modify: viernes, 10 de agosto de 2007, 11:49:10
>    Last Access: viernes, 30 de noviembre de 2007, 22:07:51
>
> (noviembre = november and agosto=august)
>
> and the problem continues:
>
> 30-nov-2007 22:11:00 org.apache.catalina.core.StandardContext reload
> INFO: Ha comenzado la recarga de este Contexto
> 30-nov-2007 22:11:11 org.apache.catalina.loader.WebappClassLoader modified
> INFO:     Additional JARs have been added : 'jep-2.3.0.jar'
> 30-nov-2007 22:11:11 org.apache.catalina.core.StandardContext reload
> INFO: Ha comenzado la recarga de este Contexto
> 30-nov-2007 22:11:21 org.apache.catalina.loader.WebappClassLoader modified
> INFO:     Additional JARs have been added : 'jep-2.3.0.jar'
> 30-nov-2007 22:11:21 org.apache.catalina.core.StandardContext reload
> INFO: Ha comenzado la recarga de este Contexto
>
> The other jars in that directory have different dates..
>
> David,
>
>
> 2007/11/30, Caldarale, Charles R < Chuck.Caldarale@unisys.com>:
> >
> > > From: David Sánchez [mailto: chipirolo@gmail.com]
> > > Subject: Infinite loop restarting web app
> > >
> > > Any ideas what could have caused this?  I erased the jars and
> > > re-uploaded but the problem continues
> >
> > What's the timestamp on the jep-2.3.0.jar?  Is it in the future,
> > perhaps?
> >
> > - Chuck
> >
> >
> > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> > MATERIAL and is thus for use only by the intended recipient. If you received
> > this in error, please contact the sender and delete the e-mail and its
> > attachments from all computers.
> >
> > ---------------------------------------------------------------------
> > 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: Infinite loop restarting web app

Posted by David Sánchez <ch...@gmail.com>.
Hi,

The file jep-2.3.0.jar is:
   Created: viernes, 30 de noviembre de 2007, 22:07:51
   Modify: viernes, 10 de agosto de 2007, 11:49:10
   Last Access: viernes, 30 de noviembre de 2007, 22:07:51

(noviembre = november and agosto=august)

and the problem continues:

30-nov-2007 22:11:00 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto
30-nov-2007 22:11:11 org.apache.catalina.loader.WebappClassLoader modified
INFO:     Additional JARs have been added : 'jep-2.3.0.jar'
30-nov-2007 22:11:11 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto
30-nov-2007 22:11:21 org.apache.catalina.loader.WebappClassLoader modified
INFO:     Additional JARs have been added : 'jep-2.3.0.jar'
30-nov-2007 22:11:21 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto

The other jars in that directory have different dates..

David,


2007/11/30, Caldarale, Charles R <Ch...@unisys.com>:
>
> > From: David Sánchez [mailto:chipirolo@gmail.com]
> > Subject: Infinite loop restarting web app
> >
> > Any ideas what could have caused this?  I erased the jars and
> > re-uploaded but the problem continues
>
> What's the timestamp on the jep-2.3.0.jar?  Is it in the future, perhaps?
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> 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: Infinite loop restarting web app

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: David Sánchez [mailto:chipirolo@gmail.com] 
> Subject: Infinite loop restarting web app
> 
> Any ideas what could have caused this?  I erased the jars and
> re-uploaded but the problem continues

What's the timestamp on the jep-2.3.0.jar?  Is it in the future, perhaps?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
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