Hello,
Actuallly i have the same problem, i spent a week trying to make it work but no way!!
I need to define a new oracle datasource, i am using Oracle 11g ,
Jboss 5.1
My oracle-ds.xml
My persistence.xml
when i deploy my
ejb project on jboss i get these errors,
2012-05-24 15:37:07,908 INFO [org.jboss.jpa.deployment.PersistenceUnitDeployment] (main) Starting persistence unit persistence.unit:unitName=#TEST
2012-05-24 15:37:07,908 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=persistence.unit:unitName=#TESTstate=Create
javax.naming.NameNotFoundException: OracleDS not bound
Hello,
Actuallly i have the same problem, i spent a week trying to make it work but no way!!
I need to define a new oracle datasource, i am using Oracle 11g , Jboss 5.1
My oracle-ds.xml
My persistence.xml
when i deploy my ejb project on jboss i get these errors,
2012-05-24 15:37:07,908 INFO [org.jboss.jpa.deployment.PersistenceUnitDeployment] (main) Starting persistence unit persistence.unit:unitName=#Test
2012-05-24 15:37:07,908 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=persistence.unit:unitName=#Teststate=Create
javax.naming.NameNotFoundException: OracleDS not bound
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss.j2ee:jar=Testing.jar,name=TotoBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:jar=Testing.jar,name=TotoBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=#Test' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN jboss.j2ee:jar=Testing.jar,name=TotoBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=#Test' **
Deployment "persistence.unit:unitName=#Test" is in error due to the following reason(s): javax.naming.NameNotFoundException: OracleDS not bound
but in the JMX console i can see my beans!
Please can anyone help me, i really need it :s ???