JBoss 5 deployement problem
hatem1982 Dec 28, 2008 1:41 PMHi 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