ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | June 2005 Index

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

Re: [enhydra] bug when starting the server service : Cannot get LoggerFactory:java.lang.ClassCastException


Hi,

Since you are (as I understood) truing to start the server as wrapper
service your environment should not be the problem.
You can (re)start post install configuration process. Simply cd to
'<enhydra_root>/multiserver/enhydra' directory and start 'configure' shell
script (batch file). This way, you will start enhydra server (ANT based)
configuration process and will be able to see if anything goes wrong. After
finished configuration procedure, start enhydra by using executable scripts
in '<enhydra_root>/multiserver/enhydra/bin' directory or trough EnTray (if
installed).

If problem persists, I will have some additional questions regarding Enhydra
Enterprise installation for further problem analysis:

1. Which version of Enhydra have you installed?
2. Which JOnAS is used during installation?
3. Which Java version are you using?
4. On which operating system?
5. Which starting script are you using (how are you starting Enhydra
Server)?

Regards,
     Slobodan Vujasinovic
Enhydra Development Team


----- Original Message -----
From: <toulmean@xxxxxx>
To: <enhydra@xxxxxxxxxxxxx>
Sent: Tuesday, June 07, 2005 12:10 AM
Subject: [enhydra] 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
>
>


----------------------------------------------------------------------------
----


>
> --
> You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




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

Reply via email to:

Powered by MHonArc.

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