Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Automatic start/stop of jboss

    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20

    Question

    How does one make jboss start automatically, for instance, after a reboot? And how does one make it stop automatically?

    Answer

    The following lines in $alephe_root/aleph_startup cause jboss to start automatically:

    cd $aleph_dev/ng/aleph/home/system/bin
    bash jboss_startup.sh

    And the following in $alephe_root/aleph_shutdown make it stop automatically:

    echo "Shutting down JBOSS..."
    cd $aleph_dev/ng/aleph/home/system/bin
    grep shutdown.sh jboss_shutdown.sh | bash -s

    Additional Information

    See KB 16384-28513 ("Problems starting JBOSS").


    • Article last edited: 10/8/2013