RE: iBATIS + Geronimo [signed]

2005-11-29 Thread Michael Laccetti [c]
Yep, I'm testing it in the web container, using Struts.  The initial iBATIS configuration is loaded via a Struts plugin, which is why I know it is broken.  :)  I checked another sample (http://db.apache.org/derby/integrate/JPetStoreGeronimo.html), only those evil evil folks used a simple conn

Re: iBATIS + Geronimo [signed]

2005-11-29 Thread Jeff Butler
Hmmm I'm about out of ideas   1. Not to insult your intelligence, but you are testing this in some kind of servlet or JSP or other web method - right?  This would not work outside of Geronimo's web container unless you set up the context factory and provider URL manually.   2. Since you di

RE: iBATIS + Geronimo [signed]

2005-11-28 Thread Michael Laccetti [c]
I followed that page to the letter.  I know that it picks up the data source, because originally there was a problem with the deployment not seeing it.  The specific issue seems to be trying to get the initial context in iBATIS.  It seems to come back as empty. From: Jeff Butler [mailto:[E

Re: iBATIS + Geronimo [signed]

2005-11-28 Thread Jeff Butler
I am not a user of Geronimo, so my help may be somewhat limited.  However, I found this page:   http://chariotsolutions.com/geronimo/database-mapping.html   Whch seems to lay out the steps pretty clearly:   1. Configure the pool in Geronimo 2. Configure the reference in web.xml 3. Configure the ref

RE: iBATIS + Geronimo [signed]

2005-11-28 Thread Michael Laccetti [c]
Yeah, I have also tried that.  I've done a whole bunch of things, including hacking apart the iBATIS source to see how it's going about getting a context.  Nothing strange, does the regular new InitialContext(), and then performs a lookup.  Any other ideas? From: Jeff Butler [mailto:[EMAIL

Re: iBATIS + Geronimo [signed]

2005-11-28 Thread Jeff Butler
Do you have a data source reference configured?  If so, maybe this will work:   (BTW - "DataSource" is the preferred property now for the JNDI datasource)             Jeff Butler  On 11/27/05, Michael Laccetti [c] <[EMAIL PROTECTED]> wrote: Has anybody used iBATIS with Geronimo?  I've managed to