Wednesday, June 22, 2011

Portlet unavailable on webcenter page that contains many portlets

 Hi,
A quick tip here which i experienced few days back. Sometimes you might see a ‘portlet unavailable’ message in one of the portlets in a web-center page that contains many portlets.

Note: We are using Extended webcenter spaces on Patch SET 1 (11.1.1.2) and there is a bug in that release (confirmed by oracle support)

Primary reason for this is that the Queue size is not large enough to take all requests.

Solution:

Increase the parallelQueueSize and parallelPoolSize for webcenter page in adf-config.xml which resides on server running webcenter.

<adf-portlet-config xmlns="http://xmlns.oracle.com/adf/portlet/config">
<parallelPoolSize>400</parallelPoolSize>
<parallelQueueSize>400</parallelQueueSize>
……
So, where to find the file? well it resides in tmp folder of your managed server you can find the find using following command on linux machine

1. go to $MIDDLEWARE_HOME/user_projects/domains/domain_name/servers
2. Run the following command
$ find ./ -name adf-config.xml -print |grep webcenter
3. Result would be similar to this
./WLS_Spaces/tmp/_WL_user/webcenter/8gco54/adf/META-INF/adf-config.xml
4. Edit the file using your favorite editor and save it
5. Restart the Admin and managed servers
Check the following documentation link as well http://download.oracle.com/docs/cd/E12524_01/webcenter.1013/e12434/jpsdg_files.htm#CHDECFBC

Problem:
We are using Extended webcenter spaces on Patch SET 1 (11.1.1.2) and there is a bug in that release (confirmed by oracle support) so i have to fix that in cache files only because of that whenever we clear the tmp cache of the server we have to do this change again.

Quote from Oracle support
Yes, there is a bug on version before WC PS3 (11.1.1.4).
Bug 9892137: MAKE IT EASIER TO CHANGE CONFIGURATION FILES FOR WEBCENTER
Changes made on the configuration files could be lost. So you will have to backup those files in case of any upgrade, change.
On version above PS3, it was solved:
http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#CHDGEDGJ
Changes must be done using Enterprise Manager or WLST, so the configuration will be saved on the MDS directly.
Hope you like it,
Zeeshan Baig

1 comment:

  1. hi zeeshan
    i want to hide the time in activity calendar ?
    can you help me ..
    thank you

    ReplyDelete