Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jboss.org by Unknown author, 1 year ago
JBAS011477: Persistence unit 'module2.ear/ejb.jar#module2-pu' is not available .... (stacktrace) 14:35:58,818 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "module1.ear" (runtime-name: "module1
via jboss.org by Unknown author, 2 years ago
JBAS011477: Persistence unit 'module2.ear/ejb.jar#module2-pu' is not available .... (stacktrace) 14:35:58,818 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "module1.ear" (runtime-name: "module1
via Stack Overflow by FeliX
, 2 years ago
: Read persistence.xml for module1-pu 14:35:59,002 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment module1.ear 14:35:59,005 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 102) JBAS011409: Starting
via jboss.org by Unknown author, 2 years ago
JBAS011477: Persistence unit 'module2.ear/ejb.jar#module2-pu' is not available .... (stacktrace) 14:35:58,818 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "module1.ear" (runtime-name: "module1
via JBoss Issue Tracker by Юрий Витковский, 1 year ago
1-1) WFLYJPA0002: Read persistence.xml for module1-pu 09:11:43,289 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'module1.ear/ejb.jar#module1-pu' 09:11:43,289 INFO
java.lang.IllegalStateException: JBAS014666: Duplicate resource module2.ear/ejb.jar#module2-pu	at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:224)	at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:134)	at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addManagementConsole(PersistenceUnitServiceHandler.java:1077)	at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deployPersistenceUnitPhaseTwo(PersistenceUnitServiceHandler.java:687)	at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:280)	at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleJarDeployment(PersistenceUnitServiceHandler.java:153)	at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:128)	at org.jboss.as.jpa.processor.PersistenceCompleteInstallProcessor.deploy(PersistenceCompleteInstallProcessor.java:55)	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)