Until now: Problem with database connection (was: Problem with database connection)

2004-03-12 Thread Hinnerk Feldwisch
Hello altogether!, a month ago I posted a question regarding problems with the database connection of my JSP- application; after some hours (don't know exactly, perhabs 12h) the connection is killed, probably by the database server (MySQL). Armin Waibel was so kind to help me with this proposals:

Re: Problem with database connection

2004-02-13 Thread Hinnerk Feldwisch
Thank you for your answers, Brendan and Armin! I'm trying the minEvictableIdleTimeMillis now, set it to 6 - should that be fine? Have a good weekend, Hinnerk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Problem with database connection

2004-02-12 Thread Hinnerk Feldwisch
Hello altogether, I developed a jsp/struts/ojb- project which runs fine on my private server; but after approximately two days the database connection fails on the real server where the website shall be accessible. At the end I will post the error- message. For me the problem seams to be that

isolation-level: null

2003-09-21 Thread Hinnerk Feldwisch
Hello, I'm using OJB for a struts- project, and tried to migrate it to another server; e.g. from a PC running resin as jsp- server to another PC running the same version of resin, struts etc. I tried my best to copy the necessary java- archives, but I'm getting the following exception. Tried

Re[2]: isolation-level: null

2003-09-21 Thread Hinnerk Feldwisch
Hello joss, thank you for your answer! I'm using resin (version 2.0.9, same as on the other PC where everything is working), and I tried to use all the same versions on both PCs... further I already copied the content of repository_*.xml in my repository.xml, and I do have the same doctype as

ExceptionInInitializerError

2003-08-19 Thread Hinnerk Feldwisch
Hello, I'm using OJB for a struts- project, and tried to migrate it to another server; e.g. from a PC running resin as jsp- server to another PC running the same version of resin, struts etc. I tried my best to copy the necessary java- archives, but I'm getting the following exception. Tried to

Re[2]: Too stupid... :) or: a Bug in SqlGeneratorDefaultImpl?

2003-06-29 Thread Hinnerk Feldwisch
) - but I didn't start a query/criteria. Ok? -- Best regards, Hinnerkmailto:[EMAIL PROTECTED] Hinnerk Feldwisch wrote: Hello, after hours of debugging I found the problem with my m:n- mapping: the cause of it was that I used the same name for the collection- name

Too stupid... :) or: a Bug in SqlGeneratorDefaultImpl?

2003-06-25 Thread Hinnerk Feldwisch
Hello, after hours of debugging I found the problem with my m:n- mapping: the cause of it was that I used the same name for the collection- name and the (mysql- ) table very annoying, I should name all tables like table_friends now! :/ But perhabs the SQL- code which is generated by

Those friends

2003-06-22 Thread Hinnerk Feldwisch
Hello altogether, as a newbie I ran into some trouble regarding a self- referential (?) mapping: a User- Class shall have a Vector friends with other users. I created a (mysql-) table friends where the relationship shall be stored, with fields theUserId and friendId, primary key is (theUserId,

OJB ignores new datasets

2003-06-02 Thread Hinnerk Feldwisch
Hello, I'm using the latest OJB- version for a simple struts- jsp- website, which is some kind of message- board, and have the following problem: - I'm saving messages with the following code: public void saveMessage(Message m) { if(m.getMessage_id()==Constants.UNSPEC)