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?
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.
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.]
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.
Give JAVA_HOME environment variable in your System Properties Environment Variables likes this;
C:\Program Files\Java\jdk1.7
Give JBOSS_HOME environment variable in your System Properties Environment Variables likes this;
E:\jboss-as-7.1.1.Final
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With