IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Broken links when using front end web server

  • 1.  Broken links when using front end web server

    Posted Fri August 26, 2011 05:07 AM

    This is happening with MWS 8.0.1. It could be common to other versions as well.

    We are using WebSEAL in front of MWS to provide HTTP header authentication and we have a junction set up at http://server:80/am (WebSEAL) which points to http://server:8585/ (MWS). This works for most cases, however, many links seem to reference “/meta” which is being sent to WebSEAL as http://server:80/meta which does not exist and should be going to “http://server:80/am/meta”. We have configured the front end URL of MWS to be "http://server:80/am " but this has not worked. How can we resolve this issue?

    More explanation:

    The /meta is appended as expected for links in HTML pages being sent back from MWS. For example, when we use MWS directly (http://server:6585/), without going through WebSEAL, this (correct) link is generated on a page
    /meta/default/alertsmanagementhome___home/0000007563?wmp_tc=7563&wmp_rt=render&shell=shell.blank&wmp_tv=%2fHome%2fprint.view

    which takes us to:
    http://server:6585/meta/default/alertsmanagementhome___home/0000007563?wmp_tc=7563&wmp_rt=render&shell=shell.blank&wmp_tv=%2FHome%2Fprint.view
    as expected.

    However, when we use WebSEAL (http://abc.xyz.gov.au/am/) this link is generated the same way:
    /meta/default/alertsmanagementhome___home/0000007563?wmp_tc=7563&wmp_rt=render&shell=shell.blank&wmp_tv=%2fHome%2fprint.view

    Which takes us to

    http://abc.xyz.gov.au/meta/default/alertsmanagementhome___home/0000007563?wmp_tc=7563&wmp_rt=render&shell=shell.blank&wmp_tv=%2FHome%2Fprint.view

    instead of the correct (note the missing “am” in the above link):
    http://abc.xyz.gov.au/am/meta/default/alertsmanagementhome___home/0000007563?wmp_tc=7563&wmp_rt=render&shell=shell.blank&wmp_tv=%2FHome%2Fprint.view

    We have used aliases to solve some of the link issues, however we cannot do this for the webMethods internal pages. As an example: If we log in as a user with System Administrator access, we visit the User management page and open a user. Then, if we click cancel, we are given the same error.

    I have had a look at the web.xml and portlet.xml but don’t see anything there that is helpful. Also, editing these files is probably not an option with the webMethods internal pages.

    Any inputs are highly appreciated.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 2.  RE: Broken links when using front end web server

    Posted Wed September 07, 2011 03:21 AM

    I’m sorry, but i don’t fully understand what the purpose of the URL translation is. I know you tried to explain, but could you try again please?

    Why do you need to translate URLs?


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 3.  RE: Broken links when using front end web server

    Posted Thu September 08, 2011 08:40 AM

    Hi Mark,

    Thanks for your response. I’ve also posted this in our RnD-CAF-SWAT and got response from GCS.

    The summary given was:

    , you cannot configure MWS to not use root URLs (actually it is not MWS, but the Noodle Shell).

    But you can configure WebSEAL to redirect special root URLs to MWS. This should not be a problem, because it is unlikely these root URLs are used by any other application. At BBVA we started this way; in the end we did not finish it because of other priorities, but it looked like it would have worked in the end. They should configure at least the following root URLs in WebSEAL, to redirect to the MWS junction:
    /wm_noodle/*
    /meta/*
    /user.home.dir
    /?method=* . If they cannot use wildcards here, we found at least the following URLs were being used by MWS:
    /?method=expandBranch
    /?method=collapseBranch
    /?method=addworkspaceview
    /?method=createviewfolder
    /?method=updatecontext
    /?method=saveLeftNavSelectedTab
    /?method=renameviewfolder
    /?method=deleteviewfolder
    /?method=refreshLeftNav
    /?method=saveLeftNavSelectedTab
    /?method=saveCollapseState
    /?method=saveLeftNavPosition
    /?method=createTabWithPortlet
    /?method=deleteworkspaceview
    /?method=renameworkspace
    /?method=deleteworkspace
    /?method=createworkspace
    /?method=addworkspaceview
    /?method=TinyMCESpellcheck
    /?method=getOpenAjaxEvents
    /?method=newpage
    /?method=createscratchpage
    /?method=copypage
    /?method=savepage
    /?method=createportlet
    /?method=ping
    /?method=deleteportlet
    /?method=closetab
    /?method=closeothertabs
    /?method=settabicon
    /?method=moveTab

    There may be more URLs, but in this case the browser will raise errors, and by analyzing the error information you can discover the URL.

    I’ve one more question: How to import the JSF 168 Hello World sample in to the designer? This is not getting recognized as CAF portlet. When I enable the legacy portlet option, even then, its not getting recognized.

    The purpose, is to import this sample and deploy it to the MWS 713. Your inputs are appreciated.

    -Vamsi


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 4.  RE: Broken links when using front end web server

    Posted Sun September 11, 2011 05:57 AM

    You don’t need to import that sample into Designer in order to deploy it to MWS. You can build it by using the MWS/mycomponents/build.sh script to build (and deploy) your 3rd party component.

    Regards,
    –mark


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS