[jboss-dev-forums] [Design of JBoss Transaction Services] - ClientUserTransaction and the JTS

jhalliday do-not-reply at jboss.com
Fri Jan 9 09:21:03 EST 2009


I'm starting to investigate AS 5 testsuite failures with the server running in JTS mode rather than with the default JTA.

First up: ClientUserTransaction is barfing because the transaction propagation context (tpc) used by the JTS contains classes from the JTS implementation that are not present on the client classpath. The RMI classloader does not have a policy to permit them to be remote loaded from the server, so deserialization fails.

Apparent options: add the jts implementation to the manifest of jbossall-client.jar; change the client classpath so it includes the jts impl jar in addition to jbossall-client.jar (not all users need the jts); change the classloader policy; change the tpc implementation.

My vote is for changing the jbossall-client.jar. Any thoughts from the AS team?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200575#4200575

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200575



More information about the jboss-dev-forums mailing list