There seems to be issues with JOTM. 1) It is claimed not to work with JDK5 2) latest release is also quite old - May 2005 3) http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html - From here if the .war mentioned in the bottom of the page is used as is, it works with Tomcat 5.5.23
But if I take it in eclipse and compile using JDK1.4.2_15 or JDK1.5 and use it on Tomcat 5.5.23, it does not work for ut.rollback() - same problem as mentioned in http://www.nabble.com/UserTransaction,-JOTM-and-Tomcat-5.5.x-t1073172.html Not sure which JDK is used in the downloaded .war. 4) http://lists.ofbiz.org/pipermail/users/2006-June/012482.html - says that , user needs to compile carol and jotm using JDK 5. I am trying that option now. But have another question - has anybody used Geronimo TM and will it be a better choice than JOTM cosidering all the above issues? Appreciate any help. Regards, Amita ---------- Forwarded message ---------- From: Amita Vadhavkar <[EMAIL PROTECTED]> Date: Aug 31, 2007 5:44 PM Subject: [DAS] DAS Web Sample with Tomcat and JOTM as Transaction Manager To: [email protected], [EMAIL PROTECTED] I am using jotm-2.0.10 and Tomcat 5.5.23. The HowTo from JOTM site has a few problems and the below info worked for me - [1]http://www.nabble.com/UserTransaction,- JOTM-and-Tomcat-5.5.x-t1073172.html [2]http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html Also, as mentioned in [1] for hsql, for Derby too , I checked that ut.rollback does not work (used the sample from .jotm-2.0.10\examples\tomcat - tailored for Derby). So, MySQL may need to be used for this. With its InnoDB feature ON. (Ref - [3]http://www.onjava.com/pub/a/onjava/2003/07/30/jotm_transactions.html?page=2 ) Please see the attached screenshot and comment if something like this will be useful as the sample? Or some different use case/example will suite better. Also, I am finding it quite easy to re-use the sample-ajax-das framework to deploy this new sample. Please advise, if it should stand separate and not part of that sample. The ease in re-use lies in the generic -servlet, js, menu jsp and service processor etc. We can rename "sample-ajax-das" to ''Advanced DAS Web Sample", any better name? Please comment on all of the above, so I will proceed with creating the required sample using your feedback. Regards, Amita
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
