I have a new and (so far) unexplained db connection failure and I’m hoping 
someone has suggestions about where to look.

I know the usual culprit is bad connection dictionary or db-side connection 
configuration. To rule those out I logged out the connection dictionary just 
before targetAdaptor().assertConnectionDictionaryIsValid() in 
ERXJDBCConnectionAnalyzer. The output of the connection dictionary was what I 
expected to see.

To check the database permissions/configuration, I inserted a raw JDBC 
connection and dummy query in the static method of the framework that I use for 
models.  I used ERXProperties to grab all of the same values used for the 
connection dictionaries (url, user, pass)

The jdbc connection gives me a connection and a result set so I’m pretty 
confident that I can connect from the app.
Since I’m using the properties that make up the connection dictionary to make 
that jdbc connection, I’m pretty confident that those values are right too.

Still when I get to targetAdaptor().assertConnectionDictionaryIsValid(), I get 
“No Connection."

I’m still digging but does anybody have any thoughts on where I might look next?



Larry Mills-Gahl
[email protected]






Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to