Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start JBoss AS 7.1.1 on Windows?

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?

like image 272
ur truly friend Avatar asked Feb 17 '23 01:02

ur truly friend


2 Answers

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.

like image 108
Ruchira Gayan Ranaweera Avatar answered Feb 18 '23 15:02

Ruchira Gayan Ranaweera


@All, Finally I got it,why I am getting this problem 'findstr' is not recognized as an internal or external command, operable program or batch file. Because the following path C:\Windows\System32 was not set in Environment variables. I found through google.I fix it and run my server it's working great.

Thank you guys for your valuable suggestions.

like image 33
ur truly friend Avatar answered Feb 18 '23 14:02

ur truly friend