ICEfaces
  1. ICEfaces
  2. ICE-6180

Sanitize the build targets for the ICEfaces 2 samples

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 2 Samples
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      Sanitize the build targets for the ICEfaces 2 samples. Currently Component Suite Showcase has the following Ant targets:

      Main targets:

       common.clean clean the directory
       glassfishv2 build war file for SUN Glassfish V2
       glassfishv3 build war file for SUN Glassfish V3
       jboss4.0 JBoss 4.0.5
       jboss4.2 build war file for JBoss 4.2
       jboss5 build war file for JBoss 5
       jetty6.1 build war file for Jetty 6.1
       myfaces war file for myfaces version
       oc4j OC4J
       pe9 build war file for SUN Application Server PE9
       portletize.war Adds portlet content to the .war file
       tomcat5.x Tomcat 5.x
       tomcat6.0 build war file for Tomcat 6.0
       weblogic10 Weblogic 10
       weblogic8.1 Weblogic 8.1
       weblogic9.2 Weblogic 9.2
       websphere6.0 IBM Websphere 6.0.2
       websphere6.1 IBM Websphere 6.1
       websphere7 IBM Websphere 7
      Default target: glassfishv3

      Tomcat 5.x, WebLogic 9.2 and WebSphere 6.1 only support the Servlet 2.4 specification, which should be enough for ICEfaces 2. However, the resulting .war-files should include the EL libraries as well.

      JBoss 4.0.x and WebLogic 8.1 are too old to support (JDK 1.4).

        Issue Links

          Activity

          Hide
          Jack Van Ooststroom added a comment -

          Changed Fix Version/s to 2.0.0

          Show
          Jack Van Ooststroom added a comment - Changed Fix Version/s to 2.0.0
          Hide
          Ken Fyten added a comment -

          We'll keep targets for the following open-source servers:

          • Tomcat (6 + 7)
          • Glassfish 3
          • Jboss 6
          • Jetty 7

          Servlet 2.4 is the minimum EE, and 2.5 is the minimum open source version.

          EE will support additional commercial and older versions, such as Websphere, Weblogic, Jboss 5, etc.

          Show
          Ken Fyten added a comment - We'll keep targets for the following open-source servers: Tomcat (6 + 7) Glassfish 3 Jboss 6 Jetty 7 Servlet 2.4 is the minimum EE, and 2.5 is the minimum open source version. EE will support additional commercial and older versions, such as Websphere, Weblogic, Jboss 5, etc.
          Hide
          Ted Goddard added a comment -

          It may be sufficient to have "EE profile" targets: EE5, EE6, web profile.

          Show
          Ted Goddard added a comment - It may be sufficient to have "EE profile" targets: EE5, EE6, web profile.
          Hide
          Ken Fyten added a comment -

          Need to analyze the dependency requirements of the supported app. server targets to verify the using EE5, EE6, web-profile will work.

          Show
          Ken Fyten added a comment - Need to analyze the dependency requirements of the supported app. server targets to verify the using EE5, EE6, web-profile will work.
          Hide
          Ken Fyten added a comment -

          Recent changes have broken the compat/auctionMonitor sample app. Seems to be not including necessary resource files (not .jars):

          AuctionMonitor cannot be loaded:

          Dec 9, 2010 9:56:15 AM org.icefaces.impl.renderkit.DOMRenderKit <clinit>
          INFO:
          ICEsoft Technologies Inc.
          ICEfaces 2.0.0 SNAPSHOT
          Build number: x
          Revision: HEAD

          Dec 9, 2010 9:56:15 AM com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor$Monitor <init>
          INFO: Monitoring jndi:/localhost/auctionMonitor/WEB-INF/faces-config.xml for modifications
          Dec 9, 2010 9:56:40 AM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
          SEVERE: Error Rendering View[/auctionMonitor.xhtml]
          javax.faces.FacesException: javax.el.ELException: /auctionMonitor.xhtml @67,75 value="#

          {AuctionBean.searchItems}": Error reading 'searchItems' on type com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean
          at com.icesoft.faces.component.panelseries.UISeries.getValue(UISeries.java:579)
          at com.icesoft.faces.component.panelseries.UISeries.getDataModel(UISeries.java:358)
          at com.icesoft.faces.component.panelseries.UISeries.processCurrentRowData(UISeries.java:144)
          at com.icesoft.faces.component.panelseries.UISeries.setRowIndex(UISeries.java:136)
          at com.icesoft.faces.component.ext.renderkit.TableRenderer.renderFacet(TableRenderer.java:147)
          at com.icesoft.faces.renderkit.dom_html_basic.TableRenderer.encodeBegin(TableRenderer.java:111)
          at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
          at javax.faces.component.UIData.encodeBegin(UIData.java:937)
          at com.icesoft.faces.component.panelseries.UISeries.encodeBegin(UISeries.java:299)
          at com.icesoft.faces.component.ext.HtmlDataTable.encodeBegin(HtmlDataTable.java:109)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1641)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: javax.el.ELException: /auctionMonitor.xhtml @67,75 value="#{AuctionBean.searchItems}

          ": Error reading 'searchItems' on type com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean
          at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
          at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
          at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
          at javax.faces.component.UIData.getValue(UIData.java:554)
          at com.icesoft.faces.component.panelseries.UISeries.getValue(UISeries.java:575)
          ... 31 more
          Caused by: java.lang.ExceptionInInitializerError
          at com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean.getSearchResults(AuctionBean.java:92)
          at com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean.getSearchItems(AuctionBean.java:106)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106)
          ... 35 more
          Caused by: java.lang.NullPointerException
          at java.util.Properties$LineReader.readLine(Properties.java:418)
          at java.util.Properties.load0(Properties.java:337)
          at java.util.Properties.load(Properties.java:325)
          at com.icesoft.applications.faces.auctionMonitor.stubs.StubServer.loadItemList(StubServer.java:100)
          at com.icesoft.applications.faces.auctionMonitor.stubs.StubServer.<init>(StubServer.java:81)
          at com.icesoft.applications.faces.auctionMonitor.stubs.StubServer.<clinit>(StubServer.java:53)
          ... 47 more
          Dec 9, 2010 9:56:40 AM com.icesoft.applications.faces.auctionMonitor.beans.ReadmeBean loadDefaultReadmeFile
          WARNING: General error while attempting to load the readme file, cause may be java.lang.NullPointerException

          Show
          Ken Fyten added a comment - Recent changes have broken the compat/auctionMonitor sample app. Seems to be not including necessary resource files (not .jars): AuctionMonitor cannot be loaded: Dec 9, 2010 9:56:15 AM org.icefaces.impl.renderkit.DOMRenderKit <clinit> INFO: ICEsoft Technologies Inc. ICEfaces 2.0.0 SNAPSHOT Build number: x Revision: HEAD Dec 9, 2010 9:56:15 AM com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor$Monitor <init> INFO: Monitoring jndi:/localhost/auctionMonitor/WEB-INF/faces-config.xml for modifications Dec 9, 2010 9:56:40 AM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException SEVERE: Error Rendering View [/auctionMonitor.xhtml] javax.faces.FacesException: javax.el.ELException: /auctionMonitor.xhtml @67,75 value="# {AuctionBean.searchItems}": Error reading 'searchItems' on type com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean at com.icesoft.faces.component.panelseries.UISeries.getValue(UISeries.java:579) at com.icesoft.faces.component.panelseries.UISeries.getDataModel(UISeries.java:358) at com.icesoft.faces.component.panelseries.UISeries.processCurrentRowData(UISeries.java:144) at com.icesoft.faces.component.panelseries.UISeries.setRowIndex(UISeries.java:136) at com.icesoft.faces.component.ext.renderkit.TableRenderer.renderFacet(TableRenderer.java:147) at com.icesoft.faces.renderkit.dom_html_basic.TableRenderer.encodeBegin(TableRenderer.java:111) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824) at javax.faces.component.UIData.encodeBegin(UIData.java:937) at com.icesoft.faces.component.panelseries.UISeries.encodeBegin(UISeries.java:299) at com.icesoft.faces.component.ext.HtmlDataTable.encodeBegin(HtmlDataTable.java:109) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1641) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: javax.el.ELException: /auctionMonitor.xhtml @67,75 value="#{AuctionBean.searchItems} ": Error reading 'searchItems' on type com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178) at javax.faces.component.UIData.getValue(UIData.java:554) at com.icesoft.faces.component.panelseries.UISeries.getValue(UISeries.java:575) ... 31 more Caused by: java.lang.ExceptionInInitializerError at com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean.getSearchResults(AuctionBean.java:92) at com.icesoft.applications.faces.auctionMonitor.beans.AuctionBean.getSearchItems(AuctionBean.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.el.BeanELResolver.getValue(BeanELResolver.java:62) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71) at org.apache.el.parser.AstValue.getValue(AstValue.java:123) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106) ... 35 more Caused by: java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at com.icesoft.applications.faces.auctionMonitor.stubs.StubServer.loadItemList(StubServer.java:100) at com.icesoft.applications.faces.auctionMonitor.stubs.StubServer.<init>(StubServer.java:81) at com.icesoft.applications.faces.auctionMonitor.stubs.StubServer.<clinit>(StubServer.java:53) ... 47 more Dec 9, 2010 9:56:40 AM com.icesoft.applications.faces.auctionMonitor.beans.ReadmeBean loadDefaultReadmeFile WARNING: General error while attempting to load the readme file, cause may be java.lang.NullPointerException

            People

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

              Dates

              • Created:
                Updated:
                Resolved: