Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-16-2009, 03:53 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Red face 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 # ./

JBoss Bootstrap Environment

JBOSS_HOME: /root/Downloads/jboss-5.0.0.GA

JAVA: /usr/lib/jvm/java/bin/java

JAVA_OPTS: -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

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(
at org.jboss.kernel.KernelFactory.assembleNewKernel(
at org.jboss.kernel.KernelFactory.newInstance(
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(
at org.jboss.bootstrap.AbstractServerImpl.start(
at org.jboss.Main.boot(
at org.jboss.Main$
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.jboss.reflect.plugins.MethodInfoImpl.<init>(
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.<init>(
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTyp
at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(
at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(
at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(
at .java:175)
at org.jboss.kernel.KernelFactory.createKernelInitializer(
...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.
Old 02-15-2012, 01:26 PM   #2
LQ Newbie
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
Having the same problem


Anybody knows the answer for this post?

Im tryng to run java app in linux and I have the same error.

Something happens with the classpath?

Old 07-06-2012, 03:15 PM   #3
LQ Newbie
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled

Originally Posted by Fivalo View Post

Anybody knows the answer for this post?

Im tryng to run java app in linux and I have the same error.

Something happens with the classpath?

Check your JAVA version. Some JBoss versions state that they work with JDK 1.5 and 1.6 when in fact they only work with 1.6.

OpenJDK 1.6 will do fine, but if everything else fails, uninstall IcedTea / OpenJAVA and install the official, non-free Sun Java 1.6 JDK.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
JBoss Application Server 4.2.3 cannot startup sleepyhomme Linux - Server 6 01-19-2012 11:16 AM
need help on Jboss server raghupal Linux - Server 8 11-13-2008 03:02 AM
JBoss installation tanveer Linux - General 5 07-06-2008 05:18 AM
JBoss Question Hockeyfan Linux - Software 1 07-01-2005 07:07 PM
Jboss tvenegas Linux - Software 0 05-02-2005 09:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration