facebook

tomcat 5 log issues

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #252884 Reply

    yanghu
    Member

    I use eclipse 3.1.2 and myeclipse 4.1.1 with tomcat 5.5.15, I got problem in logging when starting tomcat from myeclipse:

    The problem is, if I start tomcat from outside, the tomcat logging works fine, but if I start tomcat using myeclipse, the tomcat logging doesn’t work…. I think the problem should related to tomcat
    start parameters, but when I add the -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\logging.properties

    parameters to myeclipse, it will get error and can’t start tomcat….

    please help me…..

    thx…

    #252892

    Riyad Kalla
    Member

    You need to add that parameter to the “Optional JDK Arguments” not to the Tomcat arguments, where are you adding it?

    Also the reason logging doesn’t work is because it is being rediirected to the Console inside of MyEclipse.

    #252990

    yanghu
    Member

    i added these parameters to Option JDK arguments, then I can’t start tomcat from myeclipse, that’s my problem….

    #252991

    Riyad Kalla
    Member

    Oh woops, it’s the space in the config.file argument that is screwing it up, try quoting that value:

    
    -Djava.util.logging.config.file="C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\logging.properties"
    

    if that doesn’t work, try using the short DOS name

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: tomcat 5 log issues

You must be logged in to post in the forum log in