[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: installing and running jboss on linux -- 4957 Bus error

ericomtx do-not-reply at jboss.com
Wed Apr 9 18:48:31 EDT 2008


Hi Peter,

I running as root and tried two different versions in different dirs 

After I posted the question I saw that there is an error when starting jboss :
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: /usr/local/jboss-4.0.4.GA

  JAVA: java

  JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh

  CLASSPATH: /usr/local/jboss-4.0.4.GA/bin/run.jar:/lib/tools.jar

My $JAVA_HOME is set in /etc/profile 

Here is how is /etc/profile content:

JAVA_HOME=/opt/java/jdk1.6.0_04
JRE_HOME=/opt/jre1.6.0_04
M2_HOME=/opt/java/maven-2.0.7
M2=$M2_HOME/bin
CLASSPATH=.:$CLASSPATH
CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
NETBEANS_HOME=/opt/java/netbeans-6.0.1
ANT_HOME=/opt/java/apache-ant-1.7.0
PATH=$PATH:$JAVA_HOME/bin
JBOSS_HOME=/usr/local/jboss-4.0.4.GA
#PATH=$PATH:$JRE_HOME/bin
PATH=$PATH:$JBOSS_HOME
PATH=$PATH:$M2
PATH=$PATH:$ANT_HOME/bin
PATH=$PATH:$NETBEANS_HOME/bin
export JAVA_HOME M2 JRE_HOME JBOSS_HOME PATH

I using debian etch rc2 32bits and the same error happens to jboss 4.0.2 and 4.0.4.GA
as root 

In my /home dir it starts correctly and doesn't show the env variable missing error that happens with root 

Is it possible to set things to run as root ? 

thanks a lot for your help :) !!!

 


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

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



More information about the jboss-user mailing list