RE: [flexcoders] Java enum in Flex3

2009-02-04 Thread Seth Hodgson
erently dangerous here? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Seth Hodgson Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Java enum in Flex3 Date: Wed, 4 Feb 2009 16:20:33 -0800 BlazeDS and LCDS rou

RE: [flexcoders] Java enum in Flex3

2009-02-04 Thread Seth Hodgson
BlazeDS and LCDS roundtrip Java enums to the client and back as Strings. That's the only good option at present, and here's an in-depth explanation: http://greetingsfromoakland.blogspot.com/2009/02/enums.html Best, Seth From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Beh

RE: [flexcoders] Real Time data grid updates/streaming - Oracle -> Flex using BlazeDS ???

2009-02-04 Thread Seth Hodgson
Take a look at the Data Management Service in LCDS, as well as the server side DataServiceTransaction class. http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=Part_Data_Management_1.html Best, Seth From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups

RE: [flexcoders] Is it possible to have the swf and LCDS app on different servers?

2009-02-04 Thread Seth Hodgson
> I have a flex client from which I would like to make RemoteObject calls > through LCDS to a J2EE server. Not possible. LCDS remoting destinations invoke methods on local Java classes. These Java classes that you've exposed as remoting destinations could always make remote calls to other resou

RE: [flexcoders] Re: BlazeDS - Best practice for determining if server session is invalid.

2009-02-04 Thread Seth Hodgson
The creds passed to ChannelSet.login() are cached in client memory in Base64 encoded format and are cleared by a ChannelSet.logout() call. This allows channel hunting/fallback to be seemless at initial connect time as well as during reconnect following a temporary network failure or the remote c

RE: [flexcoders] Server Side Cache and AMF

2009-02-04 Thread Seth Hodgson
Flash Player and AIR send AMF requests in the body of HTTP POST requests. The POST method (http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html - section 9.5) is technically not cacheable by HTTP components (proxies, browsers, etc.) unless the AMF endpoint explicitly enables this by setting nec

RE: [flexcoders] filtering blazeds messages

2009-02-04 Thread Seth Hodgson
Change you selector value to: consumer.selector = "reportID = " + reportID; If you run into similar problems with Consumers that define selector expressions in the future, you can add the "Message.Selector" category to your server-side logging filters. If a client's selector can't be evaluated

RE: [flexcoders] RemoteObject dynamic destination?

2009-02-04 Thread Seth Hodgson
When you run into an issue with MXML bindings your best bet to troubleshoot is to set the keep-generated flag for the compiler to true. When you assign to the 'destination' property using a binding, after compiling we see the following code in the {MainApp}-generated.as for that RemoteObject ins

RE: [flexcoders] [ds-console] help / pointers needed...

2009-02-04 Thread Seth Hodgson
Hi Fotis, The name value is based on the web app name as defined in your web.xml: My App ... Best, Seth From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Fotis Chatzinikos Sent: Wednesday, February 04, 2009 6:41 AM To: flexcoders@yahoogroups.com Subject: Re

RE: [flexcoders] Re: localconnection data encrypted?

2009-01-29 Thread Seth Hodgson
the array is GCed. There's no perfect solution here, but this reduces the attack surface. Again, not a concern for most apps. Best, Seth -Original Message- From: Seth Hodgson Sent: Wednesday, January 28, 2009 3:36 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flex

RE: [flexcoders] Re: localconnection data encrypted?

2009-01-28 Thread Seth Hodgson
ection, like getting good anti-virus software installed or something :) Best, Seth -Original Message- From: Seth Hodgson Sent: Wednesday, January 28, 2009 2:50 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Re: localconnection data encrypted?

RE: [flexcoders] Re: localconnection data encrypted?

2009-01-28 Thread Seth Hodgson
There's no network involved. More details here: http://greetingsfromoakland.blogspot.com/2008/11/zen-and-art-of-localconnection.html You need to worry about encryption in this scenario unless you're worried about other processes on the local machine trolling randomly through memory... What you l

RE: [flexcoders] Flex of JavaFX?

2009-01-28 Thread Seth Hodgson
Flex Data Services was rebranded as LiveCycle Data Services a while ago, but that was just a name change: http://www.adobe.com/products/livecycle/dataservices/ It's a Flex client library along with a server library that adds advanced functionality on top of and around rpc.swc (shipped with the

RE: [flexcoders] Re: BadPaddingException using RTMPS

2008-12-15 Thread Seth Hodgson
Hi Taze, Do these errors only occur during the SSL handshake (you can look for SSLHandshakeException in your stack traces)? Are you using a CA certificate or a self-signed cert, and what algorithm, etc.? Also, do you know if this is happening for connections from AIR clients running on Windows,

RE: [flexcoders] Re: Anything other than a JS alert can delay a window close?

2008-12-15 Thread Seth Hodgson
HTTP session timeout at the server is the only sure-fire way to detect a client has left. Catching Javascript events at the client and attempting to notify the server may shortcut this process _when_ it works - but it provides no guarantees that it will. Even if your Javascript is able to put a

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Seth Hodgson
Right, definitely a bug in mx.rpc.soap.Operation#invokePendingCall where it invokes a helper method to dispatch fault events directly if it hits encoding errors, etc. An example of what it should be doing can be seen in mx.rpc.soap.mxml.Operation#send: new AsyncDispatcher(dispatchRpcEvent, [fau

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Seth Hodgson
tener(TimerEvent.TIMER, reDispatchInvocationFault); timer.stop(); timer = null; token.mx_internal::applyFault(invocationFaultEvent); } On Fri, Dec 12, 2008 at 4:08 AM, Seth Hodgson wrote: I haven't been following this thread, but the sample code below c

RE: [flexcoders] RE: services-config.xml: compc or just mxmlc?

2008-12-11 Thread Seth Hodgson
config.xml or add new [RemoteAlias] objects to the extended version, does the answer to the above change (obviously, it has to be at least 2 or 3)? I think what I'm really asking is when does the services-config.xml metadata get "baked into" a .swf (or .swc)? -- Maciek Sakrejda T

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Seth Hodgson
I haven't been following this thread, but the sample code below can actually be shortened to something like this: save(xml).addResponder(new AsyncResponder(handleResult, handleFault)); No AsyncToken in the code and rather than new'ing the responder, if you always want to direct results/faul

RE: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Seth Hodgson
with flash ? Couldn't one use flash.net.Socket to connect to port 80 and communicate using the WebDAV protocol ? On Tue, Dec 9, 2008 at 2:10 PM, Seth Hodgson wrote: > Unfortunately, the Player currently limits the set of allowed HTTP methods > to just GET and POST. > > This means that PUT,

RE: [flexcoders] huge AMF messages

2008-12-09 Thread Seth Hodgson
If you sent these in a RemoteObject call, that 10MB worth of data would go to the server in the body of a single HTTP POST. No progress events, and depending on the receiving server it may enforce size limits on body content of HTTP requests but they'd likely be higher than 10MB. Best, Seth Fr

RE: [flexcoders] JSP taglib FLEX 3

2008-12-09 Thread Seth Hodgson
You need to merge the entire web tier compiler WAR with your existing WAR. If you just move random jars over chances are good you'll miss some dependencies. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of virchete Sent: Tuesday, December 02, 2008 6:21 AM To: fl

RE: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Seth Hodgson
Unfortunately, the Player currently limits the set of allowed HTTP methods to just GET and POST. This means that PUT, DELETE, HEAD, etc. as well as all the WebDAV extension methods are not allowed. Anyone who cares about this area should vote for this bug: https://bugs.adobe.com/jira/browse/SD

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
would work better? From: Seth Hodgson <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2008 10:32 AM To: "flexcoders@yahoogroups.com" Subject: RE: [flexcoders] Call Flex from JavaScript You need to pop a Javascript alert in your trackClosing

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
It doesn't seem to work. Any ideas on what I am doing wrong? ________ From: Seth Hodgson <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2008 9:50 AM To: "flexcoders@yahoogroups.com" Subject: RE: [flexcoders] Call Flex from JavaScript Th

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
This page in the LCDS docset describes this specifically: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcconnections_4.html#1074309 The scenario in the docs is dealing with notifying the server that the client is going away, in order to short-circuit the sl

[flexcoders] RE: services-config.xml: compc or just mxmlc?

2008-12-09 Thread Seth Hodgson
Hi Maciek, I don't have any practical experience with attempting to compile service config and associated classes into modules and I don't know whether compc would support it or not, but based on some informal discussions with Alex and Jeff I wouldn't recommend it. The core issue is that AMF s

RE: [flexcoders] Error while accessing LCDS fill method

2008-12-09 Thread Seth Hodgson
If this hasn't been resolved, a snippet of your server log file with Message.* and Debug.* debug logging enabled, leading up to and through this error would be useful to see, as well as knowing what version of the LCDS you're running. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL P

RE: [flexcoders] Flex Messaging - Typing Objects.

2008-12-08 Thread Seth Hodgson
Yes, you can build and push AsyncMessages that contain typed objects as the message bodies. If you're just pushing messages from client to client through the server (i.e. no JMS or some other custom adapter into a backend messaging system), you can just tag your ActionScript class with [RemoteC

RE: [flexcoders] Re: AMF3 ping???

2008-12-05 Thread Seth Hodgson
The messaging/transport layer in Flex 2 and 3 is based on channels. A channel always handshakes with a server endpoint before passing application-generated messages/requests over its connection. So you'll see a ping command issued each time a channel initially connects. If a request fails due t

RE: [flexcoders] Re: Using RMTPS channel

2008-12-04 Thread Seth Hodgson
x27;my-rtmps' channel got connect attempt status. (Object)#0 code = "NetConnection.Connect.Failed" level = "error" 'my-rtmps' channel polling stopped. 'my-rtmps' channel connect failed. '7540C905-0C6E-84BE-E092-040409E73F95' consumer channel faul

RE: [flexcoders] Method variable scoping problem with Flex compiler

2008-12-04 Thread Seth Hodgson
Fact of life with ECMAScript (hence, with ActionScript as well). Take a look at the language specification itself for details, but locals in your example are scoped to the function, not to code blocks within the function delimited by braces. Yes, this differs from C-based languages, and as someo

RE: [flexcoders] Re: Using RMTPS channel

2008-12-03 Thread Seth Hodgson
us. (Object)#0 code = "NetConnection.Connect.CertificateUntrustedSigner" level = "status" 'EBCA076E-686F-8A0F-D36E-FF0148778098' consumer stopping resubscribe timer. 'EBCA076E-686F-8A0F-D36E-FF0148778098' consumer fault for '4843355D-D7FE-9CC7-28C8-FF018442

RE: [flexcoders] Param to a channel endpoint

2008-12-02 Thread Seth Hodgson
The context root is not something that the swf can automatically substitute into the URI value at runtime on the client based on where it was served from, so you need to provide it at compile. If you're using the JEE webtier compiler that happens automatically. If you're using MXMLC at the comman

RE: [flexcoders] Using RMTPS channel

2008-12-02 Thread Seth Hodgson
Hi Ivan, No, SecureRTMPChannel has no dependency on SecureAMFChannel. More info here: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcconfig_1.html Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivhaggi Sent: Tuesday, Dec

RE: [flexcoders] BlazeDS - Best practice for determining if server session is invalid.

2008-12-02 Thread Seth Hodgson
lly -NOT- let you know (ie it will work :-) Thanks again, Fotis On Wed, Nov 26, 2008 at 2:26 AM, Seth Hodgson <[EMAIL PROTECTED]> wrote: Hi Fotis, The client library caches credentials in order to support seamless fallback through channels in your ChannelSet that preserves your desired

RE: [flexcoders] BlazeDS - Best practice for determining if server session is invalid.

2008-11-25 Thread Seth Hodgson
elaborate a bit? How is that possible? In my case I use spring-acegi to login, prior to the flash component, but if there is another way - ie via a flash login box and automatic re-authentication i would love a pointer on how to do it... Thanks, Fotis On Tue, Nov 25, 2008 at 11:15 PM,

RE: [flexcoders] [CUSTOM COLLECTION SERIALIZATION - BLAZEDS]

2008-11-25 Thread Seth Hodgson
) this is already fixed and Externalizable is the first type checked during serialization. I hope they get 3.0.1 out soon. Thanks João From: Seth Hodgson <[EMAIL PROTECTED]> To: "flexcoders@yahoogroups.com" Sent: Tuesday, November 25,

RE: [flexcoders] BlazeDS - Best practice for determining if server session is invalid.

2008-11-25 Thread Seth Hodgson
Hi, In your services-config.xml file, within the for the channel/endpoint you app is using to issue remoting calls to the server, try turning on the following config option: true This is also exposed as the 'loginAfterDisconnect' property on Channel, if you're bu

RE: [flexcoders] mx:consumer bandwidth questions

2008-11-24 Thread Seth Hodgson
Hi Jitendra, Selector expressions defined by a Consumer that subscribes to a JMS messaging destination are passed through to the JMS server and evaluated there. Only messages that arrive at your JMS server that satisfy the selector expression will be forwarded to the JMS Consumer proxy running

RE: [flexcoders] [CUSTOM COLLECTION SERIALIZATION - BLAZEDS]

2008-11-24 Thread Seth Hodgson
Hi João, Does your custom ActionScript collection class use [RemoteClass(alias="...")] metadata to map to your corresponding custom Java collection class on the server? Using [RemoteClass] requires that you have a hard dependency on this custom AS collection class in your app in order for mxml

RE: [flexcoders] [Servlet Error]-[MessageBrokerServlet]: Secure must be contacted via secure prot

2008-10-14 Thread Seth Hodgson
I'd suggest checking the console for startup errors (you could alternately use the ServletLogTarget to route log output to your servlet container's log files). The client is receiving a 404 attempting to interact with your BlazeDS endpoint, that should be available at: https://www.myserver.com/

RE: [flexcoders] Remote calls are not happening using blazeDS in secured environment

2008-10-13 Thread Seth Hodgson
You need to use a SecureAMFChannel to interact with a SecureAMFEndpoint. It’s not clear from your emails why the server is receiving HTTP requests rather than HTTPS requests. If you’re using a SecureAMFChannel on the client, its requests will be sent via HTTPS. If you have something in front of

RE: [flexcoders] BlazeDS clustering

2008-09-19 Thread Seth Hodgson
Hi Fabien, The subscribeFromPeer() method is invoked when a subscription is added or removed on a peer server in the cluster that this server may need to know about. The NPE is happening because the destination that the subscription was added to or removed from doesn't exist on the current serv

RE: [flexcoders] Check for open data service transactions before calling logout

2008-09-19 Thread Seth Hodgson
Hi Taze, When the client disconnects, either of its own initiative in this case or due to a network problem out of its control, any outstanding calls are faulted and we let you know that their delivery to the server is in doubt. They may have reached the server, they may not have, we don't know

RE: [flexcoders] IOException on DataService closing

2008-09-17 Thread Seth Hodgson
Cedric, Our NIO subsystem in LCDS was refactored for the 2.6 release to allow us to support multiple higher level protocols in addition to RTMP so some things, including some logging output have changed from 2.5.x to 2.6. When a client shuts down, or manually disconnects an RTMPChannel, the ser

RE: [flexcoders] IOException on DataService closing

2008-09-16 Thread Seth Hodgson
Hi Cedric, That log message is just informational – it’s not an error. When a client goes away or closes its socket, often times the server TCP stack and JVM will get an IOException rather than reading a clean EOF for the socket. These messages can be useful when you’re troubleshooting networki

RE: [flexcoders] Re: LCDS and real-time performance

2008-09-16 Thread Seth Hodgson
flexcoders@yahoogroups.com, Seth Hodgson <[EMAIL PROTECTED]> wrote: > > Hi Rogier, > > The core RTMP code in the player throttles the processing of inbound RTMP data, so there's an upper bound on the number of received messages that will be dispatched per frame on the client.

RE: [flexcoders] BlazeDS FlexSessionListener

2008-09-11 Thread Seth Hodgson
http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=lcconnections_4.html#1076159 A browser closing has no immediate correlation to a server-side Http session being destroyed. Session destruction is generally based on a configurable timeout interval defined for the server (ofte

RE: [flexcoders] Execute webservice on browser close

2008-09-04 Thread Seth Hodgson
You need to keep the browser alive long enough for the request to be written to the network. There's no hook available in the Player for running code on shutdown/exit, which is good because if there was malicious swfs could prevent a browser from closing. I'd recommend catching the onunload eve

RE: [flexcoders] Flex RemoteObject and Browser cookies

2008-08-29 Thread Seth Hodgson
The Player uses the browser's HTTP stack, so outbound remoting requests will automatically carry any cookies that were previously set by the target domain (mod constraints like cookie paths, etc. that may limit the scope of the cookie). Double check that the cookies you're wanting to see actual

RE: [flexcoders] Re: Where is URLRequest data on server side

2008-08-29 Thread Seth Hodgson
track that down (doing that now). I could change the parameters list to just send the search criteria (which generates the list/grid in the first place), but there is also some filtering involved, and I had hoped to not need to recreate the search/filter logic again on the server side. Thanks ---

RE: [flexcoders] Which ports to open with BlazeDS / LCDS?

2008-08-28 Thread Seth Hodgson
Hi Simon, The ports used by BlazeDS/LCDS depend on the channel(s)/endpoint(s) the app is using and how they're configured in services-config.xml. BlazeDS only supports Servlet-based endpoints, so the port for those must be whatever your Servlet container is configured to use. If you're running

RE: [flexcoders] Re: Where is URLRequest data on server side

2008-08-28 Thread Seth Hodgson
Hi Jim, Be sure to set your request.method = URLRequestMethod.POST and assign your URLVariables to the data property of your URLRequest and then pass that to navigateToURL(...). On the server, you can access these name/value pairs as request parameters (HttpServletRequest#getParameterMap()).

RE: [flexcoders] How can we use message event of mx.data.DataService?

2008-08-26 Thread Seth Hodgson
This event is dispatched when a DataMessage has been pushed to the client by the server, after it has gone through internal processing by the DataService. Unlike a ResultEvent or FaultEvent that you'll always want to handle because they correlate to a fill() or some other operation you've invoke

RE: [flexcoders] Re: RTMP and Spring Security(Acegi) Issues - SOLVED

2008-08-26 Thread Seth Hodgson
Make that: After that, any client interaction with a destination secured with a security constraint will trigger a call to doAuthorization() Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seth Hodgson Sent: Tuesday, August 26, 2008 10:18 AM To: flexcoders

RE: [flexcoders] Re: RTMP and Spring Security(Acegi) Issues - SOLVED

2008-08-26 Thread Seth Hodgson
In the case of RTMP, the doAuthentication() hook of your LoginCommand runs when the client invokes ChannelSet.login(...) or as a result of invoking the legacy setCredentials() method on service components. The advantage of using ChannelSet.login() is that it gives you back a token for the call t

RE: [flexcoders] Re: LCDS and real-time performance

2008-08-26 Thread Seth Hodgson
Hi Rogier, The core RTMP code in the player throttles the processing of inbound RTMP data, so there's an upper bound on the number of received messages that will be dispatched per frame on the client. This is done to prevent wedging playback in the player. If I generate a burst of 100 messages

RE: [flexcoders] blazeds & spring security let assembler fetch data based on current user

2008-07-01 Thread Seth Hodgson
You can store user-specific data in the server-side FlexSession or FlexClient instances that you can access via the FlexContext class. A FlexSession represents the connection between a client and server, and in the case of servlet-based HTTP, wraps the app server's HttpSession. One thing that ca

RE: [flexcoders] AIR/LCDS/EJB Authentication lost when a different RTMP worker thread is used

2008-06-27 Thread Seth Hodgson
For NIO-based connections to the server, authentication is handled in a container specific fashion (in your case using the TomcatLoginCommand) and the resulting Principal returned by the container is stored in either the FlexSession or FlexClient instance on the server corresponding to the remot

RE: [flexcoders] Re: Managed Collections with null objects

2008-06-27 Thread Seth Hodgson
f 500. --- In flexcoders@yahoogroups.com, "richcianci" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Seth Hodgson" wrote: > > > > Hi guys, > > > > What version of things are you running, and would you mind sharin

RE: [flexcoders] flex and automation

2008-06-27 Thread Seth Hodgson
If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM To: flexcode

RE: [flexcoders] #2031: Socket Error

2008-06-27 Thread Seth Hodgson
When you hit a 2031 error, to troubleshoot further I'd recommend running Wireshark (formerly, Ethereal) to capture the TCP packets sent/received when you run your test. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of edward.syrett Sent: Friday, June 27, 2008 1:47 A

RE: [flexcoders] Server to client calls

2008-06-27 Thread Seth Hodgson
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Seth Hodgson Enviada em: quinta-feira, 26 de junho de 2008 13:46 Para: flexcoders@yahoogroups.com Assunto: RE: [flexcoders] Server to client calls Hi Luciano, Take a look through the sample apps. One of them is a stock ticker sample

RE: [flexcoders] Server to client calls

2008-06-26 Thread Seth Hodgson
Hi Luciano, Take a look through the sample apps. One of them is a stock ticker sample, and tick updates (messages) that are pushed/dispatched to subscribed Consumers are generated directly by Java code on the server. You could follow the same approach, and generate messages on the server that

RE: [flexcoders] Re: ANYONE? LCDS Bug? Return from overriden ServiceAdapter manage() disregarded

2008-06-26 Thread Seth Hodgson
Hi Steven, Definitely let me know if you run into trouble with this on LCDS 2.6 beta. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Toth Sent: Monday, June 23, 2008 10:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ANYONE? LCDS Bug? Re

RE: [flexcoders] RemoteObject: Automatically Handling Session Timeout

2008-06-25 Thread Seth Hodgson
Hi David, One option would be to turn on the following config property in your 'channel-definition'(s) in services-config.xml: false This property name doesn't contain the word 'retry' in it, but that's what it does with the call that fails due to a session timeout that triggers an a

RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-19 Thread Seth Hodgson
y blazeDS tomcat and use a self-signed keystore file. On Thu, Jun 19, 2008 at 7:50 AM, Seth Hodgson <[EMAIL PROTECTED]> wrote: Hey Clem, That raw request you're seeing is the client-side channel handshake with the server endpoint. This happens before any general messages/requests/dat

RE: [flexcoders] BlazeDS broadcast updates to others?

2008-06-19 Thread Seth Hodgson
Actually, BlazeDS does support push via AMF/HTTP streaming. RTMP supports duplex client-server interactions over a single socket. HTTP is a request/response-based protocol so is not duplex by its nature and in order to simulate a duplex connection the client most open one HTTP connection to the

RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-18 Thread Seth Hodgson
Hey Clem, That raw request you're seeing is the client-side channel handshake with the server endpoint. This happens before any general messages/requests/data are shipped over the channel/endpoint connection. For some reason the response to this initial request isn't returning the server half o

RE: [flexcoders] Re: Managed Collections with null objects

2008-06-18 Thread Seth Hodgson
Hi guys, What version of things are you running, and would you mind sharing your destination configuration? Thanks, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of richcianci Sent: Tuesday, June 17, 2008 3:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-18 Thread Seth Hodgson
I think a bit more background on your app would be helpful. It sounds like you're receiving a response from the server that isn't correctly encoded AMFX, meaning that you're using an HTTPChannel to connect the client to the server. What is being invoked on the server specifically? If you monitor y

RE: [flexcoders]

2008-06-17 Thread Seth Hodgson
Hi Clemen, That error message pretty well sums it up. The proxy service does not allow an insecure swf that is interacting with the server over HTTP to request a proxied HTTPS call. If it did, sensitive data returned via HTTPS would be passed back to your client over an unencrypted HTTP hop. L

RE: [flexcoders] Connection problem in Flex messaging

2008-06-16 Thread Seth Hodgson
gure your server with multiple IP addresses/names in the same domain, and split HTTP / RTMP traffic between 2 different IP addresses - make sure you bind HTTP server to one of them and RTMP to the other. Hope this helps Anatole Tartakovsky Farata Systems   On Mon, Jun 16, 2008 at 1:40 PM, Seth

RE: [flexcoders] [BlazdeDS] setting concurrency property through actionAcript

2008-06-16 Thread Seth Hodgson
Hi Levancho, This option is very old, dating back to the earliest versions of RemoteObject client code and it may not do what you're expecting it to do. The documentation here isn't very clear (although it's not a simple topic so maybe that's why). When you set this to "last", you're telling yo

RE: [flexcoders] Connection problem in Flex messaging

2008-06-16 Thread Seth Hodgson
Hi, RTMP is run on a non-standard (meaning, non-HTTP) port so client-side firewalls/proxies/etc. may block traffic out on that port. Accessing your server over VPN versus over the public internet must be using different port-specific rules. You'll generally want to define your ChannelSet (or t

RE: [flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread Seth Hodgson
ctionality to route messages across clusters, this would turn it into the server I've been looking for. Adam --- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > Hi Adam, > > > > Adobe is not working on this, although I'd

RE: [flexcoders] LCDS gets Killed !!!

2008-06-13 Thread Seth Hodgson
tion for this...   Chitra On Fri, Jun 13, 2008 at 12:12 AM, Seth Hodgson <[EMAIL PROTECTED]> wrote: What do you mean by killed? Is your call to exec() throwing an Exception, and if so is it showing up in your server logs? Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On B

RE: [flexcoders] Non-Blocking IO and BlazeDS Streaming

2008-06-13 Thread Seth Hodgson
Hi Adam, Adobe is not working on this, although I'd encourage the community to. Here's why we're not. 1. We're participating in the Servlet 3 JSR which will add async IO support to the Servlet API (in the form of suspendable/resumable requests). Once that API is finalized you can ex

RE: [flexcoders] How to set up a LCDS Development enviroment?

2008-06-12 Thread Seth Hodgson
This port depends on the way your servlet container is configured. Configuring this depends on the server you're using (Tomcat, WebSphere, etc.). Once you reconfigure your app server to bind to a different port for HTTP (and for HTTPS as well?), you'd need to update any hardcoded port values in

RE: [flexcoders] LCDS gets Killed !!!

2008-06-12 Thread Seth Hodgson
What do you mean by killed? Is your call to exec() throwing an Exception, and if so is it showing up in your server logs? Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chitra S.Pai Sent: Thursday, June 12, 2008 6:36 AM To: flexcoders@yahoogroups.com Subject: [flex

RE: [flexcoders] lcds references to same item

2008-06-11 Thread Seth Hodgson
If I'm understanding your email correctly, you're actually looking at a feature of Data Management. When you fill multiple client side collections and there's an overlap in the items each collection contains, Data Management ensures that only a single instance of any specific item exists on the

RE: [flexcoders] How to connect SSL pop server such as Gmail?

2008-06-10 Thread Seth Hodgson
Flash and AIR do provide general client Socket support, but unfortunately this doesn't currently include support for SSL/TLS. Neither Flash nor AIR provides a ServerSocket API. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html LCDS supports RTMP connections from th

RE: [flexcoders] Error in Adobe class MultiTopicConsumer

2008-06-02 Thread Seth Hodgson
Hi Andrew, Definitely a bug, and I've logged it: https://bugs.adobe.com/jira/browse/BLZ-189 I'd recommend voting for it and adding yourself as a watcher. Thanks, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bbloggs96 Sent: Monday, June 02, 2008 8:43 AM To: flexco

RE: [flexcoders] BlazeDS Long Polling Question

2008-05-29 Thread Seth Hodgson
Hi Satish, The setting controls how long the server will park a poll request and wait for something to return. With a wait of just 100 ms, the server will return an empty poll response to the client almost immediately. Try increasing this setting to 6 (1 minute). Also, HTTP 1.1 connection

RE: [flexcoders] Publish Flex dev application to Production problem!

2008-05-27 Thread Seth Hodgson
Have you tried hitting http://myapp.4java.ca/messagebroker/amf (the URL your channel is configured to use) in a browser? You either need to get that working, or if your endpoint is running at a different URL (maybe using a non-empty context root?), update your configuration such that the client

RE: [flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Seth Hodgson
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Tuesday, May 27, 2008 9:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService multiple requests not being sent? This is pretty close to another qustion that was asked lately. Seth Hodgson summ

RE: [flexcoders] Application crash due to Channel disconnected

2008-05-23 Thread Seth Hodgson
Hi, What version of Data Services are you using and what Linux distro? I'd suggest turning on server-side logging in services-config.xml, with at least the Endpoint.RTMP and Protocol.RTMP categories enabled. The RTMP connection between the client and server is closing while the client has an ou

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Seth Hodgson
008 10:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS Seth, where is this documented? Been looking for info on if the player batches calls up or not. So it does, but only for AMF? DK On Thu, May 22, 2008 at 2:34 P

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Seth Hodgson
to finish processing all those messages sequentially. Any thoughts or insight info would be appreciated. Thanks, Jay --- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > There is a single thread that advances through SWF frames and runs your

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Seth Hodgson
s, Jay --- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > There is a single thread that advances through SWF frames and runs your > ActionScript code and event handlers, but network calls are performed by > separate background threads concurrently. >

RE: [flexcoders] Re: RemoteObject connections over HTTPS fails..

2008-05-22 Thread Seth Hodgson
MessageBrokerServlet in web.xml. But we wanted the autogeneration of SWF Files when a request is made for *.mxml Files.. Appreciate your help.. Thanks Mars --- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > What version of the product are you usi

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-22 Thread Seth Hodgson
There is a single thread that advances through SWF frames and runs your ActionScript code and event handlers, but network calls are performed by separate background threads concurrently. In order to have calls processed concurrently on the server, they need to arrive as separate requests. In the c

RE: [flexcoders] Re: RemoteObject connections over HTTPS fails..

2008-05-21 Thread Seth Hodgson
Thread.java:619) [/ERROR] Here is the channel Def.. [CODE] https://{server.name}:{server.port}/{context.root}/messagebroker/amf"; class="flex.messaging.endpoints.AMFEndpoint"/> [/CODE] I tried even copying the Flex3 SDK Jars and the Jars from BalzeDS (3.0.544) build with no

RE: [flexcoders] RemoteObject connections over HTTPS fails..

2008-05-21 Thread Seth Hodgson
If you have a proxy between the client and server that rewrites HTTPS requests to HTTP requests before forwarding to the app server you need you channel-definition to specify a secure client-side channel class and URL, and an insecure server side endpoint class. So, something like: https://{se

RE: [flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-21 Thread Seth Hodgson
ach does not work, all the channels from the channel set are marked as "undefined". remoteObjectDestination and contextRoot are both String properties. Thanks, Robert --- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > What about allowi

RE: [flexcoders] Re: Is it possible to invoke a AMF call just before browser close?

2008-05-21 Thread Seth Hodgson
Yeah, that's a nice idea. For folks that use polling (with a polling interval of a few seconds) or long polling (with a server-side wait of up to a minute or two), if you tune your session timeout down to a little more than your polling roundtrip time then clients that are closed will not issue

RE: [flexcoders] Re: Is it possible to invoke a AMF call just before browser close?

2008-05-21 Thread Seth Hodgson
Also, watch out for the fact that BlazeDS automatically resets the session when it is invalidated, so if you do session.invalidate() within a remoteobject method on the server the current session will be invalidated but a new, empty session is automatically regenerated (i.e. request.getSession(t

RE: [flexcoders] Re: LCDS and channel usage

2008-05-16 Thread Seth Hodgson
y, May 16, 2008 2:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LCDS and channel usage Do you know why the template LCDS WAR uses RTMP channel in data-management-config.xml and the AMF one in remoting-config.xml? Thanks, Robert --- In flexcoders@yahoogroups.com, "S

RE: [flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-16 Thread Seth Hodgson
s and some html wrappers. Robert --- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > A context root is a Java servlet-ism, which allows the container to route incoming requests to the correct web app. In HTML-land if you're using relative UR

  1   2   3   >