Re: Accessing JNDI data sources...
Ric Turley <[email protected]> Sun, 05 Sep 2004 07:42:41 -0600
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <BD6073F1.5241F%[email protected]> |
Is anyone running EOF without WO in Tomcat? Thanks, Ric Turley Zarac Software Custom Software Development http://www.zarac.com Office: (303) 642-3106 > From: Ric Turley <[email protected]> > Date: Thu, 02 Sep 2004 10:30:17 -0600 > To: <[email protected]> > Subject: Accessing JNDI data sources... > > How do I configure an EOModel to use a Tomcat JNDI data source? > > I am updating a web application to use EOF. The original database > controller class uses javax.sql.DataSources. I first used a model with a > JDBCAdaptor; although I can access model data from EOModeler and by running > the controller class external to Tomcat, when running from the servlet > container, the first JDBCChannel.openChannel() call returns the error "Found > multiple data sources. Please map the EOModels to a data source explicitly!" > It appears the JDBCAdaptor uses javax.naming and any data source in the > java:comp/env/jdbc/ namespace will cause the error. > > On the other hand, I have not found a successful JNDI configuration in > EOModeler. Any experience, knowledge, advice or resources to help in > configuring EOF to run in Tomcat would be greatly appreciated. > > Thanks, > Ric Turley > Zarac Software > Custom Software Development > http://www.zarac.com > Office: (303) 642-3106 > > > _______________________________________________ > EOF mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/eof >