Configuration of BPM when using IIS Redirect to Tomcat with SSL

Hi,

We are having an unusual issues with BPM is terms of the Process Model editor. The editor runs fine, however we are unable to save changes on the deploy version editor vs running locally through cuba-studio.

The setup is:

  • Windows Server 2012 R2, running IIS with ssl due to needing it for arcGIS (esri mapping product).
  • Tomcat isapi_redirect. [url=]https://tomcat.apache.org/connectors-doc/reference/iis.html[/url]
Workflow runs fine with the existing process model we created, however trying to edit or create a new process model with the deployed version we are unable to have it save to the database. However if we are to connect cuba-studio directly to the database and run it locally, it works fine. Has anyone tried this setup and have it working successfully?

Thanks.

Hi,

Could you share HTTP request / responses that are sent from web browser (for instance from Chrome Dev Tools) ?


angular.min.js:73 PUT [url=https://demo.varasset.com/xamv6/dispatch/modeler//model/2501]https://demo.varasset.com/xamv6/dispatch/modeler//model/2501[/url] 405 (Method Not Allowed) 
(anonymous) @ angular.min.js:73 
A @ angular.min.js:69 
h @ angular.min.js:66 
B @ angular.min.js:94 
B @ angular.min.js:94 
(anonymous) @ angular.min.js:95 
$eval @ angular.min.js:103 
$digest @ angular.min.js:101 
$apply @ angular.min.js:104 
(anonymous) @ angular.min.js:181 
dispatch @ jquery.min.js:3 
r.handle @ jquery.min.js:3 
toolbar-custom-actions.js:113 Something went wrong when updating the process model:"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"[url=http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html[/url] xmlns=\"[url=http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta]http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta[/url] http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/>\r\n<title>405 - HTTP verb used to access this page is not allowed.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;} \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div id=\"header\"><h1>Server Error</h1></div>\r\n<div id=\"content\">\r\n <div class=\"content-container\"><fieldset>\r\n  <h2>405 - HTTP verb used to access this page is not allowed.</h2>\r\n  <h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3>\r\n </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n" 
angular.min.js:85 TypeError: Cannot set property 'loading' of undefined 
    at toolbar-custom-actions.js:114 
    at angular.min.js:67 
    at I (angular.min.js:94) 
    at I (angular.min.js:94) 
    at I (angular.min.js:94) 
    at angular.min.js:95 
    at h.$eval (angular.min.js:103) 
    at h.$digest (angular.min.js:101) 
    at h.$apply (angular.min.js:104) 
    at g (angular.min.js:68) 
(anonymous) @ angular.min.js:85 
(anonymous) @ angular.min.js:63 
I @ angular.min.js:94 
I @ angular.min.js:94 
I @ angular.min.js:94 
(anonymous) @ angular.min.js:95 
$eval @ angular.min.js:103 
$digest @ angular.min.js:101 
$apply @ angular.min.js:104 
g @ angular.min.js:68 
I @ angular.min.js:72 
y.onreadystatechange @ angular.min.js:73 
XMLHttpRequest.send (async) 
(anonymous) @ angular.min.js:73 
A @ angular.min.js:69 
h @ angular.min.js:66 
B @ angular.min.js:94 
B @ angular.min.js:94 
(anonymous) @ angular.min.js:95 
$eval @ angular.min.js:103 
$digest @ angular.min.js:101 
$apply @ angular.min.js:104 
(anonymous) @ angular.min.js:181 
dispatch @ jquery.min.js:3 
r.handle @ jquery.min.js:3

Figured out a solution, uninstalling WebDAV Publishing under CommonHTTP Features in IIS fixed the issue.

Thank you for sharing you solution! Unfortunately we will not be able to reproduce the problem, since it requires too many deployment details.