[jboss-user] [EJB 3.0] - JBoss 5 deployement problem

Hatem1982 do-not-reply at jboss.com
Sun Dec 28 13:41:25 EST 2008


Hi all,
I am trying to deploy JEE application using JBOSS 5 GA. Under JBoss 4.x.x the application works fine but under JBoss 5 GA I get the following error in the server log:



*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
  | 
  | jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3
  |  -> <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3>{Described:** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **}
  | 
  | jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3
  |  -> <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3>{Described:** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **}
  | 
  | persistence.unit:unitName=#StudProject
  |  -> jboss.jca:name=studProjectDS
  | 		,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=studProjectDS
  | 		,service=DataSourceBinding' **}
  | 
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | jboss.jca:name=studProjectDS
  | 		,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=studProjectDS
  | 		,service=DataSourceBinding' **
  | 
  | <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3> -> ** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **
  | 
  | <UNKNOWN jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3> -> ** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **
  | 
  | 
  | 	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:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | 	at java.lang.Thread.run(Thread.java:619)
  | 

I searched the forum and found the same problem in another thread (using another JBoss version) and tried all the sugessted solutions but I still have the same problem.

Thanks in advance for any help

Hatem

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

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



More information about the jboss-user mailing list