Tomcat not showing Spring Context initialization errors when running from Eclipse WTP

Posted by SourceRebels on Stack Overflow See other posts from Stack Overflow or by SourceRebels
Published on 2009-12-17T12:31:37Z Indexed on 2010/05/27 8:01 UTC
Read the original article Hit count: 316

Filed under:
|
|
|
|

Hi all,

Im working with Eclipse Galileo (WTP), Spring 2.5.6-SEC01 and Apache Tomcat 5.5.28.

When I run my application from Eclipse, I'm able to see Tomcat standard output and error from the console view.

When there is a Spring initialization error (ex: malformed spring XML) I'm not able to see the error message or the stacktrace at the Console view.

Anyone found before a problem like this? how you solve it?

Thanks in advance, I'm getting mad :-)

Edited: I'm seeing all Tomcat startup messages and my System.out.println and System.err.println messages in Eclipse Console.

I also try to pass this two system properties to my Tomcat Server:

-Djava.util.logging.manager="org.apache.juli.ClassLoaderLogManager"
-Djava.util.logging.config.file="C:\apache-tomcat-5.5.28\conf\logging.properties"

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about spring