glassfish
  1. glassfish
  2. GLASSFISH-20655

500 error in browser - nothing in server logs

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: 4.1.1
    • Component/s: jax-rs
    • Labels:
      None

      Description

      I have no idea whats wrong because there is no error message anywhere.

      Try to run the attached project from the latest Netbeans with GF 4 and entering:
      http://localhost:8080/PcRepairLocations/

        Activity

        Hide
        walec51 added a comment -
        Show
        walec51 added a comment - Project: http://walczak.it/files/PcRepairLocations2.zip
        Hide
        walec51 added a comment -

        In the browser I get:

        HTTP Status 500 - Internal Server Error

        type Status report

        messageInternal Server Error

        descriptionThe server encountered an internal error that prevented it from fulfilling this request.

        GlassFish Server Open Source Edition 4.0

        Show
        walec51 added a comment - In the browser I get: HTTP Status 500 - Internal Server Error type Status report messageInternal Server Error descriptionThe server encountered an internal error that prevented it from fulfilling this request. GlassFish Server Open Source Edition 4.0
        Hide
        walec51 added a comment -

        adding the produced annotation to:

        @GET
            @Produces(MediaType.TEXT_HTML)
            public Viewable getIndex() {
                Map<String, Object> model = new HashMap<>();
                model.put("repairLocations", repairLocationRepository.getAll());
                return new Viewable("WEB-INF/index.jsp", model);
            }
        

        stooped the strange 500 but still something should appear in the lost even without it

        Show
        walec51 added a comment - adding the produced annotation to: @GET @Produces(MediaType.TEXT_HTML) public Viewable getIndex() { Map< String , Object > model = new HashMap<>(); model.put( "repairLocations" , repairLocationRepository.getAll()); return new Viewable( "WEB-INF/index.jsp" , model); } stooped the strange 500 but still something should appear in the lost even without it
        Hide
        michael.y.chen added a comment -

        please reassign if needed.

        Show
        michael.y.chen added a comment - please reassign if needed.
        Hide
        Shing Wai Chan added a comment -

        The given application has JAX-RS, EJB and persistent. Assign to JAX-RS team for evaluation.

        Show
        Shing Wai Chan added a comment - The given application has JAX-RS, EJB and persistent. Assign to JAX-RS team for evaluation.

          People

          • Assignee:
            Marek Potociar
            Reporter:
            walec51
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: