javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-2

In persistence/order, NetBeans opens browser to non-existent index.xhtml

    Details

    • Issuezilla Id:
      2

      Description

      From glassfish issue 11598:
      my report – regarding gfv3 examples downloaded yesterday;

      INFO: order was successfully deployed in 10,521 milliseconds.
      WARNING: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service()
      for servlet Faces Servlet threw exception
      java.io.FileNotFoundException: /index.xhtml Not Found in ExternalContext
      as a Resource

      this is project order located at
      G:\Sun\sges-v3\glassfish\docs\javaee-tutorial\examples\persistence\order

      project wants to access index.xhtml

      there is not any index.xhtml within the project.

        Activity

        Hide
        Ian Evans added a comment -

        The problem is that NetBeans opens the configured browser to /index.xhtml, which
        overrides the welcome file list in web.xml.

        The example works from Ant on the command-line.

        Updating the project properties in NetBeans to open the browser to /order.xhtml
        is a workaround.

        Show
        Ian Evans added a comment - The problem is that NetBeans opens the configured browser to /index.xhtml, which overrides the welcome file list in web.xml. The example works from Ant on the command-line. Updating the project properties in NetBeans to open the browser to /order.xhtml is a workaround.
        Hide
        Ian Evans added a comment -

        Checked in changes to project.properties.

        This will be integrated when we refresh the Tutorial via the Update Center.

        Show
        Ian Evans added a comment - Checked in changes to project.properties. This will be integrated when we refresh the Tutorial via the Update Center.

          People

          • Assignee:
            Ian Evans
            Reporter:
            Ian Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: