glassfish_at_javadesktop.org wrote On 03/22/07 03:37 AM,:
>I am getting exception while placing common loggings and log4j jar into server lib
>
>Can AnyBody tell me what will be the problem ..
>
>java.lang.ExceptionInInitializerError
>at
> com.sun.jbi.httpsoapbc.OutboundMessageProcessor.<init>(OutboundMessageProcessor.java:146)
>at
> com.sun.jbi.httpsoapbc.OutboundReceiver.run(OutboundReceiver.java:115)
> at java.lang.Thread.run(Thread.java:619)
>Caused by: org.apache.commons.logging.LogConfigurationException:
>org.apache.commons.logging.LogConfigurationException:
>org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
>
>
OK, I know what's going on, but let me first ask you this:
- In addition to the commons-logging.jar in the domain's lib directory,
you also
have a local copy in WEB-INF/lib
- The classloader's "delegate" attribute in your webapp's sun-web.xml is
set to "false".
Can you confirm?
Jan
>at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
>at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
>at org.apache.commons.httpclient.HttpClient.<clinit>(Unknown Source)
> ... 3 more
>Caused by: org.apache.commons.logging.LogConfigurationException:
>org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
> ... 7 more
>Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
> ... 8 more
>[Message sent by forum member 'unnipillai' (unnipillai)]
>
>http://forums.java.net/jive/thread.jspa?messageID=209388
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>