Lance, thx for the tip.  Good to know.  I'm going to try to drop
blazeds.  I also do not want to make all my classes implement
Externalizable -- yuck.

FYI: I was messing with trying to upgrade to graniteds 2.0.0.B2 -- all
the jars/swc are published in the java.net maven2 repo.  There are a
few that are still 1.2.0_SP2 which are:

granite-generator
granite-hibernate-swc
granite-core-swc

It was not clear to me if these need to be 2.0.0.B2 -- it doesn't look
like the latest graniteds release even has these.  All the other
jars/swc are version 2.0.0.B2 in the java.net maven repo.

Also if you d/l the graniteds .zip file, you'll find an Ant build
script with pom files that can install all the jars.

On Thu, Apr 16, 2009 at 6:38 PM, dtornkaew <[email protected]> wrote:
>
> Davis,
>
> Not sure exactly what your error means but from experience I have had
> problems with FlexMojos+GAS3+BlazeDS. In the end my problem was that
> my Java VO's didn't implement java.io.Externalizable and the GAS3
> generated AS code was spitting out AS3 classes that used
> flash.utils.IExternalizable. To avoid changing my Java classes I
> simply dropped the GAS3 generation.
>
> Your error message doesn't appear to indicate any issue with your
> server classes not implementing java.io.Externalizable so my situation
> might not even apply here.
>
> I am actually revisiting this project to try and use GAS3 generated
> AS3 code again. If I run into any other issues I will let you know.
>
> Lance
>
> On Apr 14, 1:39 pm, Davis Ford <[email protected]> wrote:
>> Has anyone else on the list built a project that has this stack?  I've
>> looked at a lot of examples, and there is always something
>> significantly different about the example vs. my setup.
>>
>> I am fairly close to getting this working, but it is using BlazeDS for
>> remoting, and GraniteDS for as3 generation.  I'd like to dump blazeds
>> entirely and focus entirely on graniteds.
>>
>> I'm just trying to get the simplest thing to work.  A simple entity
>> class with a name and id.  When I launch the flex app, and try to save
>> a new one...I get something like the error below.  I'm curious if
>> someone else on the list has a simple example of this stack working
>> that they could share.  I'd also be happy to share what I've got so
>> far.
>>
>> [BlazeDS] FlexSession created with id 'me6wgnr1k9vg' for an Http-based
>> client connection.
>> [BlazeDS] Channel endpoint channel-amf received request.
>> [BlazeDS] Deserializing AMF/HTTP request
>> Version: 3
>>   (Message #0 targetURI=null, responseURI=/1)
>>     (Array #0)
>>       [0] = (Typed Object #0 'flex.messaging.messages.CommandMessage')
>>         operation = 5
>>         correlationId = ""
>>         body = (Object #1)
>>         messageId = "4977CEE1-B1CF-CFB1-1FB3-A5CEB6DAC539"
>>         clientId = null
>>         timeToLive = 0
>>         timestamp = 0
>>         headers = (Object #2)
>>           DSMessagingVersion = 1
>>           DSId = "nil"
>>         destination = ""
>>
>> [BlazeDS] tried to access field
>> flex.messaging.messages.ErrorMessage.faultCode from class
>> flex.messaging.MessageException
>> [BlazeDS] Serializing AMF/HTTP response
>> Version: 3
>>   (Message #0 targetURI=/1/onStatus, responseURI=)
>>     (Typed Object #0 'flex.messaging.io.SerializationException')
>>       rootCause = (Typed Object #1 'java.lang.IllegalAccessError')
>>         message = "tried to access field
>> flex.messaging.messages.ErrorMessage.faultCode from class
>> flex.messaging.MessageException"
>>         localizedMessage = "tried to access field
>> flex.messaging.messages.ErrorMessage.faultCode from class
>> flex.messaging.MessageException"
>>         cause = null
>>       message = "An unhandled error occurred while processing client
>> request(s)."
>>       errorMessage = null
>>       extendedData = null
>>       localizedMessage = "An unhandled error occurred while processing
>> client request(s)."
>>       cause = null
>>       details = null
>>       number = 10306
>>       code = "Client.Packet.Encoding"
>>       rootCauseErrorMessage = (Ref #1)
>>
>> --
>> Zeno Consulting, Inc.
>> home:http://www.zenoconsulting.biz
>> blog:http://zenoconsulting.wikidot.com
>> p: 248.894.4922
>> f: 313.884.2977
> >
>



-- 
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to