-
1. Re: Jboss 7.1.1.Final - standalone.sh doesn't work
ctomc Jul 25, 2012 5:43 PM (in response to pugsherpa)this is strange..
looks like that there are some thing from bea jvm poping around..
where does your JAVA_HOME point?
do you have JAVA_OPTS set?
aka what does
echo $JAVA_HOME
echo $JAVA_OPTS
print out?
--
tomaz
-
2. Re: Jboss 7.1.1.Final - standalone.sh doesn't work
pugsherpa Jul 26, 2012 9:48 AM (in response to ctomc){code}
From the Jboss Bootstrap Environment printout:
JAVA: /usr/java/latest/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
%> /usr/java/latest/bin/java -version
java version "1.6.0_26"
Java(TM) SE RuntimeEnvironment (build 1.6.0_26-b03)
Java HostSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
%> echo $JBOSS_HOME
/apps/jboss
%> ls /apps
apache-maven-2.2.1
....
jboss -> /apps/jboss-as-7.1.1.Final
jboss-as-7.1.1.Final
{code}
-
3. Re: Jboss 7.1.1.Final - standalone.sh doesn't work
pugsherpa Jul 26, 2012 10:03 AM (in response to pugsherpa)So I tried installing it on another development VM and it started up cleanly. The only difference between the two VMs was the version of the JDK they were using. So I upgraded the VM that was having trouble and it's working now.
The server will NOT start when using this version of the JDK 1.6:
{code}
%> /usr/java/latest/bin/java -version
java version "1.6.0_26"
Java(TM) SE RuntimeEnvironment (build 1.6.0_26-b03)
Java HostSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
{code}
The server WILL start when using this version of the JDK 1.6:
{code}
%> /usr/java/latest/bin/java -version
java version "1.6.0_27"
Java(TM) SE RuntimeEnvironment (build 1.6.0_27-b07)
Java HostSpot(TM) 64-Bit Server VM (build 20.1-b06, mixed mode)
{code}
Is anyone else seeing this?
-
4. Re: Jboss 7.1.1.Final - standalone.sh doesn't work
ctomc Jul 26, 2012 10:18 AM (in response to pugsherpa)This is really strange!
maybe there is some "extra jar" in non working jvm that overrides xml parser... that might be only explaination i can think of.
--
tomaz
-
5. Re: Jboss 7.1.1.Final - standalone.sh doesn't work
m_gaert Jun 19, 2013 11:06 AM (in response to ctomc)Hi, I stumbled across the same message here.
In my case, the culprit JAR was an "endorsed" StAX, in
...\jrockit-jdk1.6.0_29\jre\lib\endorsed\stax-api-1.0.1.jar
JBoss starts OK once I removed this file.
Note: this JAR is a local addition. It does not come with standard Oracle JRockit 1.6.0_29.
M.