You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Norman C. Jarvis" <nj...@learningoptics.com> on 2003/02/10 17:34:21 UTC
Re: Does OJB supports clustering in an EJB container?
In an email from Thomas Mahler:
"It is also possible to run the ODMG transaction manager in distributed
mode. You just have to configure usage of the Persistent Lock Manager in
OJB.properties."
The message thread on the mailing list is: configuring OJB in a cluster
Norman Jarvis
On Mon, 10 Feb 2003 18:34:37 +0100
"Armin Waibel" <ar...@code-au-lait.de> wrote:
> Hi Fernando,
>
> ----- Original Message -----
> From: "Fernando" <Fe...@senior.com.br>
> To: "OJB User List (E-mail)" <oj...@db.apache.org>
> Sent: Monday, February 10, 2003 6:19 PM
> Subject: Does OJB supports clustering in an EJB container?
>
>
> > Hello.
> >
> > I would like to know if OJB supports clustering in an EJB container.
> That
> > is, I want to use OJB from inside sessions beans running in a
> clustered
> > enviro. I want to use OJB cache, and I'm worried about when a
> > session
> bean
> > updates the datastore.
> >
>
> I think currently there is no cluster-safe caching implementation.
> There is
> a JCS based cache implementation in the code base and on JCS web
> page they a promise a multi-tiered cache, but I don't know if this
> stuff is ready to work for you
> http://jakarta.apache.org/turbine/jcs/RemoteAuxCache.html
>
> Another possibility could be a JMS-based cache implementation,
> but nobody works on such a beast.
>
> regards,
> Armin
>
> > The question can be illustrated with this:
> >
> > 1. Cluster A runs a query that loads object O1 into cache (outside a
> > transaction).
> > 2. Cluster B removes object O1 from the datastore, and commit.
> > 3. Cluster A runs the same query again. Will this query return
> > object
> O1
> > again?
> >
> > Thanks,
> > Fernando
> >
> > -------------------------------------------------------------------
> > -- To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-user-help@db.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
--
Norman Jarvis
njarvis@learningoptics.com
.9.9 Field conversion on primary keys Error
Posted by casterx <ca...@netzero.net>.
I just upgraded to .9.9 and started to encounter a conversion bug. If a
field is set as a primary key, the conversion routines are not executed. I
added a printline to
"org.apache.ojb.broker.accesslayer.conversions.JavaDate2SqlTimestampFieldCon
version"
Whenever primarykey=false, the statement gets executed, but when I switch to
primarykey=true, no conversion takes place and I get a ClassCastException.
I recall this being a problem in the early releases, but NOT .9.8. Am I
doing something wrong or was there a change from .9.8 to .9.9
Thanks
Caster
New Transaction
Posted by Goncalo Luiz <ge...@rnl.ist.utl.pt>.
Why do I have to open a new database everytime I need to begin a transaction
?
I have to :
[CODE]
Database db = new Database();
db.open("OJB/repository.xml", Database.OPEN_READ_WRITE);
Transaction tx = _odmg.newTransaction();
tx.begin();
[/CODE]
How does the Broker do the association of tx with db ?
I would like to open only one database and then use it with every
transactions I may need.
Thanks.
Gonçalo D. Luiz (gedl@rnl.ist.utl.pt) | Tlm: 933 480 059