Hallo Thomas,
vielen Dank für Deine Hinweise. Wir versuchen hier gerade auf OJB 1.0.1 zu updaten. Dem ojb JAR aus dem Binarypaket fehlen allerding die org.apapche.ojb.jboss.* - Klassen, die für den JNDI-Kram erforderlich sind.
richtig, die Klassen wurden entfernt, da sie eigentlich nichts mit OJB zu tun haben und es für uns nicht möglich ist für jeden appServer eine solche service Klasse vorzuhalten.
Sollte allerdings kein Problem sein die "alten" JBoss Klassen in OJB 1.0.1 zu integrieren.
Ist Selbstkompillieren des OJB die einzige Möglichkeit oder bekommt man noch irgendwo ein fertiges JAR, in dem alle Klassen enthalten sind?
Die Klassen taten nichts anderes als die PBF (oder odmg interfaces) über JNDI zur Verfügung zu stellen. Dazu muß OJB nicht selbst kompiliert werden, es reicht eine solche service Klasse zu schreiben.
Gruß Armin
Gruß Peter
----- Original Message ----- From: "Thomas Franke" <[EMAIL PROTECTED]>
To: "OJB Users List" <ojb-user@db.apache.org>
Sent: Wednesday, February 16, 2005 12:21 PM
Subject: Re: Borrow broker from pool failed
Peter Juszack wrote:
we use OJB 1.0-rc5 together with JBoss 3.2.1 and EJB in a production environment. The system is up for about one and a half years. The problem is, that we have to restart the JBoss application server once a week. This is necessary because new ServerContexts (Logins) can't get a persistence broker from the pool (stack tarce follows).
I know that problem. We had the same a time ago. I think there are 2 solutions: First you must close each broker with broker.close. Check your code for this. Second it seems this is a bug in your ojb version. Since we changed to ojb 1.0.1 we haven't had this problem anymore. The change from 1.0-rc5 to 1.0.1 was really easy and without any trouble.
good luck
regards
Thomas
-- Mit freundlichen Grüßen
Thomas Franke
Geschäftsführer Leiter Entwicklung ---------------------------- the energy for a better world ---------------------------- softEnergy GmbH Platz der Freundschaft 1 18059 Rostock ---------------------------- fon: +49 381 40 587 535 fax: +49 381 40 587 555 mobil: +49 1715222015
http://www.softenergy.de mail: [EMAIL PROTECTED] ----------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]