ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dionisio Egiluz Ruiz de Zárate <dioni...@tinieblas.com>
Subject help me to connect ibatis to one jndi name (connection pool)
Date Tue, 06 Sep 2005 19:58:49 GMT

i am ttring to configure ibatis for using one connection pool configured 
into my websphere
i have one jndi name (jdbc/dsDIT) and for connect i have into the ibatins 
conf file (SqlMapConfig.xml) this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMapConfig
PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
 <typeAlias alias="order" type="testdomain.Order" />
 <transactionManager type="JDBC">
  <dataSource type="JNDI">
   <property name="DataSource" value="java:comp/env/jdbc/jdbc/dsDIT" />
 <sqlMap resource="DITT01CATEGORIAS.xml"/>

but when i test the conection i recibed one exception (initial context 
i think that it doesn't find the jndi name but i have configure it.

Can you help me?


View raw message