Upgrade to Intellij 11.1.2 -- deployment stopped working

After upgrading to v. 11.1.2 my EAR stopped deploying properly to JBoss AS 7.1.1.FINAL.  The server log is saying the following:

Configuration Error: deployment source 'Patrac-ear:ear exploded' is not valid

I have made no changes to the EAR or the configuration within Intellij.  The only difference is that I upgraded to v. 11.1.2

6 comments
Comment actions Permalink

Under Project Structure --> Project Settings --> Artifacts

there is an error message as follows:

"Artifact 'Patrac-ear:ear': library 'Tomcat 7.0.26' required for module 'Patrac-ejb' is missing from the artifact"


I'm not quite sure why Intellij seems to think I need the 'Tomcat 7.0.26' but since I'm deploying to JBoss 7.1.1.FINAL I am assuming that I can simply fix the problem by changing Tomcat 7.0.26 scope to provided.  Such, does not work.

I'm deploying an EAR and nothing should be deployed as exploded.  Why is Intellij trying to deploy exploded artifacts all of the sudden?

0
Comment actions Permalink

The server log shows a warning followed by an error:

F:\jboss-as-7.1.1.Final\bin\standalone.bat


Calling "F:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: F:\jboss-as-7.1.1.Final

  JAVA: C:\Program Files\Java\jdk1.7.0_03\bin\java

  JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

===============================================================================

[2012-05-28 07:35:29,805] Artifact Patrac-ear:ear: Server is not connected. Press 'Deploy' to start deployment.
19:35:30,204 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
19:35:30,428 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
19:35:30,488 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
19:35:31,637 INFO  [org.xnio] XNIO Version 3.0.3.GA
19:35:31,644 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
19:35:31,659 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
19:35:31,670 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
19:35:31,703 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
19:35:31,716 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
19:35:31,728 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
19:35:31,730 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 27) JBAS016200: Activating ConfigAdmin Subsystem
19:35:31,759 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011940: Activating OSGi Subsystem
19:35:31,771 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013101: Activating Security Subsystem
19:35:31,774 INFO  [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
19:35:31,827 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
19:35:31,839 INFO  [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.7.Final
19:35:31,971 INFO  [org.jboss.as.naming] (MSC service thread 1-7) JBAS011802: Starting Naming Service
19:35:31,978 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:/Mail]
19:35:32,010 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
19:35:32,038 INFO  [org.jboss.jaxr] (MSC service thread 1-7) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
19:35:32,445 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA
19:35:33,204 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:4447
19:35:33,339 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
19:35:33,343 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
19:35:33,374 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:9999
19:35:33,411 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
19:35:33,451 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
19:35:33,572 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
19:35:33,754 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
19:35:33,808 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:/postgresdb]
19:35:33,864 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
19:35:34,028 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
19:35:34,030 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4144ms - Started 162 of 240 services (76 services are passive or on-demand)
Connected to server
[2012-05-28 07:35:35,043] Artifact Patrac-ear:ear: Artifact is being deployed, please wait...
19:35:35,207 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "Patrac.ear"
19:35:35,618 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "Patrac-web-1.0.war"
19:35:35,618 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "Patrac-ejb-1.0.jar"
19:35:36,510 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider' for service type 'com.sun.faces.spi.injectionprovider'
19:35:36,678 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for primary
19:35:36,678 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for primary
19:35:36,697 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."Patrac.ear"."Patrac-web-1.0.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-web-1.0.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web-1.0.war" of deployment "Patrac.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

19:35:36,701 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb-1.0.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb-1.0.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb-1.0.jar" of deployment "Patrac.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

19:35:36,938 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS015870: Deploy of deployment "Patrac.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-web-1.0.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-web-1.0.war\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-web-1.0.war\" of deployment \"Patrac.ear\"","jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-ejb-1.0.jar\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-ejb-1.0.jar\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-ejb-1.0.jar\" of deployment \"Patrac.ear\""}}
19:35:36,985 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment Patrac-ejb-1.0.jar in 24ms
19:35:37,075 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment Patrac-web-1.0.war in 114ms
19:35:37,081 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment Patrac.ear in 122ms
19:35:37,084 INFO  [org.jboss.as.controller] (management-handler-thread - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."Patrac.ear"."Patrac-web-1.0.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-web-1.0.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web-1.0.war" of deployment "Patrac.ear"
      service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb-1.0.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb-1.0.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb-1.0.jar" of deployment "Patrac.ear"

[2012-05-28 07:35:37,210] Artifact Patrac-ear:ear: Error during artifact deployment. See server log for details.
0
Comment actions Permalink

Please check that artifacts to be deployed are configured properly on the 'Deployment' tab of the configuration. It may help if you remove all
artifacts selected for deployment from the list and then add them again.

--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

"Deployment" tab?  I don't know what you are referring to..  I go to Project Structure --> Project Settings --> Artifacts to check artifacts.

And, yes, I've removed all of the artifacts and add them again.  And again.  And again.  I've tried both exploded and archive.  I made sure to add my manifest to the WAR, so that it can see Patrac-ejb.jar in its classpath.  Everything was fine before I upgraded to v. 11.1.2.  Now, it's not working.

I've noticed that when configuring the EAR, Patrac-ear, I drag the archive 'Patrac-ejb' from "Available Elements" over to the Patrac-ear archive and an error message appears as follows:

"Artifact 'Patrac-ear': library 'Tomcat 7.0.26' required for module 'Patrac-ejb' is missing form the artifact"

I've never had this error message before.  I'm using JBoss AS 7, and any JARs from global libraries, such as Tomcat 7.0.26, should be provided by JBoss.

When I click on the "Patrac-ejb.jar" archive, look at its "Available Elements," and drill down into the Patrac-ejb folder, I do see a subtree labeled "Tomcat 7.0.26 (Global Library)."  I don't recall ever seeing this before the upgrade to v. 11.1.2.  Now, trying to add the "Tomcat 7.0.26" to the artifact or clicking on "Change Tomcat 7.0.26 scope to provided" does not help matters at all.

When I attempt to run the EAR, I get the following output, which tells me to "See server log for details," but the server log is very brief and provides no warnings or errors.


Here, is the output from IntelliJ


F:\jboss-as-7.1.1.Final\bin\standalone.bat
Calling "F:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: F:\jboss-as-7.1.1.Final

  JAVA: C:\Program Files\Java\jdk1.7.0_03\bin\java

  JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

===============================================================================

Configuration Error: deployment source 'Patrac-ear:ear' is not valid
[2012-05-29 11:49:40,895] Artifact Patrac-ear:ear: Error during artifact deployment. See server log for details.
11:49:41,239 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
11:49:41,473 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
11:49:41,533 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
11:49:42,721 INFO  [org.xnio] XNIO Version 3.0.3.GA
11:49:42,725 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
11:49:42,743 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
11:49:42,756 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
11:49:42,781 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
11:49:42,787 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 27) JBAS016200: Activating ConfigAdmin Subsystem
11:49:42,851 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
11:49:42,884 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
11:49:42,886 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013101: Activating Security Subsystem
11:49:42,908 INFO  [org.jboss.as.security] (MSC service thread 1-5) JBAS013100: Current PicketBox version=4.0.7.Final
11:49:42,909 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
11:49:42,911 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011940: Activating OSGi Subsystem
11:49:42,975 INFO  [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
11:49:43,102 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
11:49:43,160 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
11:49:43,169 INFO  [org.jboss.jaxr] (MSC service thread 1-2) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
11:49:43,219 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:/Mail]
11:49:43,428 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA
11:49:44,295 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
11:49:44,296 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
11:49:44,391 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
11:49:44,401 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-8) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
11:49:44,412 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999
11:49:44,419 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:4447
11:49:44,556 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
11:49:44,712 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
11:49:44,718 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:/postgresdb]
11:49:44,740 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
11:49:44,832 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
11:49:44,834 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 3899ms - Started 162 of 240 services (76 services are passive or on-demand)
Connected to server
Configuration Error: deployment source 'Patrac-ear:ear' is not valid
[2012-05-29 11:49:45,559] Artifact Patrac-ear:ear: Error during artifact deployment. See server log for details.
Configuration Error: deployment source 'Patrac-ear:ear' is not valid
[2012-05-29 11:49:45,560] Artifact Patrac-ear:ear: Error during artifact deployment. See server log for details.


Here is the output from server.log:

11:44:32,409 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
11:44:32,427 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
11:44:32,406 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 3.2.3.GA
11:44:32,491 INFO  [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
11:44:32,726 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
11:44:32,956 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:/Mail]
11:44:32,977 INFO  [org.jboss.jaxr] (MSC service thread 1-2) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
11:44:33,443 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
11:44:33,566 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:4447
11:44:34,705 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA
11:44:34,848 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
11:44:35,044 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
11:44:35,638 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999
11:44:35,664 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
11:44:35,673 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
11:44:36,271 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
11:44:36,349 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
11:44:36,365 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/postgresdb]
11:44:36,370 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
11:44:36,526 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
11:44:36,527 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 8440ms - Started 162 of 240 services (76 services are passive or on-demand)
11:49:39,075 INFO  [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011942: Stopping OSGi Framework
11:49:42,787 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 27) JBAS016200: Activating ConfigAdmin Subsystem
11:49:42,851 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
11:49:42,884 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
11:49:42,886 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013101: Activating Security Subsystem
11:49:42,908 INFO  [org.jboss.as.security] (MSC service thread 1-5) JBAS013100: Current PicketBox version=4.0.7.Final
11:49:42,909 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
11:49:42,911 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011940: Activating OSGi Subsystem
11:49:42,975 INFO  [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
11:49:43,102 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
11:49:43,160 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
11:49:43,169 INFO  [org.jboss.jaxr] (MSC service thread 1-2) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
11:49:43,219 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:/Mail]
11:49:43,428 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA
11:49:44,296 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
11:49:44,295 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
11:49:44,391 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
11:49:44,401 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-8) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
11:49:44,412 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999
11:49:44,419 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:4447
11:49:44,556 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
11:49:44,712 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
11:49:44,718 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:/postgresdb]
11:49:44,740 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
11:49:44,832 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
11:49:44,834 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 3899ms - Started 162 of 240 services (76 services are passive or on-demand)

0
Comment actions Permalink

Attempting to deploy the EAR, Patrac.ear, via the JBoss Management console results in the following output in server.log:

12:35:10,885 INFO  [org.jboss.as.osgi] (MSC service thread 1-5) JBAS011942: Stopping OSGi Framework


12:35:14,361 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
12:35:14,383 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
12:35:14,389 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011940: Activating OSGi Subsystem
12:35:14,385 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013101: Activating Security Subsystem
12:35:14,411 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
12:35:14,428 INFO  [org.jboss.as.security] (MSC service thread 1-7) JBAS013100: Current PicketBox version=4.0.7.Final
12:35:14,469 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
12:35:14,473 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 27) JBAS016200: Activating ConfigAdmin Subsystem
12:35:14,589 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
12:35:14,606 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:/Mail]
12:35:14,812 INFO  [org.jboss.jaxr] (MSC service thread 1-1) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
12:35:14,854 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
12:35:15,690 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA
12:35:15,939 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:4447
12:35:15,960 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
12:35:15,962 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
12:35:15,963 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
12:35:15,988 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
12:35:16,302 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
12:35:16,316 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
12:35:16,327 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:9999
12:35:16,365 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:/postgresdb]
12:35:16,513 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
12:35:16,741 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
12:35:16,743 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4199ms - Started 162 of 240 services (76 services are passive or on-demand)
12:37:36,328 INFO  [org.jboss.as.repository] (HttpManagementService-threads - 1) JBAS014901: Content removed from location F:\jboss-as-7.1.1.Final\standalone\data\content\d2\bd5541005f595893b722d880f4eee114f6c541\content
12:37:47,666 INFO  [org.jboss.as.repository] (HttpManagementService-threads - 1) JBAS014900: Content added at location F:\jboss-as-7.1.1.Final\standalone\data\content\86\88ffc86d2da70835cd5884e6ef0a283c0bf799\content
12:38:10,049 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "Patrac.ear"
12:38:10,868 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "Patrac-web.war"
12:38:10,872 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "Patrac-ejb.jar"
12:38:11,368 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider' for service type 'com.sun.faces.spi.injectionprovider'
12:38:11,442 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider' for service type 'com.sun.faces.spi.injectionprovider'
12:38:11,586 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for primary
12:38:11,598 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for primary
12:38:11,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.subunit."Patrac.ear"."Patrac-web.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-web.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web.war" of deployment "Patrac.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

12:38:11,612 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb.jar" of deployment "Patrac.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

12:38:11,849 INFO  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015870: Deploy of deployment "Patrac.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-web.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-web.war\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-web.war\" of deployment \"Patrac.ear\"","jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-ejb.jar\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac.ear\".\"Patrac-ejb.jar\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-ejb.jar\" of deployment \"Patrac.ear\""}}
12:38:11,873 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment Patrac-ejb.jar in 21ms
12:38:11,971 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment Patrac-web.war in 120ms
12:38:11,982 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment Patrac.ear in 131ms
12:38:11,985 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 1) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."Patrac.ear"."Patrac-web.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-web.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web.war" of deployment "Patrac.ear"
      service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac.ear"."Patrac-ejb.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb.jar" of deployment "Patrac.ear"
0
Comment actions Permalink

Okay, I finally figured out what configuration you were referring to.  I found a Deployment tab in Run/Debug Configurations of the server.  I removed the old entry, Patrac-ear, which seemed to have it's icon removed, and added Patrac-ear back again, and this time it had a colorful icon next to it.  After attempting to rebuild and redeploy, the server output changed to the following:

F:\jboss-as-7.1.1.Final\bin\standalone.bat
Calling "F:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: F:\jboss-as-7.1.1.Final

  JAVA: C:\Program Files\Java\jdk1.7.0_03\bin\java

  JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

===============================================================================

[2012-05-29 12:53:04,412] Artifact Patrac-ear: Server is not connected. Press 'Deploy' to start deployment.
12:53:04,760 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
12:53:04,986 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
12:53:05,045 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
12:53:06,361 INFO  [org.xnio] XNIO Version 3.0.3.GA
12:53:06,367 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
12:53:06,387 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
12:53:06,401 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
12:53:06,430 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
12:53:06,432 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
12:53:06,484 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
12:53:06,500 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011940: Activating OSGi Subsystem
12:53:06,545 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
12:53:06,550 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013101: Activating Security Subsystem
12:53:06,551 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
12:53:06,555 INFO  [org.jboss.as.security] (MSC service thread 1-5) JBAS013100: Current PicketBox version=4.0.7.Final
12:53:06,613 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
12:53:06,653 INFO  [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
12:53:06,865 INFO  [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service
12:53:06,881 INFO  [org.jboss.jaxr] (MSC service thread 1-3) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
12:53:06,897 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:/Mail]
12:53:07,313 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA
12:53:08,077 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
12:53:08,087 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
12:53:08,165 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:4447
12:53:08,178 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
12:53:08,180 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
12:53:08,182 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999
12:53:08,377 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
12:53:08,539 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
12:53:08,548 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:/postgresdb]
12:53:08,554 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
12:53:08,654 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
12:53:08,655 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4203ms - Started 162 of 240 services (76 services are passive or on-demand)
Connected to server
[2012-05-29 12:53:10,096] Artifact Patrac-ear: Artifact is being deployed, please wait...
12:53:10,238 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "Patrac-ear.ear"
12:53:10,657 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "Patrac-web.war"
12:53:10,657 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "Patrac-ejb.jar"
12:53:11,564 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015893: Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider' for service type 'com.sun.faces.spi.injectionprovider'
12:53:11,743 INFO  [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for primary
12:53:11,744 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for primary
12:53:11,757 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web.war" of deployment "Patrac-ear.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac-ear.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

12:53:11,761 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb.jar" of deployment "Patrac-ear.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac-ear.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

12:53:12,008 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS015870: Deploy of deployment "Patrac-ear.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-web.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-web.war\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-web.war\" of deployment \"Patrac-ear.ear\"","jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-ejb.jar\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-ejb.jar\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-ejb.jar\" of deployment \"Patrac-ear.ear\""}}
12:53:12,033 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment Patrac-ejb.jar in 21ms
12:53:12,128 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment Patrac-web.war in 115ms
12:53:12,132 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment Patrac-ear.ear in 126ms
12:53:12,135 INFO  [org.jboss.as.controller] (management-handler-thread - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web.war" of deployment "Patrac-ear.ear"
      service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb.jar" of deployment "Patrac-ear.ear"

[2012-05-29 12:53:12,236] Artifact Patrac-ear: Error during artifact deployment. See server log for details.


server.log looks like this:

12:53:02,202 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Pausing Coyote HTTP/1.1 on http--127.0.0.1-8080
12:53:02,203 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Stopping Coyote HTTP/1.1 on http--127.0.0.1-8080
12:53:02,209 INFO  [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011942: Stopping OSGi Framework
12:53:02,210 WARN  [org.jboss.remoting.remote] (Remoting "patrick-pc:MANAGEMENT" read-1) JBREM000205: Failed to accept a connection: java.nio.channels.ClosedChannelException
12:53:02,212 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-8) Pausing Coyote HTTP/1.1 on http--127.0.0.1-8443
12:53:02,213 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-8) Stopping Coyote HTTP/1.1 on http--127.0.0.1-8443
12:53:02,213 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
12:53:06,484 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
12:53:06,500 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011940: Activating OSGi Subsystem
12:53:06,545 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
12:53:06,550 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013101: Activating Security Subsystem
12:53:06,551 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
12:53:06,555 INFO  [org.jboss.as.security] (MSC service thread 1-5) JBAS013100: Current PicketBox version=4.0.7.Final
12:53:06,613 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
12:53:06,653 INFO  [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
12:53:06,865 INFO  [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service
12:53:06,881 INFO  [org.jboss.jaxr] (MSC service thread 1-3) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
12:53:06,897 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:/Mail]
12:53:07,313 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA
12:53:08,077 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory F:\jboss-as-7.1.1.Final\standalone\deployments
12:53:08,087 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "postgresql-9.1-901.jdbc4.jar"
12:53:08,165 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:4447
12:53:08,178 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
12:53:08,180 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8443
12:53:08,182 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999
12:53:08,377 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)
12:53:08,539 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
12:53:08,548 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:/postgresdb]
12:53:08,554 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.1-901.jdbc4.jar"
12:53:08,654 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
12:53:08,655 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4203ms - Started 162 of 240 services (76 services are passive or on-demand)
12:53:10,238 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "Patrac-ear.ear"
12:53:10,657 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "Patrac-web.war"
12:53:10,657 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "Patrac-ejb.jar"
12:53:11,564 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015893: Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider' for service type 'com.sun.faces.spi.injectionprovider'
12:53:11,743 INFO  [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for primary
12:53:11,744 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for primary
12:53:11,757 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web.war" of deployment "Patrac-ear.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac-ear.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

12:53:11,761 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb.jar" of deployment "Patrac-ear.ear"
    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:1110) [rt.jar:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: java.lang.IllegalArgumentException: JBAS011470: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment "Patrac-ear.ear".  Either change the application to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.
    at org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:69)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getPersistenceUnit(JPAAnnotationParseProcessor.java:284)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.getBindingSource(JPAAnnotationParseProcessor.java:220)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processField(JPAAnnotationParseProcessor.java:151)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.processPersistenceAnnotations(JPAAnnotationParseProcessor.java:118)
    at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor.deploy(JPAAnnotationParseProcessor.java:90)
    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

12:53:12,008 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS015870: Deploy of deployment "Patrac-ear.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-web.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-web.war\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-web.war\" of deployment \"Patrac-ear.ear\"","jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-ejb.jar\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Patrac-ear.ear\".\"Patrac-ejb.jar\".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment \"Patrac-ejb.jar\" of deployment \"Patrac-ear.ear\""}}
12:53:12,033 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment Patrac-ejb.jar in 21ms
12:53:12,128 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment Patrac-web.war in 115ms
12:53:12,132 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment Patrac-ear.ear in 126ms
12:53:12,135 INFO  [org.jboss.as.controller] (management-handler-thread - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-web.war".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-web.war" of deployment "Patrac-ear.ear"
      service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Patrac-ear.ear"."Patrac-ejb.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of subdeployment "Patrac-ejb.jar" of deployment "Patrac-ear.ear"


The warning about ClosedChannelException was weird and unexpected:

12:53:02,210 WARN  [org.jboss.remoting.remote] (Remoting  "patrick-pc:MANAGEMENT" read-1) JBREM000205: Failed to accept a  connection: java.nio.channels.ClosedChannelException


What is going on here?  Do I need to uninstall Intellij and revert to an earlier version?

0

Please sign in to leave a comment.