[
https://issues.jboss.org/browse/JBIDE-13368?page=com.atlassian.jira.plugi...
]
Len DiMaggio commented on JBIDE-13368:
--------------------------------------
Thanks Max - I missed that as I had JAVA_HOME set to 1.6, but was using 1.7
After fixing the JAVA_HOME reference - the server is failing to start from the command
line as expected:
echo $JAVA_HOME
/usr/lib/jvm/java-1.7.0-openjdk.x86_64
[ldimaggi@ldimaggi bin]$ java -version
java version "1.7.0_05-icedtea"
OpenJDK Runtime Environment (rhel-2.2.1.el6_3.3-x86_64)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
[ldimaggi@ldimaggi bin]$ sh ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/local/EAP_512/jboss-eap-5.1/jboss-as
JAVA: /usr/lib/jvm/java-1.7.0-openjdk.x86_64/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true
-Djava.net.preferIPv4Stack=true
CLASSPATH:
/opt/local/EAP_512/jboss-eap-5.1/jboss-as/bin/run.jar:/usr/lib/jvm/java-1.7.0-openjdk.x86_64/lib/tools.jar
=========================================================================
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/bootstrap/BaseServerConfig
at org.jboss.bootstrap.AbstractServerImpl.doInit(AbstractServerImpl.java:190)
at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:173)
at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:143)
at org.jboss.Main.boot(Main.java:218)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.jboss.bootstrap.BaseServerConfig
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more
When having Java 7 and Java 6 installed EAP servers are not choosing
Java 6 and fails to launch
-----------------------------------------------------------------------------------------------
Key: JBIDE-13368
URL:
https://issues.jboss.org/browse/JBIDE-13368
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Environment: Version: 5.0.2.GA
Build id: v20130103-0154-H238-GA
Build date: 20130103-0154
SOA-P 5.2.GA
Reporter: Len DiMaggio
Assignee: Rob Stryker
Priority: Blocker
Labels: respin-b
Fix For: 3.3.2
Attachments: JBIDE-13368.3.3.x.patch, Screenshot-1.png
This is a regression relative to JBDS 5.0.1
When a SOA-P 5.2 server is started in JBDS 5.0.2 - this exception is raised:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/bootstrap/BaseServerConfig
at org.jboss.bootstrap.AbstractServerImpl.doInit(AbstractServerImpl.java:190)
at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:173)
at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:143)
at org.jboss.Main.boot(Main.java:218)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.jboss.bootstrap.BaseServerConfig
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira