<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JBOSS Installation problem NoClassDefFoundError
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/eon">Eon Laserna</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/message/754342#754342">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument</p><p>run.sh: Could not set maximum file descriptor limit: unlimited</p><p>=========================================================================</p><p>&#160; </p><p>&#160; JBoss Bootstrap Environment</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; JBOSS_HOME: /a+pacs/jboss-4.2.3.GA</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; JAVA: /system/library/frameworks/javavm.framework/Versions/1.5.0/Home/bin/java</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; CLASSPATH: /a+pacs/jboss-4.2.3.GA/bin/run.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>=========================================================================</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Failed to boot JBoss:</p><p>java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.net.URLClassLoader$1.run(URLClassLoader.java:200)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.security.AccessController.doPrivileged(Native Method)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.net.URLClassLoader.findClass(URLClassLoader.java:188)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.ClassLoader.loadClass(ClassLoader.java:317)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.ClassLoader.loadClass(ClassLoader.java:252)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:286)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.Main.boot(Main.java:194)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.Main$1.run(Main.java:508)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:655)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I read this topic <a class="jive-link-thread-small" href="https://community.jboss.org/thread/75686">https://community.jboss.org/thread/75686</a> and tried to solve this by copying the whole <code class="jive-code jive-java" style="color: #333333; font-family: 'Droid Sans Mono', monospace !important;">org/jboss/system/server/</code> directory from <span style="color: #555555; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; background-color: #ffffff;">jboss-4.2.3GA/lib/jboss-system.jar <span style="color: #333333;">file to the run.jar file. tried to run run.sh again but I am not stuck on this error</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument</p><p>run.sh: Could not set maximum file descriptor limit: unlimited</p><p>=========================================================================</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; JBoss Bootstrap Environment</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; JBOSS_HOME: /a+pacs/dcm4chee-2.17.1-mysql</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; JAVA: /system/library/frameworks/javavm.framework/Versions/1.5.0/Home/bin/java</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; 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</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; CLASSPATH: /a+pacs/dcm4chee-2.17.1-mysql/bin/run.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>=========================================================================</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am using Mac OS X 10.5.8 with Java for Mac OS X 10.5 Update 10 installed</p><p>I have set JAVA_HOME="/system/library/frameworks/javavm.framework/Versions/1.5.0/Home"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="text-indent: 0px; text-align: left; color: #333333; font-size: 12px; font-style: normal; background-color: #ffffff; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-weight: normal;">Thanks,</span></p><p><span style="text-indent: 0px; text-align: left; color: #333333; font-size: 12px; font-style: normal; background-color: #ffffff; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-weight: normal;">Eon<br/></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/754342#754342">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>