I see so much about classloaders...i dont care.
I have an ejb.jar and webfile.war inside my .ear.
I am trying to place my log4j.version.jar file in the root
of the .ear file along with the webfile.war and ejb.jar. but where do i place my log4j.properties file in the .ear?..and how do i configure the log4j so that both the
web and ejb applications use it?
pls tell me....dont tell me to place it in the system ..i need it in the application(.ear) without duplicating it.
thanks a lot!
-ram
-
Finally where to place log4j.jar and the properties file? (2 messages)
- Posted by: sriram chandra
- Posted on: May 20 2004 15:31 EDT
Threaded Messages (2)
- Finally where to place log4j.jar and the properties file? by Scott Carlson on May 20 2004 16:25 EDT
- unfortunately no! by sriram chandra on May 20 2004 19:01 EDT
-
Finally where to place log4j.jar and the properties file?[ Go to top ]
- Posted by: Scott Carlson
- Posted on: May 20 2004 16:25 EDT
- in response to sriram chandra
From what I remember, the EJB Classloader includes the root of the EAR. So you should be able to put the properties alongside the log4j.jar.
Let me know if that works. -
unfortunately no![ Go to top ]
- Posted by: sriram chandra
- Posted on: May 20 2004 19:01 EDT
- in response to Scott Carlson
it seems that the EJBClassloader doesnt seem to include it...
What i did finally was...have another props.jar along side log4j.version.jar,ejb.jar and web.jar and also added the value props.jar in the Class-Path entry of the ejb.jar manifest file. The props.jar contains the log4j.properties. It seems to work.
I dont know if this is the best way...or can u suggest something else?
thanks
sriram