lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edmond <patacc...@gmail.com>
Subject Error deploying solr.war into Jboss7
Date Tue, 16 Aug 2011 02:02:52 GMT
Hi there,
 
I get the following error when deploying the solr.war into the
/standalone/deployments/ directory:
 
12:28:27,024 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS
7.0.0.Final "Lightning" started (with errors) in 2151ms - Started 94 of 155
services (6 services failed or missing dependencies, 55 services are passive
or on-demand)
12:28:27,039 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6)
Starting deployment of "solr.war"
12:28:27,108 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16)
MSC00001: Failed to start service
jboss.deployment.unit."solr.war".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."solr.war".STRUCTURE: Failed to process phase
STRUCTURE of deployment "solr.war"
          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_26]
          at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
          at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
org.jboss.as.server.deployment.DeploymentUnitProcessingException: failed to
process
"/opt/jboss-as-web-7.0.0.Final/standalone/deployments/solr.war/WEB-INF/lib/velocity-tools-2.0.jar"
          at
org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:118)
          at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
          ... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
failed to process
"/opt/jboss-as-web-7.0.0.Final/standalone/deployments/solr.war/WEB-INF/lib/velocity-tools-2.0.jar"
          at
org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:173)
          at
org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createResourceRoots(WarStructureDeploymentProcessor.java:151)
          at
org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:112)
          ... 6 more
Caused by: java.util.zip.ZipException: error in opening zip file
          at java.util.zip.ZipFile.open(Native Method) [:1.6.0_26]
          at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_26]
          at java.util.jar.JarFile.<init>(JarFile.java:135) [:1.6.0_26]
          at java.util.jar.JarFile.<init>(JarFile.java:99) [:1.6.0_26]
          at
org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:95)
          at
org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:81)
          at org.jboss.vfs.VFS.mountZip(VFS.java:408)
          at org.jboss.vfs.VFS.mountZip(VFS.java:434)
          at
org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:168)
          ... 8 more
 
 
12:28:27,112 INFO  [org.jboss.as.server.controller]
(DeploymentScanner-threads - 2) Deployment of "solr.war" was rolled back
with failure message {"Failed services" =>
{"jboss.deployment.unit.\"solr.war\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"solr.war\".STRUCTURE: Failed to process phase
STRUCTURE of deployment \"solr.war\""}}
12:28:27,114 INFO  [org.jboss.as.server.deployment] (MSC service thread
1-14) Stopped deployment solr.war in 1ms
12:28:27,117 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1)
{"Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-2" => {"Failed services" =>
{"jboss.deployment.unit.\"solr.war\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"solr.war\".STRUCTURE: Failed to process phase
STRUCTURE of deployment \"solr.war\""}}}}
 
There is no documentation on the SOLR wiki on how to deploy SOLR into
jboss7.
 
The only way I found that I could deploy the solr.war was to remove the
velocity-tools-2.0.jar from the solr.war/WEB-INF/lib directory.
I am not sure this is the right fix.  Should this be reported as a bug to
SOLR or to jBoss?
I have already posted this error to the jBoss community forum.
 
Is there another solution for this problem?
 
Regards,
 
Max

--
View this message in context: http://lucene.472066.n3.nabble.com/Error-deploying-solr-war-into-Jboss7-tp3257461p3257461.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message