• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Check your connection dictionary, and ensure your database is correctly configured
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check your connection dictionary, and ensure your database is correctly configured


  • Subject: Re: Check your connection dictionary, and ensure your database is correctly configured
  • From: Geoff Hopson <email@hidden>
  • Date: Wed, 23 Jun 2004 21:53:36 +0100

Have you tried the IP address instead of the servername in the JDBC URL?

Geoff

On 23 Jun 2004, at 21:30, Tom Jones wrote:

Okay,
Here are the facts
WebObjects 5.1
Windows 2003
SQLServer 2000
JDBC URL jdbc:microsoft:sqlserver://servername:1433;databasename=dbname; selectmethod=cursor
Direct2Web project


When I do any thing that hits my database I get the error shown at the
bottom of this email. I am able to browse the date in EOModeler, so I
think the adaptor info is correct. Has anyone else had this problem?
What's the resolution (besides the obvious... Get a Mac:)

Thanks!


[2004-06-23 15:14:13 CDT] <WorkerThread1> <WOApplication 'd2w'>:
Exception occurred while handling request:
java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@995a79: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.
[2004-06-23 15:14:13 CDT] <WorkerThread1>
java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@995a79: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.
at com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel(EODatabase Context.java:1981)
at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificatio nEditingContext(EODatabaseContext.java:3006)
at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification (EODatabaseContext.java:3148)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpeci fication(EOObjectStoreCoordinator.java:452)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification (EOEditingContext.java:3343)
at com.webobjects.eoaccess.EODatabaseDataSource.fetchObjects(EODatabaseDat aSource.java:540)
at com.webobjects.appserver.WODisplayGroup.fetch(WODisplayGroup.java: 2049)
at com.webobjects.directtoweb.D2WListPage.setDataSource(D2WListPage.java: 158)
at com.webobjects.directtoweb.D2WQueryAllEntitiesPage.queryAction(D2WQuery AllEntitiesPage.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.webobjects.foundation.NSKeyValueCoding$1.methodValue(NSKeyValueCodi ng.java:648)
at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject (NSKeyValueCoding.java:1122)
at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueF orKey(NSKeyValueCoding.java:1223)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java: 1465)
at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyVal ueCoding.java:448)
at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementati on.valueForKeyPath(NSKeyValueCodingAdditions.java:170)
at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java: 1531)
at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponen t(WOKeyValueAssociation.java:46)
at com.webobjects.appserver._private.WOActiveImage.invokeAction(WOActiveIm age.java:233)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamic Group.java:110)
at com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:82)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WOGenericContainer.invokeAction(WOGen ericContainer.java:23)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamic Group.java:110)
at com.webobjects.appserver._private.WORepetition.invokeAction(WORepetitio n.java:196)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WOGenericContainer.invokeAction(WOGen ericContainer.java:23)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamic Group.java:110)
at com.webobjects.appserver._private.WOComponentContent.invokeAction(WOCom ponentContent.java:31)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamic Group.java:110)
at com.webobjects.appserver._private.WOHTMLURLValuedElement.invokeAction(W OHTMLURLValuedElement.java:115)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(W ODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamic Group.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 877)
at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOC omponentReference.java:113)
at com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwit chComponent.java:171)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 877)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1020)
at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java: 1198)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWi thPreparedPage(WOComponentRequestHandler.java:197)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWi thPreparedSession(WOComponentRequestHandler.java:278)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWi thPreparedApplication(WOComponentRequestHandler.java:313)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequ est(WOComponentRequestHandler.java:345)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReque st(WOComponentRequestHandler.java:413)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.ja va:1133)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread .java:158)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.jav a:231)
at java.lang.Thread.run(Unknown Source)
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Check your connection dictionary, and ensure your database is correctly configured (From: Tom Jones <email@hidden>)

  • Prev by Date: Re: Check your connection dictionary, and ensure your database is correctly configured
  • Next by Date: ADC Select Membership (WebObjects)
  • Previous by thread: Re: Check your connection dictionary, and ensure your database is correctly configured
  • Next by thread: ADC Select Membership (WebObjects)
  • Index(es):
    • Date
    • Thread