FDS requires that your app server have an implementation of JTA – the javax.transaction.UserTransaction class.  Tomcat does not come with one out of the box but you can download the open source implementation.   

 

Here’s the link with the instructions for installing that:

 

http://www.adobe.com/support/documentation/en/flex/2/install.html#tomcat

 

Not sure why this is different between linux and windows but if you notice any problems in the instructions/docs let us know. 

 

Jeff

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dreuimar
Sent: Friday, August 04, 2006 6:26 AM
To: [email protected]
Subject: [flexcoders] UserTransaction on Windows and Linux

 

I'm writing an application that's being developed on a Windows machine
and the production server is on Linux. Both are running Tomcat with
the exact same configuration.

I am using FDS and everything works great on both machines until an
updateItem() method is called. On Windows updateItem works fine and
does everything right, but when I copy the Flex files and Java classes
to the Linux box, it fails on the updateItem call and gives me:

[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()
at
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::statusHandler()
at mx.messaging::MessageResponder/status()

Any suggestions on what might be going wrong? I found that for Java
1.4.2 (which Linux had) you need JXM, so rather than doing that I
upgraded the Linux box to JRE 1.5.0 (on Windows it's 1.6 beta).

I thought that by upgrading it should fix it (since I suppose JXM is
included on 1.5+.

Thanks in advance,
Brennan

__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to