I used to user weblogic as my company's app server.
I'm trying to migrate all the web app to jboss. My problem is to configure the datasource. My configuration file is as follow:
<no-tx-datasource>
<jndi-name>devConAdmin</jndi-name>
<connection-url>jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:ABCABC</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<connection-property name="dll">ocijdbc9</connection-property>
<connection-property name="protocol">thin</connection-property>
<user-name>ispadm</user-name>
ispadm
<min-pool-size>5</min-pool-size>
<max-pool-size>10</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
</no-tx-datasource>
When I try to run any code that need to use connection pool I got the following message: Error: javax.naming.NameNotFoundException: devConAdmin not bound
What else do I need do???
PS.: I'm using Jboss 3.2.2 with tomcat
Code in or outside of the app server?
See the JNDIView MBean in the jmx-console to make sure your datasource is correctly deployed and bound to the naming service.
-- Juha