Skip to main content

Posts

Showing posts from March, 2011

flXHR Error:15, securityError, A security sandbox error occured with the flXHR request.

Error: 15 Type: securityError Description: A security sandbox error occured with the flXHR request. Source Object Id: [your object id] I am trying to deploy my application on Tomcat and was continuously facing the issue. The solution to this problem is placing your crossdomain.xml in /webapps/ROOT. Just for reference attaching the sample crossdomain.xml on which I was working trying to workout my PoC:   <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*" secure="false"/> <allow-http-request-headers-from domain="*" headers="*" secure="false"/> </cross-domain-policy> Hope this will help.

Comparison between Firefox 4 and IE 9

Guys, I have installed the latest version of both the browsers as a developer my comparison are tabled below. This is what I have experienced and doesn't base on any statics: IE 9 FF4 JS running time IE is definitely better than earlier IE's FF is much faster than any browser I am using right now (which includes Safari 5, chrome 10) and is comparable to chrome 10 on win 7. Look and Feel IE looks much better and lesser cluttered FF doesn't look bad Toolbar usage buttons like refresh and Go etc... IE embeds them in the address bar and I find it quite confusing and harder to use (you can customize and move refresh button to the front of address bar but for me result was no different in usage) FF doesn't Change from previous versions Notifications (Save a file. block script etc.) Notification bar pops up from the bottom of the page which takes time to get used too FF doesn't Change from previous versions Address Bar Provides united Addr

java.net.SocketException: Connection reset

I am able to fix the problem via setting the following params on the HTTPClient class... client.getParams().setParameter("http.socket.timeout", new Integer(0)); client.getParams().setParameter("http.connection.stalecheck", new Boolean(true)); java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590) at org.apache.commons.httpclient.HttpMethodBase.execute(