• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with deploying simple example from Core JavaServer Faces

 
Michael Boehm
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic