Announcement Announcement Module
Collapse
No announcement yet.
Spring with JNDI connection pooling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring with JNDI connection pooling

    Hi all,

    Can somebody tell me how I can make the pool of connections with JNDI.

    I have donw it with dbcp but can not do it with JNDI.

    I have copied the jboss-web.xml file in WEB-INF folder ,oracle-ds.xml in deploy directory and made proper connetion in web.xml also.

    But how to let know Spring with the applicationContext.xml file that I am using JNDI ?.

    Please help.

    Kousik

  • #2
    with something like this

    Code:
    <jee:jndi-lookup id="dataSource" jndi-name="jdbc/dataSourceName" />

    Comment

    Working...
    X