The jta and jts builds of the transaction service have historically existed separately.
Each has its own .jar files (jbossjta[-*].jar and jbossjts[-*].jar) and config file
(jbossjta-properties.xml and jbossjts-properties.xml) respectively. Internal metadata in
the jar references the config file name, so the jts jar is not actually a superset of the
jta one, although the .class files it contains are.
This is all well and good for the standalone customers, who tend to download only one or
the other distribution.
With the introduction of the jts to AS 5.x it has become apparent that the situation is
less than ideal, particularly now that the AS layout has a shared lib directory for all
servers. Upgrading some servers to jts whist keeping the others running jta (not all of
them have the orb needed for jts) is unduly complex. Very weird things can happen when the
jts and jta jar files are both present on the classpath.
I'd like to (hopefully) simplify matters by changing both versions to use
jbossts-properties.xml as the config file. Of course the actual contents of the file will
still differ according to the version you want to run, but at least the jts jar files will
become a strict superset of the jta ones. That means we can put the jts jar files in the
AS' shared lib directory and individual server configurations can select between the
jts and jta just by editing the jbossts-properties.xml and transaction-jboss-beans.xml.
This increases the footprint of the AS lib directory fractionally (jts is larger than
jta), but decreases the overall app server bundle size as the jta jar files are no longer
needed. More importantly, it reduces the number of ways users can potentially screw things
up.
It's slightly unintuitive that even those users wanting only the jta will need a jts
jar file in the path, but I don't think its worth renaming the jar files or splitting
the jts into a jta+jts pair rather than a single jar -the potential space saving is only
around 300k.
Unless I hear any objections I'll make this config change for JBossTS 4.6
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200574#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...