[jboss-user] [Beginner's Corner] - JBOSS Installation problem NoClassDefFoundError
Eon Laserna
do-not-reply at jboss.com
Fri Aug 17 23:57:09 EDT 2012
Eon Laserna [https://community.jboss.org/people/eon] created the discussion
"JBOSS Installation problem NoClassDefFoundError"
To view the discussion, visit: https://community.jboss.org/message/754342#754342
--------------------------------------------------------------
Hi,
I am trying to install dcm4chee server and one of the requirements is to install jboss-4.2.3.GA. I downloaded jboss-4.2.3.GA.zip and tested it by running run.sh from /jboss-4.2.3.GA/bin and I get the error below:
run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
run.sh: Could not set maximum file descriptor limit: unlimited
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /a+pacs/jboss-4.2.3.GA
JAVA: /system/library/frameworks/javavm.framework/Versions/1.5.0/Home/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /a+pacs/jboss-4.2.3.GA/bin/run.jar
=========================================================================
Failed to boot JBoss:
java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:286)
at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)
at org.jboss.Main.boot(Main.java:194)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:655)
I read this topic https://community.jboss.org/thread/75686 https://community.jboss.org/thread/75686 and tried to solve this by copying the whole org/jboss/system/server/ directory from jboss-4.2.3GA/lib/jboss-system.jar file to the run.jar file. tried to run run.sh again but I am not stuck on this error
run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
run.sh: Could not set maximum file descriptor limit: unlimited
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /a+pacs/dcm4chee-2.17.1-mysql
JAVA: /system/library/frameworks/javavm.framework/Versions/1.5.0/Home/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.messaging.ServerPeerID=0 -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Djava.awt.headless=true -Dapp.name=dcm4chee -Djava.library.path=/a+pacs/dcm4chee-2.17.1-mysql/bin/native
CLASSPATH: /a+pacs/dcm4chee-2.17.1-mysql/bin/run.jar
=========================================================================
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main
I am using Mac OS X 10.5.8 with Java for Mac OS X 10.5 Update 10 installed
I have set JAVA_HOME="/system/library/frameworks/javavm.framework/Versions/1.5.0/Home"
Thanks,
Eon
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754342#754342]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120817/3dcd4f00/attachment-0001.html
More information about the jboss-user
mailing list