[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss 5.x deploy problem

zlatko.josic@gmail.com do-not-reply at jboss.com
Wed Mar 4 11:04:56 EST 2009


Hi,

I user jboss 5 and  have problem with persistence.xml deploy . 
Persistence.xml uses OracleDS that is deployed, I can see it in jmx-console. 

I allways got this message :

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "persistence.unit:unitName=#ModuleAdmCbPersistence" is missing the following dependencies:
    Dependency "jboss.jca:name=
      java:/OracleDS
    ,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=
      java:/OracleDS
    ,service=DataSourceBinding' **")

DEPLOYMENTS IN ERROR:
  Deployment "jboss.jca:name=
      java:/OracleDS
    ,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=
      java:/OracleDS
    ,service=DataSourceBinding' **




This is part of persistence.xml file

 <persistence-unit name="ModuleAdmCbPersistence" transaction-type="JTA">
 org.hibernate.ejb.HibernatePersistence 
    <jta-data-source>
      java:/OracleDS
    </jta-data-source>    
</persistence-unit>

and this is oracle-ds.xml file


      	<local-tx-datasource>

		<!-- The jndi name of the DataSource, it is prefixed with java:/ -->
		<!-- Datasources are not available outside the virtual machine -->
		<jndi-name>comp/env/jdbc/OracleDS</jndi-name>
		<connection-url>jdbc:oracle:thin:@localhost:1521:XE</connection-url>

		<!-- The driver class -->
		<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
		<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 
		</exception-sorter-class-name> 
 
		<!-- The login and password -->
		<user-name>zlaja</user-name>
		zlaja!

	</local-tx-datasource>




Thanks

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

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



More information about the jboss-user mailing list