cancel
Showing results for 
Search instead for 
Did you mean: 

Jboss .war Deployment Error

etech
Champ in-the-making
Champ in-the-making
I am attempting to deploy Alfresco 4.2.c to an existing JBoss AS 7.1.1.Final server. I didn't see any instructions for deploying alfresco 4.2.c to JBoss, though I found a couple outdated instructions:

http://wiki.alfresco.com/wiki/Deploying_Alfresco_on_JBoss
http://fromerick.blogspot.com/2011/12/alfresco-community-edition-40b-install.html

I adapted most of the steps in the above tutorials to differences in JBoss AS 7 to the best of my ability.

Now I am attempting to deploy inflated .war files of alfresco.war and share.war, and upon deploying the alfresco.war, I am receiving the following error:


10:48:12,247 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."alfresco.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."alfresco.war".PARSE: Failed to process phase PARSE of deployment "alfresco.war"
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
   at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Caused by: java.lang.IllegalArgumentException: JBAS015533: Web Service endpoint org.alfresco.repo.cmis.ws.DMRepositoryServicePort with URL pattern /RepositoryService is already registered. Web service endpoint org.apache.chemistry.opencmis.server.impl.webservices.RepositoryService is requesting the same URL pattern.
   at org.jboss.as.webservices.metadata.model.AbstractDeployment.addEndpoint(AbstractDeployment.java:60)
   at org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint(JAXWSDeployment.java:27)
   at org.jboss.as.webservices.deployers.WSIntegrationProcessorJAXWS_POJO.processAnnotation(WSIntegrationProcessorJAXWS_POJO.java:94)
   at org.jboss.as.webservices.deployers.AbstractIntegrationProcessorJAXWS.deploy(AbstractIntegrationProcessorJAXWS.java:87)
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
   … 5 more

10:48:12,255 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "alfresco.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"alfresco.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"alfresco.war\".PARSE: Failed to process phase PARSE of deployment \"alfresco.war\""}}
10:48:12,346 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment alfresco.war in 90ms


..Also, just above this error, I get many WARN messages like the below (not sure if they are at all related):


10:48:12,136 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry wstx-asl.jar in "/srv/jboss-as-7.1.1.Final/standalone/deployments/alfresco.war/WEB-INF/lib/jibx-run.jar"  does not point to a valid jar for a Class-Path reference.
10:48:12,140 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry jcifs.jar in "/srv/jboss-as-7.1.1.Final/standalone/deployments/alfresco.war/WEB-INF/lib/jtds-1.2.5.jar"  does not point to a valid jar for a Class-Path reference.


Has anyone successfully deployed Alfresco 4.2.c to a JBoss server?

Any suggestions for fixing the above issue?
16 REPLIES 16

laurent_bauchau
Champ in-the-making
Champ in-the-making
delete …/standalone/data/wsdl/<YOUR_PROJECT.WAR>…

gangadharjwala
Champ in-the-making
Champ in-the-making
Hi All,

I have deployed my alfersco.war and share.war file in jboss-eap-6 successfully,but here after deployment
i am not able to getting application logs on jboss.

Can any one help me out how can i get alfresco application logs on jboss-eap-6.

check this post <a href="http://muhammadkhojaye.blogspot.com/2014/01/jboss-deployment-war-error-on-startup.html">Jboss eap error</a>. Might be this helpful.

I had spent couple of weeks for exploring configuration of alfresco with Jboss EAP 6.1 but not yet succeed now i have just read that you had achieved that task already so can you share that configuration with me. i will be very much thank full to you. my email address is khateeb87@hotmail.com.
thanks
khateeb..

sandeepsharma
Champ in-the-making
Champ in-the-making
Delete your tmp and data folder of your jboss. Also check out <a href="http://muhammadkhojaye.blogspot.com/2014/01/jboss-deployment-war-error-on-startup.html">Jboss war error</a> for more help. May be this help.

gangadharjwala
Champ in-the-making
Champ in-the-making
Hi all,

when i deployed the alfresco.war file in Gatein3.3.o.GA-jbossas7 i am getting the below ERROR.But when i tried the same thing on JBOSS-EAP-6 it is working fine.

can any one help me out how can i fix this ERROR on GateIn 3.3.0-jboss-as7 .

Below is the ERROR i am getting while placing the alfresco.war file in GateIn3.3.0-jbossas7.(i have commented the webservice subsystem in standalone.xml file)


15:42:13,564 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry ridl.jar in "/content/alfresco.war/WEB-INF/lib/openoffice-jurt-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
15:42:13,564 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry unoloader.jar in "/content/alfresco.war/WEB-INF/lib/openoffice-jurt-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
15:42:21,955 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."alfresco.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."alfresco.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "alfresco.war"
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
   at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file
   at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116) [jboss-vfs-3.1.0.Final.jar:3.1.0.Final]
   at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122) [jboss-vfs-3.1.0.Final.jar:3.1.0.Final]
   at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110) [jboss-vfs-3.1.0.Final.jar:3.1.0.Final]
   at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.createAdditionalModule(ManifestClassPathProcessor.java:193) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.handlingExistingClassPathEntry(ManifestClassPathProcessor.java:185) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.deploy(ManifestClassPathProcessor.java:162) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
   … 5 more

15:42:21,959 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "alfresco.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"alfresco.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"alfresco.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"alfresco.war\""}}
15:42:21,959 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment alfresco.war in 0ms
15:42:21,961 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."alfresco.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."alfresco.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "alfresco.war"

15:42:21,962 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"alfresco.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"alfresco.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"alfresco.war\""}}}}

khateeb
Champ in-the-making
Champ in-the-making
i am facing following error when i had configured jboss-eap-6.1.. please help me..
18:53:32,287 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."alfresco.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."alfresco.war".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "alfresco.war"
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
   at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018746: Sub deployment share.war in jboss-deployment-structure.xml was not found. Available sub deployments:
   at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.subDeploymentNotFound(DeploymentStructureDescriptorParser.java:275) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
   at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:184) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]