0 Replies Latest reply on May 18, 2004 3:25 AM by mimi74

    UserTransaction to two servers

    mimi74 Newbie

      Hi, I have the following problem. I have the server A and server B, from client i want to call paralell the methods from A and from B but with transaction. So I need to get UserTransaction and have jndi.properties since ClientUserTransaction uses default constructor of initial context. But how can I have 2 jndi.properties files ( one with server A url and one with B properties) ? I want that one class of my client sees the first jndi.properties ( serv A ) and the second client class sees the second jndi.properties ( serv B ). Is it possible ?

      General question is how to use UserTransaction which in begin() needs jndi.properties or system properties when I parallel must call the transaction on the second server.