Posts Tagged “blazeds”

Have you made the upgrade yet?

You can download the new version of Flash from here: http://www.adobe.com/go/getflashplayer.

Alright i am one of those who haven’t. I am looking forward to this upgrade though. With the new FileReference implementation, now i should be able to send Byte Data to my BlazeDS service. Yes FileUpload with BlazeDS should be possible now. I shall try it out this weekend and share.

Comments Comments

I have package my slides and source codes. Click here if you wish to download it.

Something that i was unable to share with everyone. I have used BlazeDS with Spring and Hibernate. For my Flex client, i have used Flex with Cairngorm.

Have a look at the codes…

Drop me a msg if you have trouble setting the source codes up. You can tweet me @kennethteo.

Comments Comments

I am observing pretty bad performance when my BlazeDS services are configured with Apache and Tomcat on mod_jk. Not too sure whether it is because i used Cairngorm as my main application framework. Setting requestTimeouts on my remoteObjects didn’t help. It was until i tried hitting my BlazeDS endpoint directly with my browser that i realised it was Apache that had refused/restricted requests to my Tomcat.

Error message from Apache

Error message from Apache

What i see on the Apache Error log

Tue Jul 22 18:51:59 2008] [error] [client <ip address>] client denied by server configuration: amfsecure, referer: <url to my flex app>

but i do not see any request with the same timestamp on the Tomcat logs.

Performing tuning is the only way to go. However, my sys admin did hardened and tuned the mod_jk connector settings in the server.xml files. Still waiting for him to try to worker.properties file. Sys Administration is not my kind of work. =p

My guess is that unless you are expecting very low traffic, you should not use the mod_jk setup. I hope my sys admin ain’t gonna get hell from me to ask for a public-facing Tomcat. I sent a message onto the BlazeDS jira below to see if there is any advice on my situation.

References:

Comments Comments