users@glassfish.java.net

Re: how to convert from localhost to domain name?

From: <glassfish_at_javadesktop.org>
Date: Thu, 11 Oct 2007 18:29:12 PDT

Thank you for reply, and the log I attached was incorrect.

I have backed out all of my environment and re-installed Glassfish and the DukesBank tutorial project on localhost. I get the same error, intermittently, which is the display of "Directory Listing For /" instead of the main.jsp. The server.log contains no errors at this point. When I use the directory list to click on main.jsp, the HTTP 500 error is displayed and the server.log contains a "Cannot find FacesContext" exception.

So I now think my problem is not related to the move from localhost to remote host. My request is going to my server but not being picked up by the FacesServlet. The Glassfish 2-b58g does not have the jsf-api.jar in the lib, which may be a bug in this release. There is a patch available, jsf-glassfish-updater-1.2_05-20071010-NIGHTLY.jar, which does contain this jar, but the documentation does not say if this patch solves the kind of problem I have.

Any feedback is very welcome. Thanks again, emo
[Message sent by forum member 'emo123' (emo123)]

http://forums.java.net/jive/thread.jspa?messageID=239638