Link to home
Start Free TrialLog in
Avatar of dolphin_g
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:/myDataSourceDS"/>

Defined the data source in the db-ds.xml. It keeps throwing me the JDBC connection not found error.
ASKER CERTIFIED SOLUTION
Avatar of dolphin_g
dolphin_g

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial