I am trying to implement transaction manager in tomcat,But somehow I cannot get the transaction manager in tomcat. The problem is my configuration file, Any one who have implemented tyrex with tomcat before, can you give me an example of your server.xml, and if possible the domain-config.xml, web.xml file. Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the moment Tyrex is not integrated closely with Tomcat. (We have it on our "todo" list, but I am not sure when it will be in.) This means that server.xml and web.xml will probably not help you.
However you can use Tyrex doing initialisation etc.. from your Java servlet code.
I would suggest that you look for clues at MetaBoss
project (http://sourceforge.net/projects/metaboss) it comes with example, which includes domainconfig.xml
Hope this helps
Kind regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to implement transaction manager in tomcat,But somehow I cannot get the transaction manager in tomcat. The problem is my configuration file, Any one who have implemented tyrex with tomcat before, can you give me an example of your server.xml, and if possible the domain-config.xml, web.xml file. Thank you
I achieved this integration in my castor-taglib project (http://castor-taglib.sourceforge.net/).
YOu need to write an ObjectFactory that returns a transaction manager from tomcat. This class is included in the Castor Taglib project.
I hope this helps.
Hi there !
At the moment Tyrex is not integrated closely with Tomcat. (We have it on our "todo" list, but I am not sure when it will be in.) This means that server.xml and web.xml will probably not help you.
However you can use Tyrex doing initialisation etc.. from your Java servlet code.
I would suggest that you look for clues at MetaBoss
project (http://sourceforge.net/projects/metaboss) it comes with example, which includes domainconfig.xml
Hope this helps
Kind regards