Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Livecyle ES4 SP1 Form Bridge and External Server


Level 1


I have installed SP4 SP1 and when testing the forms with http://LCserver:8080/mobileformsivs/ I can see the the the submit button render XML. However when rendering the same form on an external server I am getting an error. See error below.

[ALC-FRM-901-008] : Couldn't connect to the server [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://localhost/lc/etc/clientlibs/xfaforms/profile.js :: .send :: line 2"  data: no]

I have followed the steps of the Form Bridge that Adobe mentioned on this URL

External applications use the FormBridge API to connect to the XFA Mobile Form. The connect API takes the handler that is called after the connection between XFA and FormBridge is made successfully.

The following code sample shows the connection to FormBridge. Add the following code before including formRuntime.jsp:

// Example showing how to connect to FormBridge


                                function(event) {

                                    var fb = event.detail.formBridge;

                                    fb.connect(function() {

                                           //use form bridge functions



Keep in mid that my LC server is on a different server than my application server.

Could you please help?


1 Reply


Level 1


The reason why I am not getting the XML when pressing the submit button is a Cros-Origin security policy. I created the crossdomain.xml file on jboss/server/lc_mysql/deploy/ROOT.war folder, however it does not seem like is reading the policy. See error below.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at This can be fixed by moving the resource to the same domain or enabling CORS.

[ALC-FRM-901-008] : Couldn't connect to the server [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: :: .send :: line 2" data: no]

Can adobe post the settings since this was not documented in the FormBridge?