0 Replies Latest reply on Mar 25, 2009 4:37 AM by Yan Zhang

    Need help on RichFaces and Websphere 7.0

    Yan Zhang Newbie

      Hi,

      I am trying to test RichFace3.0 in Websphere 7.0.0.1 and RAD7.5.1. I am not able to get it work.

      Any help is highly appreciated.

      I followed the RichFaces developer guide and added the following jar file in WEB-INF/lib in test project.

      antlr-2.7.6.jar
      asm.jar
      cglib-2.1.3.jar
      common-annotations.jar
      commons-beanutils.jar
      commons-collections.jar
      commons-digester.jar
      commons-io-1.4.jar
      commons-logging.jar
      dom4j-1.6.1.jar
      jsf-api.jar
      jsf-impl.jar
      jstl-1.2.jar
      jta-1.0.1B.jar
      richfaces-api-3.3.0.GA.jar
      richfaces-impl-3.3.0.GA.jar
      richfaces-ui-3.3.0.GA.jar

      I got the "Show Console View" error in RAD, below error in log file and plain UI instead of RichFaces.


      0000002e annotations E ClassScanner scanInputStream Exception occurred while scanning input stream:{0}
      java.util.zip.ZipException: ZipFile closed
      at java.util.zip.ZipFile.ensureOpenOrZipException(ZipFile.java:424)
      at java.util.zip.ZipFile.access$1100(ZipFile.java:40)
      at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:456)
      at java.util.zip.ZipFile$1.fill(ZipFile.java:241)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:269)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:328)
      at java.io.FilterInputStream.read(FilterInputStream.java:127)
      at java.io.PushbackInputStream.read(PushbackInputStream.java:180)
      at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:232)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
      at java.util.zip.ZipInputStream.read(ZipInputStream.java:157)
      at java.io.FilterInputStream.read(FilterInputStream.java:127)
      at org.objectweb.asm.ClassReader.a(Unknown Source)
      at org.objectweb.asm.ClassReader.(Unknown Source)
      at com.ibm.ws.amm.scan.util.ClassScanner.scanInputStream(ClassScanner.java:231)
      at com.ibm.ws.amm.AnnotativeMetadataManagerImpl$1.applyTo(AnnotativeMetadataManage rImpl.java:259)
      at com.ibm.wsspi.amm.scan.context.ArchiveInputStreamData.iterate(ArchiveInputStrea mData.java:241)
      at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.scan(AnnotativeMetadataManagerImpl .java:257)
      at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.scan(AnnotativeMetadataManagerImpl .java:218)
      at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcesso rImpl.java:108)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.processAnnotat ions(WARFileImpl.java:297)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentD escriptor(WARFileImpl.java:243)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentD escriptor(WARFileImpl.java:173)
      at com.ibm.etools.commonarchive.impl.WARFileImpl.getExtensions(WARFileImpl.java:44 0)
      at com.ibm.etools.commonarchive.impl.WARFileImpl.getContextRoot(WARFileImpl.java:7 36)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear50NoDDImportStrateg yImpl.loadDeploymentDescriptor(Ear50NoDDImportStrategyImpl.java:388)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear50NoDDImportStrateg yImpl.importMetaData(Ear50NoDDImportStrategyImpl.java:253)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentD escriptor(EARFileImpl.java:377)
      at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFil eImpl.java:641)
      at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.j ava:720)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.o penSpecificArchive(CommonarchiveFactoryImpl.java:1517)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.o penEARFile(CommonarchiveFactoryImpl.java:1205)
      at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(Commonar chiveFactoryImpl.java:552)
      at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstall Helper.java:282)
      at com.ibm.ws.management.application.client.AppInstallHelper.getEarFile(AppInstall Helper.java:168)
      at com.ibm.ws.webservices.admin.utils.CommonUtils.getMergeEar(CommonUtils.java:464 )
      at com.ibm.ws.webservices.admin.deploy.ServiceIndexServerTask.performTask(ServiceI ndexServerTask.java:126)
      at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:284)
      at java.lang.Thread.run(Thread.java:735)


      Best Regards,
      Zhang Yan