ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Problem Solved: Re: iBatis in a standalone (JUnit) application - NoInitialContext err
Date Wed, 28 Sep 2005 03:49:16 GMT
You are absolutely right. I did have an entry for JNDI. I added the 
context for the standalone unit test application in my web application's 
dao.xml. I'll try using a separate configuration file for my unit test 



Michael Campbell wrote:
> On 9/27/05, Richard Yee <ryee@cruzio.com> wrote:
>> Michael,
>> thanks for replying. However, no, we are not using Spring. Just a class
>> that extends JUnit TestCase.
> Are you ABSOLUTELY sure you don't have another config file out there
> with JNDI listed?  I don't know what it defaults to if it can't find
> ANY config, so also check that it's finding the file you think it is.

View raw message