• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Tomcat5.0

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic