This error occurs because either the server failed to find the UserTransaction component or because the “begin” call on the UserTransaction is failing.  If you turn on debug logging for the server, I think you should get a stack trace and possibly more details about the exception which is occurring.  By default, FDS is looking for the UserTransaction in JNDI at the standard location: “java:comp/UserTransaction” but it might be that in some versions of JBoss, this is at a different location.  I found from a quick google search that maybe they are just using the name “UserTransaction” in at least some versions of Jboss.  You can get this behavior by setting the system property:

 

                UserTxJndiName

 

To the path name where Jboss has this registered. 

 

So you’d have to set this system property someplace… for example if you can find where you add command line args, you could do:  “java -DUserTxJNDIName=UserTransaction <rest-of-java-args>”

 

Jeff

 


From: [email protected] [mailto:[email protected]] On Behalf Of erik_jen5en
Sent: Thursday, September 21, 2006 12:51 AM
To: [email protected]
Subject: [flexcoders] Unable to access UserTransaction in DataService.

 

I am trying to use a data service on JBoss but keep getting the
following error,

[RPC Fault faultString="Unable to access UserTransaction in
DataService." faultCode="Server.Processing" faultDetail="null"]
at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()
at mx.data::CommitResponder/fault()
at
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:107]
at
NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::statusHandler()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\NetConnectionChannel.as:458]
at
mx.messaging::MessageResponder/status()[C:\dev\enterprise_gmc\frameworks\mx\messaging\MessageResponder.as:225]

Is there some additional setup for transactions needed on the JBoss
application server?

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to