From jira-events at lists.jboss.org Wed Jan 30 15:32:59 2008 Content-Type: multipart/mixed; boundary="===============4932358289521395189==" MIME-Version: 1.0 From: Joe Simone (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2557) 404 Error on helloworld seam-gen generated project when hitting localhost:8080/helloworld Date: Wed, 30 Jan 2008 15:32:59 -0500 Message-ID: <22087956.1201725179422.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 22324559.1201721099409.JavaMail.jira@cloud.prod.atl2.jboss.com --===============4932358289521395189== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/JBSEAM-2557?page=3Dcomments#action_= 12397539 ] = = Joe Simone commented on JBSEAM-2557: ------------------------------------ the index html file DOES state home.seam and is set correctly. Here it is = ... It came right out of of seam-gen. = I did nothing special except follow the doc instructions. Here is my build= .properties as a result of seam setup ... #Generated by seam setup #Wed Jan 30 13:39:59 EST 2008 hibernate.connection.password=3Dpw workspace.home=3D/dev/ws/seam model.package=3Dcom.e2msystems.helloworld.model driver.jar=3D/opt/jboss-4.2.2.GA/server/default/lib/mysql-connector-java-5.= 0.8-bin.jar action.package=3Dcom.e2msystems.helloworld.session test.package=3Dcom.e2msystems.helloworld.test database.type=3Dmysql richfaces.skin=3DblueSky hibernate.default_catalog.null=3D hibernate.default_schema.null=3D database.drop=3Dn project.name=3Dhelloworld hibernate.connection.username=3Dseam hibernate.connection.driver_class=3Dcom.mysql.jdbc.Driver hibernate.cache.provider_class=3Dorg.hibernate.cache.HashtableCacheProvider project.type=3Dear icefaces.home=3D database.exists=3Dn jboss.home=3D/opt/jboss-4.2.2.GA hibernate.dialect=3Dorg.hibernate.dialect.MySQLDialect hibernate.connection.url=3Djdbc\:mysql\:///test icefaces=3Dn If I search the entire workspace I find nothing for hello.seam. Why does = localhost/helloworld redirect to hello.seam for me? > 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, JD= K 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 warn= ings) > 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 a= vailable. > 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: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============4932358289521395189==--