This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes proble with starting of jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "proble with starting of jboss" Watch "proble with starting of jboss" New topic
Author

proble with starting of jboss

sreeramsunkari sunkara
Greenhorn

Joined: Aug 26, 2003
Posts: 1
i have down loaded jboss-3.0.8_tomcat-4.1.24 and set the
jboss_home to c:\jboss-3.0.8_tomcaat-4.1.24 and
java_home to c:\jdk1.4
when i go to run.bat which is bin it is not starting and is giving errors
.
JBoss Bootstrap Environment
.
JBOSS_HOME: .\\..
.
JAVA: C:\JDK1.4c:jdk1.4
.
JAVA_OPTS:
any body please guide me
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi sreeramsunkari,
Welcome to JavaRanch. I had trouble starting JBoss at first too. My problem was that I had the j2ee.jar in the JRE/lib/ext directory. JBoss has its own jar of the J2EE classes so it is important that you not have any of those classes in your CLASSPATH. Also, you must have the environment variable JAVA_HOME set to the root directory of the Java SDK. If you are using Windows try this:
1. Remove j2ee.jar from JRE/lib/ext if it is there (it won't be unless you put it there)
2. Open a command console.
3. type the command "set CLASSPATH="
4. type the command "set JAVA_HOME=C:\j2sdk1.4.2" (adjust this to the root directory of your Java SDK installation)
5. type "cd C:\jboss-4.0.0DR2\bin" (adjust this to the bin directory of your JBoss installation)
6. type "run -c default"
JBoss should start loading in a default configuration. You should see a whole lot of configuration messages and possibly some exceptions during this process. Don't be too concerned with the exceptions at this point they may or may not be a problem. After some time you should see something like "07:20:18,679 INFO [Server] JBoss started in 121s:44ms" letting you know that JBoss is running. To verify that JBoss is running. Open up a web browser and point it to "http://localhost:8080/jmx-console/index.jsp". After up to a minute, you should see the JBoss console page. Also not that you should not have any other service running on port 8080. So if you have Tomcat running as a service on your machine your machine you need to stop it before starting JBoss.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Try invoking jboss from the bin directory. I don't run on Windows, but I heard that sometimes that makes a difference.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: proble with starting of jboss