4 Replies Latest reply on Feb 19, 2010 12:06 PM by lisalex

    How setup auto start on bootup?

    lisalex
      Are there instruction anywhere for starting Jboss-web on Linux server restart?
        • 1. Re: How setup auto start on bootup?
          peterj
          In the bin directory there are three shell scripts that can be used to start JBoss AS at startup: jboss-init-*.sh. Take the one that most closely matches your distro and do the usual (edit the script for your environment, copy to /etc/init.d, etc.)
          • 2. Re: How setup auto start on bootup?
            lisalex

            I am looking in the bin dir of the jboss-web-2.1.4.GA.zip file and I see startup.sh and shutdown.sh but there are no jboss-init*.sh files.

             

            We aren't using the JBoss Application Server here.  Just JBoss-web.

            • 3. Re: How setup auto start on bootup?
              peterj

              Ah, JBoss Web, I overlooked that part, sorry.

               

              Well, any web page that describes setting up Tomcat 6.0 to run at startup would work since Web 2.x is a variation of Tomcat 6. Looking at a few of them, they offer similar advice which is to create a file similar to the bin/jboss-init-*.sh scripts in AS (which I would get and modify) and do the usual.

              • 4. Re: How setup auto start on bootup?
                lisalex
                Thanks - I was thinking I might be try modifying a tomcat start script but thought I'd ask here first :-)