ICEfaces
  1. ICEfaces
  2. ICE-4089

Autodetection on GlassFish V2.1 Final is broken

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1, 1.8RC1
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      GlassFish V2.1 Final, ICEfaces using JMS
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Specifically specify the message properties to use in the ICEfaces application's web.xml:

          <context-param>
              <param-name>com.icesoft.net.messaging.properties</param-name>
              <param-value>glassfish.properties</param-value>
          </context-param>
      Show
      Specifically specify the message properties to use in the ICEfaces application's web.xml:     <context-param>         <param-name>com.icesoft.net.messaging.properties</param-name>         <param-value>glassfish.properties</param-value>     </context-param>

      Description

      Autodetection seems broken when ICEfaces is using JMS on GlassFish V2.1 Final:

      [#|2009-02-13T16:51:24.618-0700|INFO|sun-appserver2.1|com.icesoft.net.messaging.jms.JMSAdapter|_ThreadID=27;_ThreadName=Thread-711;|Messaging Properties (web.xml): null|#]

      [#|2009-02-13T16:51:24.619-0700|INFO|sun-appserver2.1|com.icesoft.net.messaging.jms.JMSAdapter|_ThreadID=27;_ThreadName=Thread-711;|Server Info: Sun GlassFish Enterprise Server v2.1|#]

      [#|2009-02-13T16:51:24.620-0700|INFO|sun-appserver2.1|com.icesoft.net.messaging.jms.JMSAdapter|_ThreadID=27;_ThreadName=Thread-711;|Messaging Properties: <empty>|#]

      [#|2009-02-13T16:51:24.640-0700|INFO|sun-appserver2.1|com.icesoft.faces.webapp.http.servlet.MainServlet|_ThreadID=27;_ThreadName=Thread-711;|Did not start Ajax Push JMS services: java.lang.ArrayIndexOutOfBoundsException: -1|#]

      which ultimately results in:
      [#|2009-02-13T16:57:53.443-0700|WARNING|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=30;_ThreadName=Render Thread - 1;_RequestID=41b0787b-914c-4aba-bd0b-cc866b57abd5;|executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@1a63e10) threw exception
      java.lang.NullPointerException
              at com.icesoft.faces.async.common.AsyncHttpServerAdaptingServlet$1.run(AsyncHttpServerAdaptingServlet.java:82)
              at com.icesoft.faces.webapp.http.core.ViewQueue.put(ViewQueue.java:17)
              at com.icesoft.faces.context.View.put(View.java:140)
              at com.icesoft.faces.context.PushModeSerializer.serialize(PushModeSerializer.java:95)
              at com.icesoft.faces.context.BridgeFacesContext$SaveCurrentDocument.serialize(BridgeFacesContext.java:799)
              at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:163)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:496)
              at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
              at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
              at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:175)
              at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:299)
              at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:143)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
              at java.lang.Thread.run(Thread.java:595)
      |#]

        Activity

        Hide
        Jack Van Ooststroom added a comment -

        This also affects 1.7

        Changed Fix Version(s) to 1.8

        Show
        Jack Van Ooststroom added a comment - This also affects 1.7 Changed Fix Version(s) to 1.8
        Hide
        Jack Van Ooststroom added a comment -

        Now when "Sun GlassFish Enterprise Server" is detected the glassfish.properties will automatically be used when JMS is required. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - Now when "Sun GlassFish Enterprise Server" is detected the glassfish.properties will automatically be used when JMS is required. Marking this one as FIXED.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: