Try WEB-INF/classes, or place it inside a .jar file in WEB-INF/lib

-----Original Message-----
From: Damodar R Yemme [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 20, 2005 1:15 PM
To: Log4J Users List
Subject: Re: Log4j not working


I have placed it it in the same directory

tomcat\webapps\axis\WEB-INF\lib


James Stauffer wrote:

>Where is your log4j.properties?  It should probably be in 
>tomcat\webapps\axis\WEB-INF\lib
>
>On 10/20/05, Damodar R Yemme <[EMAIL PROTECTED]> wrote:
>  
>
>>I have put it in tomcat\webapps\axis\WEB-INF\lib folder on server side 
>>and under \lib\ on client side for ant commands. I am getting 
>>error/warning on both sides.
>>
>>James Stauffer wrote:
>>
>>    
>>
>>>Which lib folder?  It might helpful to give the full path to 
>>>log4j.jar and log4j.properties.
>>>
>>>BTW the debug output seems to show that it isn't finding another 
>>>log4j.properties or log4j.xml so I don't think you need to worry 
>>>about that.
>>>
>>>On 10/20/05, dyemme <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>      
>>>
>>>>I have placed it in lib folder
>>>>
>>>>On Thu, 2005-10-20 at 13:53 -0500, James Stauffer wrote:
>>>>
>>>>
>>>>        
>>>>
>>>>>Where is your log4j.jar?
>>>>>
>>>>>On 10/20/05, Rakesh Patel <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Added debug to the App server and here's what it found:
>>>>>>
>>>>>>log4j: Trying to find [log4j.xml] using 
>>>>>>ClassLoader.getSystemResource().|#]
>>>>>>
>>>>>>[#|2005-10-20T18:02:59.937+0100|INFO|sun-appserver-pe8.1_01|javax.
>>>>>>enterp
>>>>>>rise.system.stream.out|_ThreadID=12;|
>>>>>>log4j: Trying to find [log4j.properties] using context classloader
>>>>>>WebappClassLoader
>>>>>> delegate: true
>>>>>> repositories:
>>>>>>   /WEB-INF/classes/
>>>>>>----------> Parent Classloader:
>>>>>>EJBClassLoader :
>>>>>>urlSet = []
>>>>>>doneCalled = false
>>>>>>Parent -> [EMAIL PROTECTED]
>>>>>>
>>>>>>.|#]
>>>>>>
>>>>>>[#|2005-10-20T18:02:59.937+0100|INFO|sun-appserver-pe8.1_01|javax.
>>>>>>enterp
>>>>>>rise.system.stream.out|_ThreadID=12;|
>>>>>>log4j: Using URL
>>>>>>[jar:file:/C:/Sun/AppServer/domains/domain1/lib/jaxr-ebxml.jar!/log4j.
pr
>>>>>>operties] for automatic log4j configuration.|#]
>>>>>>
>>>>>>[#|2005-10-20T18:02:59.968+0100|INFO|sun-appserver-pe8.1_01|javax.
>>>>>>enterp
>>>>>>rise.system.stream.out|_ThreadID=12;|
>>>>>>log4j: Reading configuration from URL
>>>>>>jar:file:/C:/Sun/AppServer/domains/domain1/lib/jaxr-ebxml.jar!/log4j.p
ro
>>>>>>perties|#]
>>>>>>
>>>>>>So why does it not find the log4j.properties file in 
>>>>>>/WEB-INF/classes/??
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>--
>>>>>James Stauffer
>>>>>Are you good? Take the test at http://www.livingwaters.com/good/
>>>>>
>>>>>-------------------------------------------------------------------
>>>>>--
>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>--------------------------------------------------------------------
>>>>-
>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>--
>>>James Stauffer
>>>Are you good? Take the test at http://www.livingwaters.com/good/
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>      
>>>
>>
>>    
>>
>
>
>--
>James Stauffer
>Are you good? Take the test at http://www.livingwaters.com/good/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to