Page 1 of 1
How to change configurations for PAW
Posted: Wed Aug 22, 2018 12:55 am
by macsir
Hi,
After reading the guide below,
https://www.ibm.com/support/knowledgece ... _file.html
If I change any configuration in paw.ps1, and I open up the administration tool to click on Update button,
The PAW is restarted, but change still hasn't been made? Any idea?
Re: How to change configurations for PAW
Posted: Wed Aug 22, 2018 9:00 pm
by paulsimon
Hi
Further down that guidance it says you can change the parameters by either editing paw.ps1 or by using the PAW Admin Tool. I would suggest using the PAW Admin Tool. That seems to work for us.
Regards
Paul Simon
Re: How to change configurations for PAW
Posted: Wed Aug 22, 2018 9:27 pm
by macsir
Alright, what I want to modify is the following bits:
# The PAW login session timeout. Default is 60 minutes.
# Amount of time a session can go unused before it is no longer valid.
# Specify a positive integer followed by a unit of time, which can be hours (h),
# minutes (m), or seconds (s). For example, specify 30 seconds as 30s.
# You can include multiple values in a single entry. For example, 1m30s is
# equivalent to 90 seconds.
$env:SessionTimeout="60m"
I put
$env:SessionTimeout="2h"
into paw.ps1 which is supposed to overwrite the default 1 hour and restart the PAW. It looks like the change hasn't take effect after testing. The session was still timeout in one hour.
Re: How to change configurations for PAW
Posted: Thu Aug 23, 2018 1:09 am
by macsir
Even after reloading the docker image, it still doesn't work. How do I make changes which are not in the PAW admin tool?
Re: How to change configurations for PAW
Posted: Thu Aug 23, 2018 6:23 pm
by dr.nybble
Run scripts/paw.ps1
Any impacted containers will be re-created with the updated environment variables.
This is the equivalent of clicking the "Start" button in the Admin Tool.
Re: How to change configurations for PAW
Posted: Thu Aug 23, 2018 11:08 pm
by macsir
dr.nybble wrote: ↑Thu Aug 23, 2018 6:23 pm
Run scripts/paw.ps1
Any impacted containers will be re-created with the updated environment variables.
This is the equivalent of clicking the "Start" button in the Admin Tool.
Thanks for your advice. I executed scripts/paw.ps1 successfully but the session still failed with authentication error in one hour.
Re: How to change configurations for PAW
Posted: Fri Aug 24, 2018 4:16 am
by macsir
The error msg is saying "Unable to refresh contents of widgets. ....httpStatusCode:401,authenticate..."
Looks like the http request of keeping-alive is fixed to 60 minutes currently.
Re: How to change configurations for PAW
Posted: Mon Aug 27, 2018 2:37 pm
by dr.nybble
What authentication mode is configured?
Re: How to change configurations for PAW
Posted: Mon Aug 27, 2018 9:07 pm
by macsir
CAM Security with SSO enabled in this version.
Re: How to change configurations for PAW
Posted: Tue Aug 28, 2018 12:22 pm
by dr.nybble
Since the 401 you received was from TM1, not PAW, it appears that the underlying CAM passport timed out. You may need to also adjust that on the CA/BI side.
Re: How to change configurations for PAW
Posted: Tue Aug 28, 2018 11:33 pm
by macsir
dr.nybble wrote: ↑Tue Aug 28, 2018 12:22 pm
Since the 401 you received was from TM1, not PAW, it appears that the underlying CAM passport timed out. You may need to also adjust that on the CA/BI side.
Thanks for that. I tried to change "Inactivity timeout in seconds" in Cognos configuration. It still didn't work.