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_JBosshttp://fromerick.blogspot.com/2011/12/alfresco-community-edition-40b-install.htmlI 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?