Error deploying Nested Archives on Glassfish
--------------------------------------------
Key: SHRINKWRAP-126
URL:
https://jira.jboss.org/jira/browse/SHRINKWRAP-126
Project: ShrinkWrap
Issue Type: Bug
Components: ext-glassfish-impl, impl-base
Affects Versions: 1.0.0-alpha-4
Reporter: Aslak Knutsen
Jan 31, 2010 6:52:48 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 (74.2) startup time : Embedded(482ms) startup services(392ms)
total(874ms)
Jan 31, 2010 6:52:49 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified
initDelegates
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the
delegate
Jan 31, 2010 6:52:49 PM
org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
Jan 31, 2010 6:52:49 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Jan 31, 2010 6:52:49 PM com.sun.enterprise.deployment.deploy.shared.InputJarArchive
getJarFile
WARNING: enterprise.deployment.backend.fileOpenFailure
Jan 31, 2010 6:52:49 PM com.sun.enterprise.deployment.deploy.shared.InputJarArchive
getJarFile
WARNING: error in opening zip file -- invalid zip file:
jar:/mnt/build-server/home/aslak/workspace/opensource/jboss-test/shrinkwrap/extension-glassfish/gfembed6279052809485274692tmp/applications/slsb.ear/test.jar
Jan 31, 2010 6:52:49 PM com.sun.enterprise.deployment.deploy.shared.InputJarArchive
getJarFile
WARNING: enterprise.deployment.backend.fileOpenFailure
Jan 31, 2010 6:52:49 PM com.sun.enterprise.deployment.deploy.shared.InputJarArchive
getJarFile
WARNING: error in opening zip file -- invalid zip file:
jar:/mnt/build-server/home/aslak/workspace/opensource/jboss-test/shrinkwrap/extension-glassfish/gfembed6279052809485274692tmp/applications/slsb.ear/test.jar
Jan 31, 2010 6:52:50 PM org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$1
call
WARNING: Exception encountered during export of archive
org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to write asset to Zip:
org/jboss/shrinkwrap/glassfish/ejb/EchoBean.class
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$3.handle(JdkZipExporterDelegate.java:313)
at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:217)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate.processAsset(JdkZipExporterDelegate.java:260)
at
org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.export(AbstractExporterDelegate.java:100)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate.access$001(JdkZipExporterDelegate.java:54)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:143)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:136)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.IOException: Pipe closed
at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)
at java.io.PipedInputStream.receive(PipedInputStream.java:202)
at java.io.PipedOutputStream.write(PipedOutputStream.java:122)
at java.util.zip.ZipOutputStream.writeInt(ZipOutputStream.java:462)
at java.util.zip.ZipOutputStream.writeEXT(ZipOutputStream.java:379)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:237)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$2.execute(JdkZipExporterDelegate.java:304)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$2.execute(JdkZipExporterDelegate.java:261)
at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:213)
... 10 more
Jan 31, 2010 6:52:50 PM org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$1
call
WARNING: [SHRINKWRAP-120] Possible deadlock scenario: Got exception on closing the ZIP out
stream: Pipe closed
java.io.IOException: Pipe closed
at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)
at java.io.PipedInputStream.receive(PipedInputStream.java:202)
at java.io.PipedOutputStream.write(PipedOutputStream.java:122)
at java.util.zip.ZipOutputStream.writeInt(ZipOutputStream.java:462)
at java.util.zip.ZipOutputStream.writeEXT(ZipOutputStream.java:379)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:237)
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:318)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:163)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:338)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:156)
at
org.jboss.shrinkwrap.impl.base.exporter.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:136)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Jan 31, 2010 6:52:52 PM org.glassfish.api.ActionReport failure
SEVERE: Exception while deploying the app
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at java.util.jar.JarFile.<init>(JarFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:114)
at
com.sun.enterprise.deployment.util.ConnectorAnnotationDetector.hasAnnotationInArchive(ConnectorAnnotationDetector.java:77)
at
com.sun.enterprise.deployment.archivist.ConnectorArchivist.postHandles(ConnectorArchivist.java:134)
at
com.sun.enterprise.deployment.archivist.ArchivistFactory.getPrivateArchivistFor(ArchivistFactory.java:165)
at
com.sun.enterprise.deployment.archivist.ArchivistFactory.getPrivateArchivistFor(ArchivistFactory.java:131)
at
com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivist(ArchivistFactory.java:79)
at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:118)
at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:78)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:612)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:554)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
at
org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at
org.jboss.shrinkwrap.glassfish.GlassFishDeploymentUnitTestCase.deploy(GlassFishDeploymentUnitTestCase.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Jan 31, 2010 6:52:52 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
INFO: JMXStartupService and JMXConnectors have been shut down.
Jan 31, 2010 6:52:52 PM com.sun.enterprise.v3.server.AppServerStartup stop
INFO: Shutdown procedure finished
Jan 31, 2010 6:52:52 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira