You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Colin Williams <co...@gmail.com> on 2005/03/02 16:40:12 UTC
Re: jndi setup
Scott,
our app is running in Websphere, and I dont setup the JNDI datasource
details in the web.xml at all, I just setup the datasource name in my
Ibatis config, and WAS defaults the remaining settings:
ConnectionFac I J2CA0122I: Resource reference jdbc/myDatasource could
not be located, so default values of the following are used:
[Resource-ref settings]
res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
[Other attributes]
isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)
Not sure if you can do the same in WebLogic
Re: jndi setup
Posted by Scott Zhu <sc...@gmail.com>.
Thanks. Websphere is another app. server we support. I just found that
if I just use the datasource name (not include the java:comp/env
part), I can do the same (not changing the web.xml file) also in
weblogic. I wonder if that's what I can expect for all database/OS
combinations.
-Scott
On Wed, 2 Mar 2005 15:40:12 +0000, Colin Williams
<co...@gmail.com> wrote:
> Scott,
>
> our app is running in Websphere, and I dont setup the JNDI datasource
> details in the web.xml at all, I just setup the datasource name in my
> Ibatis config, and WAS defaults the remaining settings:
>
> ConnectionFac I J2CA0122I: Resource reference jdbc/myDatasource could
> not be located, so default values of the following are used:
> [Resource-ref settings]
>
> res-auth: 1 (APPLICATION)
> res-isolation-level: 0 (TRANSACTION_NONE)
> res-sharing-scope: true (SHAREABLE)
> res-resolution-control: 999 (undefined)
> [Other attributes]
>
> isCMP1_x: false (not CMP1.x)
> isJMS: false (not JMS)
>
> Not sure if you can do the same in WebLogic
>