aspose file tools*
The moose likes Tomcat and the fly likes Tomcat5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat5.0" Watch "Tomcat5.0" New topic
Author

Tomcat5.0

Kanuri
Greenhorn

Joined: Mar 29, 2007
Posts: 9
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?


With best regards,<br />Phani.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Your application need to configure a logger with something like Log4j which has nothing to do with tomcat.


GenRocket - Experts at Building Test Data
Kanuri
Greenhorn

Joined: Mar 29, 2007
Posts: 9
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

Joined: Jul 11, 2001
Posts: 15299
    
    6

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

Joined: Mar 29, 2007
Posts: 9
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
Marshal

Joined: Mar 22, 2005
Posts: 41900
    
  63
You should still get all messages, even if log4j isn't configured. Check the TOMCAT_HOME/logs/catalina.out file.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Tomcat5.0