This content has been marked as final. Show 3 replies
The Portlet registration timeout cannot exceed the maximumTimeout in adf-config.xml file as indicated here:
This is also mentioned in the following internal bug (closed as not a bug): Bug:7630923
From the above bug:
@ The issue is the timeout set during registration (say 600 secs) is not
@ honored because the maximumTimeout in adf-config.xml is set to 60 secs.
@ The point of the max timeout is that the you can cap the timeout to avoid the
@ system grinding to a halt. This should be set at a system level.
@ If during registration that value could be increased by any user of the
@ system that would then bypass that safeguard completely.
@ This is at very least an er, but I would say not a bug.
So if they want to increase the producer timeout to a value greater than 60 seconds then they need to increase the maximumTimeout in adf-config.xml file.
This however doesn't explain why they say the portlets are timing out before 30 seconds.
There are other bugs for their release.
One of them is this internal bug:
Bug 12902538 - CANNOT UPDATE TIMEOUT AFTER REGISTRATION.
This is form the above bug:
It's not possible to update the portlets Default Timeout value after first
registration in jdev or other tools.
Updating the timeout in jdev, for example, will update the timeout stored on
the connection. However, it turns out that it's the DefaultPortletTimeout
stored on the <wsrpProducer/> meta that actually gets used at runtime and the
value stored on here doesn't get updated. Essentially then, you are stuck
with the value you used when you first registered the producer.
This bug is fixed in 22.214.171.124.0.
So check with the customer if they originally registered the producer with a lower timeout.
If this is the case it could be this bug.
The issue was fixed with the following settings:
1. Ensure the HTTP Session Timeout in the producer and consumer is set to the same time.
For example, assuming you want a timeout of 60 minutes:
Web.xml (timeout in web.xml file is specified in minutes)
Weblogic.xml (timeout in weblogic.xml file is specified in seconds)
The above settings must be done in the producer and consumer.
2. Set the maximumTimeout in adf-config.xml file to a greater value
(or same value) as the timeout you are seting when registering the producer.
So for example, if your portlet registration timeout is 3000 seconds then
you need to update the maximumTimeout in adf-config.xml file as follows:
This setting is for the producer.
Edited by: mcano on May 31, 2013 12:27 PM
Thnaks aMartha this is resolved after changing the web.xml and weblogic.xml with proper time out settings.