Community

Deployment exception (jar containing + character)

created by Jasmin Begic in Beginner's Corner - View the full discussion

Hello,

 

I'm having problems deploying war file that contains jars with "+" in their names. Is this known issue and

is there any workaround for my problem.

Example of jar name - hadoop-core-0.20.1+152.jar

 

Exception thrown:

 

 


10:52:49,498 WARN  [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.<init>(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  [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.<init>(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


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community