LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 02-16-2009, 03:53 AM   #1
dtuheirwe
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 # ./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
 
Old 02-15-2012, 01:26 PM   #2
Fivalo
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
Having the same problem

Hi

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?

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

Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by Fivalo View Post
Hi

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?

Thanks
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.
 
  


Reply


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


All times are GMT -5. The time now is 03:49 PM.

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