On linux to change the web timeouts for JDE
Find where agent runs:
[oracle@jdepp1 SCFHA]$ ps -ef |grep java | grep -i scfagent
jde920 2554 1 0 Apr12 ? 00:08:38 /jde_home_32/SCFHA/jdk/jre/bin/java -classpath /jde_home_32/SCFHA /lib/scfagent.jar com.jdedwards.mgmt.agent.Launcher
oracle 31900 1 0 Apr26 ? 00:03:03 /jde_home/SCFHA/jdk/jre/bin/java -classpath /jde_home/SCFHA/lib/scfagent.jar com.jdedwards.mgmt.agent.Launcher
Easy, now find the relevant web.xml file:
Find /jde_home_32/SCFHA -name web.xml -print
[oracle@jdepp1 SCFHA]$ find /jde_home/SCFHA -name web.xml -print
/jde_home/SCFHA/targets/WEB_PP_JDEPP1/owl_deployment/webclient.ear/app/webclient.war/WEB-INF/web.xml
Back it up, then edit (vi) it
In the file, Find /web-app
...
oracle/portal/provider/global/log/logLevel
7
java.lang.Integer
Find where agent runs:
[oracle@jdepp1 SCFHA]$ ps -ef |grep java | grep -i scfagent
jde920 2554 1 0 Apr12 ? 00:08:38 /jde_home_32/SCFHA/jdk/jre/bin/java -classpath /jde_home_32/SCFHA /lib/scfagent.jar com.jdedwards.mgmt.agent.Launcher
oracle 31900 1 0 Apr26 ? 00:03:03 /jde_home/SCFHA/jdk/jre/bin/java -classpath /jde_home/SCFHA/lib/scfagent.jar com.jdedwards.mgmt.agent.Launcher
Easy, now find the relevant web.xml file:
Find /jde_home_32/SCFHA -name web.xml -print
[oracle@jdepp1 SCFHA]$ find /jde_home/SCFHA -name web.xml -print
/jde_home/SCFHA/targets/WEB_PP_JDEPP1/owl_deployment/webclient.ear/app/webclient.war/WEB-INF/web.xml
Back it up, then edit (vi) it
In the file, Find /web-app
...
"targets/WEB_PP_JDEPP1/owl_deployment/webclient.ear/app/webclient.war/WEB-INF/web.xml" line 976 of 976 --100%-- col 3
Add this before
The results look like this
...
The number 10,800,000 is for 3 hours
Do same for web.xml under user_projects
Ps -ef |grep
[oracle@jdepp1 SCFHA]$ ps -ef |grep java |grep WEB_PP_JDEPP1 | awk -F"-DINSTANCE_HOME=" '{print $2}' | awk '{print $1}'
/Oracle_Home/user_projects/domains/e1apps
Then same find
Nerdy use of flea to find the next web.xml
[oracle@jdepp1 SCFHA]$ find `ps -ef |grep java |grep WEB_PP_JDEPP1 | awk -F"-DINSTANCE_HOME=" '{print $2}' | awk '{print $1}'` -name web.xml |grep stage |grep WEB_PP
/Oracle_Home/user_projects/domains/e1apps/servers/WEB_PP_JDEPP1/stage/WEB_PP_JDEPP1/app/webclient.war/WEB-INF/web.xml
Vi that and fix it too
Finally JAS.INI
User session cache timeout
3,600,000 for 1 hour
Minutes to ms -> https://www.calculateme.com/time/minutes/to-milliseconds/
In my case 10,800,000
Bounce and done!
No comments:
Post a Comment