Posts Tagged “bug”

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

I have two different Flex apps, one compiled with Flex3(i call this F1) and the other compiled with Flex2(call this F2). Both are accessing the same endpoint.

Everything works fine when you access in the order of F2 and F1. Hell breaks loose when i access F1 followed by F2. I noticed that F1 creates a JSESSIONID cookie on my browser and deleting it allows my F2 to work.

My guess is that a bug was fixed between Flex3 and Flex2. Now i have to push up the schedule for a version upgrade for F2 app.

Comments Comments

Don’t ever try too hard to set a LinkBar’s selectedIndex. It is impossible unless you do following:

  • Customised the LinkBar control yourself
  • Use it with a ViewStack and set the selectedIndex with the ViewStack(but whatever for?!)
Bug Report here >>

Comments Comments