JBoss does use the java:/comp/UserTransaction JNDI name for the UserTransaction, I have used it myself in my own apps.
Just incase I have tried setting the UserTxJNDI system property to the values: UserTransaction java:/UserTransaction java:/comp/UserTransaction All fail! There must be some other configuration that is needed in the Flex WAR to make this work. Thanks, Erik --- In [email protected], "Jeff Vroom" <[EMAIL PROTECTED]> wrote: > > 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 > <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\Asy > ncRequest.as:107] > at > NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionC > hannel.as$37:NetConnectionMessageResponder::statusHandler()[C:\dev\enter > prise_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 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

