RE: [flexcoders] Help needed in saving data through Data Service
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
[flexcoders] Flex Pricing question
Hi, Is the Eclipse plug-in for the Flex-builder free or I have to pay for it. Can I get this without the flexbuilder? If yes, what is the cost? I dont see the price for Flex Data Service on the site, what's the pricing model for this? I understand the express version is free to download. What is the limitation of express version? Whats the days-limit for trial flex charting? Thanks Umesh. Thanks Umesh How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Help needed in saving data through Data Service
Hi, 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], [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. __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Please Help: Not being able to access the .as class from mxml in Flex 2 Beta 2
Hi, Thanks for replying. Yes, Program.as live in test package and it is in test directory. In the flex builder, there is no compile-time error. I get the error, when I run it. This is the directory configuration: - programview.mxml - test\Program.as Am I missing any configuration? Thanks, UmeshPeter Farland <[EMAIL PROTECTED]> wrote: Is the Program class correctly declared inside a package test {} block?Does Program.as live in a subdirectory called test?-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of eairoxSent: Thursday, May 04, 2006 7:02 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Please Help: Not being able to access the .asclass from mxml in Flex 2 Beta 2Hi,I am not able to use the actionscript class in the mxml. I have declareda class as follows:Class: Program.as import mx.collections.*; //These imports should be unnecessary in the final release import mx.data.IManaged; import mx.data.utils.Managed; import mx.core.mx_internal; [Managed] [RemoteClass(alias="test.Program")] public class Program { //auto generated private var programId:int; //auto generated private var programName:String; ... ...}mxml code:import test.Program;[Bindable]public var program:Program;Error:Type is not found or not a compile-time constant: Program36: public var risks:ArrayCollection;37: public var program:Program; Yahoo! Groups Sponsor ~-->Get to your groups with one click. Know instantly when new email arriveshttp://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM~-> --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.