Mail Archive Home | enhydra List | June 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi,
I followed your instructions and restarted the configuration process. There
was no error.
To make sure everything was allright, I got rid of my JVMs and of the Sun
Application Server.
I reinstalled the JDK 1.5 update 3 on my computer.
I reinstalled Enhydra Enterprise Edition 6.3 as well.
I chose to install all the services (Full install).
I used Jonas 4.4.2 with Tomcat 5.5.9 for the Jonas binary files.
There was no error reported during the installation process.
The Enhydra systray icon was successfully installed.
Then I started the configure.bat file in multiserver/enhydra.
No error as well.
Then I tried to start the server using several services :
start-enhydra.bat returned the same error as in the first place.
enhydra_App.bat returned this error :
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.0.5)
jvm 1 |
jvm 1 | Cannot get LoggerFactory:java.lang.ClassCastException:
org.objectweb.
util.monolog.wrapper.log4j.MonologLoggerFactory
jvm 1 | java.lang.ClassCastException:
org.objectweb.util.monolog.wrapper.log4
j.MonologLoggerFactory
jvm 1 | at
org.objectweb.util.monolog.wrapper.log4j.NTEventLogHandler.se
tAttribute(NTEventLogHandler.java:85)
jvm 1 | at
org.objectweb.util.monolog.file.monolog.PropertiesConfAccess.
read(PropertiesConfAccess.java:140)
jvm 1 | at
org.objectweb.util.monolog.file.monolog.PropertiesConfAccess.
read(PropertiesConfAccess.java:98)
jvm 1 | at
org.objectweb.util.monolog.file.monolog.PropertiesConfAccess.
load(PropertiesConfAccess.java:80)
jvm 1 | at
org.objectweb.jonas.common.Log.getLoggerFactory(Log.java:405)
jvm 1 | at org.objectweb.jonas.common.Log.configure(Log.java:219)
jvm 1 | at org.objectweb.jonas.server.Server.<init>(Server.java:237)
jvm 1 | at
org.objectweb.jonas.server.Server.getInstance(Server.java:147
)
jvm 1 | at org.objectweb.jonas.server.Server.main(Server.java:166)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
jvm 1 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1 | at
org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
jvm 1 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1 | at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperSta
rtStopApp.java:126)
jvm 1 | at java.lang.Thread.run(Thread.java:595)
jvm 1 | log4j:ERROR No output stream or file set for the appender named
[logf
].
jvm 1 | log4j:ERROR No output stream or file set for the appender named
[tty]
.
jvm 1 | Error during execution of org.objectweb.jonas.server.Server :
org.enh
ydra.spi.conf.ConfFileRegistry.setHost(Ljava/lang/String;)V
jvm 1 | java.lang.AbstractMethodError:
org.enhydra.spi.conf.ConfFileRegistry.
setHost(Ljava/lang/String;)V
jvm 1 | at
org.objectweb.carol.jndi.ns.NameServiceManager.<init>(NameSer
viceManager.java:83)
jvm 1 | at
org.objectweb.carol.jndi.ns.NameServiceManager.<clinit>(NameS
erviceManager.java:58)
jvm 1 | at
org.objectweb.jonas.registry.RegistryServiceImpl.doStart(Regi
stryServiceImpl.java:94)
jvm 1 | at
org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceIm
pl.java:80)
jvm 1 | at
org.objectweb.jonas.service.ServiceManager.startRegistry(Serv
iceManager.java:286)
jvm 1 | at org.objectweb.jonas.server.Server.start(Server.java:390)
jvm 1 | at org.objectweb.jonas.server.Server.main(Server.java:167)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
jvm 1 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1 | at
org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
jvm 1 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1 | at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperSta
rtStopApp.java:126)
jvm 1 | at java.lang.Thread.run(Thread.java:595)
jvm 1 | JOnAS server Enhydra unreachable
According to the message, it seems Jonas initialization went wrong somehow.
with the file StartEnhydra.bat I got this output :
wrapper | Starting the Enhydra Server service...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | Stopping...
wrapper | The Enhydra Server service was launched, but failed to start.
I finally tried with the file enhydra-ant which crashed without findind a
build.xml file.
I tested the variables JAVA_HOME and JONAS_ROOT values. They were right.
In a few words here are my computer characteristics :
My computer is running under Windows XP Home with SP2 .
Installed Enhydra version : Enterprise 6.3
Jonas binaries : version 4.4.2 with Tomcat 5.5.9
Java version : JDK 1.5 update 3
I hope this makes things clearer for you.
Thanks for your help,
Regards
Antoine Toulmé
Student at the University of Technology of Troyes
2005-06-07 09:26:50
Slobodan Vujasinovic slobodan@xxxxxxxxxxxxx
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 --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.