glassfish
  1. glassfish
  2. GLASSFISH-17358

Embedded GF started using instanceRoot fails to compile JSPs in WAR

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: embedded
    • Labels:
      None

      Description

      Embedded GF started using instanceRoot fails to compile JSPs in WAR.

      If instanceRoot isn't set using GlassFishProperties, JSPs work fine.

      /* IF YOU START THIS WAY, JSPS WORK
      GlassFishProperties props = new GlassFishProperties();
      props.setPort("http-listener", 8080);

      GlassFish glassfish = GlassFishRuntime.bootstrap().newGlassFish(props);
      glassfish.start();
      */

      // JSPS DON'T WORK IF YOU SET INSTANCEROOT
      String instanceRoot = "/glassfish3/glassfish/domains/domain1";
      GlassFishProperties gfProps = new GlassFishProperties();
      gfProps.setInstanceRoot(instanceRoot);

      This happens with glassfish-embedded-all.jar and -web.jar.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Bhavanishankar
            Reporter:
            Amy Roh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: