Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 322
hss_usa Avatar asked Dec 03 '22 06:12

hss_usa


2 Answers

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
like image 77
brcosta Avatar answered Dec 16 '22 08:12

brcosta


In the windows, Before run JBoss server you should check your java version. It works only java version 7. You should keep server file in C: drive, it is easily to configure. then set the JBOSS_HOME path and set it in the path variables. after finished this path setting,go to the bin folder.type,

cd bin

standalone.bat

like image 33
sandun wedage Avatar answered Dec 16 '22 07:12

sandun wedage