tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From throwsCode <donmillho...@yahoo.com>
Subject Re: JULI prefix not recognized?
Date Thu, 23 Jun 2011 23:21:43 GMT

Hi Konstantin:

I added the following argument to the Apache Tomcat Server Run
Configuration:

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

It worked just as you suggested it would; however, it requires the argument
be placed in the VM arguments section.  I have many small clients that on
occassion share VMs with other Tomcat Servers.  Is there a way to do the
same without the Runtime Argument?

Thanks much.

TC





Konstantin Kolinko wrote:
> 
> 2011/6/23 throwsCode <donmillhofer@yahoo.com>:
>>
>> I sure that is going to turnout to be a stupid question but I've played
>> with
>> it for two days and made no progress.  I can create a JULI handler as
>> long
>> as I don't apply a prefix, here is the logging.properties file (keeping
>> it
>> as simple as possible):
>>
> 
>> Can't load log handler "1pae.org.apache.juli.FileHandler"
>> java.lang.ClassNotFoundException: 1pae.org.apache.juli.FileHandler
>> java.lang.ClassNotFoundException: 1pae.org.apache.juli.FileHandler
> (...)
>>        at java.util.logging.LogManager.loadLoggerHandlers(Unknown Source)
>>        at java.util.logging.LogManager.initializeGlobalHandlers(Unknown
>> Source)
> 
> You are using wrong LogManager.
> You need to use org.apache.juli.ClassLoaderLogManager and not the default
> one.
> 
> See how catalina.sh does it.
> 
> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/JULI-prefix-not-recognized--tp31907205p31915598.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message