Adding to this, I found that I can read the data (using Fill()) but as
soon I use createItem(), FDS blows up (giving ClassCastException)

-Shailesh
--- In [email protected], "Shailesh Mangal"
<[EMAIL PROTECTED]> wrote:
>
> Hi All, 
> 
>    After struggling for a quite a while, I was able to configure Jetty
> with JOTM (to a point where it starts cleanly).
> 
> Now I am getting a ClassCast Exception in JNDILookup. Wondering if
> anyone has come across following error (FDS output in Debug mode).
> Same issue is discussed on in decent depth,
> http://tech.groups.yahoo.com/group/flexcoders/message/51486 but no
> concrete solution suggested.  
> 
> 
> [Flex] 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 = D9CE4977-870F-8C20-2C39-C6D4DA7BB599
>     correlationId = 
>     destination = loginService
>     messageId = 466A87F6-D404-76D9-361C-C7CE219FDB80
>     timestamp = 1180173215095
>     timeToLive = 0
>     body = 
>     [
>       Flex Message (flex.data.messages.DataMessage) 
>           operation = create_and_sequence
>           id = ASObject(10255870){id=1234}
>           clientId = 03D24138-E112-748E-2BED-C7CE1F822C65
>           correlationId = 466A87F6-D404-76D9-361C-C7CE219FDB80
>           destination = loginService
>           messageId = 6C4AEB83-B4A2-73F6-5541-C7CE219CF4BB
>           timestamp = 0
>           timeToLive = 0
>           body = [EMAIL PROTECTED]
>     ]
>     hdr(DSEndpoint) = my-rtmp
>     errorReply: Flex Message (flex.messaging.messages.ErrorMessage) 
>     clientId = null
>     correlationId = 466A87F6-D404-76D9-361C-C7CE219FDB80
>     destination = loginService
>     messageId = D9CE49A3-790B-1933-0AD6-36F523BDEB89
>     timestamp = 1180173215113
>     timeToLive = 0
>     body = null
>     code =  Server.Processing
>     message =  Unable to access UserTransaction in DataService.
>     details =  null
>     rootCause =  java.lang.ClassCastException:
org.objectweb.jotm.Current
>     body =  null
>     extendedData =  null
> [Flex] cause=java.lang.ClassCastException: org.objectweb.jotm.Current
> type=class java.lang.ClassCastException
> java.lang.ClassCastException: org.objectweb.jotm.Current
>         at
>
flex.data.DataServiceTransaction.doBegin(DataServiceTransaction.java:653)
>         at
> flex.data.DataServiceTransaction.begin(DataServiceTransaction.java:624)
>         at
> flex.data.DataService.serviceTransactedMessage(DataService.java:474)
>         at flex.data.DataService.serviceMessage(DataService.java:241)
>         at
>
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:548)
>         at
>
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:302)
>         at
>
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(AbstractRTMPServer.java:682)
>         at
>
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:665)
>         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(Thread.java:613)
>


Reply via email to