ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Zhu <scott...@gmail.com>
Subject Re: jndi setup
Date Wed, 02 Mar 2005 16:01:01 GMT
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
<colinwilliams007@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
>

Mime
View raw message