Sorry for not replying you earliar. I am using jrun shipped with beta3. Do I have to do something to add transaction manager? Peter Farland <[EMAIL PROTECTED]> wrote: Are you using Tomcat? If so which version? You may need to add JOTM to your tomcat installation.From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Umesh GargSent: Friday, June 30, 2006 1:08 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Help needed in saving data through Data
ServiceHi,I have an issue when I am trying to update the datagrid data to the database. As soon as I update something in the datagrid, I am getting the following error in the console:[Flex] [ERROR] Exception when invoking service: data-service with message: Flex Message (flex.data.messages.DataMessage) operation = transacted id = null clientId = A86DDAFA-7E0F-33ED-3D83-DC64732B0F45 correlationId = destination = pmoiq.psctask messageId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 timestamp = 1151686403422 timeToLive = 0 body = [ Flex Message (flex.data.messages.DataMessage) operation = update id = {taskId=2} clientId =
5FCA8A13-4C2A-26AA-896D-25DB9717D6D1 correlationId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 destination = pmoiq.psctask messageId = AAE8CBDE-AB51-DEE9-B75B-25DBE5548767 timestamp = 0 timeToLive = 0 body = [ [ fte
], [EMAIL PROTECTED], [EMAIL PROTECTED] ] ] hdr(DSEndpoint) = my-rtmp exception: flex.data.DataServiceException: Unable to access UserTransaction in DataService.[Flex] [DEBUG] Error handling rtmp message: flex.data.DataServiceException: Unable to access UserTransaction in DataService. incomingMessage: Flex Message
(flex.data.messages.DataMessage) operation = transacted id = null clientId = A86DDAFA-7E0F-33ED-3D83-DC64732B0F45 correlationId = destination = pmoiq.psctask messageId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 timestamp = 1151686403422 timeToLive = 0 body = [ Flex Message (flex.data.messages.DataMessage) operation = update id = {taskId=2} clientId = 5FCA8A13-4C2A-26AA-896D-25DB9717D6D1 correlationId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2
destination = pmoiq.psctask messageId = AAE8CBDE-AB51-DEE9-B75B-25DBE5548767 timestamp = 0 timeToLive = 0 body = [ [ fte ], [EMAIL PROTECTED], com.aed.pmoiq.model.businesso! [EMAIL PROTECTED] ] ] hdr(DSEndpoint) = my-rtmp errorReply: Flex Message (flex.messaging.messages.ErrorMessage) clientId = null correlationId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 destination = null messageId = A86DDAFA-7E19-1289-133B-44481F12D29B timestamp = 1151686403422 timeToLive = 0 body = null code = Server.Processing message = Unable to access
UserTransaction in DataService. details = null rootCause = java.lang.ClassCastException body = null extendedData = null[Flex] [DEBUG] cause=java.lang.ClassCastException type=class java.lang.ClassCastExceptionjava.lang.ClassCastException at flex.data.DataServiceTransaction.doBegin(DataServiceTransaction.java:546) at flex.data.DataServiceTransaction.begin(DataServiceTransaction.java:517) at flex.data.DataService.serviceTransactedMessage(DataService.java:440) at flex.data.DataService.serviceMessage(DataService.java:220) at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:565) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:298) at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(AbstractRTMPServer.java:653) at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Unknown Source)The datagrid is defined like this: Do you Yahoo!?Everyone is raving about the all-new Yahoo! Mail Beta.
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
__._,_.___
--
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 develo