ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <eugeny...@jdevelop.com>
Subject JNDI resource configuration (Tomcat 5.0)
Date Wed, 22 Feb 2006 13:58:45 GMT
I seem to miss something - I configured JNDI resource in context like this

<Context path="/myapp">
    <Realm className="org.apache.catalina.realm.JAASRealm" appName="PortalRealm"
    roleClassNames="com.liferay.portal.jaas.PortalRole" debug="99"
    useContextClassLoader="false" />
    <Resource name="jdbc/DBConn" auth="Container" type="javax.sql.DataSource" />
    <ResourceParams name="jdbc/DBConn">





in iBATIS I configured mapping.xml to use it

<transactionManager type="JDBC">
    <dataSource type="JNDI">
	<property name="DataSource" value="java:jdbc/DevCase" />

but application complains about it can't find 'jdbc' resource. Any

Eugene N Dzhurinsky

View raw message