Re: App hangs on 1st access to DB
Re: App hangs on 1st access to DB
- Subject: Re: App hangs on 1st access to DB
- From: Baiss Eric Magnusson <email@hidden>
- Date: Wed, 24 Mar 2004 16:54:23 -0800
Well, phooey, I just spend 5 hours driving across town and upgrading
the server to:
MacOSXS 10.2.8 from 10.2.6
WO 5.2.1 from 5.1.3
Java 1.4.1Update1 from 1.3.1
FrontBase 3.6.12 on both server & development machines
and all the other security, etc. updates.
But the app still hangs on line:
curRegion = (Regions)EOUtilities.objectMatchingKeyAndValue( ec,
regionEntity, "regionName", curRegionName );
with no exceptions thrown or any other notification. All the old WO
apps on the server, built prior to 10.3 with PB rather than XCode, ran
fine before and after the update.
Also, I put the following just before the <
EOUtilities.objectMatchingKeyAndValue> call
regionList.fetch();
doNSLog("Fetch returns " + regionList.displayedObjects().count() + "
regions" );
and I get the correct number of regions from the DB.
Of course, on the development machine I'm running:
MacOSX 10.3.3
WO 5.2.3
Java 1.4.2
On Mar 23, 2004, at 9:04 AM, Chuck Hill wrote:
Different version of the JDBC driver?
Different version of the EOF plugin?
Different version of Java?
Different version of WO?
Can that machine see the DB?
Is the name resolving correct via DNS?
Which DB?
Chuck
On Mar 22, 2004, at 11:28 AM, Baiss Eric Magnusson wrote:
curRegion = (Regions)EOUtilities.objectMatchingKeyAndValue( ec,
regionEntity, "regionName", curRegionName );
...the app hangs on the above line, I dumped out what I could think
of before the call, that is, <ec.toString() and curRegionName> but I
don't know what to do next? The regular deployed app, on Jaguar,
which was built under 5.2 has no problem with the DB or the line of
code above, which has always been there, and the app runs fine on my
Panther development machine.
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
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.