how i can connect jboss with database and how i can configure oracle-ds.xml

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

You need to do only few things:

  1. Go to directory docs/examples/jca (in JBoss) and there you can find oracle-ds.xml file, you can use that file as a template for your configuration.
  2. Copy oracle-ds.xml to your profile directory (for example default).
  3. Edit that file and set up your JDBC connection string.
  4. Copy jar library with Oracle thin database drivers to profle lib directory.
  5. Start your JBoss server.

You can find more information on that subject on JBoss Community Wiki: http://community.jboss.org/wiki/configdatasources.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.