WebService loggin using log4j in tomcat container

Posted by KItis on Stack Overflow See other posts from Stack Overflow or by KItis
Published on 2010-06-17T20:37:43Z Indexed on 2010/06/17 20:53 UTC
Read the original article Hit count: 274

Filed under:
|
|
|
|

Hi,

I have my webservice deployed on Apache tomcat 5.5. When I run my webservice using eclipse IDE, it prints logs to the location I have specified . I have put log4j property file for my webservice in the apache-tomcat-5.5.28/common/classes folder. Problem is , when i run this using webservice .aar file which is put in to apache-tomcat-5.5.28/webapps/axis2/WEB-INF/classes folder in the webservice ,it does not print logs. Could anyone tell me what is going wrong here. why does it print logs when running from eclipse ide and, why is it not printing logs when it is started using the aar file deployed to tomcat

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services