2 Replies Latest reply on Feb 9, 2006 11:15 AM by borje.jonsson

    Using DummyTransactionManagerLookup in Jboss

    borje.jonsson

      I have som trouble configuring TreeCache to not use transactions. When I set TransactionManagerLookupClass to org.jboss.cache.DummyTransactionManagerLookup I get a NameAlreadyBoundException in Jboss.

      Is it at all possible to use Jboss cache without transaction support in Jboss?


      Jboss cache version is 1.2.4 and Jboss version is 4.0.3SP1.

      Snippet from treecache-service.xml:

      <attribute name="TransactionManagerLookupClass">org.jboss.cache.DummyTransactionManagerLookup</attribute>
      


      and error message:

      12:37:28,191 ERROR [DummyTransactionManager] binding of DummyTransactionManager failed
      javax.naming.NameAlreadyBoundException
       at org.jnp.server.NamingServer.bind(NamingServer.java:129)
       at org.jnp.interfaces.NamingContext.bind(NamingContext.java:551)
       at org.jnp.interfaces.NamingContext.bind(NamingContext.java:516)
       at javax.naming.InitialContext.bind(InitialContext.java:359)
      



      /BJ