File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Starting trouble of JBoss4.2.0GA AS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Starting trouble of JBoss4.2.0GA AS" Watch "Starting trouble of JBoss4.2.0GA AS" New topic
Author

Starting trouble of JBoss4.2.0GA AS

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
hello there,

I want to start JBoss 4.2.0GA on vista OS but when I type run.bat it writes nothing and comes to c drive prompt again.

I had set the JBOSS_HOME to c:\jboss\jboss4.2.0.GA
JAVA_HOME c:\program files\java\jdk1.6.0_07\bin

Where I am doing mistake ?. Please tell me.

thanking you
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

Originally posted by Gurpreet Saini:


JAVA_HOME c:\program files\java\jdk1.6.0_07\bin



The JAVA_HOME is incorrect. It should be c:\program files\java\jdk1.6.0_07

P.S: I would also recommend that you move the Java installation outside the program files folder. There have been many weird issues when you have Java installed in a folder which has a space in its pathname.


[My Blog] [JavaRanch Journal]
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
hello

Thank you . JBoss AS works but I want to try the seam examples by using JBoss the same version I mentioned in my post. How shall I proceed ?.

thanking you
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
hello there,

I had started JBOss AS and ANT_HOME properties are all set and when I type ant deploy in seam examples it actually compiles and works but when I point by browser to http://localhost:8080/seam-registration/ it gives me an HTTP 404 problem.

Please suggest where I am missing something.

thanks

please advice.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

When you ran "ant deploy", did you notice any output in the JBossAS console? There should be a lot of output as JBossAS deploys the application. You should also ensure that the app was actually copied to the server/default/deploy directory. (I do hope you are running the "default" configuration because that is where Seam places its apps - a horrible practice but there it is.)


JBoss In Action
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
hello there,

Thank you guys it is working. I can see the examples are working.

thanks a million
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting trouble of JBoss4.2.0GA AS