Since Websphere Portal 6.1 we can use friendly URL on my pages. Page Properties portlet provides an additional field which specifies the URL suffix which will be appended to portal URL:

The service is disabled by default. To enable it:
log in to WebSphere Application Server console
navigate to Resources -> Resource Environment -> Resource Environment Providers
click WP ConfigService on the providers list
click Custom properties under Additional properties section
add new property called friendly.enabled and set it to true
save changes
restart server
You can confirm that my friendly URL works when you navigate to the following URL:
http://myserver:10040/wps/myportal/mypage
Another confusing thing related to friendly URLs 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:
http://myserver:10040/wps/myportal/home/mypage
Note: I guess there is a bug . If you use friendly URL label name’s first chracter with uppercase like “Home” for Home page You can getting endless loop error when calling page.
1- Create a group (ihsgrp) and a user (ihsadm) for the IHS (IBM Http Server)
2- Change owner for IHS
chown –R ihsadm:ihsgrp /opt/IBMIHS61
3- Edit the httpd.conf file so that the web server runs with the user ihsadm and the group ihsgrp
User ihsadmin
Group ihsgrp
4- Edit visudo to add belowed line for linux:
wasadm ALL=NOPASSWD: /opt/IBMIHS60/bin/apachectl -k start -f /opt/IBMIHS60/conf/httpd.conf, /opt/IBMIHS60/bin/apachectl -k stop -f /opt/IBMIHS60/conf/httpd.conf
5- Create run.sh file in IHS/bind directory and add this command:
/usr/bin/sudo /opt/IBMIHS61/bin/apachectl “$@”
6- Change owner for run.sh so wasadm user can execute
chown wasadm:wasgrp run.sh
7- Change startCommand and stopCommand parameter values:
Go webserver properties page of the admin console
Web servers > TWSWKI0101TR > Process Definition
startCommand : ${WEB_INSTALL_ROOT}/bin/run.sh
stopCommand : ${WEB_INSTALL_ROOT}/bin/run.sh
1- Change owner for Websphere Application root directory with spcified user and group.
chown -R was1:wasgroup /opt/WebSphere/AppServer
2- Change file permissions as the root user
chmod -R g+wr AppServer
Note: When you use the chown command to change the owner of JSPs that are already complied and reside in the temp directory, the CPU does not have to continuously recompile these JSP. If you do not issue this command, you should delete the application temp directory to lower CPU usage.
3- Specify user and group values for the Runas User and Runas Group setiings for a server
Go Process execution page of the administrative console
You must define properties in the following table. Click Servers > Application Servers > server1 > Process Definition > Process Execution and change all of the following values:Property Value
Run As User wasadm
Run As Group wasgrp
If you have a page for which users have Priveleged user rights then then can customize/ personalize that page. When any of the user does that the portal server will create a private page and store that information in customization database domain(The actual page layout is stored in the RELEASE database domain). Now when you delete that page the main page would get deleted from RELEASE database domain( either immediately or at the time of schedule cleanup) but the personalized page that is stored in the CUSTOMIZATION domain wont be deleted. This page would be included in your database backup. You can delete the private page from the CUSTOMIZATION database domain by following these steps.
Yazının tamamını okuyun (read more) »
Yazar: enes koc Kategori: Şiir
When we two parted
In silence and tears,
Half broken-hearted
To sever for years,
Pale grew thy cheek and cold,
Colder thy kiss;
Truly that hour foretold
Sorrow to this.
The dew of the morning
Sunk chill on my brow–
It felt like the warning
Of what I feel now.
Thy vows are all broken,
And light is thy fame:
I hear thy name spoken,
And share in its shame.
Yazının tamamını okuyun (read more) »