[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBOSSAS Install problem - Do I have to use Sun Java?

jephperro do-not-reply at jboss.com
Mon Jun 15 14:26:25 EDT 2009


Hi, 

I'm trying to install JBossAS on a Red Hat box.  I'm having troubles with the install.  I've been looking around the forum and haven't seen this same problem anywhere.

But is it true that I need to use the Sun version of Java?


# ./run.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /jboss/jboss-5.1.0.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

  CLASSPATH: /jboss/jboss-5.1.0.GA/bin/run.jar

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

Failed to boot JBoss:
java.lang.ClassNotFoundException: javax.management.NotificationBroadcasterSupport not found in org.jboss.bootstrap.NoAnnotationURLClassLoader{urls=[], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/jboss/jboss-5.1.0.GA/bin/run.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at org.jboss.bootstrap.ServerLoader.createServer(ServerLoader.java:359)
   at org.jboss.bootstrap.ServerLoader.load(ServerLoader.java:336)
   at org.jboss.Main.boot(Main.java:215)
   at org.jboss.Main$1.run(Main.java:556)
   at java.lang.Thread.run(libgcj.so.7rh)


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237737#4237737

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237737



More information about the jboss-user mailing list