Menu

Integration with tomcat tyrex, server.xml

Help
tanpeng2
2004-07-02
2004-07-02
  • tanpeng2

    tanpeng2 - 2004-07-02

    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

     
    • Patrick van Kann

      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.

       
    • Rost Vashevnik

      Rost Vashevnik - 2004-07-02

      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

       

Log in to post a comment.