Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-02-28 Thread Armin Waibel
d this one leaks, nothing to do with OJB. bye danilo Rick Roman wrote: I am using Java 1.5.0_01 and Tomcat 5.5.4 on my home machine and 1.5.0_05 / 5.5.9 on my remote developement server. I use jconsole on the home machine to watch the leak. The remote has the problem too as evidenced that it r

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-02-28 Thread Danilo Tommasina
5.0_01 and Tomcat 5.5.4 on my home machine and 1.5.0_05 / 5.5.9 on my remote developement server. I use jconsole on the home machine to watch the leak. The remote has the problem too as evidenced that it runs out of memory after about 15 reloads. Danilo Tommasina wrote: mmmh, yep I forget

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-26 Thread Thomas Dudziak
Hi folks, after some serious profiling (and finding a bug in the Mustang b68 VM), I've added some additional cleanup calls to OJB (SVN of the stable branch). Please give it a try to see whether that suffices. However, you also need to do some work in your own webapp to ensure proper cleanup. The s

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-25 Thread Rick Roman
I am using Java 1.5.0_01 and Tomcat 5.5.4 on my home machine and 1.5.0_05 / 5.5.9 on my remote developement server. I use jconsole on the home machine to watch the leak. The remote has the problem too as evidenced that it runs out of memory after about 15 reloads. Danilo Tommasina wrote

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-25 Thread Danilo Tommasina
ine I start tomcat with following JAVA_OPTS, however other machines are started with default options with just the -Xmx set to a higher value: JAVA_OPTS="$JAVA_OPTS -Xmx512m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+TraceClassUnloading -XX:+ClassUnloading -XX:+CMSPermGenSweepingEn

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-24 Thread Craig A. Vanderborgh
ping.shutdown(); MetadataManager.getInstance().removeAllProfiles(); and the leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a se

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-24 Thread Rick Roman
I am only using the PB API too. Danilo Tommasina wrote: hi again, this is quite an old version of tomcat, we were not having trouble for sure since tomcat 5.5.9, no idea how it was with earlier versions. anyways, if this is not the problem, it could be still OJB that causes the leak. My

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-24 Thread Danilo Tommasina
hi again, this is quite an old version of tomcat, we were not having trouble for sure since tomcat 5.5.9, no idea how it was with earlier versions. anyways, if this is not the problem, it could be still OJB that causes the leak. My patch fixed one situation but there may be other parts having

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-24 Thread Thomas Dudziak
On 1/24/06, Rick Roman <[EMAIL PROTECTED]> wrote: > I am using Tomcat 5.5.4. I am almost certain it is OJB. I created a > stripped down context with the minimum classes needed to run OJB and > could pin the memory increase to touching anything that initiallized > OJB. I have also

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-24 Thread Rick Roman
I am using Tomcat 5.5.4. I am almost certain it is OJB. I created a stripped down context with the minimum classes needed to run OJB and could pin the memory increase to touching anything that initiallized OJB. I have also chased down other known offenders such as deregistering the database

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-24 Thread Danilo Tommasina
tomcat versions < 4.1.31 and probably some earlier 5.5.x verions there were bugs that prevented a clean shutdown of a web-application. Do you have any threads or other stuff that is still running? External libraries? We had the same problem caused by the quartz scheduler for example. As soon a

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Rick Roman
Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OB

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Rick Roman
he leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I bel

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Antonio Gallardo
atasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able to access the datasource without OB

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Armin Waibel
nFactory().releaseAllResources(); PersistenceBrokerThreadMapping.shutdown(); MetadataManager.getInstance().removeAllProfiles(); and the leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen me

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Rick Roman
ource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able to access the datasource without OBJ

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Armin Waibel
ss PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2006-01-23 Thread Rick Roman
files(); and the leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of mem

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-23 Thread Rick Roman
lResources(); PersistenceBrokerThreadMapping.shutdown(); MetadataManager.getInstance().removeAllProfiles(); and the leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memor

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-12 Thread Danilo Tommasina
Hi, you can find more info about this issue in thread: (9. June 2005) ThreadLocal causing memory leak The patch has been applied for the upcoming OJB 1.0.4 release. If you are impatient and have not the possibility to get it from CVS then you will find an explication on how to 'manually' fix it

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-11 Thread Armin Waibel
pplication context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able to access the datasource without OBJ and I don't see the problem. The memory le

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-11 Thread Ilkka Priha
sing OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-10 Thread Rick Roman
g.shutdown(); MetadataManager.getInstance().removeAllProfiles(); and the leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventual

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-10 Thread Ilkka Priha
every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able to access the datasource without OBJ and I don't see the pr

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-10 Thread Rick Roman
reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able to access the datasource without OBJ and I don't see the problem. The m

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-09 Thread Ilkka Priha
the leak still persists. Rick Roman wrote: I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I

Re: Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-09 Thread Rick Roman
application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ configuration as I am able to access the datasource without OBJ and I don't see the problem. The memory leak probl

Tomcat 5, JNDI, Perm Gen Memory leak

2005-12-09 Thread Rick Roman
I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is that every time I reload my application context, I get a big jump in Tomcat Perm Gen memory. After a several reloads, tomcat eventually crashes with an out of memory error. I believe this has to do with my OBJ

Re: Tomcat 5.0, JNDI-DataSource and Blobs

2005-06-20 Thread Martin Kalén
Ribi Roland wrote: I found a solution: Installed OJB 1.0.3 instead of 1.0.1 The reason it works with OJB 1.0.2 or later (and didn't in<=1.0.1) is that Tomcat uses DBCP for Connection Pooling and that DBCP wraps the Oracle Connection object in a DBCP-specific PoolWrapper object.

RE: Tomcat 5.0, JNDI-DataSource and Blobs

2005-06-16 Thread Ribi Roland
I found a solution: Installed OJB 1.0.3 instead of 1.0.1 > -Original Message- > From: Ribi Roland [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 16, 2005 11:11 AM > To: 'ojb-user@db.apache.org' > Subject: Tomcat 5.0, JNDI-DataSource and Blobs > > >

Tomcat 5.0, JNDI-DataSource and Blobs

2005-06-16 Thread Ribi Roland
Hi Since I moved the config of the connection pool from repository.xml to server.xml and get the connection via JNDI-lookup the broker throws the following Exception: ch.braunvieh.dbutils.DirectoryImageUploadVisitor - org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while insert o

Re: Tomcat 5.5.9 and OJB?

2005-04-21 Thread Martin Kalén
=>DBCP, this makes it neccesary to deploy the Commons DBCP JAR together with OJB, but no actual DBCP handling is used for the Connection management Just ignore those Tomcat instructions if you are happy with the fact that OJB is using it's own (webapp-private) Connection pool... Regards,

Re: Tomcat 5.5.9 and OJB?

2005-04-21 Thread jeichels
I thought I would not need or even want the commons dbcp because of this speicific link: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg150576.html In short it says below: - the JNDI resource configuration has changed in 5.5. Check out the docs for an example: http

Re: Tomcat 5.5.9 and OJB?

2005-04-21 Thread Martin Kalén
with the OJB JAR (eg in your webapp's WEB-INF/lib, or put it in CATALINA_HOME/common/lib). Have a look at the OJB docs on the homepage to see the complete list of run-time dependencies, if you were previously also depending on eg Commons Pool from Tomcat. FYI: Tomcat 4 shipped with a standa

Re: Tomcat 5.5.9 and OJB?

2005-04-20 Thread jeichels
I belive some of this stuff was changed for them in 5.5 and the dbcp part is called: naming-factory-dbcp.jar I am not using another dbcp library. JohnE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tomcat 5.5.9 and OJB?

2005-04-20 Thread Robert S. Sfeir
On Apr 20, 2005, at 7:01 PM, [EMAIL PROTECTED] wrote: java.lang.NoClassDefFoundError: org/apache/commons/dbcp/ AbandonedConfig Do you have the wrong version of commons dbcp? Or perhaps does Tomcat 5.5.9 include one by default and it's colliding with what OJB is expecting? R Robert S.

Tomcat 5.5.9 and OJB?

2005-04-20 Thread jeichels
Hey all, When I run OJB 1.0.3 with Tomcat 4.1.30 everything works. When I upgrade to Tomcat 5.5.9 I am getting the exception at the bottom of the file. Any ideas why this might be happening? Ideas on how to fix it? In general I am trying to upgrade my libraries because I am having problems

Re: Multible webapps on tomcat using ojb

2005-01-19 Thread Jim Theodoridis
I am running 2 seperate apps in tomcat 5.xx too wixh have access to same db i am not using JNDI jars are in each app and I have no problem I'm running 2 seperate apps in one Tomcat server. Both use ojb to access the db. With one app this works fine. But the second app uses the same conne

Re: Multible webapps on tomcat using ojb

2005-01-18 Thread Reda Benzair
hello solution you can use OJB whith JNDI tomcat resources ! you add defaultBroket to server.xml ressources and alle webapp can acces to same repository.xml I'm running 2 seperate apps in one Tomcat server. Both use ojb to access the db. With one app this works fine. But the second app use

Re: Multible webapps on tomcat using ojb

2005-01-18 Thread Robert r. Sanders
Are the OJB jars in the web application's lib directories? (stupid question, but still...) If its not that then I'm not really sure what it would be... [EMAIL PROTECTED] wrote: I'm running 2 seperate apps in one Tomcat server. Both use ojb to access the db. With one app this

Multible webapps on tomcat using ojb

2005-01-18 Thread Markus.Lauber
I'm running 2 seperate apps in one Tomcat server. Both use ojb to access the db. With one app this works fine. But the second app uses the same connection the first one uses. Both apps get the PersistanceBroker with PersistenceBrokerFactory.getDefaultPersistanceBroker(). But I have two sep

Re: OJB in Tomcat

2004-11-26 Thread Thomas Franke
Łukasz Korzybski wrote: Do you mean pack them in jar and put it to lib folder (WEB-INF/lib) ? I will try Right. I remember that at first we had a similar problem and our solution is this. regards Thomas - To unsubscribe, e-mail:

RE: OJB in Tomcat

2004-11-26 Thread Morales de Frías , David
tion does not support nested fields) # -- Best regards. I hope this helps you. -Mensaje original- De: Bikram B Kapoor [mailto:[EMAIL PROTECTED] Enviado el: jueves, 25 de noviembre de 2004 11:02 Para: OJB Users List Asunto: Re: OJB in Tomcat Hi Morales de Frías, I am new to the

Re: OJB in Tomcat

2004-11-25 Thread Bikram B Kapoor
be greatly appreciated Thanks Bikram B Kapoor - Original Message - From: ; "David" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.ojb.user Sent: Thursday, November 25, 2004 7:42 PM Subject: RE: OJB in Tomcat I have worked with with netBeans 3.5 and 3.6. Struts + o

Re: OJB in Tomcat

2004-11-25 Thread Bikram B Kapoor
s. Any help would be greatly appreciated Thanks Bikram B Kapoor - Original Message - From: ; "David" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.ojb.user Sent: Thursday, November 25, 2004 7:42 PM Subject: RE: OJB in Tomcat I have worked with with netBeans 3.5 and 3.6. S

Re: OJB in Tomcat

2004-11-25 Thread Łukasz Korzybski
What a terrible mistake I made, I've forgotten to include repository.dtd !! I realized that when I removed OJB.properties from classes directory and I got different error (new error was exactly telling that OJB.properties is missing). Now everything runs. Anyway thanks a lot for help. Best Re

Re: OJB in Tomcat

2004-11-25 Thread Łukasz Korzybski
; Richter Ok I will try with daily build and with stand alone tomcat and will tell if it works but it appears that it has to. Thanks, Łukasz. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OJB in Tomcat

2004-11-25 Thread Łukasz Korzybski
Dnia czwartek, 25 listopada 2004 12:32, Thomas Franke napisał: > Łukasz Korzybski wrote: > > Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which > > are directly in WEB-INF/classes? I am fighting with it all day and I am > > not able to make it wor

RE: OJB in Tomcat

2004-11-25 Thread Morales de Frías , David
I have worked with with netBeans 3.5 and 3.6. Struts + ojb + netbean's tomcat (4 and 5). And i have no problem. -Mensaje original- De: Edson Carlos Ericksson Richter [mailto:[EMAIL PROTECTED] Enviado el: jueves, 25 de noviembre de 2004 12:40 Para: OJB Users List Asunto: Re: OJB in T

Re: OJB in Tomcat

2004-11-25 Thread Edson Carlos Ericksson Richter
Have you tryied NetBeans 3.6? I'm using OJB without problems, in standalone and web apps with 3.6. I know NetBeans 4 B2 has some flaws in this area... I think you test latest Q build too.. Richter - To unsubscribe, e-mail: [EMAI

RE: OJB in Tomcat

2004-11-25 Thread Morales de Frías , David
Hello... I'm using also tomcat 5, and i have no problem with it. I have all configuration files in /WEB-INF/classes. Does tomcat see ojb.properties?, maybe in this file you have not referenced the rest of files well. Tell more details, please. (and please be patient with my english).

Re: OJB in Tomcat

2004-11-25 Thread Thomas Franke
Łukasz Korzybski wrote: Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are directly in WEB-INF/classes? I am fighting with it all day and I am not able to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today tomcat and make alone installatio

Re: OJB in Tomcat

2004-11-25 Thread Thomas Dudziak
Łukasz Korzybski wrote: Hi all, Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are directly in WEB-INF/classes? I am fighting with it all day and I am not able to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today tomcat and make

OJB in Tomcat

2004-11-25 Thread Łukasz Korzybski
Hi all, Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are directly in WEB-INF/classes? I am fighting with it all day and I am not able to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today tomcat and make alone installation and try wi

Re: Problem Memory Tomcat and OJB

2004-10-28 Thread Reda Benzair
Hi! We are running OJB on our production serveur (tomcat 4.1.30 in this case). The JVM was running troubles after running a while so I've modified my app to count objects that are loaded : we have a static Map (key=class.getName(), value=count) that counts the total number of live inst

Re: ojb 1.0.1 + FreeBSD 4.8 + Tomcat 5.0.24 + diablo jdk 1.3.1 = error

2004-10-07 Thread Armin Waibel
oblem. There is an application that uses Tomcat 5.0.27 + jdk 1.4.2_04 + OJB 1.0.1 + interbase 6.0 On Win 2000 it works correctly, but on my server (FreeBSD 4.8 + Tomcat 5.0.24 + diablo jdk 1.3.1 + firebird 1.0.2) the next error appeares: java.lang.AbstractMethodError: org/apache/ojb/broker

ojb 1.0.1 + FreeBSD 4.8 + Tomcat 5.0.24 + diablo jdk 1.3.1 = error

2004-10-07 Thread Fokin Nikolay
Hi all! I have a problem. There is an application that uses Tomcat 5.0.27 + jdk 1.4.2_04 + OJB 1.0.1 + interbase 6.0 On Win 2000 it works correctly, but on my server (FreeBSD 4.8 + Tomcat 5.0.24 + diablo jdk 1.3.1 + firebird 1.0.2) the next error appeares: java.lang.AbstractMethodError: org

RES: Can't find OJB property files from inside tomcat...

2004-08-27 Thread Henrique Faria
fax: 55.11.3266 5121 [EMAIL PROTECTED] -Mensagem original- De: Henrique Faria [mailto:[EMAIL PROTECTED] Enviada em: Thursday, August 26, 2004 7:41 PM Para: 'OJB Users List' Assunto: RES: Can't find OJB property files from inside tomcat... Brian, T

Re: RES: Can't find OJB property files from inside tomcat...

2004-08-26 Thread Davide Bruzzone
pplication working end-to-end. Someone on the Tomcat list suggested that the OJB example servlet may not be working because the WAR file that's generated doesn't contain a web.xml file. I haven't tried this/worked on this yet... I presume your Web app has a web.xml file?... Other th

RES: Can't find OJB property files from inside tomcat...

2004-08-26 Thread Henrique Faria
-- De: Brian McCallister [mailto:[EMAIL PROTECTED] Enviada em: Thursday, August 26, 2004 7:11 PM Para: OJB Users List Assunto: Re: Can't find OJB property files from inside tomcat... It should be on your classpath, I typically put the OJB.properties, and repository_* in WEB-INF/classes -Bri

Re: Can't find OJB property files from inside tomcat...

2004-08-26 Thread Brian McCallister
It should be on your classpath, I typically put the OJB.properties, and repository_* in WEB-INF/classes -Brian On Aug 26, 2004, at 6:03 PM, Henrique Faria wrote: Hi! I'm trying to use the Persistent Broker API from inside a servlet environment (tomcat5 web container). The problem seems to be the

Can't find OJB property files from inside tomcat...

2004-08-26 Thread Henrique Faria
Hi! I'm trying to use the Persistent Broker API from inside a servlet environment (tomcat5 web container). The problem seems to be the web application can't find the OJB property files (OJB.properties, repository.xml). I get the following error: [BOOT] ERROR: Creation of PersistenceBrokerFactory (

Re: OJB + tomcat + OJB.properties

2004-06-24 Thread Thomas Dudziak
WHIRLYCOTT wrote: Yes, I have the repository.dtd in my WEB-INF/classes dir as well. I'm using that in Eclipse to validate my repository.xml file. One difference is that I'm using Tomcat 5.0.18. Would you mind repeating your experiment using a version of Tomcat 5? I'm tryin

Re: OJB + tomcat + OJB.properties

2004-06-24 Thread WHIRLYCOTT
I put some bad markup into the files, I get exceptions telling me so. phil. Daniel Perry wrote: I have it working in tomcat 5 and 4. Is this under linux or windows? Have you checked file permissions? (especially if XP and tomcat service ?) Have you tried running tomcat in user mode rather than

RE: OJB + tomcat + OJB.properties

2004-06-24 Thread Daniel Perry
I have it working in tomcat 5 and 4. Is this under linux or windows? Have you checked file permissions? (especially if XP and tomcat service ?) Have you tried running tomcat in user mode rather than service? Daniel. > -Original Message- > From: WHIRLYCOTT [mailto:[EMAIL PRO

Re: OJB + tomcat + OJB.properties

2004-06-24 Thread Thomas Dudziak
WHIRLYCOTT wrote: Yes, I have the repository.dtd in my WEB-INF/classes dir as well. I'm using that in Eclipse to validate my repository.xml file. One difference is that I'm using Tomcat 5.0.18. Would you mind repeating your experiment using a version of Tomcat 5? I'm tryin

Re: OJB + tomcat + OJB.properties

2004-06-24 Thread WHIRLYCOTT
Yes, I have the repository.dtd in my WEB-INF/classes dir as well. I'm using that in Eclipse to validate my repository.xml file. One difference is that I'm using Tomcat 5.0.18. Would you mind repeating your experiment using a version of Tomcat 5? I'm trying to figure out what

Re: OJB + tomcat + OJB.properties

2004-06-24 Thread Thomas Dudziak
n the OJB code that loads the file. I started poking around the source earlier on and will try to get into it more later. If you have more ideas, I'd love to hear them and try them out. I just tried a very simple servlet that uses PB-Api with OJB, Tomcat 4.1.18, JDK 1.4.2 on WinXP, and i

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread WHIRLYCOTT
Apart from that, the error messages aren't very useful. Where do you keep your OJB.properties and repository.xml files? The place should be ok for both files. phil. INFO (2004-06-23) 17:17:25.094 org.apache.ojb.broker.metadata.RepositoryPersistor : OJB Descriptor Repository: file:/C:/jaka

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread Thomas Dudziak
5.094 org.apache.ojb.broker.metadata.RepositoryPersistor : OJB Descriptor Repository: file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml INFO (2004-06-23) 17:17:25.094 org.apache.ojb.broker.metadata.RepositoryPersis tor : Building repository from : file:/C:/jakarta-tomcat-5.0.18/we

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread WHIRLYCOTT
: OJB Descriptor Repository: file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml INFO (2004-06-23) 17:17:25.094 org.apache.ojb.broker.metadata.RepositoryPersis tor : Building repository from : file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml DEBUG (2004-06-2

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread Thomas Dudziak
WHIRLYCOTT wrote: I just ran a little test here. I put some invalid markup at the beginning of my repository.xml file in order to see if I would get an error message about it not being parsed correctly, and I did. So it appears that the repository.xml file is being read. But this is quite puzzl

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread WHIRLYCOTT
I've started integrating this code into a webapp using Struts, I'm getting an exception that indicates that OJB is having some trouble reading the OJB.properties file. It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I believe is correct. I also ha

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread WHIRLYCOTT
an exception that indicates that OJB is having some trouble reading the OJB.properties file. It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I believe is correct. I also have my repository.xml file in the same directory. Ideas? phil. 2004-06-23 15:51:40 Standa

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread Brian McCallister
TT said the following on 6/23/2004 4:00 PM: Greetings, I'm working away quite happily here with some code using OJB from inside Eclipse. However, now that I've started integrating this code into a webapp using Struts, I'm getting an exception that indicates that OJB is having s

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread WHIRLYCOTT
om inside Eclipse. However, now that I've started integrating this code into a webapp using Struts, I'm getting an exception that indicates that OJB is having some trouble reading the OJB.properties file. It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread Armin Waibel
properties file. It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I believe is correct. I also have my repository.xml file in the same directory. Ideas? phil. 2004-06-23 15:51:40 StandardWrapperValve[action]: Servlet.service() for servlet ac

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread Charles N. Harvey III
with some code using OJB from inside Eclipse. However, now that I've started integrating this code into a webapp using Struts, I'm getting an exception that indicates that OJB is having some trouble reading the OJB.properties file. It's located in $TOMCAT/webapps/appname/WEB-INF/

Re: OJB + tomcat + OJB.properties

2004-06-23 Thread Thomas Dudziak
OJB.properties file. It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I believe is correct. I also have my repository.xml file in the same directory. Ideas? phil. 2004-06-23 15:51:40 StandardWrapperValve[action]: Servlet.service() for servlet ac

OJB + tomcat + OJB.properties

2004-06-23 Thread WHIRLYCOTT
. It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I believe is correct. I also have my repository.xml file in the same directory. Ideas? phil. 2004-06-23 15:51:40 StandardWrapperValve[action]: Servlet.service() for servlet ac

Re: Application deployment in Tomcat

2004-05-12 Thread Ben Hall
WEB-INF/classes does the trick. On Wed, 12 May 2004, [iso-8859-1] Amol Pophale wrote: > Hi All, > I am trying to deploy a web-application using OJB in > Tomacat. where should I copy properties and xml files > (e.g. OHB.properties,repositery_databse.xml) required > by OJB? > > Thanks > Amol > > >

Re: Application deployment in Tomcat

2004-05-12 Thread Charles N. Harvey III
Amol, All of those files should be in /appname/WEB-INF/classes/ Charlie Amol Pophale wrote: Hi All, I am trying to deploy a web-application using OJB in Tomacat. where should I copy properties and xml files (e.g. OHB.properties,repositery_databse.xml) required by OJB? Thanks Amol _

Application deployment in Tomcat

2004-05-12 Thread Amol Pophale
Hi All, I am trying to deploy a web-application using OJB in Tomacat. where should I copy properties and xml files (e.g. OHB.properties,repositery_databse.xml) required by OJB? Thanks Amol Yahoo! Me

help on using OJB console 1.1.5 + tomcat 5.0 + ant

2004-05-05 Thread Yan CHEN
Hi, Please can anybody who has succeeded in using OJB console gives me some advice. I use OBJ with JDO persistence API, I have Ant installed correctly, and tomcat 5.0, i copied right files of repository.xml and *.class, the ojbc.war is created without problem, but when i extract the ojbc.war

Re: ODMG UPDATE TOO FAST: DB not updated from jboss(daemon) and tomcat

2004-03-04 Thread Sukesh Garg
Dear Thomas, Thanks for your response. The DB does get updated by the JBOSS daemon. However, when the OJB implementation is accessed directly by tomcat running in the same JBOSS instance, it does not update the database. You are right that the corresponding sql update does not happen(no

Re: ODMG UPDATE TOO FAST: DB not updated from jboss(daemon) and tomcat

2004-03-03 Thread Thomas Mahler
executing your statement. Why could this happen? JBOSS is a fullfledged J2EE container with JTA transaction manager and Tomcat isn't. SO under commit you must use explicit commits. Please check your OJB.properties settings that define the transactional behaviour. cheeers, Thomas Sukesh Garg wrot

ODMG UPDATE TOO FAST: DB not updated from jboss(daemon) and tomcat

2004-03-03 Thread Sukesh Garg
My application accesses OJB via the JBOSS startup daemons and TOMCAT. The database gets updated correctly when the operation is performed via the JBOSS daemon. However, if the operation is performed via tomcat, the db does not get updated. There are no errors reported. If I enable the

DATABASE.OPEN causes TOMCAT to reload my web-application !?

2003-12-22 Thread TereschenkoVA
Return Receipt Your DATABASE.OPEN causes TOMCAT to reload my web-application documen !? t

DATABASE.OPEN causes TOMCAT to reload my web-application !?

2003-12-22 Thread Dirk Manske (Service Respond)
Hi, I am trying to use OJB ODMG in a STRUTS application on TOMCAT 4.1.29. ODMG and Database objects are setup at the start of the application via plug-in and then both will be referenced from a business object for any database manipulations. The startup processes without any complaints. When I

Re: tomcat

2003-12-15 Thread Daniel Perry
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 14, 2003 6:22 AM Subject: tomcat > Hello, > > I currently have a fairly basic account and I'm considering getting > Tomcat functionality added. Can you tell me how Tomcat is configured. > I'm par

tomcat

2003-12-14 Thread Damon Torgerson
Hello, I currently have a fairly basic account and I'm considering getting Tomcat functionality added. Can you tell me how Tomcat is configured. I'm particularly interested in database access. Will I have access to server.xml? Thank

Re: OJB.properties/repository.xml in a jar file? Was Re: Problems using Tomcat + OJB

2003-12-03 Thread Gus Heck
Jason Pyeron wrote: We are trying to deploy an application as a single jar file. But we cant seem to get the OJB subsystem to load its files from inside the jar. any suggestions? I suggest you provide the list with error messages and details about what you have tried that didn't work, assumi

OJB.properties/repository.xml in a jar file? Was Re: Problems using Tomcat + OJB

2003-12-03 Thread Jason Pyeron
the files to WEB-INF/classes and worked. > > > > Unfortunatelly, in the OJB.properties, I had to write the fully static > > directory to the repository file running at Tomcat. > > > > repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml > > I

Re: Problems using Tomcat + OJB

2003-12-03 Thread Antonio Gallardo
Rogerio Tambellini dijo: > Thanks for everyone, I just moved the files to WEB-INF/classes and worked. > > Unfortunatelly, in the OJB.properties, I had to write the fully static > directory to the repository file running at Tomcat. > > repositoryFile=../webapps/mariti

Re: Problems using Tomcat + OJB

2003-12-03 Thread Franz-Josef Herpers
OJB.properties, I had to write the fully static directory to the repository file running at Tomcat. repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml Is that right? There is another way to write this, because I wanna deploy this project into another application server and I don't

Re: Problems using Tomcat + OJB

2003-12-03 Thread Rogerio Tambellini
Thanks for everyone, I just moved the files to WEB-INF/classes and worked. Unfortunatelly, in the OJB.properties, I had to write the fully static directory to the repository file running at Tomcat. repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml Is that right? There is

Re: Problems using Tomcat + OJB

2003-12-02 Thread Franz-Josef Herpers
Put OJB.properties and repository.xml in a directory named classes in your WEB-INF directory WEB-INF + classes - OJB.properties - repository.xml Regards Franz Rogerio Tambellini wrote: I'm using Tomcat 4.1.29 and OJB 1.0 rc4. I've tested my class using JUnit and it

Re: Problems using Tomcat + OJB

2003-12-02 Thread Gus Heck
The normal location for library files is: TOMCAT_HOME--+--webapps--+--product--+ +--WEB-INF-+ +--lib-+ +--db-obj-1.0-rc4.jar This should be the result if you d

Re: Problems using Tomcat + OJB

2003-12-02 Thread Gordon Ferguson
Try moving the OBJ.properties and repository.xml into .../WEB-INF/classes/ rather than directly under WEB-INF. Rogerio Tambellini wrote: I'm using Tomcat 4.1.29 and OJB 1.0 rc4. I've tested my class using JUnit and it's correct, but when I deploy to Tomcat this message happens

Problems using Tomcat + OJB

2003-12-02 Thread Rogerio Tambellini
I'm using Tomcat 4.1.29 and OJB 1.0 rc4. I've tested my class using JUnit and it's correct, but when I deploy to Tomcat this message happens when trying to create a Persistence Broker. java.lang.NoClassDefFoundError at org.apache.ojb.broker.PersistenceBrokerFactory.createPe

  1   2   >