Hi Steve,
I think I am goofing up on the datasource protion. I have followed JBoss getting started 4.0
Chapter 8 Using other datasources in totality. Then I read
www.hibernate.org/66.html and followed it in totality.
when I Bind my Oracle10g datasource I get
20:08:44,460 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=XAOracleDS,service=DataSourceBinding to JNDI name 'java:XAOracleDS'
then I created the jboss-service.xml as per
www.hibernate.org/66.html as
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.hibernate.jmx.HibernateService"
name="jboss.jca:service=HibernateFactory,
name=HibernateFactory">
<depends>jboss.jca:service=RARDeployer</depends>
<!--Make it Deploy ONLY after Datasource has been started-->
<depends>jboss.jca:service=LocalTxCM,name=XAOracleDS</depends>
<attribute name="MapResources">mappings/tb_vou_main.hbm.xml,
mappings/tb_vou_det.hbm.xml</attribute>
<attribute name="JndiName">java:/XAOracleDS</attribute>
<attribute name="Datasource">java:/jdbc/OracleDS</attribute>
<attribute name="Dialect">org.hibernate.dialect.Oracle9Dialect</attribute>
<attribute
name="TransactionStrategy">org.hibernate.transaction.JTATransactionFactory</attribute>
<attribute
name="TransactionManagerLookupStrategy">org.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="CacheProviderClass">org.hibernate.cache.HashtableCacheProvider</attribute>
<attribute name="ShowSqlEnabled">true</attribute>
</mbean>
</server>
the directory structure conforms to the one specified. But I am getting
21:36:26,287 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.jca: name=HibernateFactory,service=HibernateFactory
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployer
jboss.jca:name=XAOracleDS,service=LocalTxCM
Depends On Me:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:name=XAOracleDS,service=LocalTxCM
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.jca: name=HibernateFactory,service=HibernateFactory
Can you please let me know where I am going wrong. Today is the last day and I dont want the next project to start without Hibernate.Pleaseeeeeeeeeeeeeee.
Thanks
Deep