Kevan,

I corrected my geronimo.bat, by suppressing the quotes as you stated, and,
yes, it succeeded: the commons-logging.jar used is the one from my application

Thanks for that

BUT, that is not a full success: as expected, the LogFactory gives me a 
Log4JLogger

MockAdapter setting hostName - Log is 
org.apache.commons.logging.impl.Log4JLogger - loaded from 
file:/D:/geronimo-tomcat6-jee5-2.0.2/repository/mock/jca/MockAdapter/1.0/MockAdapter-1.0.rar/rar/commons-logging-1.1.jar

Alas,  the following line

MockAdapter - embedded Log is org.apache.log4j.Logger - loaded from 
file:/D:/geronimo-tomcat6-jee5-2.0.2/lib/log4j-1.2.14.jar

shows that my applications log4j.jar is not used. So, my local log4j.xml is 
ignored and I get a default "INFO" trace level instead
of the ones I specified....

Jean-Noël



>
>On Jul 8, 2008, at 9:24 AM, johnxmas wrote:
>
>> David,

>Hmm. The MPCLSearchOption is working for me. I set as follows:
>
>set JAVA_OPTS=-DXorg.apache.geronimo.kernel.config.MPCLSearchOption=safe
>
>I verified that this works on Windows (and Mac OS X). I had Jetty  
>installed. Don't see how a Tomcat install could behave differently.
>
>Here's the output during deploy:
>
>MockAdapter setting hostName - Log factory is  
>org.apache.commons.logging.LogFactory - loaded from file:/C:/geronimo- 
>jetty6-jee5-2.0.2/repository/mock/jca/MockAdapter/1.0/ 
>MockAdapter-1.0.rar/rar/commons-logging.jar
>
>Doh... I bet the " " 's that you used are wrong... If you update your  
>GERONIMO_OPTS setting in geronimo.bat and remove the quotation mark  
>characters, I bet it works...
>
>Still need to fix this properly...
>
>--kevan
>
>
>

Reply via email to