Hi Kevan!
These are my settings:
$ echo $JAVA_HOME
/usr/local/java
$ echo $JRE_HOME
/usr/local/java
Directory /usr/local/java exists
$ sudo update-alternatives --config java
There are 3 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-wrapper-4.1
+ 2 /usr/lib/jvm/java-gcj/jre/bin/java
* 3 /usr/local/java/bin/java
Press enter to keep the default[*], or type selection number:
$ java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
same as:
$ /usr/local/java/bin/java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
any other idea?
best regards
Łukasz
----- Original Message ----
From: Kevan Miller <[EMAIL PROTECTED]>
To: "[email protected]" <[email protected]>
Sent: Tuesday, 4 September, 2007 2:36:07 PM
Subject: Re: Geronimo 2.0.1 first startup and GBean is now in the FAILED state
Check your JRE_HOME or JAVA_HOME setting. One of them is not set properly...
--kevan
Sent from my iPhone
On Sep 4, 2007, at 5:27 AM, Xh <[EMAIL PROTECTED]> wrote:
Hi!
I have Ubuntu 6.06 LTS with 2.6.15 kernel
It's for sure not the long path problem, I have my Geronimo in:
/wazne/dist/geronimo2/
To be 100% sure it's not the long path issue, I've tried the /wazne/dist/g2
directory with the same result.
G 2.0.1 fails at startup!
any other idea?
thanks and best regards
Łukasz
----- Original Message ----
From: Vamsavardhana Reddy <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, 3 September, 2007 5:37:27 PM
Subject: Re: Geronimo 2.0.1 first startup and GBean is now in the FAILED state
What is your
OS? If it is Windows, you may have hit the "long-path" problem. Try
extracting the archive to the root of a drive, for e.g. C:\, and then start the
server.
Vamsi
On 9/3/07, Xh <[EMAIL PROTECTED]> wrote:
Hi All!
I have just downloaded the newest G2.0.1
I unzipped and run it, but I get webconsole-tomcat "GBean is now in the FAILED
state".
I've tried to run it few times, but I keep getting this error.
This is very strange as far as the only thing I did was unzip downloaded
archive.
Any ideas what may be wrong?
thanks and best regards
Łukasz
the content of var/log/geronimo.out is as follows:
Booting Geronimo Kernel (in Java 1.6.0_02)...
Module 1/30 org.apache.geronimo.configs/rmi-naming/2.0.1/car
started in 1.228s
Module 2/30 org.apache.geronimo.configs/j2ee-server/2.0.1/car
started in .595s
Module 3/30 org.apache.geronimo.configs/transaction/2.0.1/car
started in 1.685s
Module 4/30 org.apache.geronimo.configs/j2ee-security/2.0.1/car
started in .000s
Module 5/30 org.apache.geronimo.configs
/openejb/2.0.1/car started in 20.113s
Module 6/30 org.apache.geronimo.configs/system-database/2.0.1/car
started in .000s
Module 7/30 org.apache.geronimo.configs/activemq-broker/2.0.1/car
started in .000s
Module 8/30 org.apache.geronimo.configs/activemq-ra/2.0.1/car
started in .000s
Module 9/30 org.apache.geronimo.configs/jasper/2.0.1/car
started in .004s
Module 10/30 org.apache.geronimo.configs
/myfaces/2.0.1/car started in .039s
Module 11/30 org.apache.geronimo.configs/tomcat6/2.0.1/car
17:12:55,775 ERROR [[/]] "Restricted listeners property file not found
started in
4.094s
Module 12/30 org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car
started in 1.598s
Module 13/30 org.apache.geronimo.configs/j2ee-deployer/2.0.1/car
started in .749s
Module 14/30
org.apache.geronimo.configs/connector-deployer/2.0.1/car started in
.419s
Module 15/30 org.apache.geronimo.configs/persistence-jpa10-deployer/2.0.1/car
started in .251s
Module 16/30 org.apache.geronimo.configs
/openejb-deployer/2.0.1/car started in .264s
Module 17/30 org.apache.geronimo.configs/client-deployer/2.0.1/car
started in .615s
Module 18/30 org.apache.geronimo.configs/axis2-deployer/2.0.1/car
started in .422s
Module 19/30 org.apache.geronimo.configs/axis-deployer/2.0.1/car
started in 2.677s
Module 20/30 org.apache.geronimo.configs/javamail/2.0.1/car
started in .180s
Module 21/30 org.apache.geronimo.configs
/sharedlib/2.0.1/car started in .029s
Module 22/30 org.apache.geronimo.configs/tomcat6-deployer/2.0.1/car
started in .229s
Module 23/30 org.apache.geronimo.configs/jasper-deployer/2.0.1/car
started in .092s
Module 24/30 org.apache.geronimo.configs/myfaces-deployer/2.0.1/car
started in .097s
Module 25/30 org.apache.geronimo.configs/welcome-tomcat/2.0.1/car
started in .571s
Module 26/30 org.apache.geronimo.configs
/dojo-tomcat/2.0.1/car started in .293s
Module 27/30 org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car
17:13:10,916 ERROR [GBeanInstanceState] Error while starting; GBean is now in
the FAILED state: abstractName="
org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car?J2EEApplication=org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car,j2eeType=JACCManager,name=JACCManager"
java.lang.ExceptionInInitializerError
at
org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:109)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:946)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:268)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:539)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300
(BasicLifecycleMonitor.java:44)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:294)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java
:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke
(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$db1cf514.startConfiguration
(<generated>)
at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.daemon.DaemonCLI.main
(DaemonCLI.java:30)
Caused by: java.lang.NullPointerException
at org.apache.geronimo.security.SubjectId.hashCode(SubjectId.java:79)
at java.util.HashMap.put(HashMap.java:372)
at java.util.Collections$SynchronizedMap.put
(Collections.java:1979)
at
org.apache.geronimo.security.ContextManager.registerSubject(ContextManager.java:299)
at
org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:71)
... 37 more
Server Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car failed at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration
(SimpleConfigurationManager.java:547)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java
:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
(GBeanInstance.java:830)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$db1cf514.startConfiguration(<generated>)
at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main
(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException
: Unknown start exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:514)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start
(KernelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException
: Configuration org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car failed
to start due to the following reasons:
The service
J2EEApplication=org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car,j2eeType=JACCManager,name=JACCManager
did not start because Throwable during start of gbean:
java.lang.ExceptionInInitializerError
at
org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:109)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java
:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:946)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:268)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:539)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300
(BasicLifecycleMonitor.java:44)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:294)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java
:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke
(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$db1cf514.startConfiguration
(<generated>)
at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.daemon.DaemonCLI.main
(DaemonCLI.java:30)
Caused by: java.lang.NullPointerException
at org.apache.geronimo.security.SubjectId.hashCode(SubjectId.java:79)
at java.util.HashMap.put(HashMap.java:372)
at java.util.Collections$SynchronizedMap.put
(Collections.java:1979)
at
org.apache.geronimo.security.ContextManager.registerSubject(ContextManager.java:299)
at
org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:71)
... 37 more
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:477)
... 16 more
[] received stop signal
___________________________________________________________
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars
online! http://uk.cars.yahoo.com/
Yahoo! Answers - Get better answers from someone who knows. Try
it now.
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/environment.html