That is working. I can generate the as3 and everything seems fine. Now, I'm trying to do remoting, and it just bails out. I built my structure based off the reference app.
On Tue, Apr 14, 2009 at 3:44 PM, Marvin Froeder <[email protected]> wrote: > Well, maybe instead of trying to have a GraniteDS + Gas3 + Flex Mojos + > EJB3, you should first have Flexmojos + GAS3 working.... then you introduce > the EJB 3. > That is what is the reference APP for. It does introduce flexmojos > features, w/o taking care of java side. > > VELO > > On Tue, Apr 14, 2009 at 4:09 PM, Davis Ford <[email protected]> wrote: >> >> The difference is the reference app does not use EJB3, and mine does. >> >> So, I'm downloading the latest graniteds distro, and I'm biting the >> bullet and downloading and setting up the Flex SDK, JBoss, and using >> Ant to build their examples. They have working examples -- it is just >> that I don't want to build and structure my project with Ant. I >> freaking hate Ant. >> >> So, I need to figure out how to reverse-eng their sample apps, and >> then apply to my own maven project structure. This is just why I was >> inquiring if anyone else on the list has gone through this process -- >> maybe it would save me some time or give me a few pointers. >> >> If I get the simple framework in place, I will post a downloadable >> generic maven project on my blog. >> >> Regards, >> Davis >> >> On Tue, Apr 14, 2009 at 3:01 PM, Marvin Froeder <[email protected]> wrote: >> > Well, I'm not that expert on BlazeDS to say what is the problem by just >> > looking at logs.... >> > But I had problems using BlazeDS with sources generated by Granite GAS3. >> > I >> > look at reference APP. >> > https://docs.sonatype.org/display/FLEXMOJOS/Reference+application >> > >> > VELO >> > >> > On Tue, Apr 14, 2009 at 3: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 >> >> > > > > > -- 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/ -~----------~----~----~----~------~----~------~--~---
