cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti explorer tcp port

wsalembi
Champ in-the-making
Champ in-the-making
When I change the HTTP port of my tomcat server, Activiti Explorer continues to use the old port.

http://localhost:2001/activiti-explorer/ui/APP/2/login

returns a page with an absolute url reffering to the old port 8080

<html><head><script type='text/javascript'>var setTarget = function() {  var uri = 'http://localhost:8080/activiti-explorer/ui/1/loginHandler';  var f = document.getElementById('loginf');  document.forms[0].action = uri;  document.forms[0].username.focus();};var styles = window.parent.document.styleSheets;for(var j = 0; j < styles.length; j++) {
  if(styles[j].href) {    var stylesheet = document.createElement('link');
    stylesheet.setAttribute('rel', 'stylesheet');
    stylesheet.setAttribute('type', 'text/css');
    stylesheet.setAttribute('href', styles[j].href);
    document.getElementsByTagName('head')[0]                .appendChild(stylesheet);
  }}

and the form submits to http://localhost:8080/activiti-explorer/ui/1/loginHandler

How can I change this behavior?
2 REPLIES 2

wsalembi
Champ in-the-making
Champ in-the-making
I think it is some bad caching behavior. Adding ?restartApplication seems to solve this url problem this. A tomcat restart didn't help.

jbarrez
Star Contributor
Star Contributor
That is very weird. Thanks for posting the solution you found.