[
https://issues.jboss.org/browse/AS7-1236?page=com.atlassian.jira.plugin.s...
]
Jim Tyrrell commented on AS7-1236:
----------------------------------
Put the Sample.war file in the deployments directory of the standalone instance.
Notice the file deploys.
14:18:54,637 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting
deployment of "Sample.war"
14:18:55,302 INFO [org.jboss.web] (MSC service thread 1-7) registering web context:
/Sample
14:18:55,323 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2)
Deployed "Sample.war"
Now unzip the Sample.war file in the directory, creating a WEB-INF folder in the
deployments directory. You should see the following errors, below.
You will also notice that the jar files are marked as failed.
Jim-Tyrrells-MacBook-Pro-2:deployments jimtyrrell$ ls WEB-INF/lib/
drools-api-5.1.1.jar drools-core-5.1.1.jar.failed
drools-api-5.1.1.jar.failed log4j-1.2.16.jar
drools-compiler-5.1.1.jar log4j-1.2.16.jar.failed
drools-compiler-5.1.1.jar.failed mvel2-2.0.16.jar
drools-core-5.1.1.jar mvel2-2.0.16.jar.failed
14:19:05,388 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) Starting
deployment of "drools-api-5.1.1.jar"
14:19:05,388 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) Starting
deployment of "drools-compiler-5.1.1.jar"
14:19:05,390 INFO [org.jboss.as.server.deployment] (MSC service thread 1-16) Starting
deployment of "drools-core-5.1.1.jar"
14:19:05,396 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting
deployment of "log4j-1.2.16.jar"
14:19:05,397 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) Starting
deployment of "mvel2-2.0.16.jar"
14:19:05,396 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service jboss.deployment.unit."drools-api-5.1.1.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."drools-api-5.1.1.jar".STRUCTURE: Failed to process phase
STRUCTURE of deployment "drools-api-5.1.1.jar"
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_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
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: /Users/jimtyrrell
1/Servers/jboss-7.0.0.CR1/standalone/deployments/drools-api-5.1.1.jar (No such file or
directory)
at java.io.FileInputStream.open(Native Method) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_24]
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 more
14:19:05,402 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed
to start service jboss.deployment.unit."mvel2-2.0.16.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."mvel2-2.0.16.jar".STRUCTURE: Failed to process phase
STRUCTURE of deployment "mvel2-2.0.16.jar"
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_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
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: /Users/jimtyrrell
1/Servers/jboss-7.0.0.CR1/standalone/deployments/mvel2-2.0.16.jar (No such file or
directory)
at java.io.FileInputStream.open(Native Method) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_24]
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 more
14:19:05,397 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-13) MSC00001: Failed
to start service jboss.deployment.unit."drools-core-5.1.1.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."drools-core-5.1.1.jar".STRUCTURE: Failed to process phase
STRUCTURE of deployment "drools-core-5.1.1.jar"
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_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
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: /Users/jimtyrrell
1/Servers/jboss-7.0.0.CR1/standalone/deployments/drools-core-5.1.1.jar (No such file or
directory)
at java.io.FileInputStream.open(Native Method) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_24]
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 more
14:19:05,400 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed
to start service jboss.deployment.unit."log4j-1.2.16.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."log4j-1.2.16.jar".STRUCTURE: Failed to process phase
STRUCTURE of deployment "log4j-1.2.16.jar"
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_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
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: /Users/jimtyrrell
1/Servers/jboss-7.0.0.CR1/standalone/deployments/log4j-1.2.16.jar (No such file or
directory)
at java.io.FileInputStream.open(Native Method) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_24]
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 more
14:19:05,396 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC00001: Failed
to start service jboss.deployment.unit."drools-compiler-5.1.1.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."drools-compiler-5.1.1.jar".STRUCTURE: Failed to process
phase STRUCTURE of deployment "drools-compiler-5.1.1.jar"
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_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
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: /Users/jimtyrrell
1/Servers/jboss-7.0.0.CR1/standalone/deployments/drools-compiler-5.1.1.jar (No such file
or directory)
at java.io.FileInputStream.open(Native Method) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_24]
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 more
14:19:05,407 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1)
Deployment of "mvel2-2.0.16.jar" was rolled back with no failure message
14:19:05,407 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1)
Deployment of "log4j-1.2.16.jar" was rolled back with no failure message
14:19:05,408 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1)
Deployment of "drools-core-5.1.1.jar" was rolled back with no failure message
14:19:05,408 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1)
Deployment of "drools-compiler-5.1.1.jar" was rolled back with no failure
message
14:19:05,409 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1)
Deployment of "drools-api-5.1.1.jar" was rolled back with failure message
{"Failed services" =>
{"jboss.deployment.unit.\"drools-api-5.1.1.jar\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"drools-api-5.1.1.jar\".STRUCTURE: Failed to process
phase STRUCTURE of deployment \"drools-api-5.1.1.jar\""}}
14:19:05,411 INFO [org.jboss.as.server.deployment] (MSC service thread 1-9) Stopped
deployment drools-compiler-5.1.1.jar in 2ms
14:19:05,411 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) Stopped
deployment log4j-1.2.16.jar in 3ms
14:19:05,411 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) Stopped
deployment drools-core-5.1.1.jar in 2ms
14:19:05,411 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped
deployment mvel2-2.0.16.jar in 2ms
14:19:05,411 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) Stopped
deployment drools-api-5.1.1.jar in 1ms
14:19:05,417 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2)
{"Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-2" => {"Failed services" =>
{"jboss.deployment.unit.\"drools-api-5.1.1.jar\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"drools-api-5.1.1.jar\".STRUCTURE: Failed to process
phase STRUCTURE of deployment \"drools-api-5.1.1.jar\""}}}}
14:19:05,418 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Composite
operation was rolled back
14:19:05,418 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Composite
operation was rolled back
14:19:05,419 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Composite
operation was rolled back
14:19:05,419 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Composite
operation was rolled back
ld
copied lib directory in the deployments directory results in
deployment
------------------------------------------------------------------------
Key: AS7-1236
URL:
https://issues.jboss.org/browse/AS7-1236
Project: Application Server 7
Issue Type: Feature Request
Environment: JBoss AS 7 CR 1
Reporter: Jim Tyrrell
Attachments: Sample.war
Having an existing zipped up war file, and then unzipping it in the deployment directory,
creates a lib directory that has a bunch of jar files in it. It appears that these jar
files in this lib directory are marked as .failed as they are tried to be deployed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira