[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2557) 404 Error on helloworld seam-gen generated project when hitting localhost:8080/helloworld
Joe Simone (JIRA)
jira-events at lists.jboss.org
Wed Jan 30 15:32:59 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2557?page=comments#action_12397539 ]
Joe Simone commented on JBSEAM-2557:
------------------------------------
the index html file DOES state home.seam and is set correctly. Here it is ...
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=home.seam">
</head>
</html>
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=pw
workspace.home=/dev/ws/seam
model.package=com.e2msystems.helloworld.model
driver.jar=/opt/jboss-4.2.2.GA/server/default/lib/mysql-connector-java-5.0.8-bin.jar
action.package=com.e2msystems.helloworld.session
test.package=com.e2msystems.helloworld.test
database.type=mysql
richfaces.skin=blueSky
hibernate.default_catalog.null=
hibernate.default_schema.null=
database.drop=n
project.name=helloworld
hibernate.connection.username=seam
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
project.type=ear
icefaces.home=
database.exists=n
jboss.home=/opt/jboss-4.2.2.GA
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.connection.url=jdbc\:mysql\:///test
icefaces=n
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, 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