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 seam example apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss seam example apps" Watch "JBoss seam example apps" New topic

JBoss seam example apps

Adewale Adebusoye
Ranch Hand

Joined: Sep 28, 2005
Posts: 118
I installed JBoss seam, the JBoss server, and ANT, and I configured them ok.
Then I went to the examples directory in seam, and in the particular application subdirectory (booking), I typed ant-deploy.
Then I pointed my browser to http://localhost:8080/seam-booking
And I ended up with this error:

error 404, the requested resource is not available.
I checked the file, and Its pointing to the JBoss AS directory...I set it like this:

jboss.home D:\\Program Files\\jboss-4.0.5.GA

Can anyone help or at least tell me why the applications dont work?


"Human beings can alter their lives by altering their state of mind" William James
Wayne Hatayama

Joined: Jan 31, 2002
Posts: 12

I just did what you did and it works!! What version of Seam and JBoss server are you using? I am using jboss-4.2.2.GA and jboss-seam-2.0.0.GA. There might be a version compatibility problem here.

I hope this helps.

Wayne Hatayama
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Maybe you are missing "=" from your:
jboss.home D:\\Program Files\\jboss-4.0.5.GA
What is your JBoss AS version?
Adewale Adebusoye
Ranch Hand

Joined: Sep 28, 2005
Posts: 118
I am using JBoss 4.0.5.GA and JBoss seam 2.0.0 GA and Ant 1.7..And I put an "=" in the build.config.
Adewale Adebusoye
Ranch Hand

Joined: Sep 28, 2005
Posts: 118
And yesss I changed my JBoss version to 4.2.2.GA and properly edited the file, and it worked!!! Thanks guys, like wayne said, probably a version compatibility error.
Now I can go to bed.
Thanks guys!!
I agree. Here's the link:
subject: JBoss seam example apps
jQuery in Action, 3rd edition