-
1. Re: OracleDS not bound problem. Can you post Oracle-ds.xml?
schmidts Oct 14, 2003 1:24 PM (in response to hakanberlin)What version of JBoss?
Check out docs/examples/jca/. -
2. Re: OracleDS not bound problem. Can you post Oracle-ds.xml?
hakanberlin Oct 14, 2003 3:56 PM (in response to hakanberlin)Thanx for the answer. I use JBoss 3.0.4
I checked this directory. No it is not there.
But actually I don't have the Not Boudn problem anymore.
I use further on the oracle-service.xml
I added the prefix "java:/" to the JNDI Name OracleDS in the <resource-ref>-tag inside the jboss.xml.
Example:
<resource-ref>
<res-ref-name>jdbc/OracleDS</res-ref-name>
<jndi-name>java:/OracleDS</jndi-name>
</resource-ref>
And it works.
But it is not really clear to me why it works now.
Has anybody annotated all the steps from A to Z how to define a DataSource, bind it to a JNDI-Name and reference it from code?
Perhaps any article in this forum? I searched the whole forum for an abstracting article, but could not find anything.