Re: Database Rollback doesn't work

2003-12-19 Thread monicaf
Hi! Thanks a lot for your answer. I have decided to implement the transactionality in the code as suggested. It seems a better way of doing it. Monica > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > George Sexton wrote: >> I thought transactions were one of those features MySQL decided tha

Database Rollback doesn't work

2003-12-19 Thread monicaf
Hi! I have a simple webapp that allows users to register. The user is inserted in the DB and a confirmation mail is sent to the user. If the mail fails I'd like the DB to rollback the transaction, but it doesn't do it. The new user entry is kept in the DB. I'm using Tomcat 4.1 and mySQL 2.3.2. I

RE: Problems using an org.apache.catalina.util class in Tomcat

2003-12-18 Thread monicaf
Hi! After a bit more investigation, I discover that there is an equivalent class in the common package. So that should make it. Thansk and sorry for the hassle. Monica > Hi! > >> Howdy, >> You didn't include the root cause portion of your stack trace: the part >> you included doesn't help. > > U

RE: Problems using an org.apache.catalina.util class in Tomcat

2003-12-18 Thread monicaf
Hi! > Howdy, > You didn't include the root cause portion of your stack trace: the part > you included doesn't help. Uhmm... I'm afraid, that's all there is. None of the logs show any more exceptions/info... > Are you by any chance trying to use the org.apache.catalina class from > classes that a

Problems using an org.apache.catalina.util class in Tomcat

2003-12-18 Thread monicaf
Hi! I'm trying to use an org.apache.catalina.util class in my web application. It does work fine if I use it standalone, but when it runs within Tomcat 4, I'm getting an exception. I think there is a security incompatibility problem with Tomcat. Thanks for your help! Monica Exception: 2003-12-