since ‎21-11-2007
‎10-12-2019
Steve_Pruitt
Level 1
managing subscriptions in MessagingAdapter
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
I wanted to experiment with custom subscription management. The documentation states to override handlesSubscriptions() and return true, plus implement manage(CommandMessage message).I never see my handlesSubscriptions() method called, so my manage(..) method is, of course, never called. Is there something else I need to setup?-S

Views

1.3K

Likes

0

Replies

0
need help understanding why client is not updating
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
I have two scenarios. One works one and one does not and I cannot determine the underlying reason. I open two clients make a change in one. The second client is updated nicely with first scenario and doesn't update with second scenario.This works:[Managed]Document var uuid:String; var parts:ArrayCollection;[Managed]DocumentPart var uuid:String; var value:Stringdata-management-config.xml: : When I make a change to a DocumentPart, the other client is updated successfully. When I set a breakpo...

Views

387

Likes

0

Replies

0
strange DataService error
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
I get this attempting to set the channel set on my data service. The data service was generated using the Flash Builder LCDS code generator. I have no clue.TypeError: Error #1006: createOfflineAdapter is not a function. at mx.data::DataStore()[C:\depot\DataServices\branches\lcds31_final\frameworks\projects\data\src\mx\data\DataStore.as:223] at mx.data::ConcreteDataService/get dataStore()[C:\depot\DataServices\branches\lcds31_final\frameworks\projects\data\src\mx\data\ConcreteDataService.as:530] ...

Views

444

Likes

0

Replies

0
Re: need design hints for Managed class
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Some progress...I have made each object a Managed class with a destination / assembler for each one. I configured one to many relations for Document -> Chapter, Chapter -> Page. The create operation works as expected. When the Document assembler is called, the Chapter and Page assemblers have done their thing.I now working on getting Documents with a fill operation. Its working, but I am still not clear on how to sync changes across multiple clients. In an earlier small prototype, the way I foun...

Views

57

Likes

0

Replies

0
Re: need design hints for Managed class
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Looking at Tour de Flex - Managing Associations and Lazy Loading... The source code for Product, Account, Contact, etc. would be nice, so I can see how they are setup w/regard to handling the data services. I assume these are all [Managed]? Is the whole example downloadable from somewhere?

Views

57

Likes

0

Replies

0
Re: need design hints for Managed class
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Ah. That certainly illuminates things a little better.I currently have a single Assembler for Document and I have a hit a bit of a roadblock. I can create the full object tree. Document has a Chapter and the Chapter has a Page. But I want to edit the Page and sync any changes across multiple clients. So I need an ItemReference for the Page. I turn around a perform a getItem on the Page, but I get an error stating the item must be [Managed]. The reason I don't have it managed is because LCDS skip...

Views

58

Likes

0

Replies

0
Re: need design hints for Managed class
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Hmm. I am not using Model driven. I hand-crafted everything including my custom assembler. When I create a Document what is returned, of course, is an ItemReference containing the created Document (the Managed class) along with some sub-parts. What is puzzling is how to get ItemReferences for all the sub-parts I want to change and have sync'd. I know I have to invoke a createItem when something doesn't exist, but there is a lot of getItem calls for any client interested in changes to any one par...

Views

56

Likes

0

Replies

0
need design hints for Managed class
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
I need help understanding the underlying LCDS mechanisms when a complex object hierarchy is managed in LCDS. I have a custom Assembler because I have specialized persistence requirements. My object hierarchy is basically the following:Document Chapter Page TextDocument is the [Managed] class. When a new Document is created, it is initialized with a Chapter. Pages and Text are created when the document is edited. I create new instance of Document and initialize it with an instance of Chapter. On ...

Views

1.9K

Likes

0

Replies

11
null MessageBroker
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
My application needs server push. I am trying to get a simple "Hello World" going, but I can't get past a null MessageBroker. I simplified my configuration files and it might be my issue.My services-config.xmlincludes only the messaging and data-management configs:channels: a single serverand i left the channel definitions as defined.My messaging-config.xml is: 0 1000 0 true . server-to-server My java part is:MessageBroker msgBroker;msgBroker = MessageBroker.getMessageBroker(null...

Views

682

Likes

0

Replies

1
Re: Class not found - was channel definition question
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
No luck, the same problem. The console message looks exactly the same.I followed all of the above instructions except for the two optional steps. I currently have no security considerations and I am not yet using the JMSAdaptor.I am majorly stuck. I guess I can either switch to the integrated Tomcat. Or, I can try my luck with JBoss. Any opinion on which version of JBoss?

Views

61

Likes

0

Replies

0
Re: Class not found - was channel definition question
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Looks like the missing class was the java transaction class, I thought it was part of the error message. As soon as I solved that issue, I might be down to my real problem. I can hope.[Flex]Received command: TCCommand [ Cmd: 0, MethodName: null, TrxID: 2.0][Flex]Serializing AMF/RTMP responseVersion: 3 (Command method=_error (0) trxId=2.0) (Typed Object #0 'flex.messaging.messages.ErrorMessage') headers = (Object #1) rootCause = (Typed Object #2 'javax.naming.NamingException') rootCause = null me...

Views

61

Likes

0

Replies

0
Class not found - was channel definition question
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
I am much closer. Tomcat is putting some key messages in the console and I overlooked them. It looks like I am closer than I thought. The request looks like its getting received, but my service blows up on response due to I think two class not found issues. But, I can't tell what classes are missing. [Flex]Deserializing AMF/RTMP requestVersion: 3 null 2.0 (Command method=null (0) trxId=2.0) null (Externalizable Object #0 'flex.data.messages.DataMessageExt') (Array #1) [0] = (Typed Object #2 'fle...

Views

1.4K

Likes

0

Replies

3
Re: channel definition question
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Configuring Flex logging at least provided a start to figure out what is wrong, but its still a bit obfuscated. It looks like a server problem. I searched on the one line that looks appears to be the error message. Some hits, but no real solution. I think there is some underlying issue still with my configuration, or something.'ds-producer-DocumentPart' producer connected.Disabling auto-connect timer - connected: true'ds-producer-DocumentPart' producer acknowledge of 'BAD229B0-2DDE-AFD2-E74D-888...

Views

51

Likes

0

Replies

0
channel definition question
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
I still cannot get things to work. I have a very simple client sending down a simple object via rtmp. I cut the services-config.xml and data-management-config.xml files down to the bare essence of what I think I need.The channel definition has the endpoint: rtmp://{server.name}:2038. My data-management-config.xml sets this channel as a default.My initial test in my Flex client is createItem. The message seems to be sent to the server as far as I can tell by looking at tcpmon. On the server, I ha...

Views

617

Likes

0

Replies

2
Re: LCDS documentation help
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
Very helpful.  Thank you.

Views

58

Likes

0

Replies

0
LCDS documentation help
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
There are five configuration files for LCDS: proxy-config.xml, remoting-config.xml, messaging-config.xml, data-management-config.xml, services-config.xml.I have searched for documentation that talks about them in their entirety, but I cannot find anything satisfactory. I am starting with my first application to learn this technology and Its hard to tell which config files I must modify and which ones I can leave with the default settings. I am using the data management services approach, so I kn...

Views

1.4K

Likes

0

Replies

2
Configuring BlazeDS compilation in FB
Avatar

Steve_Pruitt

Steve_Pruitt
- Adobe LiveCycle
How exactly do you configure FlexBuilder to compile with theBlazeDS config files. I have linked folder to the config files, butnot sure what the mxmlc switch is for BlazeDS if that is how you doit?

Views

350

Likes

0

Replies

1