Howdy, commons-logging is part of the Commons Logging package. It's not related to log4j except on the conceptual level, both being dynamically configurable logging frameworks. I think commons-logging actually allows you to use log4j as the underlying mechanism though.
Therefore, your question belongs in the commons-logging mailing list ;) As a guess, even though I don't want to continue this thread as it doesn't belong on this list, you may have two versions of the same class in your runtime classpath. An ExceptionInInitializerError would be thrown when the VM tries to instantiate a class with a constructor that's different from what's in the actual .class. Check your classpath (including server libraries if you're using tomcat or whatever) to make sure you don't have duplicate classes. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Thursday, July 11, 2002 11:54 AM >To: [EMAIL PROTECTED] >Subject: Logging Problem (think it is log4j) > >From: Ryan D. Cuprak > >Hello, > I recently downloaded Sun Microsystems webservices packet which came >with a jar "commons-logging.jar" which I think is a permutation of log4j >(possibly old) but not sure. Anyway, when I attempt to run my applet in a >browser I get the following exception trace (below) which I do not get if I >run the applet in my ide. Is org.apache.logging related to log4j? I >downloaded the latest log4 and it didn't look anything like the jar from >sun (contents). > >-Thanks, >Ryan Cuprak > >Exception: >java.lang.ExceptionInInitializerError: >org.apache.commons.logging.LogConfigurationException: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException > > at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryIm pl.j >ava:494) > > at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryIm pl.j >ava:285) > > at >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.<clinit>(HttpS OAPC >onnection.java:37) > > at >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory.createC onne >ction(HttpSOAPConnectionFactory.java:25) > > at >com.kodak.sis.applet.UserList.UserListApplet.sendSOAPMessage(Unknown >Source) > > at com.kodak.sis.applet.UserList.UserListApplet.start(Unknown Source) > > at sun.applet.AppletPanel.run(Unknown Source) > > at java.lang.Thread.run(Unknown Source) > >java.lang.ExceptionInInitializerError: >org.apache.commons.logging.LogConfigurationException: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException > > at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryIm pl.j >ava:494) > > at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryIm pl.j >ava:285) > > at >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.<clinit>(HttpS OAPC >onnection.java:37) > > at >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory.createC onne >ction(HttpSOAPConnectionFactory.java:25) > > at >com.kodak.sis.applet.UserList.UserListApplet.sendSOAPMessage(Unknown >Source) > > at com.kodak.sis.applet.UserList.UserListApplet.start(Unknown Source) > > at sun.applet.AppletPanel.run(Unknown Source) > > at java.lang.Thread.run(Unknown Source) > > > >-- >To unsubscribe, e-mail: <mailto:log4j-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:log4j-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>