JBoss Community

Re: how can i connect my jboss pool connection with spring web framework

created by jeppy suparto in Datasource Configuration - View the full discussion

in my webcontent\WEB-INF\classes

 

i create datasource.xml

with the below content

<jee:jndi-lookup id="dataSource" jndi-name="java:jdbc/ics" />

 

where the jndi name is same with the oracle-ds.xml plus "java:" prefix

 

so if the your jndi name inside oracle-ds.xml like the following

<jndi-name>jdbc/jeppy</jndi-name>

 

then jndi name for your datasource.xml will become like

 

<jee:jndi-lookup id="dataSource" jndi-name="java:jdbc/jeppy" />

 

hope that's help

 

Regards,

 

Jeppy Suparto

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community