You are not logged in.

#1 2007-02-01 21:14:21

qwerty
Member
Registered: 2004-12-17
Posts: 183

Other tomcat issue (where are the logs??)

After the new tomcat package version has come out i have had a lot of problems with it. The last 2 are that there are no logs anymore (it creates catalina.log in /opt/tomcat/logs as declared in the init script but it doesn't write anything inside it!!) and that it fail stopping tomcat at system shutdown (but it works perfectly if you run /etc/rc.d/tomcat stop as root).

I don't care too much about the "stopping" issue, anyway it'll be nice to have logs again... can anyone help me?? smile

Last edited by qwerty (2007-02-01 21:16:38)

Offline

#2 2007-03-29 02:56:48

vilefridge
Member
Registered: 2006-11-02
Posts: 95

Re: Other tomcat issue (where are the logs??)

qwerty:

I had this same issue.  I resolved the "stopping" issue, although I can't recall how.  It was some flag in a config file I can't find for the life of me right now.  I'll post back if I can rack my brain for it.
Still experiencing the lack of logs.  I enabled "FINE" logging for starting, stopping, and session, yet... there's still nothing logged.

I wonder who maintains this package? =/

Offline

#3 2007-06-04 18:36:01

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: Other tomcat issue (where are the logs??)

To have logs again just add this line in /etc/rc.d/tomcat:

-outfile /opt/tomcat/logs/catalina.out \

After this line:

-errfile /opt/tomcat/logs/catalina.log \

And you'll have all the infos u need to debug your  servlets in /opt/tomcat/logs/catalina.out
...


(i've forgotten to post it before... big_smile)

Offline

Board footer

Powered by FluxBB