On Oct 26, 2005, at 6:29 AM, Jeremy Matthews wrote:
When attempting to insert values into the database, I receive this WO error:Can you browse data from within EOModeler? That's really the only test that matters when it comes to testing connectivity.java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext [EMAIL PROTECTED]: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.I've tested the DB, and connection, and they are fine. It's just that WO doesn't like them. I can generate SQL from EOM as well.
I've heard of the "index.eomodeld" file being corrupted, and that it may not have entries, or those entries may need to be rewritten. Right now this file is 99% blank, so I'm thinking this may be it.What do you mean, "99% blank"? There is 99 blank lines and 1 non- blank line?
I'd appreciate any advice or the text of what is supposed to be included in that file.
Here is an example:
{
EOModelVersion = "2.1";
adaptorName = JDBC;
connectionDictionary = {
URL = "";
driver = "";
password = "";
plugin = "";
username = "";
};
entities = (
{
className = "SomeClass";
name = SomeClass;
}
);
internalInfo = {};
userInfo = {
history = {
created = "2000-10-24 04:05:17 +0000 by sacha";
lastSaved = "2000-10-24 04:05:17 +0000 by sacha";
};
modificationDate = "2000-10-24 04:07:34 +0000";
};
}
Obviously, the URL, driver (optional), password, plugin (optional)
and username need to be something other than the empty string.
sacha -- Sacha Michel Mallais Senior Developer / President Global Village Consulting Inc. http://www.global-village.net/ PGP Key ID: 7D757B65 AIM: smallais Bottom posting is your friend: http://www.river.com/users/share/etiquette/
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
