JBoss Community

Jboss 7.1.1 problem

created by eramesh.java in JBoss Tools - View the full discussion

Hi,

 

In my eclipse I am getting the below error message.

 

---------------

 

18:51:41,463 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for pricingEE

18:51:41,463 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for pricingRMSEE

18:51:41,463 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for pricingRMSMI

18:51:41,463 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for pricingRMSPFEE

18:51:41,463 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for pricingRMSRDMEE

18:51:41,463 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for pricingRMSWEBEE

18:51:41,901 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."ML-PricingEAR.ear".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."ML-PricingEAR.ear".DEPENDENCIES: Failed to process phase DEPENDENCIES of deployment "ML-PricingEAR.ear"

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$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 6 persistence unit definitions in application deployment "ML-PricingEAR.ear". Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.

----------------------------------------

 

Please advise!

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community