Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java log4j not initialized even in src path

965587Oct 2 2012 — edited Oct 4 2012
Hi all,

We are working with struts application in IBM Websphere server 7.0 ,we use log4j.properties file to log statements and the jar we are using is log4j-1.2.8 jar. To make this log4j work we placed the log4j.properties in src after deployment which comes under WEB-INF/classes folder and the jar file is referenced in the classpath file there are other jar files also like common-logging.jar etc.
This application works fine in local setup only this issue is in linux servers.
When we do search for initializing log4j only thing they are suggesting in classpath and we also have referenced in classpath the log4j other than that we couldnt find any other suggestion , Could anyone suggest a solution for this issue

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2012
Added on Oct 2 2012
12 comments
925 views