[jboss-user] [Installation, Configuration & DEPLOYMENT] - UNRESOLVED Demands persistence.unit:unitName

cpt.byte do-not-reply at jboss.com
Wed Jan 28 09:44:14 EST 2009


When i try to deploy my "little test-application" (name PBWL) i got the following error:

15:33:56,675 WARN  [HDScanner] Failed to process changes
  | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
  | 
  | jboss.j2ee:ear=PBWL-ear.ear,jar=PBWL-ejb.jar,name=ManagerImpl,service=EJB3
  |  -> <UNKNOWN jboss.j2ee:ear=PBWL-ear.ear,jar=PBWL-ejb.jar,name=ManagerImpl,service=EJB3>{Described:** UNRESOLVED Demands 'persistence.unit:unitName=PBWL-ear.ear/PBWL-ejb.jar#PBWL' **}
  | 
  | persistence.unit:unitName=PBWL-ear.ear/PBWL-ejb.jar#PBWL
  |  -> jboss.jca:name=PBWLDatasource,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=PBWLDatasource,service=DataSourceBinding' **}
  | 
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | jboss.jca:name=PBWLDatasource,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=PBWLDatasource,service=DataSourceBinding' **
  | 
  | <UNKNOWN jboss.j2ee:ear=PBWL-ear.ear,jar=PBWL-ejb.jar,name=ManagerImpl,service=EJB3> -> ** UNRESOLVED Demands 'persistence.unit:unitName=PBWL-ear.ear/PBWL-ejb.jar#PBWL' **
  | 
  | 
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:665)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
  | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  | 	at java.lang.Thread.run(Thread.java:636)

I don't know what i did wrong or better say what i've done. First it worked, then i got exception that a EJB was not found and now i got this error. I already tried to remove the complemte project from deploy and restart a blank server without any success.

My config: JBoss 5.0.0.GA, JBoss Seam 2.1.1.GA, Eclipse 3.4.1 with JBoss Tools. All on Ubunutu ;)

Hope someone can help me.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205264#4205264

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205264



More information about the jboss-user mailing list