[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2557) 404 Error on helloworld seam-gen generated project when hitting localhost:8080/helloworld
Jay Balunas (JIRA)
jira-events at lists.jboss.org
Wed Jan 30 15:09:59 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2557?page=comments#action_12397536 ]
Jay Balunas commented on JBSEAM-2557:
-------------------------------------
Could you please post your index.html file, and more info on what you did for the setup (war/ear, icefaces, etc....)
For some reason your index.html looks like it is forwarding to the "hello.seam" not "home.seam".
When I ran the same steps (ear, non icefaces, etc...) this was set correctly to "home.seam". Also looking at the code it should be "home.seam".
Thanks
> 404 Error on helloworld seam-gen generated project when hitting localhost:8080/helloworld
> -----------------------------------------------------------------------------------------
>
> Key: JBSEAM-2557
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2557
> Project: JBoss Seam
> Issue Type: Bug
> Affects Versions: 2.0.1.GA
> Environment: JBoss 4.2.2.GA, Eclispse Europa, Seam 2.0.1.GA, JDK 1.5.0.14
> Reporter: Joe Simone
> Priority: Minor
>
> downloaded Seam 2.0.1.GA
> set build.properties to point to jboss.home
> run seam setup
> create new helloworld project via "seam new-project"
> start eclipse and import helloworld as new project -> general -> project (per instructions in seam 2.0.1.GA docs section 2)
> project import successfully
> build completes successfully
> start server JBoss 4.2.2.GA
> server starts and application deploys successfully (no errors and no warnings)
> open firefox browser and goto http://localhost:8080/helloworld.
> We get the following error:
> HTTP Status 404 - /helloworld/hello.seam
> type Status report
> message /helloworld/hello.seam
> description The requested resource (/helloworld/hello.seam) is not available.
> JBossWeb/2.0.1.GA
> Changing the URL to http://localhost:8080/helloworld/home.seam corrects the problem and the welcome page comes up successfully.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list