ICEfaces
  1. ICEfaces
  2. ICE-1631

Exception deploying samples on JBoss 4.2.0 GA

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#4
    • Fix Version/s: 1.7.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Windows

      Description

      A community member, see forum reference above, is seeing the following exception when attempting to deploy our address demo on JBoss 4.2.0 GA.

       12:49:43,062 INFO [TomcatDeployer] deploy, ctxPath=/address, warUrl=.../tmp/deploy/tmp1235address-exp.war/
      12:49:43,296 ERROR [[/address]] Exception sending context initialized event to listener instance of class org.jboss.web.
      jsf.integration.config.JBossJSFConfigureListener
      javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/Program%20Files/jboss-4.2.0.GA/server/all/tmp/d
      eploy/tmp1235address-exp.war/WEB-INF/lib/icefaces-comps.jar!/META-INF/faces-config.xml: Error at line 40 column 15: Erro
      r at (40, 15: com.sun.faces.config.beans.RenderKitBean
      at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1465)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:369)
      at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.j
      ava:69)


      Here is a snippet of the exception I see when attempting to deploy on JBoss 4.2.0 GA. Slightly different.

      10:57:13,921 ERROR [[/address]] Exception sending context initialized event to l
      istener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigure
      Listener
      java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
              at com.sun.faces.application.ApplicationAssociate.getInstance(Applicatio
      nAssociate.java:172)
              at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(J
      SFVersionTracker.java:266)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
      stener.java:424)
              at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contex
      tInitialized(JBossJSFConfigureListener.java:69)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      t.java:3854)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
      359)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:761)
         

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          ICEfaces 1.5 and 1.6 do not support JSF 1.2 runtimes with JSPs. This is the reason for the failures running the Address demo.

          Note that beginning with ICEfaces 1.6 running on JSF 1.2 runtimes, such as that included with JBoss 4.2, is supported for Facelet applications only. Thus, the Facelet sample applications such as the Facelet Comp. Showcase and Timezone #7 will work correctly on JBoss 4.2.

          Show
          Ken Fyten added a comment - ICEfaces 1.5 and 1.6 do not support JSF 1.2 runtimes with JSPs. This is the reason for the failures running the Address demo. Note that beginning with ICEfaces 1.6 running on JSF 1.2 runtimes, such as that included with JBoss 4.2, is supported for Facelet applications only. Thus, the Facelet sample applications such as the Facelet Comp. Showcase and Timezone #7 will work correctly on JBoss 4.2.

            People

            • Assignee:
              Unassigned
              Reporter:
              Tyler Johnson
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: