Sridhar,
For future reference, which distribution did you download (e.g. zip or
tar.gz), what tool did you use to extract it (e.g. WinZip) and what
version of the tool were you using?
We have had problems in the past with some versions of WinZip and empty
directories and have placed a file in those empty directories to prevent
the problem (e.g. var/temp/README.txt), but it appears in this case, it
wasn't done for the var\shared\classes directory.
John
Sridhar Pappula wrote:
I having problem to startup the geronimo-1.1 server. I got the
following stacktrace. Can somebody help me with this one? I setup my
JAVA_HOME variable using JDK1.4.2 as well JDK1.5.0 and JRE1.5.0
respectively. But every JDK produced the same error. And also I tried
to startup the server using startup script as well java -jar server
command. Both have the same output.
D:\geronimo-1.1\bin>java -jar server.jar
Booting Geronimo Kernel (in Java 1.5.0_04)...
Starting Geronimo Application Server v1.1
[***************> ] 70% 15s Loading geronimo/sharedlib/1.1/car
10:55:30,390 ERROR [GBeanInsta
nceState] Error while starting; GBean is now in the FAILED state:
abstractName="geronimo/sharedlib/1
.1/car?ServiceModule=geronimo/sharedlib/1.1/car,j2eeType=GBean,name=SharedLib"
java.lang.IllegalArgumentException: Classes dir does not exist:
D:\geronimo-1.1\var\shared\classes
at
org.apache.geronimo.system.sharedlib.SharedLib.<init>(SharedLib.java:51)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:933)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.
java:267)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.ja
va:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(Configuratio
nUtil.java:374)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationMan
ager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleCon
figurationManager.java:512)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleCon
figurationManager.java:493)
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:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$5d3248d7
.startConfiguration(<generated>)
at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
[***************> ] 70% 15s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of
geronimo/sharedlib/1.1/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleCon
figurationManager.java:529)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleCon
figurationManager.java:493)
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:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$5d3248d7
.startConfiguration(<generated>)
at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown start exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(Configuratio
nUtil.java:440)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationMan
ager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleCon
figurationManager.java:512)
... 13 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration geronimo/sharedlib
/1.1/car failed to start due to the following reasons:
The service
ServiceModule=geronimo/sharedlib/1.1/car,j2eeType=GBean,name=SharedLib
did not start f
or an unknown reason
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(Configuratio
nUtil.java:403)
... 15 more
Server shutdown begun tartup failed
Server shutdown completed
[***************> ] 70% 18s Startup failed
D:\geronimo-1.1\bin>