tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-1930) TomEE tries to deploy remote uploaded file, also when a upload not finished yet
Date Tue, 13 Sep 2016 13:36:20 GMT
Thomas Andraschko created TOMEE-1930:
----------------------------------------

             Summary: TomEE tries to deploy remote uploaded file, also when a upload not finished
yet
                 Key: TOMEE-1930
                 URL: https://issues.apache.org/jira/browse/TOMEE-1930
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server
    Affects Versions: 7.0.1
            Reporter: Thomas Andraschko


When uploading a war via curl/tomcat-maven-plugin, the temp war is placed inside the webapps
directory
TomEE tries to deploy it, also when not yet finished and following exception occurs:

WARNING - Error deploying application /usr/local/tomee/webapps/myapp.war.tmp
org.apache.openejb.OpenEJBException: Unable to extract jar. Unable to unzip java.io.BufferedInputStream@7fc43ba:
Unable to unzip java.io.BufferedInputStream@7fc43ba
        at org.apache.openejb.config.DeploymentLoader.unpack(DeploymentLoader.java:2125)
        at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:939)
        at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:816)
        at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:228)
        at org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:2149)
        at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:141)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1138)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1374)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1378)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1346)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Unable to unzip java.io.BufferedInputStream@7fc43ba
        at org.apache.openejb.loader.Zips.unzip(Zips.java:81)
        at org.apache.openejb.loader.Zips.unzip(Zips.java:43)
        at org.apache.openejb.loader.Zips.unzip(Zips.java:30)
        at org.apache.openejb.util.JarExtractor.extract(JarExtractor.java:106)
        at org.apache.openejb.util.JarExtractor.extract(JarExtractor.java:66)
        at org.apache.openejb.config.DeploymentLoader.unpack(DeploymentLoader.java:2123)
        ... 11 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
        at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:194)
        at java.io.FilterInputStream.read(FilterInputStream.java:107)
        at org.apache.openejb.loader.IO.copy(IO.java:298)
        at org.apache.openejb.loader.IO.copy(IO.java:280)
        at org.apache.openejb.loader.Zips.unzip(Zips.java:69)
        ... 16 more

I would just skip *.war.tmp



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message