Perm Gen out of Memory Occurs on the Weblogic Server Where URL PX Is Deployed Using refreshInstance (Doc ID 1582574.1)

Last updated on FEBRUARY 29, 2016

Applies to:

Oracle Agile PLM Framework - Version 9.3.0.0 to 9.3.3.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
Perm Gen out of memory issue occurs when "AgileSessionFactory refreshInstance(String url)" is used to run URL PX

EXPECTED BEHAVIOR
-----------------------
Perm Gen out of memory not to happen by running URL PX using refreshInstance

FACTS
---------------
- When using getInstance is used Perm Gen out of memory does not happen, however then the problem reported in <Note:1279521.1> will surface
- "-Ddisable.agile.sessionID.generation=true" is already used
- jndiurl.properties is configured properly


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Setup WebLogic 10.3.6 clustered with 1 admin and 2 managed server nodes
2. Setup URL PX with below code:
String url = "http://agile_server.domain.com:port/Agile";
IAgileSession isession = null;
Map params = new HashMap();
params.put(AgileSessionFactory.USERNAME, "admin");
params.put(AgileSessionFactory.PASSWORD, "agile");

isession = AgileSessionFactory.refreshInstance(url).createSession(params);
3. Run URL PX multiple times

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot unable to run URL PX in failover mode without causing Perm Gen space error
When problem occurs on the production server, it will cause Agile Application Server to stop.

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