ICEfaces
  1. ICEfaces
  2. ICE-5402

Ability to use ICEfaces-1.8.2 on jboss-6.0.0.M2 application server

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      jboss-6.0.0.M2
    • Affects:
      Compatibility/Configuration

      Description

      jboss-6.0.0.M2 comes bundled with jsf2.0 jars (specifically using jboss-6.0.0.20100216-M2 which contains jsf-2.0.2.FCS)

      trying to use contaxt param
          <context-param>
              <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
              <param-value>true</param-value>
          </context-param>

      with 1.8.2.a jars to determine if 1.8.2 samples can be deployed to this application server.

        Activity

        Hide
        Judy Guglielmin added a comment -

        comment from jboss, looks like this functionality is now included on their repository:-
        see link:-
        http://jira.icefaces.org/browse/ICE-5402

        Code for jboss source is located at :-

        svn co http://anonsvn.jboss.org/repos/jbossas/trunk

        do
        >cd trunk\build
        > mvn clean install

        • get a SNAPSHOT version of jboss-6.0.0 to test with.
        Show
        Judy Guglielmin added a comment - comment from jboss, looks like this functionality is now included on their repository:- see link:- http://jira.icefaces.org/browse/ICE-5402 Code for jboss source is located at :- svn co http://anonsvn.jboss.org/repos/jbossas/trunk do >cd trunk\build > mvn clean install get a SNAPSHOT version of jboss-6.0.0 to test with.
        Hide
        Joanne Bai added a comment - - edited

        Jboss-6.0.0-SNAPSHOT (build# 1701 from June 10, 2010)

        Test Steps:
        1. Add the context-param specified in ICE-5402 to app web.xml file
        2. Build the app using: ant clean tomcat6.0
        3. Deploy the app (it takes longer time than usual to be deployed)

        Test Results:
        icefaces/trunk revision: 21721
        Browser: FF3.6

        • Address: tested successfully
        • AuctionMonitor: tested successfully
        • Component showcase jsp: tested successfully
        • Component showcase facelets: tested successfully
        • Component showcase facelets-enh: application cannot be deployed (tried tomcat6 target, and jboss5 target with adding jsf1.2 jars manually)
          2010-06-11 12:39:39,439 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to PostClassLoader: name=vfs:///C:/servers/jboss/jboss-6.0.0-SNAPSHOT/server/default/deploy/component-showcase.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/servers/jboss/jboss-6.0.0-SNAPSHOT/server/default/deploy/component-showcase.war
          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha5]
          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.Alpha5]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha5]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha5]
          ....................................
          Caused by: java.lang.Error: Error visiting "/C:/servers/jboss/jboss-6.0.0-SNAPSHOT/server/default/deploy/component-showcase.war/WEB-INF/lib/jaxb-impl.jar/com/sun/xml/bind/v2/schemagen/XmlSchemaGenerator$Namespace.class"
          at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.Alpha5]
          at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:407) [jboss-vfs.jar:3.0.0.CR5]
          at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409) [jboss-vfs.jar:3.0.0.CR5]
          ......................................................................................
          Caused by: java.lang.RuntimeException: java.lang.reflect.GenericSignatureFormatError
          at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:57) [:1.0.0.Alpha2]
          at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91) [:1.0.0.Alpha2]
          at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89) [:1.0.0.Alpha2]
          at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.Alpha2]
          at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.Alpha5]
          at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.Alpha5]
          ... 51 more
          Caused by: java.lang.reflect.GenericSignatureFormatError
          at sun.reflect.generics.parser.SignatureParser.error(SignatureParser.java:103) [:1.6.0_07]
          at sun.reflect.generics.parser.SignatureParser.parseSimpleClassTypeSignature(SignatureParser.java:262) [:1.6.0_07]
          at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignatureSuffix(SignatureParser.java:270) [:1.6.0_07]
          at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(SignatureParser.java:244) [:1.6.0_07]
          at sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:228) [:1.6.0_07]
          .............................................

        There's an issue when testing with selenium scripts - the test runner window disappears once script "openWindow w1" is executed.

        Show
        Joanne Bai added a comment - - edited Jboss-6.0.0-SNAPSHOT (build# 1701 from June 10, 2010) Test Steps: 1. Add the context-param specified in ICE-5402 to app web.xml file 2. Build the app using: ant clean tomcat6.0 3. Deploy the app (it takes longer time than usual to be deployed) Test Results: icefaces/trunk revision: 21721 Browser: FF3.6 Address: tested successfully AuctionMonitor: tested successfully Component showcase jsp: tested successfully Component showcase facelets: tested successfully Component showcase facelets-enh: application cannot be deployed (tried tomcat6 target, and jboss5 target with adding jsf1.2 jars manually) 2010-06-11 12:39:39,439 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to PostClassLoader: name=vfs:///C:/servers/jboss/jboss-6.0.0-SNAPSHOT/server/default/deploy/component-showcase.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/servers/jboss/jboss-6.0.0-SNAPSHOT/server/default/deploy/component-showcase.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha5] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.Alpha5] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha5] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha5] .................................... Caused by: java.lang.Error: Error visiting "/C:/servers/jboss/jboss-6.0.0-SNAPSHOT/server/default/deploy/component-showcase.war/WEB-INF/lib/jaxb-impl.jar/com/sun/xml/bind/v2/schemagen/XmlSchemaGenerator$Namespace.class" at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.Alpha5] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:407) [jboss-vfs.jar:3.0.0.CR5] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409) [jboss-vfs.jar:3.0.0.CR5] ...................................................................................... Caused by: java.lang.RuntimeException: java.lang.reflect.GenericSignatureFormatError at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:57) [:1.0.0.Alpha2] at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91) [:1.0.0.Alpha2] at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89) [:1.0.0.Alpha2] at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.Alpha2] at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.Alpha5] at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.Alpha5] ... 51 more Caused by: java.lang.reflect.GenericSignatureFormatError at sun.reflect.generics.parser.SignatureParser.error(SignatureParser.java:103) [:1.6.0_07] at sun.reflect.generics.parser.SignatureParser.parseSimpleClassTypeSignature(SignatureParser.java:262) [:1.6.0_07] at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignatureSuffix(SignatureParser.java:270) [:1.6.0_07] at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(SignatureParser.java:244) [:1.6.0_07] at sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:228) [:1.6.0_07] ............................................. There's an issue when testing with selenium scripts - the test runner window disappears once script "openWindow w1" is executed.
        Hide
        Ken Fyten added a comment -

        ICEfaces 1.8.x with JSF 1.2 is now working as expected so long as you use Jboss-6.0.0-SNAPSHOT (build# 1701 from June 10, 2010) or later.

        Show
        Ken Fyten added a comment - ICEfaces 1.8.x with JSF 1.2 is now working as expected so long as you use Jboss-6.0.0-SNAPSHOT (build# 1701 from June 10, 2010) or later.
        Hide
        Judy Guglielmin added a comment -

        This was resolved as of jboss-6.0-M4 release. Should probably be rechecked for jboss-6.0-CR2 (requires JDK6)

        Show
        Judy Guglielmin added a comment - This was resolved as of jboss-6.0-M4 release. Should probably be rechecked for jboss-6.0-CR2 (requires JDK6)
        Hide
        Georges Goebel added a comment -

        In JBoss 6.0 Final you don't even need to package the JSF libs in you war. JBoss 6 comes vir Mojarra 1.2, Mojarra 2.0 and MyFaces 2.0 and you can chose with a context variable in you web.xml

        <context-param>
        <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name>
        <param-value>Mojarra-1.2</param-value>
        </context-param>

        Show
        Georges Goebel added a comment - In JBoss 6.0 Final you don't even need to package the JSF libs in you war. JBoss 6 comes vir Mojarra 1.2, Mojarra 2.0 and MyFaces 2.0 and you can chose with a context variable in you web.xml <context-param> <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name> <param-value>Mojarra-1.2</param-value> </context-param>

          People

          • Assignee:
            Unassigned
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: