dolphin_g
asked on
JNDI lookup in spring , JBOSS 4.2
I'm trying to lookup a JNDI datasource from my spring classes in aJBOSS 4.2 environment. I'm able to access the datasource from my EJB's.
Spring file:
<jee:jndi-lookup id="dataSource" jndi-name="java:/myDataSou rceDS"/>
Defined the data source in the db-ds.xml. It keeps throwing me the JDBC connection not found error.
Spring file:
<jee:jndi-lookup id="dataSource" jndi-name="java:/myDataSou
Defined the data source in the db-ds.xml. It keeps throwing me the JDBC connection not found error.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.