How to start JBoss AS 7.1.1 on Windows?

ur truly friend picture ur truly friend · Jul 3, 2013 · Viewed 38.1k times · Source

I am new to JBOSS.I downloaded jboss-as-7.1.1.Final.zipand 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.

I tried to start server throught cmd.I open cmd in 2 ways

1.normally mode

  1. Run as Admin (Admin Mode).

In 2 ways I get:

Calling "P:\Software\JBOSS\jboss-as-7.1.1.Final\bin\standalone.conf.bat" 'findstr' is not recognized as an internal or external command, operable program or batch file.

then it stops.

So the JBoss server does not start.

I added Environment Variables like.

JBOSS_HOME : P:\Software\JBOSS\jboss-as-7.1.1.Final

JAVA_HOME : C:\Program Files\Java\jdk1.7.0_21

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

Answer

Ruchira Gayan Ranaweera picture Ruchira Gayan Ranaweera · Jul 3, 2013

Add the following value to Right Click My Compuer -> Advanced -> Environment Variables -> System Variables -> Select Path variable -> append the below value.

C:\WINDOWS\system32

It should work with that change.