Search code examples
command-linejboss

How to start Jboss as 7 in command line


Hello I am new in Jboss as7. I plugged in the Jboss AS7 into eclipse, but the start button does not work properly. It shows An internal error occurred during: "Starting JBoss 7.0 Runtime Server".java.lang.NullPointerException.

Can I use the command window to start and stop the Jboss server?


Solution

  • The user guide is pretty clear on how to to this :)

    http://community.jboss.org/wiki/JBossAS7UserGuide

    I suggest you try the standalone mode first (from the guide above):

    If you want to work in standalone mode, open a terminal and cd into the distribution's bin directory, and run the "standalone" launch script:

    $ cd bin
    $ ./standalone.sh
    

    On Windows:

    > cd bin
    > standalone.bat