From: Olivier D. <da...@sm...> - 2005-03-23 01:11:59
|
[Sorry, I hit the 'send' button by mistake] Hello Diez, On Tue, 22 Mar 2005 10:20:48 +0100, "Diez B. Roggisch" <de...@we...> wrote: > > However, as soon as I try to create an instance of > > org.apache.axis.client.Service, I have a: > > "No implementation defined for > > org.apache.commons.logging.LogFactory" error message. > > > > I also tried to use (before instantiating Service): > > from java.lang import System > > System.setProperty("org.apache.commons.logging.LogFactory", > > > > :org.apache.commons.logging.impl.Log4jFactory") > > > > but it didn't help. > > I never ran into these problems - are you sure you have all necessary > jars included? > > These are mine: > > -rwxr-xr-x 1 deets 1573104 2005-03-11 18:35 axis.jar* > -rwxr-xr-x 1 deets 74527 2005-03-11 18:35 commons-discovery.jar* > -rw-r--r-- 1 deets 31605 2003-09-17 15:53 commons-logging.jar > drwxr-xr-x 2 deets 4096 2005-03-11 18:35 CVS/ > -rwxr-xr-x 1 deets 32071 2005-03-11 18:35 jaxrpc.jar* > -rwxr-xr-x 1 deets 19427 2005-03-11 18:35 saaj.jar* > -rwxr-xr-x 1 deets 161701 2005-03-11 18:35 wsdl4j.jar* Hum I have indeed the same ones (cf infra) Please note that the error message is not a class not found exception, but rather looks like a configuration problem - do you have any "commons-loggin.properties" or "log4j.properties" somewhere in your classpath ? - which version of jython are you using ? - what is the value of sys.path ? - also, I deleted some of the files in my axis installation to match yours, but using one or the other of the two following directories triggered exactly the same error message. olivier@gryffindor /usr/local/axis-1_2RC3/libOD> ll total 1862 -rw-r--r-- 1 root root 1573104 2005-03-22 16:46 axis.jar -rw-r--r-- 1 root root 74527 2005-03-22 16:46 commons-discovery.jar -rw-r--r-- 1 root root 31605 2005-03-22 16:46 commons-logging.jar -rw-r--r-- 1 root root 32071 2005-03-22 16:46 jaxrpc.jar -rw-r--r-- 1 root root 19427 2005-03-22 16:46 saaj.jar -rw-r--r-- 1 root root 161701 2005-03-22 16:46 wsdl4j.jar olivier@gryffindor /usr/local/axis-1_2RC3/lib> ll total 2250 -rw-r--r-- 1 root root 32489 2005-02-28 19:39 axis-ant.jar -rw-r--r-- 1 root root 1573104 2005-02-28 19:39 axis.jar -rw-r--r-- 1 root root 74527 2005-02-28 19:39 commons-discovery.jar -rw-r--r-- 1 root root 31605 2005-02-28 19:39 commons-logging.jar -rwxr-xr-x 1 root root 158 2005-03-22 13:52 commons-logging.properties -rw-r--r-- 1 root root 32071 2005-02-28 19:39 jaxrpc.jar -rw-r--r-- 1 root root 352668 2005-02-28 19:39 log4j-1.2.8.jar -rwxr-xr-x 1 root root 941 2005-03-22 13:45 log4j.properties -rw-r--r-- 1 root root 19427 2005-02-28 19:39 saaj.jar -rw-r--r-- 1 root root 161701 2005-02-28 19:39 wsdl4j.jar |