Robert,

robert lazarski wrote:
> WEB-INF/classes . 

I've tried it, but unfortunately it didn't work. Instead, I've fixed the
problem this way:

1 - I've put log4j.properties into the archive root

2 - I got the class loader for the service class
ClassLoader loader = EntropyAnalyserService.class.getClassLoader();

3 - Using the class loader, I got the url to the file (from the root)
URL url = loader.getResource("/log4j.properties");


Make sure you have log4j.jar under WEB-INF/lib or
> another appropriate place.


Since log4j.jar is in $CATALINA_HOME/common/lib I don't need to include
it into WEB-INF/lib, do I?

Thanks,
Michele

> 
> HTH,
> Robert
> http://www.braziloutsource.com/
> 
> On 7/20/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> where should I put the log4j.properties file into my axis2 web service?
>> And how do I locate it?
>>
>>
>> Thanks in advance,
>> Michele
>>
>> ---------------------------------------------------------------------
>> 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]
> 

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

Reply via email to