blazeds

BlazeDS on GAE (Detected duplicate HTTP-based FlexSessions)

Is BlazeDS 4 work with Google App Engine. I'm using BlazeDS 3.2.0 and getting an such an error Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly. Is it possible to point out a place where I can download the ...

Connecting non-flex client to server running blazeDS

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient. Currently I have some blazeDS remote objects to handle login/l...

Flex Blazeds Java NoSuchMethodException

Hi All We have a Flex-BlazeDS-Spring-JMS application. The issue is sometimes we get a Blazeds error: NoSuchMethodException. It is not able to find the Java service. The weird issue with this it does not happen all the item...1 time it goes through and returns the result, the 2nd time it fails, 3rd time fails and so on. Also not all meth...

How to add a Filter in Spring (with BlazeDS)

Hi all, I want to add a filter to map a specific path in URL. My server side used Spring 2.5.x, BlazeDS (servlet) with TomCat server. So, my web.xml file is composed like that : <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/spring-main-config.xml </param-value> </context-par...

Filter servlet with Spring : HTTP 500 error ...

Hi all, I followed this article : Spring and servlet filters to add a filter on a specific URL. I added my 'foo' class, which implements 'Filter' interface. But when I access to my specific URL, an Java exception is catch : java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? My tech...

Why is BlazeDS not serializing some fields?

Hi, I'm using Flex 3.5, BlazeDS 3.2.0.3978 and EJB3 for backend. There are two RPC which are important to the problem. The first call will get a list of ThirdParty objects, this works fine. The second call happens when the user clicks on a ThirdParty, the details of this object (lazy collections) are retrieved. A single object is return...

javax.persistence.PersistenceException: Transaction failed to flush

I got the JPA exception "javax.persistence.PersistenceException: Transaction failed to flush" Then I deleted my local datastore(datastore-indexes-auto.xml and local_db.bin) from my system. Recreated all the data again and after that, the exception was gone. I want to know what did just happened ? The following is the stacktrace...

Stream pdf/excel files dynamically to flex UI application

Hello all, We have an app that has the following characteristics- a) Flex front-end. b) Spring, BlazeDS and tomcat back-end c) Flex UI communicates with the back-end server using AMF/xmlrpc d) Mate framework is used for Flex front-end I have a requirement to generate reports on the flex UI and be able to export these reports in PDF ...

Flex Error flex.messaging.io.amf.ASObject cannot be cast to

Hi, I have an action script Object that contains an array collection of other object, both objects are reflects of the Java Objects which are the database tables represented as beans, i am using blazeds spring hibernate... the regular configurations for flex RIA with java backend server language, all other objects work perfectly, but th...

Open source testing app for Flex app using AMF and BlazeDS

I am looking for an open source tool that measures response time as well as provide result status of a Flex application using AMF and BlazeDS. I am not very familiar with Flex technologies, but would like to capture this information from a calling Java method, if possible, for monitoring purposes. ...

How to protect credentials during Flex ChannelSet.login?

It has just occurred to me that when my Flex application does a ChannelSet.login, it is essentially sending the username and password over the wire in an unencrypted form to the BlazeDS server. While I use the binary AMF protocol over an AMFChannel, it would take nothing for somebody to sniff these passwords. Most of my clients do not ...

Spring security with Flex using Container Preauth

I've got the Spring Security preauthentication sample configured and working with JBoss. The next step is to somehow get the user information into a flex client GUI. What are some methods that will let me get the Authentication or UserDetails object that's created by spring-security on http access into the flex client? Since I'm loggi...

Connect to BlazeDS with java stand alone app

I have a java server with a BlazeDS interface to handle Adobe AIR clients. I also have a bunch of legacy stand alone java apps that I'll need to integrate with the server. The java apps need all the same methods and remote calls that the AIR clients needs. So it would save tons of work if I could call the remote object methods from th...

Flex/Flash: Is there an alternative for BlazeDS?

Hi guys, Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better. Thanks ...

Blaze DS unable to use my-streaming-amf - "Destination 'chat' not accessible over channel 'my-amf'.

Hello, Can anyone point me out whats wrong with the configuration I have to execute a simple sample application to use the streaming-amf. I get the following error when i tried to submit a text and get the same using streaming-amf. My messaging-config.mxml has the following lines. <destination id="chat"> <channels> <chann...

Date issue in Client(Flex) and Serverside(JAVA) issue

Hi, I have a date porblem in flex applications. while submit the date in flex applcation (28/09/2010 10:00:00 AM) as a string, the date is cobnverted in to Date object inserver side and displayig the result. But i install the server in other location (Ex:- USA) .Now i am passing the date from india(28/09/2010 10:00:00 AM) But the date...

Jetty or Tomcat with Non-blocking IO (servlet 3.0)

I need a point to start from. I read from Yakov Fain about a performance break through with jetty and blazeds. I realized that we already have some trouble with about 1200 concurrent users, some consumers dont get messages and cpu is under heavy fire. Did somebody already tried this Nio with BlazeDS? Did this work with Tomcat too? Whe...

Is GZip compression worthwhile with AMF

We've got a Flex/Java application using BlazeDS and we're investigating reducing the size of the payloads being passed between our server and the client. Since AMF is a binary format and supposed to be fairly compact, is there any benefit to turning on GZip compression? Has anyone else done this before and did you see any significant ga...

Flex/BlazeDS Trading application - How to create a professional looking website ?

Hi, I am a Flex/Java developer, in the process of creating a Financial/Trading website for a start-up company. The default look and feel of Flex (out of the box) is pretty plain and bland (in terms of the default styles). Can anybody recommend the easiest way for me (as a developer) to make the website look as polished and professional ...

Flex/Air : Flex, BlazeDS, Hibernate (Tomcat) and MySQL

Hello, I create a Flex application that works with a browser using a database with the MySQL server that I can create, modify and delete data from a database. The problem I encounter now is that I want to see my program with Adobe AIR (virtual machine). At the display that does not pose a problem. The problem is that air can not reach t...