on 08-11-2009 6:45 AM
Hi Guys,
I am using IPortalComponentSession object to hold the bean instances. Evey thing is working, if page is not idle for more than 20 min. If I access the page when the page is idle for more than 20 min, it is throwing Null pointer exception. This is because IPortal
ComponentSession scope gets lost and couldn't get the bean object.
Is there any parameter available to set the Global Portal Sesssion time to IPortalComponent Session, such that when portal session expires IPortalComponent Session expires automatically.
Is there any property exists in portalapp.xml file or iview.
Thanks in Advance
Chinna.
Where evern IPortalComponent session is being used, I am catching Null pointer exception and reloading the whole page again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try setting the property in portalapp.xml
<property name="com.sap.portal.page.PageTimeout" value="800000" />
Regards,
srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
As I said, when ever the component session expires Null pointer exception is showing. Hence I am catching the NullPointer exception and then reloading the page again. It is working in frontend without any issues.
But in the error log monitor(nwa) I can see the below error when reloading the page after component session expires.
Cannot change transaction isolation during distributed transaction and when the connection is shared. DataSource name: "PRODB2
As per my knowledge I understood that this is happening beacuse application is trying to recreate a new connection pool while one pool instance is alive.
If this is correct can any one tell me how to destory the pool of current session when reloading the page.
Thanks in Advance,
Chinna.
HI,
Try configuring this in web.xml
http://help.sap.com/saphelp_nw04/helpdata/en/bd/6ca740aa053a13e10000000a155106/frameset.htm
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Has any one encountered this kind of error??
Please share your experience regarding this to help me in fixing the problem.
Thanks
Chinna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.