$(function () { pageContext.i18n.modTalk = 'moderation talk'; pageContext.i18n.replyToComment = 'Reply'; pageContext.i18n.modTalkEmpty = 'moderation talk is empty'; pageContext.url.getModTalk = "/comments/%25ID%25/listModTalk.json"; pageContext.url.possibleCommentRecipients = "/comments/%ID%/possibleRecipients.json"; pageContext.url.commentEdit = '/comments/%25ID%25/edit.html'; pageContext.url.commentView = '/comments/%ID%/view.html'; pageContext.i18n.commentVisibility = { 'full': 'Viewable by all users', 'op': 'Viewable by the original poster', 'mod': 'Viewable by moderators', 'opAndMod': 'Viewable by moderators and the original poster', 'other': 'Advanced visibility', 'dialogTitle': 'Comment visibility', 'selectGroups': 'Visible to groups', 'selectOther': 'Other recipients', 'selectOriginalPoster': 'Original poster', 'selectModerators': 'Moderators', 'selectAssignees': 'Asked to answer users' }; pageContext.i18n.commentMenuLabels = { 'comment-edit': 'comments.menu.edit', 'comment-delete': 'comments.menu.delete', 'comment-convert': 'comments.menu.convert' };pageContext.i18n.answer= { bestAnswer: 'Best Answer', controlBar : { accept: 'Accept', unaccept: 'Unaccept', acceptCommand: 'Accept this answer as correct', cancelAcceptedCommand: 'Remove this answers accepted status' } }; window.croles = { u: false, op: false, m: false, og: false, as: false, ag: false, dc: false, doc: false, eo: false, ea: false }; tools.init({ q: { e: false, ew: false, eo: false, r: false, ro: false, d: false, dow: false, fv: false, c: false, co: false, p: false, tm: false , ms: false, mos: false }, n: { f: false, vf: false, vfo: false, vr: true, vro: true, c: false, co: false, vu: false, vd: false, w: false, wo: false, l: false }, c: { e: false, eo: false, d: false, dow: false, ta: false, tao: false, l: false }, a: { e: false, ew: false, eo: false, d: false, dow: false, a: false, aoq: false, ao: false, tc: false, tco: false, p: false, tm: false }, pc: croles }, { tc: true, nsc: true }); commandUtils.initializeLabels(); }); Skip to Content
avatar image
Former Member

Changing URL of PowerDesigner portal (powerdesigner-web)

Hi everyone,

We would like to change the URL of the PowerDesigner portal to get a shorter URL. We tried to remove the "powerdesigner-web", so that the portal could be reached using:

http://<HOST>/ instead of http://<HOST>:3030/powerdesigner-web/

Therefore we changed the port the Tomcat is running from 3030 to 80 (in the server.xml) which worked fine.

Additionally we changed the name of the "ROOT" folder ( ...\PowerDesigner Portal 16\Tomcat\webapps\ROOT) to "startpage" which also worked fine.

Then we added into the server.xml the following part into the HOST section

<Context path="/"

                    docBase="powerdesigner-web"

                    reloadable="true" />

which seemed to work also fine as we could reach the portal login page and login using the URL http://<HOST>/

BUT after each click within the repository section the portal asks for a re-login. :-(

Did anybody managed to change the URL or has an idea what we did wrong?

Best regards,

Simon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 03, 2016 at 02:23 PM

    Hi Simon,

    We set up an alias for the portal. That involved

    - the usual DNS work to have the alias resolve to the PD server

    - add the alias to the server hostnames

    - we just redirected port 80 to 3030 in server.xml

    <Connector port="80" enableLookups="false"

               redirectPort="3030" />

    - then change the Host entry for localhost to the alias

    I remember having trouble getting it all to work when we set it up - so this is what we settled on.

    Bruce

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Simon

      It is http://<Host>/

      Might be your "<Host" in server.xml. Part of our changes included changing [Host name="localhost"] to [Host name="our.alias"].

      If it helps, ping me directly and we can look at screens via Skype.

      Bruce