My Oracle Support Banner

Application Fails When Toplink Application Is Redeployed In OC4J Instance Without Restarting The Instance (Doc ID 552332.1)

Last updated on JULY 25, 2021

Applies to:

Oracle TopLink - Version 9.0.4.5 to 10.1.3.1 [Release AS10g to AS10gR3]
Information in this document applies to any platform.

Symptoms

If the Toplink application is redeployed in the OC4J without restarting the OC4J container, the following error occurs. We can resolve this error by restarting the OC4J.

Error

Exception [TOPLINK-6007] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.QueryException
Exception Description: Missing descriptor for [class local.web.common.toplink.tisdb.AccEnv].
Query: ReportQuery(local.web.common.toplink.tisdb.AccEnv)
at oracle.toplink.exceptions.QueryException.descriptorIsMissing(QueryException.java:276)
at oracle.toplink.queryframework.ObjectLevelReadQuery.checkDescriptor(ObjectLevelReadQuery.java:270)

To Reproduce

Situation 1:


1. Application Undeploy
2. OC4J restart
3. Application Deploy
4. Accessing Application Succeeds

Situation 2:  (continuation of situation 1 last step)

1. Application Undeploy
2. Application Deploy
3. Accessing Application Fails with the Above Error
4. OC4J restart
5. Accessing Application Succeeds

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.