atigris
asked on
unable to start jboss - Java error
I'm having an issue with starting jboss, when I start .run.sh script it gives me the following error
When I execute run.sh script found in /root/downloads/jboss-4.2. 2.GA/bin
Java version
which Java command
I tired setting JAVA_HOME variable within ./run.sh script but I'm still getting the same error
When I execute run.sh script found in /root/downloads/jboss-4.2.
[root@markt bin]# ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /root/downloads/jboss-4.2.2.GA
JAVA: /opt/jdk1.6.0_16/bin/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
CLASSPATH: /root/downloads/jboss-4.2.2.GA/bin/run.jar
=========================================================================
./run.sh: line 213: /opt/jdk1.6.0_16/bin/bin/java: No such file or directory
Java version
[root@markt bin]# java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
which Java command
[root@markt bin]# which java
/usr/bin/java
I tired setting JAVA_HOME variable within ./run.sh script but I'm still getting the same error
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
may also be an error in run.conf. Can you post it too?
Also please post the java_home env variable contents.