LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-02-2009, 03:07 AM   #1
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
Jboss


Hai Friends

I have one Problem. I am using centos4. when i install jboss verion 4 . I am getting like this problem .

[root@saran bin]# ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/JBOSS

JAVA: java

JAVA_OPTS: -Dprogram.name=run.sh -Xms1024m -Xmx1024m -XX:+UseLargePages -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

CLASSPATH: /opt/JBOSS/bin/run.jar

=========================================================================

Warning: -Xms1024m not understood. Ignoring.
Warning: -Xmx1024m not understood. Ignoring.
Warning: -XX:+UseLargePages not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.jboss.mx.util.ObjectNameFactory
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.jboss.system.server.ServerImpl.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.newInstance() (/usr/lib/libgcj.so.5.0.0)
at org.jboss.system.server.ServerLoader.createServer(java.lang.String, java.lang.ClassLoader) (Unknown Source)
at org.jboss.system.server.ServerLoader.load(java.lang.ClassLoader) (Unknown Source)
at org.jboss.Main.boot(java.lang.String[]) (Unknown Source)
at org.jboss.Main$1.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at GC_start_routine (/usr/lib/libgcj.so.5.0.0)
at __clone (/lib/tls/libc-2.3.4.so)
Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in [file:/opt/JBOSS/lib/endorsed/xalan.jar, file:/opt/JBOSS/lib/endorsed/serializer.jar, file:/opt/JBOSS/lib/endorsed/xercesImpl.jar, file:/opt/JBOSS/lib/jboss-jmx.jar, file:/opt/JBOSS/lib/concurrent.jar, file:/opt/JBOSS/lib/log4j-boot.jar, file:/opt/JBOSS/lib/jboss-common.jar, file:/opt/JBOSS/lib/jboss-system.jar, file:/opt/JBOSS/lib/jboss-xml-binding.jar]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
...13 more
[root@saran bin]#


Pls anyone Tell me the Solution.

Thank u
 
Old 03-02-2009, 03:32 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
This files are missing:

/opt/JBOSS/lib/endorsed/xalan.jar,
/opt/JBOSS/lib/endorsed/serializer.jar,
/opt/JBOSS/lib/endorsed/xercesImpl.jar,
/opt/JBOSS/lib/jboss-jmx.jar,
/opt/JBOSS/lib/concurrent.jar,
/opt/JBOSS/lib/log4j-boot.jar,
/opt/JBOSS/lib/jboss-common.jar,
/opt/JBOSS/lib/jboss-system.jar,
/opt/JBOSS/lib/jboss-xml-binding.jar

Make sure you installed them, or modify the path to them. Maybe they are in some other place, like /usr/local/lib or /usr/local/jboss/lib.

Try with find: find / -name "xalan.jar" -exec ls -la {} \;

Good luck!
 
  


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
need help on Jboss server raghupal Linux - Server 8 11-13-2008 04:02 AM
JBoss Question Hockeyfan Linux - Software 1 07-01-2005 08:07 PM
Jboss tvenegas Linux - Software 0 05-02-2005 10:44 AM
Why is JBoss complaining? eantoranz Programming 0 04-26-2005 10:56 AM
jboss daemon yenonn Linux - General 0 04-29-2004 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration