ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-429

ee-accessible-showcase does not deploy to WAS 8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.BETA
    • Fix Version/s: EE-3.2.0.GA
    • Component/s: Samples
    • Labels:
      None
    • Environment:
      WebSphere Application Server 8, ICEfaces-EE 3

      Description

      The ee-accessible-showcase sample application does not deploy correctly to WAS 8

        Activity

        Jack Van Ooststroom created issue -
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ] Jack Van Ooststroom [ jack.van.ooststroom ]
        Hide
        Jack Van Ooststroom added a comment -

        Step 1

        The web.xml incorrectly contained a lifecycle element:

        <lifecycle>
        <phase-listener>com.icesoft.sample.accessible.dataTable.SortHeaderModel</phase-listener>
        </lifecycle>

        But this was already addressed by Deryk earlier.

        Show
        Jack Van Ooststroom added a comment - Step 1 The web.xml incorrectly contained a lifecycle element: <lifecycle> <phase-listener>com.icesoft.sample.accessible.dataTable.SortHeaderModel</phase-listener> </lifecycle> But this was already addressed by Deryk earlier.
        Hide
        Jack Van Ooststroom added a comment -

        Step 2

        The faces-config.xml contains 2 managed-bean elements referring to classes that don't seem to be used by this sample:

        <managed-bean>
        <managed-bean-name>autoCompleteDictionary</managed-bean-name>
        <managed-bean-class>
        com.icesoft.icefaces.tutorial.component.autocomplete.AutoCompleteDictionary
        </managed-bean-class>
        <managed-bean-scope>application</managed-bean-scope>
        </managed-bean>
        <managed-bean>
        <managed-bean-name>autoCompleteBean</managed-bean-name>
        <managed-bean-class>
        com.icesoft.icefaces.tutorial.component.autocomplete.AutoCompleteBean
        </managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
        <managed-property>
        <property-name>dictionary</property-name>
        <value>#

        {autoCompleteDictionary.dictionary}

        </value>
        </managed-property>
        </managed-bean>

        Removing them results in getting passed this step.

        Show
        Jack Van Ooststroom added a comment - Step 2 The faces-config.xml contains 2 managed-bean elements referring to classes that don't seem to be used by this sample: <managed-bean> <managed-bean-name>autoCompleteDictionary</managed-bean-name> <managed-bean-class> com.icesoft.icefaces.tutorial.component.autocomplete.AutoCompleteDictionary </managed-bean-class> <managed-bean-scope>application</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>autoCompleteBean</managed-bean-name> <managed-bean-class> com.icesoft.icefaces.tutorial.component.autocomplete.AutoCompleteBean </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>dictionary</property-name> <value># {autoCompleteDictionary.dictionary} </value> </managed-property> </managed-bean> Removing them results in getting passed this step.
        Hide
        Jack Van Ooststroom added a comment -

        Sending samples/ee-accessible-showcase/src/main/webapp/WEB-INF/faces-config.xml
        Transmitting file data .
        Committed revision 33362.

        Show
        Jack Van Ooststroom added a comment - Sending samples/ee-accessible-showcase/src/main/webapp/WEB-INF/faces-config.xml Transmitting file data . Committed revision 33362.
        Hide
        Jack Van Ooststroom added a comment -

        Step 3

        An NPE is now experienced:

        [1/21/13 20:50:48:528 CET] 00000046 SystemErr R Caused by: java.lang.NullPointerException
        [1/21/13 20:50:48:528 CET] 00000046 SystemErr R at javax.faces.component.UINamingContainer.getSeparatorChar(UINamingContainer.java:129)
        [1/21/13 20:50:48:528 CET] 00000046 SystemErr R at com.icesoft.components.accessible.selectinputdate.SelectInputDateRenderer.<clinit>(SelectInputDateRenderer.java:160)
        [1/21/13 20:50:48:529 CET] 00000046 SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method)
        [1/21/13 20:50:48:529 CET] 00000046 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
        [1/21/13 20:50:48:529 CET] 00000046 SystemErr R ... 102 more

        An invocation to FacesContext.getCurrentInstance() should not be done in static context.

        Show
        Jack Van Ooststroom added a comment - Step 3 An NPE is now experienced: [1/21/13 20:50:48:528 CET] 00000046 SystemErr R Caused by: java.lang.NullPointerException [1/21/13 20:50:48:528 CET] 00000046 SystemErr R at javax.faces.component.UINamingContainer.getSeparatorChar(UINamingContainer.java:129) [1/21/13 20:50:48:528 CET] 00000046 SystemErr R at com.icesoft.components.accessible.selectinputdate.SelectInputDateRenderer.<clinit>(SelectInputDateRenderer.java:160) [1/21/13 20:50:48:529 CET] 00000046 SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method) [1/21/13 20:50:48:529 CET] 00000046 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:205) [1/21/13 20:50:48:529 CET] 00000046 SystemErr R ... 102 more An invocation to FacesContext.getCurrentInstance() should not be done in static context.
        Hide
        Jack Van Ooststroom added a comment -

        Sending ee-comps/ee-accessible/components/src/main/java/com/icesoft/components/accessible/selectinputdate/SelectInputDateRenderer.java
        Transmitting file data .
        Committed revision 33364.

        Show
        Jack Van Ooststroom added a comment - Sending ee-comps/ee-accessible/components/src/main/java/com/icesoft/components/accessible/selectinputdate/SelectInputDateRenderer.java Transmitting file data . Committed revision 33364.
        Hide
        Jack Van Ooststroom added a comment -

        Step 4

        Another NPE is now being experienced:

        java.lang.NullPointerException
        at org.icefaces.impl.application.ExtendedExceptionHandler.handle(ExtendedExceptionHandler.java:80)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020)
        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1382)
        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:191)
        at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:648)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3639)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:950)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1659)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1648)

        Show
        Jack Van Ooststroom added a comment - Step 4 Another NPE is now being experienced: java.lang.NullPointerException at org.icefaces.impl.application.ExtendedExceptionHandler.handle(ExtendedExceptionHandler.java:80) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1382) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:191) at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:648) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3639) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:950) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1659) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1648)
        Hide
        Jack Van Ooststroom added a comment -

        Sending samples/ee-accessible-showcase/src/main/webapp/WEB-INF/web.xml
        Sending samples/ee-accessible-showcase/src/main/webapp/index.jsp
        Transmitting file data ..
        Committed revision 33365.

        Show
        Jack Van Ooststroom added a comment - Sending samples/ee-accessible-showcase/src/main/webapp/WEB-INF/web.xml Sending samples/ee-accessible-showcase/src/main/webapp/index.jsp Transmitting file data .. Committed revision 33365.
        Hide
        Jack Van Ooststroom added a comment -

        Changing the index.jsp and the web.xml to be more in-line with ee-composite-showcase seems to get past the last issue. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - Changing the index.jsp and the web.xml to be more in-line with ee-composite-showcase seems to get past the last issue. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jack Van Ooststroom added a comment -

        There still something in the logs that possible needs a look at:

        [1/22/13 12:03:41:542 CET] 00000020 MandatoryReso W ICEfaces configured for view /index.jsp but h:head and h:body components are required
        [1/22/13 12:03:41:545 CET] 00000020 BridgeSetup W ICEfaces configured for view /index.jsp but h:head and h:body components are required

        Show
        Jack Van Ooststroom added a comment - There still something in the logs that possible needs a look at: [1/22/13 12:03:41:542 CET] 00000020 MandatoryReso W ICEfaces configured for view /index.jsp but h:head and h:body components are required [1/22/13 12:03:41:545 CET] 00000020 BridgeSetup W ICEfaces configured for view /index.jsp but h:head and h:body components are required
        Jack Van Ooststroom made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Jack Van Ooststroom added a comment -

        Sending src/main/webapp/WEB-INF/web.xml
        Transmitting file data .
        Committed revision 33382.

        Show
        Jack Van Ooststroom added a comment - Sending src/main/webapp/WEB-INF/web.xml Transmitting file data . Committed revision 33382.
        Hide
        Jack Van Ooststroom added a comment -

        The web.xml files contained multiple welcome-files including index.jsf and index.html. This causes on WAS8 to log the mentioned warnings. As ee-accessible-showcase only has index.jsp, I removed index.jsf and index.html from the list and successfully tested it. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - The web.xml files contained multiple welcome-files including index.jsf and index.html. This causes on WAS8 to log the mentioned warnings. As ee-accessible-showcase only has index.jsp, I removed index.jsf and index.html from the list and successfully tested it. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Cruz Miraback added a comment -

        Confirmed fixed using ICEfaces EE 3.2.0 build3.

        Show
        Cruz Miraback added a comment - Confirmed fixed using ICEfaces EE 3.2.0 build3.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: