[
https://issues.jboss.org/browse/JBAS-8908?page=com.atlassian.jira.plugin....
]
Stan Silvert commented on JBAS-8908:
------------------------------------
Stack trace in AS7 is identical to the one in AS6 until you get to the last line. In AS6
we used a JBossJSFConfigureListener that extended ConfigureListener. Here is the trace
from AS7:
11:22:38,409 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-2) : java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) [:1.6.0_18]
at java.util.zip.ZipFile.<init>(ZipFile.java:114) [:1.6.0_18]
at java.util.jar.JarFile.<init>(JarFile.java:133) [:1.6.0_18]
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:67) [:1.6.0_18]
at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:214) [:1.6.0_18]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_18]
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198) [:1.6.0_18]
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) [:1.6.0_18]
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:80) [:1.6.0_18]
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
[:1.6.0_18]
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
[:1.6.0_18]
at com.sun.faces.config.AnnotationScanner.processClasspath(AnnotationScanner.java:302)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Ccom%5Csun%5Cjsf-impl%5Cmain%5Cjsf-impl-2.0.4-b09.jar:2.0.4-b09]
at com.sun.faces.config.AnnotationScanner.getAnnotatedClasses(AnnotationScanner.java:221)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Ccom%5Csun%5Cjsf-impl%5Cmain%5Cjsf-impl-2.0.4-b09.jar:2.0.4-b09]
at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:768)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Ccom%5Csun%5Cjsf-impl%5Cmain%5Cjsf-impl-2.0.4-b09.jar:2.0.4-b09]
at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:739)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Ccom%5Csun%5Cjsf-impl%5Cmain%5Cjsf-impl-2.0.4-b09.jar:2.0.4-b09]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_18]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_18]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:332)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Ccom%5Csun%5Cjsf-impl%5Cmain%5Cjsf-impl-2.0.4-b09.jar:2.0.4-b09]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Ccom%5Csun%5Cjsf-impl%5Cmain%5Cjsf-impl-2.0.4-b09.jar:2.0.4-b09]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3811)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:61)
[file:C:%5Cas7trunk%5Cjboss-as%5Cbuild%5Ctarget%5Cjboss-7.0.0.Alpha2%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjboss-as-web-7.0.0.Alpha2-SNAPSHOT.jar:7.0.0.Alpha2-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1367)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_18]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_18]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]
AS6 ZipException now seen in AS7
--------------------------------
Key: JBAS-8908
URL:
https://issues.jboss.org/browse/JBAS-8908
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: VFS
Affects Versions: 7.0.0.Alpha1
Reporter: Stan Silvert
Assignee: John Bailey
Priority: Blocker
Attachments: mojarra2.0-notbundled.war
We have the exact same problem in AS7 as was shown in JBAS-8024. I'm attaching a
small WAR that reproduces the problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira