File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Error starting JBOSS server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error starting JBOSS server" Watch "Error starting JBOSS server" New topic

Error starting JBOSS server

haripriya vedula

Joined: May 31, 2008
Posts: 24

I installed Jboss and when i tried to start server from command prompt i was getting "findstr was not recognised as intrenal and external command". But when i added path = %path%;c:\windows\system32

the errror was gone , but now i am getting a new error

"Could not locate "C:\Program Files\jboss-5.1.0.GA\bin\bin\run.jar".

can anyone help on this..

haripriya vedula

Joined: May 31, 2008
Posts: 24
This got resolved.

I set JBOSS_HOME to ../../jboss-version/bin in environment variables which is wrong.

JBOSS_HOME = ../../../../jboss-version

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Do NOT place JBoss AS into Program Files, or any other location, such as Documents and Settings, that has a space in the path. Some Java libraries have problems if there are spaces in the path and you will end up with various strange errors. I have JBoss AS installed at c:\opt\jboss-5.1.0.GA (it mimics where I hvae it on my Linux boxes).

JBoss In Action
I agree. Here's the link:
subject: Error starting JBOSS server
It's not a secret anymore!