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

I am using a JBoss 7 server, so I downloaded the version of JBoss 7.1.1 and unzipped this zip file.

Then I go to the bin folder and double click on standalone.bat, but a new cmd window opens and closes within 2-3 seconds.

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 he stops.

Therefore, the JBoss server does not start.

How can I start the JBoss server and deploy projects in window 7 in it?

+5
source share
6 answers

Give the JAVA_HOME environment variable in your system properties environment variables.

C:\Program Files\Java\jdk1.7
+8
source

Bring the JBOSS_HOME environment variable to the system property environment variables.

      E:\jboss-as-7.1.1.Final
+3

Java "Program Files". - . , JAVA_HOME "C:\Program Files\Java", , , .

Java C:\ JAVA_HOME ( bin), JBOSS_HOME ( bin).

+2

"cmd" " "? cd ...

bat " "?

, Windows 7.

+1

He decided. Changing java_home to c: \ java \ jdk1.6.0_23 and setting the java_home environment variable for this route

+1
source

You need to add JBOSS_HOME and JAVA_HOME as described above.

0
source

All Articles