• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Starting trouble of JBoss4.2.0GA AS

 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello there,

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

thanks a million
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic