Image

DataSource question

I get the following message when I run my application:

[5/24/05 10:59:00:721 EDT] 0000002a ConnectionFac W J2CA0294W: Deprecated usage of direct JNDI lookup of resource jdbc/ds1. The following default values are used: [Resource-ref settings]

res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
loginConfigurationName: null
loginConfigProperties: null
[Other attributes]

res-resolution-control: 999 (undefined)
isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)

The line of code I use is
DataSource ds = (DataSource) ctx.lookup("jdbc/ds1");

I tried to search the web for this problem but I can't seem to get a clear answer. Anyone have any ideas?

As always, thanks!