Hi,
I am a new user of jbosscache1.2.3 and am trying to use it with weblogic.
For using transaction with weblogic, what TransactionManager or rather
TransactionManagerLookupClass should I specify in my treecache configuration
file?
At the moment, I am doing the following in a servlet deployed in weblogic:
Environment env = new Environment();
Context ctx = env.getInitialContext();
UserTransaction
tx=(UserTransaction)ctx.lookup("javax.transaction.UserTransaction");
tx.begin();
cache.put(node, name, val);
tx.commit();
Is this the right way to use transaction with jbosscache and weblogic?
I also noticed that, other than Dummy, there is 1 more txnManager available
-org.jboss.cache.GenericTransactionManagerLookup. Can this be used with
weblogic? I cannot use the Dummy transaction manager since my application will
be deployed across multiple jvms.
Really appreciate your help. Thanks in advance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919907#3919907
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919907
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user