- 
        1. Re: Problem with Jboss startuppeterj Sep 26, 2007 7:19 PM (in response to aamirsyed)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. 
- 
        2. Re: Problem with Jboss startupaamirsyed Sep 27, 2007 12:14 AM (in response to aamirsyed)
 Thank you Peter,
 Maybe my installation was not correct, but please let me know where is the run.sh located.
- 
        3. Re: Problem with Jboss startuppeterj Sep 27, 2007 11:59 AM (in response to aamirsyed)run.sh is in the bin directory, same place where jboss_init_redhat.sh is. 
- 
        4. Re: Problem with Jboss startupaamirsyed Sep 27, 2007 12:15 PM (in response to aamirsyed)
 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
- 
        5. Re: Problem with Jboss startuppeterj Sep 27, 2007 12:48 PM (in response to aamirsyed)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). 
- 
        6. Re: Problem with Jboss startupaamirsyed Sep 27, 2007 1:09 PM (in response to aamirsyed)
 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
 JBOSS_HOME: /usr/local/jboss-4.2.1.GA
 JAVA: /usr/java/j2sdk1.4.2_08/bin/java
 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
 CLASSPATH: /usr/local/jboss-4.2.1.GA/bin/run.jar:/usr/java/j2sdk1.4.2_08/lib/tools.jar
 =========================================================================
 java.lang.UnsupportedClassVersionError: javax/management/NotificationEmitter (Unsupported major.minor version 49.0)
- 
        7. Re: Problem with Jboss startuppeterj Sep 27, 2007 1:18 PM (in response to aamirsyed)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.
- 
        8. Re: Problem with Jboss startupaamirsyed Sep 27, 2007 4:37 PM (in response to aamirsyed)
 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.
 Regards
 Aamir Syed
 
    