[
https://issues.apache.org/jira/browse/SMX4-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179199#comment-13179199
]
Freeman Fang commented on SMX4-1019:
------------------------------------
IMO we need keep this description file there.
The correct fix should be in pax-web WarDeployer, it shouldn't open a file
which isn't a war(the same rule applied for other kinds of deployers in karaf,
like features, wrap, spring, blueprint deployer).
PAXWEB-338[1] to track it
[1]http://team.ops4j.org/browse/PAXWEB-338
> Remove README file from deploy directory to avoid WarDeployer error message
> on TRACE
> ------------------------------------------------------------------------------------
>
> Key: SMX4-1019
> URL: https://issues.apache.org/jira/browse/SMX4-1019
> Project: ServiceMix 4
> Issue Type: Improvement
> Affects Versions: 4.4.0
> Reporter: Ge@@ru
> Assignee: Freeman Fang
> Priority: Trivial
>
> 10:36:03,301 | TRACE | mix-4.4.0/deploy | WarDeployer |
> 123 - org.ops4j.pax.web.pax-web-deployer - 1.0.7 | Can't handle file README
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)[:1.6.0_20]
> at java.util.zip.ZipFile.<init>(ZipFile.java:114)[:1.6.0_20]
> at java.util.jar.JarFile.<init>(JarFile.java:135)[:1.6.0_20]
> at java.util.jar.JarFile.<init>(JarFile.java:99)[:1.6.0_20]
> at
> org.ops4j.pax.web.deployer.internal.WarDeployer.canHandle(WarDeployer.java:40)[123:org.ops4j.pax.web.pax-web-deployer:1.0.7]
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.findListener(DirectoryWatcher.java:467)[7:org.apache.felix.fileinstall:3.1.10]
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:415)[7:org.apache.felix.fileinstall:3.1.10]
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[7:org.apache.felix.fileinstall:3.1.10]
> Probably is more efficient remove README file to avoid this message.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira