ADF_FACES-60096 Server Exception Error "Unknown entity bean class: class oracle.odi.domain.project.OdiPackage" When Accessing ODI Console in ODI 12c

(Doc ID 2341493.1)

Last updated on JANUARY 16, 2018

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

In an Oracle Data Integrator (ODI) 12c Enterprise installation with <Patch 21534652> applied, trying to access the execution work repository from the ODI Console to see the scenarios results in the following error:

ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #00

In the managed server ODI_server1-diagnostic.log, the following error message is seen:

[2017-11-29T11:19:59.444+02:00] [ODI_server1] [ERROR] [] [oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx-xxxxxxxxxx,0] [APP: odiconsole] [DSID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx] ADF_FACES-60096:Server Exception during PPR, #36[[
javax.el.ELException: java.lang.RuntimeException: oracle.odi.core.repository.InvalidRepositoryAccessApiUsageException: ODI-10196: Error while accessing the repository.
Unknown entity bean class: class oracle.odi.domain.project.OdiPackage, please verify that this class has been marked with the @Entity annotation.
  at com.sun.el.parser.AstValue.invoke(AstValue.java:258)
  at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:2016)
  at org.apache.myfaces.trinidad.component.HierarchyUtils.__handleBroadcast(HierarchyUtils.java:55)
  at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:240)
  at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:147)
  ...
Caused by: java.lang.RuntimeException: oracle.odi.core.repository.InvalidRepositoryAccessApiUsageException: ODI-10196: Error while accessing the repository.
Unknown entity bean class: class oracle.odi.domain.project.OdiPackage, please verify that this class has been marked with the @Entity annotation.
  at oracle.odi.repex.view.browser.tree.loader.EntityTypeInstanceLoader.loadInstances(EntityTypeInstanceLoader.java:34)
  at oracle.odi.repex.view.browser.tree.TreeItem$InstanceLoadStrategy.loadInstances(TreeItem.java:287)
  at oracle.odi.repex.view.browser.tree.TreeItem.loadInstances(TreeItem.java:174)
  at oracle.odi.repex.view.browser.tree.listener.TreeNodeDisclosureListener.nodeDisclosed(TreeNodeDisclosureListener.java:24)
  at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
  ... 84 more
Caused by: oracle.odi.core.repository.InvalidRepositoryAccessApiUsageException: ODI-10196: Error while accessing the repository.
Unknown entity bean class: class oracle.odi.domain.project.OdiPackage, please verify that this class has been marked with the @Entity annotation.
  at oracle.odi.core.repository.RepositoryAccessExceptionTranslator.translateSpringException(RepositoryAccessExceptionTranslator.java:191)
  at oracle.odi.core.repository.RepositoryAccessExceptionTranslator.translateExceptionIfPossible(RepositoryAccessExceptionTranslator.java:88)
  at oracle.odi.core.persistence.jpa.JpaOdiEntityManager.translateDataAccessException(JpaOdiEntityManager.java:268)
  at oracle.odi.core.persistence.jpa.JpaOdiEntityManager.findById(JpaOdiEntityManager.java:75)
  at sun.reflect.GeneratedMethodAccessor652.invoke(Unknown Source)
  ...
Caused by: java.lang.IllegalArgumentException: Unknown entity bean class: class oracle.odi.domain.project.OdiPackage, please verify that this class has been marked with the @Entity annotation.
  at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:707)
  at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:588)
  at oracle.odi.core.persistence.jpa.JpaOdiEntityManager.findById(JpaOdiEntityManager.java:71)
  ... 112 more

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