• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat5.0

 
Kanuri
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I installed tomcat5.0 in my system and configured with all the paths and it running fine and also executing applications but i am unable to see the log information in the console. So i am facing difficulty find the info related to the applications.. so please help that what i have to do?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your application need to configure a logger with something like Log4j which has nothing to do with tomcat.
 
Kanuri
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai Gregg,


Actually what i am trying to say is that when we press C:\Tomcat5.0\bin\tomcat5 application file we are getting a blank console so how can i get log info in this console....

please send your comments on this...

Thank you verymuch.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by phani kanuri:
hai Gregg,


Actually what i am trying to say is that when we press C:\Tomcat5.0\bin\tomcat5 application file we are getting a blank console so how can i get log info in this console....

please send your comments on this...

Thank you verymuch.


You have 2 options.

#1 Have your app create a logger which throws all logging to a file. Then look in that file.

#2 Run tomcat with the startup.bat file rather than the executable. It will launch a seperate window with all your console stuff.
 
Kanuri
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,


While i am starting the tomcat5.0 by navigating in this way C:\Tomcat5.0\bin\startup.bat i am getting console log like this..

log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded).
log4j:WARN Please initialize the log4j system properly.

and the problem is i am not getting the logs related to the deployed applicatoins and the status of the server in the console menu.

so please send post me the solution for this.

i will be greatefull if i get the solution ASAP.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should still get all messages, even if log4j isn't configured. Check the TOMCAT_HOME/logs/catalina.out file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic