Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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:

share|improve this answer

Your Answer


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.