Encountered an exception while porting a Seam application from AS5 to AS7, root cause
ZipException
--------------------------------------------------------------------------------------------------
Key: AS7-941
URL:
https://issues.jboss.org/browse/AS7-941
Project: Application Server 7
Issue Type: Bug
Affects Versions: No Release
Environment: Fedora 14, porting an EAP5.x application to AS7,
Reporter: Sande Gilda
I am porting the TopicIndex application that was built on EAP5.x to AS7. I have worked
around a number of ClassNotFound and other issues. My current build is based on
git://github.com/jbossejb3/jboss-as.git which as a fix for AS7-910 and I have coded around
AS7-896.
I am now seeing this exception in the log:
09:46:45,570 INFO [javax.servlet.ServletContextListener] (MSC service thread 1-7) Welcome
to Seam null
09:46:45,588 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/TopicIndex]] (MSC
service thread 1-7) Exception sending context initialized event to listener instance of
class org.jboss.seam.servlet.SeamListener: java.lang.RuntimeException: Error handling file
/content/TopicIndex.war/WEB-INF/lib/jboss-seam-remoting.jar
at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:134)
[jboss-seam.jar:]
at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:107) [jboss-seam.jar:]
at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:90)
[jboss-seam.jar:]
at
org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119)
[jboss-seam.jar:]
at org.jboss.seam.init.Initialization.create(Initialization.java:130) [jboss-seam.jar:]
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
[jboss-seam.jar:]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
[jbossweb-7.0.0.CR1.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3817)
[jbossweb-7.0.0.CR1.jar:7.0.0.Beta4-SNAPSHOT]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
[jboss-as-web-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) [:1.6.0_25]
at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_25]
at java.util.zip.ZipFile.<init>(ZipFile.java:144) [:1.6.0_25]
at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:123)
[jboss-seam.jar:]
... 12 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira