WebSphere Issues


XMLAccess in virtual portal

Filed under: WebSphere Portal — Ishtiaque @ 8:19 am

xmlaccess -user wpsadmin -password wpsadmin -url http://localhost:10040/wps/config/mot -in C:IBMworkCreateURL.xml -out C:IBMworkCreateUrlOut.xml

URL mapping in a virtual portal using XMLAccess

Filed under: WebSphere Portal — Ishtiaque @ 8:18 am

<portal action=”locate”>

<content-node action=”locate” uniquename=”wps.SamplePage” objectid=”SamplePage”/>

<url-mapping-context action=”locate” label=”vp1″>
<url-mapping-context action=”update” label=”samples”>

<portal-url resourceref=”SamplePage” locale=”en”/>




Command: /PortalServer/bin/xmlaccess.sh -user wpsadmin -password wpsadmin -url http://localhost:10040/wps/config/mot -in /opt/work/CreateURL.xml -out /opt/work/CreateUrlOut.xml

References: http://www-01.ibm.com/support/docview.wss?uid=swg21249540


Friendly URLs in WebSphere Portal 6.1

Filed under: WebSphere Portal — Ishtiaque @ 9:37 am

Friendly URLs in WebSphere Portal 6.1 is disabled by default. In order to enable it please add friendly.enabled to true in Resources -> Resource Environment -> Resource Environment Providers > WP ConfigService from WebSphere App Server admin console. You can access the admin console by using the URL http://localhost:10027/admin.

Now you can create and confirm friendly URL for a page let us say My Page which is located inside Content Root.

Another thing worth to note is that a path must reflect pages hierarchy. The above example works only when My Page is placed below Content Root. In order to place the page under Home, a friendly URL for Home label must be also created (for example: home) and then the path to My Page would be:




Blog at WordPress.com.