You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Bernolet, Luc [PRDBE Extern]" <LB...@PRDBE.jnj.com> on 2004/06/21 14:29:37 UTC

LogConfigurationException: No suitable Log constructor

Hi all,

I'm having a strange problem running 2 web services in axis:
Both use more or less the same coding etc.One runs without any problem,
the seconds fails to start: it generates the following exception:

Exception in thread "main" java.lang.ExceptionInInitializerError:
org.apache.com
mons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurat
ionException: No suitable Log constructor [Ljava.lang.Class;@30c221 for
org.apac
he.commons.logging.impl.Log4JLogger
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:532)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:272)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
        at
org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:7
6)
        at
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:81)
        at org.apache.axis.client.Service.getAxisClient(Service.java:143)
        at org.apache.axis.client.Service.<init>(Service.java:152)
        at drcfitterClientH2.main(drcfitterClientH2.java:13)


on this line of code:
Service service = new Service();

So before I make any use of the actual service.

Any clue?

Thanks a lot,
Luke.