Re: OpenBase & WebObjects for scaling
Re: OpenBase & WebObjects for scaling
- Subject: Re: OpenBase & WebObjects for scaling
- From: Joe Moreno <email@hidden>
- Date: Mon, 29 Dec 2008 23:10:52 -0800
Hi Andrew,
I think I ran into the exact problem you mentioned about the deadlock
in OpenBase 10 using the default primary key generation.
Scott Keith advised me to compile the WO apps against the
OpenBasePKPlugin.framework which uses the OpenBaseJDBC.jar and, even
under heavy load, I've never had a problem using OB 10 with the
plugin. I just had to add a single line to my Application.java:
JDBCPlugIn
.setPlugInNameForSubprotocol
("com.webobjects.jdbcadaptor.OpenBasePKPlugIn", "openbase");
Many thanks for the feedback.
Cheers,
Joe
On Dec 29, 2008, at 13:14:31, Andrew Lindesay wrote:
Hello Joe;
In high-volume concurrent situations, there is an issue with EOF
together with OPENBASE where concurrent transactions can get into a
deadlock when writing into the same series of tables. Let me be very
clear; not a problem with OPENBASE per se, but a specific problem
with EOF and OPENBASE. To avoid this, I have created a simple
subclass of the JDBC Adaptor (distributed in a self-contained
Framework jar) specifically to address this issue. To find out more
about this read the LEWOStuff PDF under;
9) OPENBASE JDBC Adaptor
cheers.
Does anyone have any real world, recent, experience with OpenBase
on a large scale?
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden