8 Replies Latest reply: Jan 15, 2010 6:17 AM by Adrian Brock RSS

How to configure oracle ds in jboss to support os user

P F Newbie

Hi,

 

Does anyone know how to configure datasource file (oracledb-ds.xml) for Oracle database that JBoss could use OS user to access database (on Windows OS)?

 

I've tried something like this:

 

<datasources>
  <local-tx-datasource>
    <jndi-name>OracleDB</jndi-name>
    <connection-url>jdbc:oracle:thin:@dbs1:1521:dbname</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>osuser</user-name>
    <password></password>
...

 

but doesn't work...

 

Thanks,

Pawel