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 JBoss 4.2.0 not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 4.2.0 not starting" Watch "JBoss 4.2.0 not starting" New topic

JBoss 4.2.0 not starting

Dushyant Agarwal
Ranch Hand

Joined: Oct 14, 2007
Posts: 75
I am getting the following message on tring to start my JBoss: no 'server' JVM at <JRE_Home>\bin\server\jvm.dll. I am using JDK 1.5, for running the JBoss server. Please help.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Are you using JRE or a JDK? I remember there was an issue with some version of 4.2.x where starting the server with just the JRE wasn't possible.

I recommend that you use JBoss AS 4.2.3 (if you want to stick with 4.x series). Also what's the output of:

[My Blog] [JavaRanch Journal]
Dushyant Agarwal
Ranch Hand

Joined: Oct 14, 2007
Posts: 75
First I wnna answer your questions:
Are you using JRE or a JDK?

I am using JDK 1.5.0.
I don't know how to find the output of
echo %JAVA_HOME%

I tried
echo %JAVA_HOME%
on the dos prompt. It gave
as string output .
However, I have found the solution: if I remove the option from in the run.bat, I get the server running. As well as I got the server running with eclipse IDE without any changes to run.bat(...yayy).
I agree. Here's the link:
subject: JBoss 4.2.0 not starting
jQuery in Action, 3rd edition