Thanks Norman. I can use Oracle9i with JBoss using oracle-ds.xml. It's very 
simple. I wrote it down here so that newbies like me can take a look.

- change oracle-ds.xml and copy the changed version to deploy directory

- set Pad in jboss-service.xml to true

- copy Oracle driver to lib directory

- you should use jbosscmp-jdbc.xml in your ejb jar file so that you can leave 
the standardjbosscmp-jdbc.xml intact.

This is my jbosscmp-jdbc.xml file

  | <!DOCTYPE jbosscmp-jdbc PUBLIC
  |           "-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN"
  |           "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd";>
  | <jbosscmp-jdbc>
  |     <defaults>
  |         <datasource>java:/OracleDS</datasource>
  |         <create-table>true</create-table>
  |         <alter-table>false</alter-table>
  |         <remove-table>false</remove-table>
  |     </defaults>
  |     <enterprise-beans>
  |         <entity>
  | 

<create-table> should be true if you don't have that table already created in 
your database.

Good luck.

Norman, I'll need your advice when I go to oracle-xa-ds.xml. Is that ok?


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

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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to