Migration Utility Exceptions (26001 - 26017)
 MigrationUtilityException is a run-time exception that is raised when an error is encountered during the use of the TopLink migration utility.
Format
EXCEPTION [TOPLINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message
Example 13-26 Migration Utility Exception
EXCEPTION [TOPLINK – 26002]: oracle.toplink.exceptions.MigrationUtilityException
EXCEPTION DESCRIPTION: The program security manager prevents the migration utility from creating a JAR class loader for the JAR file.
 
- 
26001: WLS_MULTIPLE_JARS_WITH_INPUT_ORION_NOT_SUPPORTED
- 
Cause: WLS->OC4J TopLink migration exception: There are multiple migratable JARs in the input EAR file, and the orion-ejb-jar.xmlis also provided in the input. The migration utility only supports a single migratable JAR file in an EAR file if theorion-ejb-jar.xmlfile is also in the input.
 
- 
Action: Remove the orion-ejb-jar.xmlfile from the input directory, or keep only one migratable JAR file in the input EAR file.
 
 
 
- 
26002: FAILED_TO_CREATE_JAR_CLASSLOADER
- 
Cause: The program security manager prevents the migration utility from creating a JAR class loader for the JAR file.
 
- 
Action: Configure the program security manager to grant permission on the program to create the JAR class loader.
 
 
 
- 
26003: FAILED_TO_CREATE_DIRECTORY
- 
Cause: The program security manager prevents the migration utility from creating a directory.
 
- 
Action: Configure the program security manager to grant permission on the program to create a local directory.
 
 
 
- 
26004: FILE_NOT_ACCESSIBLE
- 
Cause: The file is not accessible by the migration utility.
 
- 
Action: Check to ensure that the file is on the specified path and is readable.
 
 
 
- 
26005: FILE_NOT_DELETABLE
- 
Cause: The program security manager prevents the migration utility from deleting a directory.
 
- 
Action: Configure the program security manager to grant permission to the program to delete files.
 
 
 
- 
26006: FAILED_TO_READ_INPUTSTREAM
- 
Cause: A java.io.IOExceptionoccurred when reading data from an input stream.
 
- 
Action: Check to ensure that the file is not locked and is accessible.
 
 
 
- 
26007: FAILED_TO_CLOSE_STREAM
- 
Cause: A java.io.IOExceptionoccurred when closing data from an input or output stream.
 
- 
Action: Check to ensure that the file is not locked and is accessible.
 
 
 
- 
26008: FAILED_TO_CLOSE_ZIPFILE
- 
Cause: A java.io.IOExceptionoccurred when closing data from a zip file.
 
- 
Action: Check to ensure that the zip file is not locked and is accessible.
 
 
 
- 
26009: JAR_FILE_NOT_ACCESSIBLE
- 
Cause: The JAR file was not found or was not accessible on the specified path.
 
- 
Action: Check to ensure that the JAR file is not locked and is accessible.
 
 
 
- 
26010: QUERY_NOT_WELL_DEFINED
- 
Cause: Query method with parameters of the entity defined in the ejb-jar.xmlfile is not well defined as it does not start withfindorejbSelect.
 
- 
Action: Check the ejb-jar.xmlfile to ensure that the finder name starts with eitherfindorejbSelectaccording to the EJB spec.
 
 
 
- 
26011: FAIL_TO_LOAD_CLASS_FOR_QUERY
- 
Cause: The class defined as a parameter type of the query of the entity in ejb-jar.xmlcould not be loaded.
 
- 
Action: Ensure that the bean class is included on the classpath.
 
 
 
- 
26012: FINDER_NOT_DEFINED_IN_ENTITY_HOME
- 
Cause: The findermethod with parameters defined in theejb-jar.xmlfile is not defined at the entity's local and/or remote home interface.
 
- 
Action: Check the ejb-jar.xmlfile and the bean home to ensure that thefindermethod parameter types are properly defined.
 
 
 
- 
26013: EJB_SELECT_NOT_DEFINED_IN_ENTITY_BEAN_CLASS
- 
Cause: The ejbSelectmethod with parameters defined in theejb-jar.xmlfile is not defined at the entity's bean class.
 
- 
Action: Check the ejb-jar.xmlfile and the bean class to ensure that theejbSelectmethod parameter types are properly defined.
 
 
 
- 
26014: ENTITY_IN_WLS_CMP_JAR_NOT_DEFINED_IN_WLS_EJB_JAR
- 
Cause: The entity specified in the weblogic-cmp-jar.xmlfile is not defined in theweblogic-ejb-jar.xmlfile.
 
- 
Action: Ensure that the entity is consistently defined in the deployment descriptor files.
 
 
 
- 
26015: NO_ENTITY_DEFINED_IN_WLS_CMP_JAR
- 
Cause: No entity element is defined in the weblogic-cmp-rdbms-jar.xmlfile.
 
- 
Action: Ensure that all entities defined in the ejb-jar.xmlfile are mapped in the WebLogicCMPdescriptor file.
 
 
 
- 
26016: WLS_CMP_DESCRIPTOR_FILE_NOT_FOUND
- 
Cause: The WebLogic CMPdescriptor file specified in theweblogic-ejb-jar.xmlfile was not found in the directory.
 
- 
Action: Ensure that the WebLogic CMPdescriptor file, specified in theweblogic-ejb-jar.xmlfile, is included in the input directory.
 
 
 
- 
26017: CMP_DESCRIPTOR_NOT_FOUND_IN_JAR
- 
Cause: The CMPdescriptor file is not found in the JAR file to be migrated.
 
- 
Action: Ensure that the WebLogic CMPdescriptor file, specified in theweblogic-ejb-jar.xmlfile, is included in the input archive JAR file.