Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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