Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start jboss 7.1.1 server and deploy project in jboss 7.1.1

I use JBoss 7 server so I downloaded JBoss 7.1.1 version and unzip this zip file.

Then I go to bin folder and double click on standalone.bat but new cmd window open and close within 2 -3 sec.

If I run it using cmd, I get:

E:\jboss-as-7.1.1.Final\bin>standalone.bat
Calling "E:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"

then it stops.

So the JBoss server does not start.

How can I run JBoss server and deploy projects in it on Window 7?

like image 361
Kamlesh Avatar asked Jun 29 '12 10:06

Kamlesh


People also ask

How do I run a JBoss project?

Right-click the jboss-helloworld project in the Project Explorer tab and select Run As → Run on Server. Select JBoss EAP 7.0 from the server list and click Next. The jboss-helloworld quickstart is already listed to be configured on the server. Click Finish to deploy the quickstart.

How do you deploy a WAR in JBoss EAP 7?

From the JBoss bin directory, run the command jboss-cli --connect to start the JBoss CLI and connect to the application server. Run the /deployment command on the compressed WAR file or exploded WAR folder. [If you are deploying to a managed domain, also run the /server-group command.]

How do I start JBoss standalone server?

To start up a JBoss AS 7 managed domain you need to execute the $JBOSS_HOME/bin/domain.sh script, and to start up a standalone server use $JBOSS_HOME/bin/standalone.sh. This will start it up using the default configuration.


2 Answers

Give JAVA_HOME environment variable in your System Properties Environment Variables likes this;

C:\Program Files\Java\jdk1.7
like image 100
vaibhav makwana Avatar answered Oct 16 '22 11:10

vaibhav makwana


Give JBOSS_HOME environment variable in your System Properties Environment Variables likes this;

      E:\jboss-as-7.1.1.Final
like image 31
Sai Ye Yan Naing Aye Avatar answered Oct 16 '22 13:10

Sai Ye Yan Naing Aye