2 Replies Latest reply on Jun 26, 2014 8:38 AM by sheshagiri

    unable to start jboss 6

    sheshagiri

      On one of the windows servers jboss is not comming. Following is the run.log from jboss bin folder.

       

      Starting MyApp App1 [2014-06-24 17:44:02]

      Calling C:\MyApp\App1\core\JBoss\6.1.0\jboss-as\bin\run.conf.bat

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

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: C:\MyApp\App1\core\Jboss\6.1.0\jboss-as\

       

        JAVA: C:\MyApp\App1\Java\jdk1.6.0_29\bin\java

       

        JAVA_OPTS: -Dsun.net.spi.nameservice.provider.1=dns,QuantumDnsProxy -DJBOSS_HOME=C:/MyApp/App1/core/JBoss/6.1.0/jboss-as -DSUN_AM_URL= -server  -Djboss.partition.udpGroup=230.189.20.216 -Djboss.messaging.groupname=jboss-group1-FRDV00387 -Djboss.partition.name=jboss-partition1-FRDV00387   -Dsun.net.client.defaultConnectTimeout=3000 -Dcom.nortel.quantum.opensso.cacherefresh.interval=3600000 -Djboss.shutdown.forceHalt=false -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000  -Xms512m -Xmx4096m -XX:MaxHeapFreeRatio=60 -XX:MinHeapFreeRatio=20 -XX:PermSize=256m -XX:MaxPermSize=1536m  -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+ClassUnloading -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=4 -XX:+DisableExplicitGC -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+OptimizeStringConcat -XX:+UseLargePages -XX:LargePageSizeInBytes=4m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:/MyApp/App1/core/HeapDump/App1_JBOSS_HEAP.hprof -XX:OnOutOfMemoryError=C:/MyApp/App1/core/JBoss/6.1.0/utils/config/createJBossOOMFlag.bat  -Dsun.lang.ClassLoader.allowArraySyntax=true  -Dquantum.ssl.keystore.password=cs1k_key+pw -Dquantum.ssl.keystore.filename=C:/MyApp/App1/core/JBoss/6.1.0/jboss-as/server/avmgmt/deploy/pki-keystore-generator.sar/jbossHttps.keystore -Ddefault.keystore=C:/MyApp/App1/core/JBoss/6.1.0/jboss-as/server/avmgmt/conf/tm/keystore/container_tls_keystore.jks -Ddefault.truststore=tm/truststore/default_truststore.jks,tm/truststore/MyApp_services_ca_truststore.jks   -Dquantum.config.path=C:/MyApp/App1/core/JBoss/6.1.0/jboss-as/server/avmgmt/conf/ -Dprogram.name=run.bat -Djava.library.path=C:/MyApp/App1/core/JBoss/6.1.0\jboss-as\bin\native\bin  -Dlogging.configuration=file:logging.properties -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:C:/MyApp/App1/core/JBoss/6.1.0/jboss-as/server/avmgmt/deployers/jboss-aop-jboss5.deployer/pluggable-instrumentor.jar  -Djavax.net.ssl.trustStore=C:/MyApp/App1/core/JBoss/6.1.0/jboss-as/server/avmgmt/conf/tm/truststore/default_truststore.jks  -Djavax.net.ssl.keyStore=C:/MyApp/App1/core/JBoss/6.1.0/jboss-as/server/avmgmt/conf/tm/keystore/container_tls_keystore.jks  -server "-Djava.library.path=C:\MyApp\App1\core\JBoss\6.1.0\jboss-as\bin\native\bin;C:\Program Files\Legato\nsr\bin;C:\Program Files\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Windows System Resource Manager\bin;C:\Windows\System32\WindowsPowerShell\v1.0";C:\Program Files (x86)\Windows Imaging\;C:\MyApp\App1\Java\jdk1.6.0_29\bin;C:\MyApp\App1\perl\perl\bin;C:\MyApp\App1\cygwin\bin;C:\MyApp\App1\core\Postgres\9.1.3\Postgres\bin;C:\MyApp\App1\LSM\bin\Win86;C:\Windows"

       

        CLASSPATH: C:\MyApp\App1\Java\jdk1.6.0_29\lib\tools.jar;C:\MyApp\App1\core\Jboss\6.1.0\jboss-as\\bin\run.jar

       

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

       

      java.lang.NoClassDefFoundError: Files

      Caused by: java.lang.ClassNotFoundException: Files

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      Could not find the main class: Files.  Program will exit.

      Exception in thread "main" '-Djava.endorsed.dirs' is not recognized as an internal or external command,

      operable program or batch file.

      java.lang.NoClassDefFoundError: Files

      Caused by: java.lang.ClassNotFoundException: Files

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      Could not find the main class: Files.  Program will exit.

      Exception in thread "main" '-Djava.endorsed.dirs' is not recognized as an internal or external command,

      operable program or batch file.

      java.lang.NoClassDefFoundError: Files

      Caused by: java.lang.ClassNotFoundException: Files

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      Could not find the main class: Files.  Program will exit.

       

      Am i hitting this issues since there is a space in the java.library.path(C:\Program Files\Legato\nsr\bin) ?

        • 1. Re: unable to start jboss 6
          wdfink

          Not sure as you use an older version, but spaces within the path of Java/JBoss or other might cause that as the scripts does not use quotes for every possibility.

          1 of 1 people found this helpful
          • 2. Re: unable to start jboss 6
            sheshagiri

            Thank You Fink.

             

            I found the issue that is causing this. It is the single double quote(v1.0";) in path that i posed above, after removing this jboss come up fine.