Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 16520 invoked by uid 500); 20 Sep 2002 15:51:47 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 16509 invoked from network); 20 Sep 2002 15:51:46 -0000 Message-Id: <200209201551.IAA08517@phys-ha10nwka.ebay.sun.com> Date: Fri, 20 Sep 2002 08:49:42 -0700 (PDT) From: Sharmin Choksey Reply-To: Sharmin Choksey Subject: Re: logging error (DiscoveryException for LogFactory implementation) To: axis-user@xml.apache.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: tfD93BkBN45cBQQsqRPq6Q== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.6_06 SunOS 5.8 sun4u sparc X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Does your CLASSPATH in environment.sh have commons-discovery.jar and commons-logging.jar in them ? -Sharmin. >Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm >list-help: >list-unsubscribe: >list-post: >Delivered-To: mailing list axis-user@xml.apache.org >Delivered-To: moderator for axis-user@xml.apache.org >Date: Fri, 20 Sep 2002 00:53:40 -0700 >Resent-Date: Fri, 20 Sep 2002 01:13:32 -0700 >Content-Transfer-Encoding: 7bit >Resent-Message-Id: <141CF86C-CC6E-11D6-AFE2-003065767B3C@smete.org> >Resent-To: axis-user@xml.apache.org >Mime-Version: 1.0 (Apple Message framework v546) >Subject: logging error (DiscoveryException for LogFactory implementation) >From: Eric Fixler >To: axis-user@xml.apache.org >Resent-From: Eric Fixler >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >Hello. I get the following error when trying to deploy Axis under ATG >Dynamo: > >**** Error Fri Sep 20 00:40:41 PDT 2002 1032507641255 / >Unable to resolve component /atg/dynamo/service/j2ee/J2EEContainer >java.lang.ExceptionInInitializerError: >org.apache.commons.discovery.DiscoveryException: No implementation >defined for org.apache.commons.logging.LogFactory >**** at >org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.j >ava:197) >**** at >org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverCla >ss.java:579) >**** at >org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingle >ton.java:418) >**** at >org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingle >ton.java:378) >**** at >org.apache.axis.components.logger.LogFactory.(LogFactory.java:70 >) >**** at >org.apache.axis.transport.http.AxisServletBase.(AxisServletBase. >java:94) >**** at java.lang.Class.newInstance0(Native Method) > > >I looked at the docs and scanned throught the mailing list archives and >it doesn't seem that you're necessarily obligated to configure logging. >I did make a commons-logging.properties file and put it in the >classpath. It's a one-liner with this content: > >org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog > >Following a thread in the mailing list, I also extracted >log4j.properties from axis.jar and put in a folder that's in the >classpath, but that had no effect. > >Any tips greatly appreciated... > >thanks >eric > > > >--------------------------------------------------------------- >Eric Fixler >Senior Software Developer, smete.org >1-510-643-0106 >