6 Replies Latest reply on May 25, 2006 2:03 AM by darryl de guzman

    Cannot start using Red Hat Fedora 9 with gij

    Josh Z Newbie

      Using:

      java version "1.4.2"
      gij (GNU libgcj) version 4.0.0 20050519 (Red Hat 4.0.0-8)

      Does JBoss officially support RedHat?

      I get this exception when runnig start.sh:

      [root@localhost bin]# ./run.sh -c all
      run.sh: Missing file: /lib/tools.jar
      run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /root/JBoss/jboss-4.0.2

      JAVA: java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: /root/JBoss/jboss-4.0.2/bin/run.jar:/lib/tools.jar

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

      09:01:30,723 INFO [Server] Starting JBoss (MX MicroKernel)...
      09:01:30,724 INFO [Server] Release ID: JBoss [Zion] JBoss Inc.
      09:01:30,725 INFO [Server] Home Dir: /root/JBoss/jboss-4.0.2
      09:01:30,736 INFO [Server] Home URL: file:/root/JBoss/jboss-4.0.2/
      09:01:30,737 INFO [Server] Library URL: file:/root/JBoss/jboss-4.0.2/lib/
      09:01:30,738 INFO [Server] Patch URL: null
      09:01:30,749 INFO [Server] Server Name: all
      09:01:30,750 INFO [Server] Server Home Dir: /root/JBoss/jboss-4.0.2/server/all
      09:01:30,751 INFO [Server] Server Home URL: file:/root/JBoss/jboss-4.0.2/server/all/
      09:01:30,763 INFO [Server] Server Data Dir: /root/JBoss/jboss-4.0.2/server/all/data
      09:01:30,764 INFO [Server] Server Temp Dir: /root/JBoss/jboss-4.0.2/server/all/tmp
      09:01:30,764 INFO [Server] Server Config URL: file:/root/JBoss/jboss-4.0.2/server/all/conf/
      09:01:30,779 INFO [Server] Server Library URL: file:/root/JBoss/jboss-4.0.2/server/all/lib/
      09:01:30,780 INFO [Server] Root Deployment Filename: jboss-service.xml
      09:01:30,799 INFO [Server] Starting General Purpose Architecture (GPA)...
      Failed to boot JBoss:
      java.lang.NullPointerException
      at org.jboss.mx.loading.RepositoryClassLoader.addURL(java.net.URL) (Unknown Source)
      at java.net.URLClassLoader.addURLs(java.net.URL[]) (/usr/lib/libgcj.so.6.0.0) at java.net.URLClassLoader.URLClassLoader(java.net.URL[], java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
      at org.jboss.mx.loading.RepositoryClassLoader.RepositoryClassLoader(java.net.URL[], java.lang.ClassLoader) (Unknown Source)
      at org.jboss.mx.loading.UnifiedClassLoader.UnifiedClassLoader(java.net.URL, java.net.URL, java.lang.ClassLoader) (Unknown Source)
      at org.jboss.mx.loading.UnifiedClassLoader.UnifiedClassLoader(java.net.URL, java.net.URL) (Unknown Source)
      at org.jboss.mx.loading.UnifiedClassLoader3.UnifiedClassLoader3(java.net.URL, java.net.URL) (Unknown Source)
      at org.jboss.mx.loading.UnifiedClassLoader3.UnifiedClassLoader3(java.net.URL, java.net.URL, org.jboss.mx.loading.LoaderRepository) (Unknown Source)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(java.net.URL, boolean) (Unknown Source)
      at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(org.jboss.mx.server.Invocation) (Unknown Source)
      at org.jboss.mx.server.Invocation.dispatch() (Unknown Source)
      at org.jboss.mx.server.Invocation.invoke() (Unknown Source)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(java.lang.String, java.lang.Object[], java.lang.String[]) (Unknown Source)
      at org.jboss.mx.server.MBeanServerImpl.invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[]) (Unknown Source)
      at org.jboss.system.server.ServerImpl.initBootLibraries() (Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart() (Unknown Source)
      at org.jboss.system.server.ServerImpl.start() (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.6.0.0)