The jboss_init_redhat.sh script is for use if you want to set it up to run as a service (edit it, then copy to /etc/init.d). To run the app server by hand, use the run.sh script.
Thank you Peter,
Maybe my installation was not correct, but please let me know where is the run.sh located.
run.sh is in the bin directory, same place where jboss_init_redhat.sh is.
I reinstalled JBoss 4.2.1. but when I ran the run.sh script in /system/src/bin i got a message "missing file /system/src/bin/run.jar "
Thanks in advance for any help
I think that you downloaded the source files, not the binary files. The binary comes as a ZIP file (the TAR.GZ is the source).
Thanks again Peter I was abel to get to bin.I also downloaded jdk1.6.0_02 and set it in JAVA_HOME variable but when I ran the run.sh script I got this error
JBoss Bootstrap Environment
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
java.lang.UnsupportedClassVersionError: javax/management/NotificationEmitter (Unsupported major.minor version 49.0)
You have JAVA_HOME set to the 1.4.2 JDK, JBoss AS 4.2.1 needs a 1.5 or higher JDK.
By the way, I recommend that you use the 1.5 JDK and not the 1.6 that you downloaded.
Thank you Peter ,
My JBoss Application Server is up and running! However the JAVA_HOME variable had also to be changed in /etc/profile for the change to completely take place.