Problem deploying EAR file and Data Source in JBoss EAP 6.0.1 GA
madhusudhanraju_26 May 6, 2013 5:43 AMHi,
I'm trying to migrate from Jboss EAP 5.1 to 6.0.1 version. i was able to run the Jboss as a service in the server, while deploying the Ear file (WAR within EAR file) it is throwing out errors...
As per Jboss installation/admin guide,
- Placed the ear file in jboss_home/standalone/deployments folder
- Configured data source in the Standalone.xml file also I have placed sqljdbc4.jar and module.xml file in the modules directory.
After starting the Jboss, am getting the following error in the server log file.
03:20:25,550 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.0.0.1:4447 03:20:25,555 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 127.0.0.1:9999 03:20:25,563 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of " project.ear" 03:20:25,568 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory A:\ServerName\jboss-6.01\standalone\deployments 03:20:26,312 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "projectWeb.war" 03:20:26,417 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."project.ear"."projectWeb.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."swstore.ear"."swstoreWeb.war".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment " projectWeb.war " of deployment " project.ear " at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_41] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_41] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_41] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/A:/ServerName/jboss-6.01/bin/content/project.ear/projectWeb.war/WEB-INF/jboss-web.xml" at [8,2] at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:79) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4] ... 5 more Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[8,2] Message: Unexpected element 'depends' encountered at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109) at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:212) at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:71) ... 6 more
03:20:26,830 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed " project.ear" 03:20:26,832 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies: service jboss.jdbc-driver.sqlserver (missing) dependents: [service jboss.data-source.java:jboss/datasources/swstore] JBAS014777: Services which failed to start: service jboss.deployment.subunit." project.ear"."projectWeb.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit." project.ear "."projectWeb.war".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "projectWeb.war" of deployment " project.ear " |
Note: The EAR file contains WAR file in it and a JAR file...