aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
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