axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sharmin Choksey <Sharmin.Chok...@Sun.COM>
Subject Re: logging error (DiscoveryException for LogFactory implementation)
Date Fri, 20 Sep 2002 15:49:42 GMT
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: <mailto:axis-user-help@xml.apache.org>
>list-unsubscribe: <mailto:axis-user-unsubscribe@xml.apache.org>
>list-post: <mailto:axis-user@xml.apache.org>
>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 <fix@smete.org>
>To: axis-user@xml.apache.org
>Resent-From: Eric Fixler <fix@smete.org>
>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.<clinit>(LogFactory.java:70 
>)
>**** at  
>org.apache.axis.transport.http.AxisServletBase.<clinit>(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
>


Mime
View raw message