ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | June 2005 Index

<--  Date Index  --> <--  Thread Index  -->

bug when starting the server service : Cannot get LoggerFactory:java.lang.ClassCastException


Hello,
I'm kind of a newbie here.
I just installed Enhydra and I met the following message when I tried to 
start the server service.

Here is the error log :

<code>Cannot get LoggerFactory:java.lang.ClassCastException: 
org.objectweb.util.monolo
g.wrapper.log4j.MonologLoggerFactory
java.lang.ClassCastException: 
org.objectweb.util.monolog.wrapper.log4j.MonologLo
ggerFactory
        at 
org.objectweb.util.monolog.wrapper.log4j.NTEventLogHandler.setAttribu
te(NTEventLogHandler.java:85)
        at 
org.objectweb.util.monolog.file.monolog.PropertiesConfAccess.read(Pro
pertiesConfAccess.java:140)
        at 
org.objectweb.util.monolog.file.monolog.PropertiesConfAccess.read(Pro
pertiesConfAccess.java:98)
        at 
org.objectweb.util.monolog.file.monolog.PropertiesConfAccess.load(Pro
pertiesConfAccess.java:80)
        at org.objectweb.jonas.common.Log.getLoggerFactory(Log.java:405)
        at org.objectweb.jonas.common.Log.configure(Log.java:219)
        at org.objectweb.jonas.server.Server.<init>(Server.java:237)
        at org.objectweb.jonas.server.Server.getInstance(Server.java:147)
        at org.objectweb.jonas.server.Server.main(Server.java:166)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
log4j:ERROR No output stream or file set for the appender named [logf].
log4j:ERROR No output stream or file set for the appender named [tty].
Error during execution of org.objectweb.jonas.server.Server : 
org.enhydra.spi.co
nf.ConfFileRegistry.setHost(Ljava/lang/String;)V
java.lang.AbstractMethodError: 
org.enhydra.spi.conf.ConfFileRegistry.setHost(Lja
va/lang/String;)V
        at 
org.objectweb.carol.jndi.ns.NameServiceManager.<init>(NameServiceMana
ger.java:83)
        at 
org.objectweb.carol.jndi.ns.NameServiceManager.<clinit>(NameServiceMa
nager.java:58)
        at 
org.objectweb.jonas.registry.RegistryServiceImpl.doStart(RegistryServ
iceImpl.java:94)
        at 
org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:
80)
        at 
org.objectweb.jonas.service.ServiceManager.startRegistry(ServiceManag
er.java:286)
        at org.objectweb.jonas.server.Server.start(Server.java:390)
        at org.objectweb.jonas.server.Server.main(Server.java:167)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)</code>

Thanks for any help.

Sincerely,

Antoine Toulmé
Student at The University of Technology of Troyes, France



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.