我有一个应用程序,当我单击特定链接时,它会将我带到 Oracle Universal Content Manager。一旦我进入 UCM,如果返回我的应用程序,它就会超时(注销)。在调查时,我发现我的应用程序的 jsessiond id 正在被杀死,并且正在生成新的 jsession id。
有人知道如何在 UCM 端保留这个 jsession 或增加 jsession id 的数量吗?
任何帮助将不胜感激。
谢谢,莎米莎。
我有一个应用程序,当我单击特定链接时,它会将我带到 Oracle Universal Content Manager。一旦我进入 UCM,如果返回我的应用程序,它就会超时(注销)。在调查时,我发现我的应用程序的 jsessiond id 正在被杀死,并且正在生成新的 jsession id。
有人知道如何在 UCM 端保留这个 jsession 或增加 jsession id 的数量吗?
任何帮助将不胜感激。
谢谢,莎米莎。
After searching on support side I got to know that :
OAM protecting multiple WebLogic applications that are not sharing a session. The JSESSIONID cookie issued when a user accesses a second application will blow away the JSESSIONID from the first application.
Now, what you usually see in such a setup is that the user can go back and access the first application without having to login again. However, underneath the covers they will be issued a new session. So, upon returning to the first application, any data associated with their original session will be lost and the application flow may be disrupted or different from the expected behavior.
There are 3 ways doing this :
1. Enable session sharing between your WLS applications.
2. Configure distinct WLS session cookie names (instead of JSESSIONID) for each application so that they won’t override each other.
3. Configure distinct cookie paths for each application (by default the JSESSIONID created by WLS has a path of “/”) so that they won’t override each other.
I used second option:
Step 1 : Unzipped the cs.ear file
Step 2 : Open web.xml file.
a. Modify the filter entry for JpsFilter and add the following <init-parameter> entry at the end of this entry:
<init-param>
<param-name>IdcSessionKey</param-name>
<param-value>YOURJSESSIONID</param-value>
</init-param>
b. Modify the filter entry for IdcFilter and the following entry at the end of this entry:
<init-param>
<param-name>IdcSessionKey</param-name>
<param-value>YOURJSESSIONID</param-value>
</init-param>
c. Modify the servlet entry for adfAuthentication and add the following entry at the end of this entry:
<init-param>
<param-name>IdcSessionKey</param-name>
<param-value>YOURJSESSIONID</param-value>
</init-param>
Step 3: Open weblogic.xml.Add the following entry inside the <session-descriptor> entry:
<cookie-name>YOURJSESSIONID</cookie-name>
Step 4: Re-generate cs.war and then cs.ear file.
Step 5: Copy the newly created ear file to your location.
Step 6: Delete temp and cache wcm server domain. Then restart ucm server