E.g. the XForms examples.
The error can be found when looking at the network requests. The request to http://localhost:9080/exist/Flux/call/plaincall/Flux.init.dwr contains an error:
throw 'allowScriptTagRemoting is false.';
(function(){
var r=window.dwr._[0];
//#DWR-INSERT
//#DWR-REPLY
r.handleCallback("1","0",[{bubbles:true,cancelable:false,contextInfo:{defaultinfo:null,targetName:"model",targetId:"C1"},currentTarget:null,eventPhase:1,propertyNames:["defaultinfo","targetName","targetId"],target:null,timeStamp:1517300468711,type:"xforms-model-construct"},{bubbles:true,cancelable:false,contextInfo:{defaultinfo:null,targetName:"model",targetId:"C1"},currentTarget:null,eventPhase:1,propertyNames:["defaultinfo","targetName","targetId"],target:null,timeStamp:1517300468724,type:"xforms-model-construct-done"},{bubbles:true,cancelable:false,contextInfo:{defaultinfo:null,targetName:"model",targetId:"C1"},currentTarget:null,eventPhase:1,propertyNames:["defaultinfo","targetName","targetId"],target:null,timeStamp:1517300468733,type:"xforms-ready"},{bubbles:true,cancelable:false,contextInfo:{targetName:"submission",targetId:"load","response-body":"","resource-uri":"http://localhost:9080/exist/restxq/address","response-reason-phrase":"java.net.ConnectException: Connection refused (Connection refused)","location-path":"/","error-type":"resource-error","response-status-code":NaN},currentTarget:null,eventPhase:1,propertyNames:["targetName","targetId","response-body","resource-uri","response-reason-phrase","location-path","error-type","response-status-code"],target:null,timeStamp:1517300468772,type:"xforms-submit-error"}]);
})();
Demo Apps do not work in Docker Image
E.g. the XForms examples.
Steps to reproduce
exist-db:eXist-3.6.1using the command as documented in the readmedocker run -it -p 9080:8080 -p 9443:8443 evolvedbinary/exist-db:eXist-3.6.1Also one can not add a new address (similar error).
Analysis
The error can be found when looking at the network requests. The request to
http://localhost:9080/exist/Flux/call/plaincall/Flux.init.dwrcontains an error:Dump