Re: Frontbase and CocoaEOApplication, _obtainOpenChannel
Re: Frontbase and CocoaEOApplication, _obtainOpenChannel
- Subject: Re: Frontbase and CocoaEOApplication, _obtainOpenChannel
- From: Frank Stock <email@hidden>
- Date: Wed, 24 Dec 2003 09:29:16 +0100
Yes, I can connect with EOModeler and I have found what went wrong.
The trouble was that you have to do the following:
CLASSPATH
/Library/Java/Extensions/frontbasejdbc.jar:/Library/Frameworks/
FrontBasePlugIn.framework/Resources/Java/FrontBasePlugIn.jar
but I am not used to work with 'terminal'-mode and I didn't know how to
add this in XCode, so now I found it: double-click in the
Executables-file and ad an Environment variable. It is simple in fact
but you have to know.
Thanks Ricardo
Frank
Op 24-dec-03 om 01:38 heeft email@hidden het
volgende geschreven:
> Can you connect from EOModeler to your database?
>
> On Dec 23, 2003, at 8:32, Frank Stock wrote:
>
>> Hi,
>>
>> I want to make a small CocoaEOApplication, but when the program starts
>> I always get :
>> _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
>> com.webobjects.eoaccess.EODatabaseContext@398d43: failed to open
>> database channel. Check your connection dictionary, and ensure your
>> database is correctly configured..
>> It must be related to Frontbase because I did the same test with
>> OpenBase and that works fine.
>> I have added the frontbasejdbc.jar. I know that others had the same
>> problem, but I can't find an explanation or an example project.
>> I use WO 5.2.2 and XCode 1.1 on 10.3.2.
>>
>> Thanks,
>> Frank
>> _____
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.