Re: Database problems
"dbaseiii" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.newbies |
|---|---|
| Message-ID | <[email protected]> |
I was using the interbase that came with wo, I downloaded and tried the microsoft sql server jdbc driver , this also looks like it is working within the modeler but when run from wo has the same error that I reported earlier.. I gotta be missing something ? --- In [email protected], David LeBer <dleber@c...> wrote: > On Feb 16, 2005, at 8:56 PM, dbaseiii wrote: > > > I had the EoModeler setup and checked the set adapter > > settings and it looks correct, I can browse the data > > and everything seems ok within EoModeler however when > > I use it in my wo application I get that error . > > Usually, if the connection dictionary checks out in EOModel, everything > should work. > > Just a thought: What database and platform are you using? > > If it is the stock Openbase installed with WebO on OS X, check with > them (they have a good support mailing list), the license and/or > version may be old and may no longer support WebObjects. > > > > --- In [email protected], Dona Mommsen > > <dona.mommsen@g...> wrote: > >> Hi, > >> > >> have a look in EOModeler for Model -> Set Adapter Info > >> > >> There you have to give the connection information for the database, > >> like Username & Password > >> The rest depends on the database you are using, for example with mySQL > >> the URL would be like: > >> jdbc:mysql://127.0.0.1/name-of-the-database > >> I__ this is address for localhost > >> > >> 'Driver' points to the driver class, for example with mySQL: > >> com.mysql.jdbc.Driver > >> > >> Naturally you need also the JDBC driver somewhere where EO Modeler can > >> find it, I have mine in > >> > >> /Library/Java/Extensions/mysql-connector-java-3.1.6-bin.jar > >> > >> Hope that helps > >> > >> Dona > >> > >> On Feb 16, 2005, at 1:51 PM, dbaseiii wrote: > >> > >>> > >>> > >>> Hello , > >>> > >>> I'm starting with wo and doing some of the tutorials on the > >>> adc , but when I get to the database examples and try to > >>> run them I always get the following error when it tries to > >>> lookup or access the datbase: > >>> Application: test5 > >>> Error: java.lang.IllegalStateException > >>> Reason: _obtainOpenChannel -- > >>> com.webobjects.eoaccess.EODatabaseContext > >>> com.webobjects.eoaccess.EODatabaseContext@1b3f829: failed to open > >>> database channel. Check your connection dictionary, and ensure your > >>> database is correctly configured. > >>> > >>> I'm not real sure where to look for this.. any help > >>> would be appreciated. > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> Yahoo! Groups Links > >>> > >>> > >>> > >>> > >>> > >>> > >>> > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > ;david > > -- > David LeBer > Codebase Software Systems > site: http://www.codebase.ca > blog: http://david.codebase.ca Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/webobjects-newbies/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/