Skip to Content
author's profile photo Former Member
Former Member

log4j

Iam trying to get use log4j for my application. I have the properties file (log4j.properties) and the jar file (log4j.jar) packaged with the EAR file. For some reason, the server doesnt seem to find these files and logging doesnt work. Is there something I'm missing. Any help would be greatly appreciated.

thanks

RD

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2005 at 01:00 AM

    Has anybody been able to get log4j to work with Web AS, does log4j.jar need to be dropped in a system lib folder? I have the log4.jar and the properties file in a web app and the logging does not work.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2005 at 03:05 AM

    I am facing the same problem guys - i got log4j jar deploying as part of the Application EAR but now face the issue of the visibility of Log4j properties file

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have the log4j jar in the ear. I have the log4j.properties in the WAR's WEB-INF/classes and both the web app and the EJB are using it. I would have thought the EJB wouldn't have been able to find it though.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.