0 Replies Latest reply on Nov 17, 2009 5:47 AM by Singgih Octafianto

    Run JBoss as Service in HP-UX 11iv3

    Singgih Octafianto Newbie

      hi all.
      i'm trying to run jboss as service in hp-ux 11iv3. i'm using jboss-5.1.0.GA with jdk6.

      i put the server in /app/jboss-5.1.0.GA.jdk6 and followed the instruction as follow:
      # 1. Copy <jboss-home>/bin/jboss_init_hpux.sh to/sbin/init.d/jboss
      # 2. Create softlinks to the file from the various startup and shutdown
      # directories:
      # ln -s /sbin/init.d/jboss /sbin/rc2.d/K001jboss
      # ln -s /sbin/init.d/jboss /sbin/rc3.d/S999jboss
      # 3. Create /etc/rc.config.d/jboss with the variables defined below.

      /etc/rc.config.d/jboss

      JBOSS_HOME[1]=/app/jboss-5.1.0.GA.jdk6
      JBOSS_USER[1]=oracle
      SERVER_NAME[1]=default
      JBOSS_START[1]=1
      

      i also try to change the JBOSS_USER[1]=root.
      but after i restarted the machine, the jboss service is not up.
      how to run jboss as a service in hp-ux? thank you in advance.