This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Problem with deploying simple example from Core JavaServer Faces Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Problem with deploying simple example from Core JavaServer Faces" Watch "Problem with deploying simple example from Core JavaServer Faces" New topic
Author

Problem with deploying simple example from Core JavaServer Faces

Michael Boehm
Ranch Hand

Joined: Jun 02, 2010
Posts: 51
I am working with a copy (from the local public library !?) of Core JavaServer Faces by Geary and Horstmann using the code provided from the book's website
http://horstmann.com/corejsf/. I am at the absolute start of my understanding of JSF and just follow the steps described to deploy the very first simple "login" example from chapter 1. I follow the steps precisely and use the GlassFish server. However after having put the constructed login.war in glassfish/domains/domain1/autodeploy/ and starting
the server, accessing the login application from the browser on localhost:8080/login gives me the standard 404 error page generated by GlassFish and checking the logs there is
no reference to any autodeploying having been done. Googling seems to tell me that all .wars in autodeploy ought to be autamatically deployed when starting the server. How can I fix this ?

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Can you try to deploy another war file into your glassfish server? (Not sure if the issue is your glassfish or how the war file is built.. )
I followed this book and it seems fine in my case.


Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with deploying simple example from Core JavaServer Faces
 
Similar Threads
popup window in JSF
Reporting Web App
best beginner book for jsf?
First try with Glassfish and Postgresql
JSF 2.0 with JBoss 6