Ido Barash [http://community.jboss.org/people/ibarash] created the discussion
"persistence unit Exception while publishing (Jboss AS7 and OpenJPA)" To view the discussion, visit: http://community.jboss.org/message/619155#619155 -------------------------------------------------------------- Hello, I am new to JBoss, and I just installed the new AS7. I am using Java 1.6, and OpenJPA 2.1 I managed to define my data-source, connected it with my jndi, everything looks fine. When I try to publish, I get the following exeption: 16:27:32,333 ERROR org.jboss.msc.service.fail org.jboss.msc.service.fail (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."advisor-server.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."advisor-server.war".INSTALL: Failed to process phase INSTALL of deployment "advisor-server.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) http://community.jboss.org/message/619155#619155#619155/:1.6.0_24 persistence unit Exception while publishing (Jboss AS7 and OpenJPA) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) http://community.jboss.org/message/619155#619155#619155/:1.6.0_24 persistence unit Exception while publishing (Jboss AS7 and OpenJPA) at java.lang.Thread.run(Thread.java:662) http://community.jboss.org/message/619155#619155#619155/:1.6.0_24 persistence unit Exception while publishing (Jboss AS7 and OpenJPA) Caused by: java.lang.NullPointerException at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addProviderProperties(PersistenceUnitDeploymentProcessor.java:346) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:253) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:164) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:94) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) I put openjpa-all-2.1.0.jar in standalone\lib folder. my persistence.xml (located at the META-INF): Can you please help me? -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/619155#619155] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user