-
1. Re: why UserTransactionFactory return null?
kconner May 30, 2006 10:13 AM (in response to neotian)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.
Kev -
2. Re: why UserTransactionFactory return null?
neotian May 30, 2006 1:18 PM (in response to neotian)Another question.
should I use interface in client and config service reference in client application web.xml ? -
3. Re: why UserTransactionFactory return null?
neotian May 31, 2006 6:19 AM (in response to neotian)I include these war, but it is null.
my ear file structure is:
commons-logging.jar
config.jar
jbossjts.jar
jbossts-comon.jar
stax-api-1.0.jar
ws-c.jar
ws-t.jar
wsas.jar
wscf.jar
wstx-asl-2.0.3.jar
wstx.jar
testclient.war //it's my test client, web services are in another war file
ws-c.war
ws-t.war
wscf.war
wstx.war -
4. Re: why UserTransactionFactory return null?
kconner May 31, 2006 6:36 AM (in response to neotian)Are the war files mentioned in you applicaiton.xml? Do you see a deployment message for wstx.war from the tomcat deployer?
Kev -
5. Re: why UserTransactionFactory return null?
neotian May 31, 2006 10:26 PM (in response to neotian)10:24:49,850 INFO [TomcatDeployer] deploy, ctxPath=/xts, warUrl=.../tmp/deploy/
tmp13115testwstrans.ear-contents/ws-c-exp.war/
10:24:50,250 INFO [TomcatDeployer] deploy, ctxPath=/ws-t, warUrl=.../tmp/deploy
/tmp13115testwstrans.ear-contents/ws-t-exp.war/
10:24:50,911 INFO [TomcatDeployer] deploy, ctxPath=/wscf, warUrl=.../tmp/deploy
/tmp13115testwstrans.ear-contents/wscf-exp.war/
10:24:51,232 INFO [TomcatDeployer] deploy, ctxPath=/wstx, warUrl=.../tmp/deploy
/tmp13115testwstrans.ear-contents/wstx-exp.war/
10:24:51,492 INFO [EARDeployer] Started J2EE application: file:/D:/JBoss/jboss-
4.0.3SP1/server/default/deploy/testwstrans.ear -
6. Re: why UserTransactionFactory return null?
kconner Jun 1, 2006 4:12 AM (in response to neotian)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? -
7. Re: why UserTransactionFactory return null?
kardinal Jul 11, 2007 2:53 AM (in response to neotian)Hello Kevin
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
Best regards,
Kardinal