7 Replies Latest reply: May 17, 2012 12:06 PM by jjaannrr RSS

Is subfolders allowed under "deployments" directory in standlone mode?

Ramesh Reddy Master

Hi,

 

Is it possible to deploy any deployments (WAR, RAR, EAR) files inside a sub-folder in the "deployments" subdirectory. I tried RAR file, it ends with error like below

 

16:54:51,087 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."connector-file-7.5.0.Alpha1-SNAPSHOT.rar".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."connector-file-7.5.0.Alpha1-SNAPSHOT.rar".STRUCTURE: Failed to process phase STRUCTURE of deployment "connector-file-7.5.0.Alpha1-SNAPSHOT.rar"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
    at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_19]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_19]
    at java.lang.Thread.run(Thread.java:619) [:1.6.0_19]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
    at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
    ... 5 more
Caused by: java.io.FileNotFoundException: /home/rareddy/testing/jboss-7.0.0.CR1/standalone/deployments/connector-file-7.5.0.Alpha1-SNAPSHOT.rar (No such file or directory)
    at java.io.FileInputStream.open(Native Method) [:1.6.0_19]
    at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_19]
    at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java:55)
    at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:238)
    at org.jboss.vfs.VFS.mountZip(VFS.java:434)
    at org.jboss.as.server.deployment.repository.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:75)
    at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78)
    ... 6 m

 

 

However, if I place it in the "deployments" directories or using CLI it works just fine. So, is it not allowed?

 

Thanks

 

Ramesh..