IBM Support

PK72724: URL mapping not working when using dedicated hostname for Virtua l Portal.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • URL mapping was detected as a friendly URL when using dedicated
    hostname for Virtual Portal. Here the subcontext of the virtual
    portal was missing internally to disolve the correct url.
    

Local fix

  • If you have vp.de as hostname and the context is set to mynewvp
    than you can access url mappings with the following URL:
    http://vp.de/wps/myportal/mynewvp/<your url mapping>
    
    The fix will make sure that the context "mynewvp" can be left
    out.
    

Problem summary

  • Updating a predeployed Web Module using XMLAccess destroys the
    messaging capabilities of cloned portlets. The portlet actions
    of those portlets are deleted.
    

Problem conclusion

  • Ensure that the portlet info object is found for all portlet
    clones when updating.
    
    NOTE: You need to modify the web.xml of the wps.ear file
    manually by doing the following:
    
    1) Move the filter tag for the "VirtualPortal Filter" between
    the "State Cleanup" and the "URL Analyzer"
       The order of filters should be:
        State Cleanup
        VirtualPortal Filter
        URL Analyzer
        Friendly Selection
        :
    
    2) Move the two filter-mapping tags for "State Cleanup" (for
    /portal/* and /myportal/*) up to be the first filter-mapping
    after the filter "Locale Filter" and before the "VirtualPortal
    Filter" filter-mapping
    
    3) Move the two filter-mapping tags for "URL Analyzer" down to
    appear after the "VirtualPortal Filter" filter-mappings and
    before the "Friendly Selection" filter-mappings
    
    4) Save the file and continue the install instructions below.
    
    Your web.xml should look similar to this:
    
    -----------------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    id="IBM_WPS" version="2.4"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
     <display-name>WebSphere Portal Server</display-name>
            <filter>
                    <filter-name>State Cleanup</filter-name>
    
    <filter-class>com.ibm.wps.state.filter.StateCleanup</filter-clas
    s>
            </filter>
            <filter>
      <filter-name>VirtualPortal Filter</filter-name>
      <filter-class>com.ibm.wps.engine.VirtualPortalFilter</filter-c
    lass>
     </filter>
     <filter>
      <filter-name>URL Analyzer</filter-name>
      <filter-class>com.ibm.wps.mappingurl.impl.URLAnalyzer</filter-
    class>
     </filter>
      <filter>
      <filter-name>Friendly Selection</filter-name>
      <filter-class>com.ibm.wps.resolver.friendly.servlet.FriendlySe
    lectionFilter</filter-class>
     </filter>
     <filter>
      <filter-name>Login Redirect</filter-name>
      <filter-class>com.ibm.wps.auth.LoginRedirector</filter-class>
     </filter>
     <filter>
      <filter-name>Locale Filter</filter-name>
      <filter-class>com.ibm.wps.engine.ExtendedLocaleFilter</filter-
    class>
     </filter>
     <filter-mapping>
      <filter-name>State Cleanup</filter-name>
      <url-pattern>/portal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>State Cleanup</filter-name>
      <url-pattern>/myportal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>VirtualPortal Filter</filter-name>
      <url-pattern>/portal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>VirtualPortal Filter</filter-name>
      <url-pattern>/myportal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>URL Analyzer</filter-name>
      <url-pattern>/portal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>URL Analyzer</filter-name>
      <url-pattern>/myportal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Friendly Selection</filter-name>
      <url-pattern>/portal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Friendly Selection</filter-name>
      <url-pattern>/myportal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Login Redirect</filter-name>
      <url-pattern>/redirect/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>URL Analyzer</filter-name>
      <url-pattern>/config/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Locale Filter</filter-name>
      <url-pattern>/portal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Locale Filter</filter-name>
      <url-pattern>/myportal/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Locale Filter</filter-name>
      <url-pattern>/contenthandler/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Locale Filter</filter-name>
      <url-pattern>/mycontenthandler/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Locale Filter</filter-name>
      <url-pattern>/poc/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>Locale Filter</filter-name>
      <url-pattern>/mypoc/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>URL Analyzer</filter-name>
      <url-pattern>/federation/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>URL Analyzer</filter-name>
      <url-pattern>/myfederation/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>State Cleanup</filter-name>
      <url-pattern>/poc/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>State Cleanup</filter-name>
      <url-pattern>/mypoc/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>State Cleanup</filter-name>
      <url-pattern>/contenthandler/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>State Cleanup</filter-name>
      <url-pattern>/mycontenthandler/*</url-pattern>
     </filter-mapping>
     <listener>
             :
    -----------------------------------------------------------
    
    Failing Module(s):
       XML Access
    
    Affected Users:
       All users
    
    Version Information:
        Portal Version(s): 6.1.0.0
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
    Platform Specific:
       This fix applies to all platforms.
    
    
    A fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PK72724&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK72724

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-09-25

  • Closed date

    2008-11-18

  • Last modified date

    2008-11-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
21 December 2021