<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Deployment exception (jar containing + character)
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/ahbab">Jasmin Begic</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/537094#537094">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm having problems deploying war file that contains jars with "+" in their names. Is this known issue and</p><p>is there any workaround for my problem. </p><p>Example of jar name - hadoop-core-0.20.1+152.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Exception thrown:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">
10:52:49,498 WARN&#160; [HDScanner] Scan failed

java.lang.RuntimeException: Failed to initialize ZipWrapper: /C:/jBoss/jboss-5.1.0.GA/server/default/deploy/hadoop-core-0.20.1+152.jar

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getZipSource(ZipEntryContext.java:286)

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getLastModified(ZipEntryContext.java:906)

at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getLastModified(ZipEntryHandler.java:111)

at org.jboss.virtual.plugins.context.DelegatingHandler.getLastModified(DelegatingHandler.java:126)

at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.hasBeenModified(AbstractVirtualFileHandler.java:196)

at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:252)

at org.jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:219)

at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:336)

at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:306)

at org.jboss.virtual.VFS.visit(VFS.java:421)

at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:437)

at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:386)

at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:367)

at org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource.addedDeployments(AbstractVFSProfileSource.java:223)

at org.jboss.system.server.profileservice.repository.HotDeploymentRepository.checkForAdditions(HotDeploymentRepository.java:159)

at org.jboss.system.server.profileservice.repository.HotDeploymentRepository.getModifiedDeployments(HotDeploymentRepository.java:132)

at org.jboss.system.server.profile.repository.AbstractProfile.getModifiedDeployments(AbstractProfile.java:128)

at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:336)

at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.FileNotFoundException: C:\jBoss\jboss-5.1.0.GA\server\default\deploy (Access is denied)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:106)

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.createZipSource(ZipEntryContext.java:361)

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getZipSource(ZipEntryContext.java:282)

... 27 more

10:52:54,954 WARN&#160; [HDScanner] Scan failed

java.lang.RuntimeException: Failed to initialize ZipWrapper: /C:/jBoss/jboss-5.1.0.GA/server/default/deploy/hadoop-core-0.20.1+152.jar

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getZipSource(ZipEntryContext.java:286)

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getLastModified(ZipEntryContext.java:906)

at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getLastModified(ZipEntryHandler.java:111)

at org.jboss.virtual.plugins.context.DelegatingHandler.getLastModified(DelegatingHandler.java:126)

at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.hasBeenModified(AbstractVirtualFileHandler.java:196)

at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:252)

at org.jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:219)

at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:336)

at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:306)

at org.jboss.virtual.VFS.visit(VFS.java:421)

at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:437)

at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:386)

at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:367)

at org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource.addedDeployments(AbstractVFSProfileSource.java:223)

at org.jboss.system.server.profileservice.repository.HotDeploymentRepository.checkForAdditions(HotDeploymentRepository.java:159)

at org.jboss.system.server.profileservice.repository.HotDeploymentRepository.getModifiedDeployments(HotDeploymentRepository.java:132)

at org.jboss.system.server.profile.repository.AbstractProfile.getModifiedDeployments(AbstractProfile.java:128)

at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:336)

at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.FileNotFoundException: C:\jBoss\jboss-5.1.0.GA\server\default\deploy (Access is denied)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:106)

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.createZipSource(ZipEntryContext.java:361)

at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getZipSource(ZipEntryContext.java:282)

... 27 more


</code></pre></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/537094#537094">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>