URL PX Is Failing With Missing J_Username Information in the Cookie While J_Password Is Correct

(Doc ID 2417162.1)

Last updated on JUNE 29, 2018

Applies to:

Oracle Agile PLM Framework - Version 9.3.4.0 and later
Information in this document applies to any platform.

Symptoms

URL PX is failing with below error:


Error

AuthenticationFilter Requested Resource :: /xxx/xxxxxxx
AGILE_SERVER_URL: http://agile_uat.domain.dom:7001/Agile
Request: org.apache.catalina.connector.RequestFacade@a1d286f
Error code : 60099
Error message : Session has been already closed.

  at com.agile.api.common.Security.doAs(Security.java:111)
  at com.agile.api.pc.Session.getCurrentUserInfo(Session.java:1233)
  at com.agile.api.pc.Session.getResourceBundle(Session.java:808)
  at com.agile.api.pc.Session.createError(Session.java:1927)
  at com.agile.api.pc.APIObject.checkParameter(APIObject.java:147)
  at com.agile.api.pc.APIObject.checkParameter(APIObject.java:137)
  at com.agile.api.pc.Session.(Session.java:229)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:1029)
  at com.globalfoundries.plm.agile.common.util.GfAgileUtil.getAgileSession(GfAgileUtil.java:232)
  at com.globalfoundries.plm.agile.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:112)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:14



Facts

- When checking cookie values, can see j_username is null. j_password has correct value.
j_username=;
j_password=JSUlJSUl;

- agile.properties has cookie.domain and cookie.path correctly configured


Steps

The issue can be reproduced at will with the following steps:
1. Run URL PX


Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms