The user transaction is initialised by a listener in the wstx.war.
You need to include this into your ear file, along with the other war files in the webapps directory.
should I use interface in client and config service reference in client application web.xml ?
I include these war, but it is null.
my ear file structure is:
testclient.war //it's my test client, web services are in another war file
Are the war files mentioned in you applicaiton.xml? Do you see a deployment message for wstx.war from the tomcat deployer?
10:24:49,850 INFO [TomcatDeployer] deploy, ctxPath=/xts, warUrl=.../tmp/deploy/
10:24:50,250 INFO [TomcatDeployer] deploy, ctxPath=/ws-t, warUrl=.../tmp/deploy
10:24:50,911 INFO [TomcatDeployer] deploy, ctxPath=/wscf, warUrl=.../tmp/deploy
10:24:51,232 INFO [TomcatDeployer] deploy, ctxPath=/wstx, warUrl=.../tmp/deploy
10:24:51,492 INFO [EARDeployer] Started J2EE application: file:/D:/JBoss/jboss-
This trace shows the XTS wars being deployed but does not appear to include your application. The deployment of the wstx.war will initialise the UserTransaction, amongst other things, so you should have accesss to it after this point.
Can you send me a copy of your ear file?
I have the same problem which mentioned in this topic.
Can you help me and if necessary I can send you the copy of the my ear file