JBoss startup
Hi all,
I am new to the forum, and new to using the JBoss environment too. I have ant, java, xdoclet installed and trying to write an application to deploy on the JBoss server.
However, when I try to run JBoss, the server starts and shuts down immediately. I get the following:
linux-uabk:~/Downloads/jboss-5.0.0.GA/bin # ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /root/Downloads/jboss-5.0.0.GA
JAVA: /usr/lib/jvm/java/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
CLASSPATH: /root/Downloads/jboss-5.0.0.GA/bin/run.jar:/usr/lib/jvm/java/lib/tools.jar
=========================================================================
12:35:47,772 INFO [ServerImpl] Starting JBoss (Microcontainer)...
12:35:47,774 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
12:35:47,775 INFO [ServerImpl] Bootstrap URL: null
12:35:47,775 INFO [ServerImpl] Home Dir: /root/Downloads/jboss-5.0.0.GA
12:35:47,775 INFO [ServerImpl] Home URL: file:/root/Downloads/jboss-5.0.0.GA/
12:35:47,775 INFO [ServerImpl] Library URL: file:/root/Downloads/jboss-5.0.0.GA/lib/
12:35:47,776 INFO [ServerImpl] Patch URL: null
12:35:47,776 INFO [ServerImpl] Common Base URL: file:/root/Downloads/jboss-5.0.0.GA/common/
12:35:47,777 INFO [ServerImpl] Common Library URL: file:/root/Downloads/jboss-5.0.0.GA/common/lib/
12:35:47,777 INFO [ServerImpl] Server Name: default
12:35:47,777 INFO [ServerImpl] Server Base Dir: /root/Downloads/jboss-5.0.0.GA/server
12:35:47,777 INFO [ServerImpl] Server Base URL: file:/root/Downloads/jboss-5.0.0.GA/server/
12:35:47,777 INFO [ServerImpl] Server Config URL: file:/root/Downloads/jboss-5.0.0.GA/server/default/conf/
12:35:47,777 INFO [ServerImpl] Server Home Dir: /root/Downloads/jboss-5.0.0.GA/server/default
12:35:47,778 INFO [ServerImpl] Server Home URL: file:/root/Downloads/jboss-5.0.0.GA/server/default/
12:35:47,778 INFO [ServerImpl] Server Data Dir: /root/Downloads/jboss-5.0.0.GA/server/default/data
12:35:47,778 INFO [ServerImpl] Server Library URL: file:/root/Downloads/jboss-5.0.0.GA/server/default/lib/
12:35:47,778 INFO [ServerImpl] Server Log Dir: /root/Downloads/jboss-5.0.0.GA/server/default/log
12:35:47,778 INFO [ServerImpl] Server Native Dir: /root/Downloads/jboss-5.0.0.GA/server/default/tmp/native
12:35:47,778 INFO [ServerImpl] Server Temp Dir: /root/Downloads/jboss-5.0.0.GA/server/default/tmp
12:35:47,778 INFO [ServerImpl] Server Temp Deploy Dir: /root/Downloads/jboss-5.0.0.GA/server/default/tmp/deploy
Failed to boot JBoss:
java.lang.RuntimeException: Unable to create a KernelInitializer based on the specified KernelConfig
at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:156)
at org.jboss.kernel.KernelFactory.assembleNewKernel(KernelFactory.java:99)
at org.jboss.kernel.KernelFactory.newInstance(KernelFactory.java:67)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(AbstractBootstrap.java:114)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:107)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(libgcj.so.9)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.jboss.reflect.plugins.MethodInfoImpl.<init>(MethodInfoImpl.java:103)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.<init>(ReflectMethodInfoImpl.java:78)
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfo FactoryImpl.java:211)
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfo FactoryImpl.java:200)
at java.security.AccessController.doPrivileged(libgcj.so.9)
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTyp eInfoFactoryImpl.java:198)
at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(ClassInfoImpl.java:394)
at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getMethods(AbstractBeanInfoFactory.java:231)
at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:152)
at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:124)
at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:69)
at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:65)
at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.getImplementation(PropertyKernelConfig .java:175)
at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.createKernelInitializer(PropertyKernel Config.java:120)
at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:150)
...9 more
12:35:48,178 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
12:35:48,197 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
Can anyone please help? I am using SUSE 11.0.
Also the build for xdoclet is not successful. I appreciate any help that will come up.
Cheers
|