Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Tomcat5.0

 
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?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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.
 
Rancher
Posts: 43016
76
  • 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.
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic