tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adriacom6...@adriacom.it
Subject Re: Tomcat crash
Date Fri, 07 Nov 2003 17:32:40 GMT
That's a good Idea but the console window close when tomcat crash so nothing 
can be read. 
Can I redirect the console output to a file ?

Scrive Ben Souther <bsouther@fwdco.com>:

> There is no stack trace in the console window when the server crashes?
> 
> Try putting a 'System.out.println("<page/servlet name>");' at the top of all
> 
> of your pages. Then you can see which page was the last one hit before the 
> server crashed. 
> 
> 
> 
> On Friday 07 November 2003 11:06 am, adriacom6340@adriacom.it wrote:
> > Thanks for your ideas.
> >
> > I can see the console window but because the crash happens casually I
> can't
> > see everytime the server screen and also reproduce the circumstances
> > because I can't understand which are.
> >
> > The server crash only with my own app. and I don't have System.exit
> >
> > For the same reason I can't understand which code create the problem.
> >
> > Thanks again
> >
> > Scrive Ben Souther <bsouther@fwdco.com>:
> > > There is no console window, even when you start Tomcat with the
> > > catalina.bat
> > >
> > > file?
> > >
> > > Can you reproduce the circumstances that caused it to crash?  Does it
> > > crash when you are hitting the exaple apps or only when you are hitting
> > > your own app?  If it's your own app, or a third party app, can you post
> > > the code to the JSP/Servlet that was being hit when the server crashes? 
> > > Do you have any
> > >
> > > calls to System.exit(0) in your code?
> > >
> > > On Friday 07 November 2003 10:48 am, adriacom6340@adriacom.it wrote:
> > > > Unfortunately when tomcat crash I can't see the console window.... so
> I
> > > > don't have any message useful to start the debugging...
> > > >
> > > > Scrive Anton Modaresi <anton.modaresi@cypoint.se>:
> > > > > do you get an exception in the console window? If the tomcat window
> > > > > vanishes, you can try starting with the catalina batch file instead
> > > > > of the startup batch file.
> > > > >
> > > > > regards, anton
> > > > >
> > > > > -----Original Message-----
> > > > > From: adriacom6340@adriacom.it [mailto:adriacom6340@adriacom.it]
> > > > > Sent: den 7 november 2003 16:34
> > > > > To: tomcat-user@jakarta.apache.org
> > > > > Subject: Tomcat crash
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time
> > > > > trying to understand why Tomcat sometimes shutdown by itself or
> > > > > better it crash.... This
> > > > > happen without messages in the log file .
> > > > >
> > > > > can someone have some experience in that solved the problem ?
> > > > >
> > > > >
> > > > > Thanks to all.
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> > >
> > > --
> > > Ben Souther
> > > F.W. Davison & Company, Inc.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> 
> -- 
> Ben Souther
> F.W. Davison & Company, Inc.
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message