You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by kwdev <ki...@hotmail.com> on 2008/09/02 20:39:32 UTC

Re: Startup Error


I am using the command ./geronimo.sh start in my new Sun Solaris environment
and am getting the error below at startup.

But in old Red Had env , I use the linux service utility and the start the
server using :
/sbin/service geronimo start

My question is there an alternative way to start the server in the Solaris
envionment. 
Both environments have the exact same Geronimo libraries and directory
structure,

Thanks



kwdev wrote:
> 
> I am trying to install geronimo 2.1 on our new Sun SOlaris box. I
> downloaded the zip file under 
> /home/geronimo and ran the script . ./bin/geronimo.sh start to start the
> server and am getting the following errors at startup : 
> 
> "/export/home/geronimo/install/geronimo-tomcat6-javaee5-2.1/var/log/geronimo.out"
> 248 lines, 25808 characters
> 12:37:48,111 ERROR [GBeanInstanceState] Error while starting; GBean is now
> in the FAILED state:
> abstractName="org.apache.geronimo.framework/j2ee-system/2.1/c
> ar?configurationName=org.apache.geronimo.framework/j2ee-system/2.1/car"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing
> dependency: org.apache.geronimo.framework/geronimo-common/2.1/jar
>         at
> org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
>         at
> org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:405)
>         at
> org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:322)
>         at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:267)
>         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:494)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
>         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:541)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
>         at
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:203)
>         at
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:167)
>         at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)
>         at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)
>         at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
>         at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at
> org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> 
> 
> Any idea anyone ?
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-Startup-Error-tp19226728s134p19275849.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Startup Error

Posted by patrungel <pa...@yandex.ru>.
(might be way too late but still: )
faced a similar trouble with running G on a Solaris box, it turned out that
unpacking process had some failures at un-tarring ./repository directory of
the archive; 

replacing it with a proper copy fixed it.

some output:
the error during tar extract

tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file



$ java -Djava.endorsed.dirs=$JRE_HOME/lib/endorsed:lib/endorsed
-Djava.ext.dirs=$JRE_HOME/lib/ext:lib/ext -javaagent:bin/jpa.jar -jar
bin/server.jar

12:12:46,058 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
abstractName="org.apache.geronimo.framework/j2ee-system/2.1.4/car?configurationName=org.apache.geronimo.framework/j2ee-system/2.1.4/car"
org.apache.geronimo.kernel.repository.MissingDependencyException: Missing
dependency: org.apache.geronimo.framework/geronimo-common/2.1.4/jar
	at
org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
	at
org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
	at
org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)
	at
org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:272)
	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:948)
	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:541)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:203)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:167)
	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)
	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)
	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
	at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
java.lang.IllegalStateException: GBean is not running:
org.apache.geronimo.framework/j2ee-system/2.1.4/car?configurationName=org.apache.geronimo.framework/j2ee-system/2.1.4/car
	at
org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.java:304)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:205)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:167)
	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)
	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)
	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
	at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)

$ ./start-server 

java.io.FileNotFoundException:
MY_GERONIMO_HOME_HERE/repository/org/apache/geronimo/gshell/commands/gshell-builtins/1.0-alpha-1
	at
org.codehaus.plexus.classworlds.launcher.Configurator.loadGlob(Configurator.java:484)
	at
org.codehaus.plexus.classworlds.launcher.Configurator.loadGlob(Configurator.java:454)
	at
org.codehaus.plexus.classworlds.launcher.Configurator.configure(Configurator.java:315)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.configure(Launcher.java:131)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:404)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
	at org.apache.geronimo.gshell.bootstrap.Launcher.main(Launcher.java:59)

-- 
View this message in context: http://n3.nabble.com/Re-Startup-Error-tp339303p448692.html
Sent from the Users mailing list archive at Nabble.com.

Re: Startup Error

Posted by Kevan Miller <ke...@gmail.com>.
On Sep 2, 2008, at 2:39 PM, kwdev wrote:

>
>
> I am using the command ./geronimo.sh start in my new Sun Solaris  
> environment
> and am getting the error below at startup.
>
> But in old Red Had env , I use the linux service utility and the  
> start the
> server using :
> /sbin/service geronimo start
>
> My question is there an alternative way to start the server in the  
> Solaris
> envionment.
> Both environments have the exact same Geronimo libraries and directory
> structure,

What version of Java are you using on Solaris?

Anybody have a Solaris environment that they can reproduce on?

Here are your options for starting:

bin/gsh geronimo/start-server
bin/geronimo.sh run

I wouldn't recommend it, but you can also run Geronimo using the  
following (assumes that your working directory is <geronimo-home>:

java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/jpa.jar -jar bin/ 
server.jar

--kevan