PersistenceMigrationTool Fails To Run With Warning: "Class definiton for persisted object not available" (Doc ID 1306133.1)

Last updated on APRIL 07, 2011

Applies to:

Oracle WebCenter - Version: 11.1.1.4.0 and later   [Release: 11g and later ]
Information in this document applies to any platform.

Symptoms

When running JPS Portlet Preference Store PersistenceMigrationTool, as follows:
Example:
/shared/sources/jdk1.6.0_23/bin/java -classpath /oracle/Middleware/Oracle_WC1/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/oracle/Middleware/Oracle_WC1/webcenter/modules/oracle.portlet.server_11.1.1/wsrp-container.jar:/oracle/Middleware/Oracle_WC1/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-tags.jar:/oracle/Middleware/wlserver_10.3/server/lib/ojdbc6.jar oracle.portlet.server.containerimpl.PersistenceMigrationTool \
-sourceType db \
-sourceUsername PRD_PORTLET \
-sourcePassword abcd1234 \
-sourceDatabase 11.22.33.44:1521:asdb \
-destType file \
-destPath /tmp/migration \
-debug

It fails with following errors :
WARNING: Class definiton for persisted object not available. Continuing to process remaining objects.
java.lang.ClassNotFoundException: oracle.portlet.producer.container.persistence.PersistentRegistrationData
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
(...)

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