AW: [OJB-developers] Concurrent access not posible with 0.7.325 i n C/S mode
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-02-06 08:41:07
|
Hi Ricardo, >=20 > Thomas, >=20 > Thanks, it worked!!! Great news ! =20 > In single VM mode I get this message: >=20 > [BOOT] INFO: OJB.properties:=20 > file:/C:/Java/Tomcat401/webapps/charlie-dev/WEB-INF > /classes/OJB.properties > [ojb.broker.metadata.RepositoryXmlHandler] WARN: unknown=20 > isolation-level: read-u > ncomitted using RW_UNCOMMITTED as default > [ojb.broker.metadata.RepositoryXmlHandler] WARN: unknown=20 > isolation-level: read-u > ncomitted using RW_UNCOMMITTED as default > [ojb.broker.metadata.RepositoryXmlHandler] WARN: unknown=20 > isolation-level: read-u > ncomitted using RW_UNCOMMITTED as default > [ojb.broker.metadata.RepositoryXmlHandler] WARN: unknown=20 > isolation-level: read-u > ncomitted using RW_UNCOMMITTED as default > [ojb.broker.metadata.RepositoryXmlHandler] WARN: unknown=20 > isolation-level: read-u > ncomitted using RW_UNCOMMITTED as default >=20 Maybe there is some typo in the repository file. Just send it to me = I'll try to find the problem. >=20 > But It works. I can make two threads read data from the same=20 > table concurrently. >=20 >=20 > When I tried to run OJB in C/S mode, I got this exception: >=20 <snip> Yes, I have not worked on the C/S related problems yet >=20 >=20 > I suppose I would not need to use the Client/Server mode=20 > anymore, since now OJB is working in single JVM mode,=20 > concurrently... I do not need the load balancing stuff yet...=20 > What do you think? Yes! In a servlet environment it should be absolutely OK to use = singlevm mode. >=20 > I'll try to get some sleep (it's 3am here, I downloaded your=20 > patch almost inmediatly), and tomorrow I'll finish testing=20 > with more cases of concurrency of web clients. >=20 >=20 > THANKS for your great work! >=20 Thanks for your patience! -- Thomas > Greetings, >=20 >=20 > Ricardo Arguello >=20 > ----- Original Message -----=20 > From: "Thomas Mahler" <tho...@ho...> > To: "Ricardo Arg=FCello" <ri...@ya...> > Cc: <obj...@li...> > Sent: Wednesday, February 06, 2002 1:20 AM > Subject: Re: [OJB-developers] Concurrent access not posible=20 > with 0.7.325 in C/S mode >=20 >=20 > > Hi Ricardo, > >=20 > > I just placed a new release (0.7.327) on the OJB download page. > > I modified the PersistenceBrokerFactory and the ODMG = implementation. > > Now in singlevm mode each transaction will obtain its own=20 > broker instance. > > During comit() or abort() the broker instances are released=20 > to a pool. > >=20 > > I hope this will solve at least some of your problems. > >=20 > > This is no release build. thus there are no TestCases yet=20 > that check the=20 > > implemented features. There may be bugs! > >=20 > > HTH, > >=20 > > Thomas > >=20 > >=20 > > _______________________________________________ > > Objectbridge-developers mailing list > > Obj...@li... > > = https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > >=20 >=20 >=20 > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >=20 |