glassfish
  1. glassfish
  2. GLASSFISH-18161

Exception trying to create cluster in web distribution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.2_dev
    • Fix Version/s: 3.1.2_dev
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      ogs-3.1.2-web-b17-01_09_2012.zip

      Description

      Start Admin Console and click on Clusters, New Cluster. The following exception is printed on screen:

      class com.sun.jsftemplating.layout.SyntaxException

      The server.log file contains:

      [#|2012-01-09T19:00:41.191-0800|SEVERE|glassfish3.1.2|javax.enterprise.system.st
      d.com.sun.enterprise.server.logging|_ThreadID=26;_ThreadName=Thread-2;|java.io.F
      ileNotFoundException: /jms/jmsHandlers.inc
      at com.sun.jsftemplating.util.IncludeInputStream.startInclude(IncludeInp
      utStream.java:190)
      at com.sun.jsftemplating.util.IncludeInputStream.read(IncludeInputStream
      .java:80)
      at com.sun.jsftemplating.util.IncludeInputStream.read(IncludeInputStream
      .java:121)

      Will attach screenshot and server.log.

      1. diff.text
        2 kB
        Anissa Lam
      2. server.log.txt
        27 kB
        lidiam
      1. syntaxException.JPG
        42 kB

        Activity

        Hide
        Anissa Lam added a comment - - edited

        jms plugin is not included in the web distribution. The jms handler file needs to be in the cluster plugin.

        What is the impact on the customer of the bug?
        big impact. user will not be able to create cluster in web distribution.

        What is the cost/risk of fixing the bug?
        very min. Just move the file to the console cluster module

        Is there an impact on documentation or message strings?
        No

        Which tests should QA (re)run to verify the fix did not destabilize GlassFish?
        verify that cluster can be created in both web and glassfish dist.

        Which is the targeted build of 3.1.2 for this fix?
        3_1_2_b17

        Diff is attached.
        admingui/jms-plugin/src/main/resources/jmsHandlers.inc is moved to
        admingui/cluster/src/main/resources/shared/jmsHandlers.inc

        Show
        Anissa Lam added a comment - - edited jms plugin is not included in the web distribution. The jms handler file needs to be in the cluster plugin. What is the impact on the customer of the bug? big impact. user will not be able to create cluster in web distribution. What is the cost/risk of fixing the bug? very min. Just move the file to the console cluster module Is there an impact on documentation or message strings? No Which tests should QA (re)run to verify the fix did not destabilize GlassFish? verify that cluster can be created in both web and glassfish dist. Which is the targeted build of 3.1.2 for this fix? 3_1_2_b17 Diff is attached. admingui/jms-plugin/src/main/resources/jmsHandlers.inc is moved to admingui/cluster/src/main/resources/shared/jmsHandlers.inc
        Hide
        Jason Lee added a comment -

        Change looks good to me.

        Show
        Jason Lee added a comment - Change looks good to me.
        Hide
        marina vatkina added a comment -

        JMS is not part of the WEB profile in Java EE 6

        Show
        marina vatkina added a comment - JMS is not part of the WEB profile in Java EE 6
        Hide
        Anissa Lam added a comment -

        Fix checked into 3.1.2 branch.

        Log Message:
        ------------
        GLASSFISH-18161. Move the jms handler to console cluster plugin package, since jms plugin is not available in Web profile.
        Approved by Joe.

        Revisions:
        ----------
        51996
        Modified Paths:
        ---------------
        branches/3.1.2/admingui/cluster/src/main/resources/cluster/clusterNew.jsf
        Added Paths:
        ------------
        branches/3.1.2/admingui/cluster/src/main/resources/shared/jmsHandlers.inc

        ============

        Revisions:
        ----------
        51997
        Modified Paths:
        ---------------
        branches/3.1.2/admingui/jms-plugin/src/main/resources/jmsAvailabilityService.jsf

        Show
        Anissa Lam added a comment - Fix checked into 3.1.2 branch. Log Message: ------------ GLASSFISH-18161 . Move the jms handler to console cluster plugin package, since jms plugin is not available in Web profile. Approved by Joe. Revisions: ---------- 51996 Modified Paths: --------------- branches/3.1.2/admingui/cluster/src/main/resources/cluster/clusterNew.jsf Added Paths: ------------ branches/3.1.2/admingui/cluster/src/main/resources/shared/jmsHandlers.inc ============ Revisions: ---------- 51997 Modified Paths: --------------- branches/3.1.2/admingui/jms-plugin/src/main/resources/jmsAvailabilityService.jsf
        Hide
        lidiam added a comment -

        verified in build ogs-3.1.2-web-b17.zip

        Show
        lidiam added a comment - verified in build ogs-3.1.2-web-b17.zip

          People

          • Assignee:
            Anissa Lam
            Reporter:
            lidiam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: