PBCS Error “EPMLCM 14000: Error reported from Hyperion Planning. Invalid Essbase Cube for Essbase Application”


Lifecycle Management (LCM) import of Planning application fails with the following error message:

EPMLCM 14000: Error reported from Hyperion Planning

Invalid Essbase Cube for Essbase Application

This happen due to Plan Type names are different in Source and Target applications. Plan Type names in the application cannot be changed after it has been created.  For LCM import to work we need to have the same Plan Type names in both Source and Target application.

To Fix –

  1. Delete the existing target application.
  2. Migrate the source appllication to target environment using LCM.

Thanks,

~KKT~

FDMEE – LCM Migration Failing Error: “Service unavailable’ “


Hi,

I was working on FDMEE and found this issue and here reference for you –

Error-

User Receive “Service unavailable’ error when attempting to migrate FDMEE Planning application metadata via LCM.
[2015-05-21T14:08:12.625-05:00] [FoundationServices1] [TRACE] [EPMLCM-54037] [oracle.EPMLCM] [tid: 156] [userId: ] [ecid: 00iTJ48khon13j15nvK6yZ0001Sg000MOa,0:1:4:3:1:3:3:3:3:4:3:3:4:4:4:4:3:3:4:4:3:3:3:4:3:4:3:3:4:3:3:4:4:3:3:3:3:3:3:3:4:3:3:3:3:4:4:4:4:3:4:4:4:3:3:3:3:3:3:1:1:1] [APP: SHAREDSERVICES#11.1.2.0] [URI: /workspace/logon] [SRC_CLASS: com.hyperion.lcm.handler.util.status.TaskStatus] [SRC_METHOD: getMessageContext:69] A task type error has occurred when performing the operation for task 0 defined in the migration definition file.
[2015-05-21T14:08:12.625-05:00] [FoundationServices1] [NOTIFICATION] [EPMLCM-13000] [oracle.EPMLCM] [tid: 156] [userId: ] [ecid: 00iTJ48khon13j15nvK6yZ0001Sg000MOa,0:1:4:3:1:3:3:3:3:4:3:3:4:4:4:4:3:3:4:4:3:3:3:4:3:4:3:3:4:3:3:4:4:3:3:3:3:3:3:3:4:3:3:3:3:4:4:4:4:3:4:4:4:3:3:3:3:3:3:1:1:1] [APP: SHAREDSERVICES#11.1.2.0] [URI: /workspace/logon] Service currently not available.
[2015-05-21T14:08:12.625-05:00] [FoundationServices1] [ERROR] [EPMLCM-37066] [oracle.EPMLCM] [tid: 156] [userId: ] [ecid: 00iTJ48khon13j15nvK6yZ0001Sg000MOa,0:1:4:3:1:3:3:3:3:4:3:3:4:4:4:4:3:3:4:4:3:3:3:4:3:4:3:3:4:3:3:4:4:3:3:3:3:3:3:3:4:3:3:3:3:4:4:4:4:3:4:4:4:3:3:3:3:3:3:1:1:1] [APP: SHAREDSERVICES#11.1.2.0] [URI: /workspace/logon] [SRC_CLASS: com.hyperion.lcm.common.LCMLogger] [SRC_METHOD: logMessages:939] Status document parsing failed. Nested exception is [[
org.xml.sax.SAXParseException: The reference to entity “Prom” must end with the ‘;’ delimiter.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1427)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:881)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1547)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1320)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:163)
at com.hyperion.lcm.handler.Task.updateStatusDocument(Task.java:422)
at com.hyperion.lcm.handler.util.Migration._importGroupingUnit(Migration.java:681)
at com.hyperion.lcm.handler.util.Migration.migrate(Migration.java:303)
at com.hyperion.lcm.handler.TaskHandler.processMigrationQueue(TaskHandler.java:609)
at com.hyperion.lcm.handler.TaskHandler.runTasks(TaskHandler.java:420)
at com.hyperion.lcm.handler.TaskHandler.execute(TaskHandler.java:86)
at com.hyperion.lcm.clu.async.AsyncMigrator.run(AsyncMigrator.java:54)
at java.lang.Thread.run(Thread.java:662)

 

In some cases the LCM export would not check that all the dependencies have been met when exporting so sometimes you get failures when importing it again

Workaround:
——————-

Set Skip Validation to Yes.

Navigate to Administration>Migration Options –>Import Options

ERP Integrator – Skip Validation Yes/ No. Set to Yes.

Thanks,

~KKT~

Migrate an EPMA Hyperion Planning Application Using LCM


LCM offers a means of migrating Planning applications. When these Planning applications are managed in EPMA, both the Planning tier and the EPMA tier of each application must be migrated. This document explains how to do this, and how to avoid issues caused by dependencies between objects.

This guide assumes that you are migrating applications from one environment to another which is the same version. If that is not the case (e.g. migrating an application from an 11.1.1.0 environment to an 11.1.1.3 environment) then LCM is not supported.

A workaround for such situations is discussed in Note 1187985.1.

How to Migrate an EPMA Planning Application Using LCM

Overview

To migrate a Planning application using LCM, three distinct sets of artifacts need to be exported and imported:

  1. The application metadata as it exists in EPMA
  2. The provisioning for this application defined in Shared Services
  3. The artifacts (forms, task lists, etc) which exist in Planning
Migration of Essbase data is not covered in this article. Data in Essbase cannot be migrated using LCM, and must be exported and imported in the same way as in earlier versions. See the Essbase documentation for more information.

The application must be migrated following a certain sequence, because of the dependencies between each set of artifacts. For example, the application metadata in EPMA must be imported, and the Planning application deployed, before the Planning artifacts can be successfully imported.

I. Exporting from the source environment

  1. Export the application metadata from EPMA to the file system:
    Application Groups > Foundation > EPM Architect > Application Metadata > Planning Applications > Check box for application > Define Migration > Name export file (e.g. ‘EPMA_tier’) > Execute Migration
  2. Export the application’s provisioning from Shared Services to the file system:
    Application Groups > Foundation > Shared Services > Native Directory > Assigned Roles > Planning Application Group > Check box for application > Define Migration > Name export file (e.g. MyProvisioning) > Execute Migration
  3. Export the Planning artifacts (web forms, security, etc) to the file system:
    Application Groups > Planning Application Group > Application Name > Check boxes for all artifacts > Define Migration > Name export file (e.g. ‘Planning_tier’) > Execute Migration

Exports are saved to: %HYPERION_HOME%\common\import_export\\

II. Importing to the destination environment

A. Import EPMA application metadata

The name of the Planning application is embedded in the export files. You cannot change the application’s name during import.

If the application does not exist in the EPMA Application Library in the destination environment when the import is run, it will be created. If the application already exists, you are offered the choice of merging or replacing the existing dimensions with those being imported.

Note that all imported dimensions will be imported as Local dimensions, even if they were Shared in the source environment. See Appendix B below for more details.

  1. If this is a new application in the destination environment, create a data source so that the application can be deployed to Planning after being imported to EPMA.
  2. Copy the exported folders from the source environment to the destination environment. Place them in:
    %HYPERION_HOME%\common\import_export\\

    If you are migrating a Planning Workforce application see Appendix A below before proceeding further.

  3. In Shared Services, import EPMA metadata from the file system to EPMA:
    Application Groups > File System > ‘EPMA_tier’ > Check box for Application Metadata > Define Migration
    At this point you can choose to merge or replace existing dimension, decide whether to immediately deploy the application and Rules to Planning after import, and so on. Select the desired options and click Next > Execute Migration.
  4. The application should now be imported to EPMA and be visible in the EPMA Application Library. If you did not choose to deploy to Planning immediately after import, do so now. Validate the application and deploy. If this is a new application, use the data source created in step 1 above.

B. Import Provisioning

  1. In Shared Services, import the provisioning for this application:
    Application Groups > File System > ‘MyProvisioning’ > Check box for Native Directory > Define Migration
  2. At this point you can choose to create or update existing users/groups/roles. Select the desired options and click Next > Execute Migration.
  3. Once the migration is complete, check in Shared Services to make sure that users have indeed been provisioned for the application. If they have not then Planning security (access rights to members, forms, and task lists) cannot be imported correctly.
  4. Log in to the Planning application and navigate to Administration > Manage Database. Check the “Security Filters” option and click the “Refresh” button. The refresh will synchronize the list of provisioned users and groups in Shared Services (imported in the previous step) with the list of users and groups in the Planning relational database. This will allow migration of Planning security in the next step.

C. Import Planning artifacts and security

  1. In Shared Services, import Planning artifacts from the file system to Planning:
    Application Groups > File System > ‘Planning_tier’ > Check all boxes > Define Migration
  2. Select your destination Planning application from the list of available destinations. Click Next > Execute Migration.
  3. Log in to the Planning application and confirm that security has been correctly migrated.
  4. To confirm that EPMA, Planning and Essbase are all in sync, deploy the application again from EPMA, refreshing the outline in Essbase as part of the process. If this is successful, the application should be fully migrated and working.

Appendix A – Workforce Applications

If the Planning application being migrated is a Workforce application, you may be unable to validate and deploy the application from EPMA in step A-4 above, and receive an error “unable to find members”. This problem does not always occur, and is most common when the Workforce application has been extensively customized.

In such a situation, the migration fails unless a Workforce application with the same properties (Plan Type names, calendar settings, default currency, start year, etc) is already present in EPMA in the destination environment. The workaround is therefore to create such an application. There are two ways to do this.

Workforce migration workaround – Option 1

  1. Create a classic Workforce application in the destination environment with the same properties as the source application using the classic application creation wizard. Refer to the application in the source environment when selecting the options during application creation, so that you create it with the same options. If you do not have access to the source environment, you can examine the metadata export files (called ‘EPMA_tier’ and ‘Planning_tier’ in the steps above) in a text editor. The metadata is exported in XML format and contains the application properties
  2. Once the application has been created, log into it and initialize Workforce
  3. Using the Application Upgrade wizard (in Workspace, Navigate > Administer > Application Upgrade), upgrade the classic Workspace application to EPMA
  4. Continue from step A-3 in the instructions above, choosing to replace the existing metadata in EPMA.

Workforce migration workaround – Option 2

  1. Create an EPMA Workforce application in the destination environment with the same properties as the source application using the EPMA application creation wizard. Refer to the application in the source environment when selecting the options during application creation, so that you create it with the same options. If you do not have access to the source environment, you can examine the metadata export files (called ‘EPMA_tier’ and ‘Planning_tier’ in the steps above) in a text editor. The metadata is exported in XML format and contains the application properties
  2. The newly created Workforce application will then be deployed
  3. Continue from step A-3 in the instructions above, choosing to replace the existing metadata in EPMA.

Appendix B – How to make Local dimensions Shared

As noted above, all dimensions in an EPMA application that have been migrated using LCM are imported as Local dimensions in the destination environment, irrespective of whether they were Local or Shared in the source environment. This is by design, and cannot be changed. However, there is nothing to prevent you sharing these Local dimensions again once they have been imported. To do so, follow the procedure below:

  1. Edit the application in the EPMA Dimension Library
  2. Right-click on the Local dimension in the application > Share Dimension
  3. In the options screen, choose to “create a new shared dimension” if the dimension does not already exist in the Shared Library. Choose to “merge as shared” if the dimension already exist in the Shared Library and you want to merge it with the newly imported dimension. Choose to “replace” if you want to replace the dimension in the Shared Library with the newly imported dimension.

 

LCM Issue – Detailed Log to debug


How to capture the LCM logging information in 11.1.2.x environment?

For detailed logging the setting of TRACE:32 needs to be set in the logging.xml file for the LCM subsystem.

1) For migrations run from Hyperion Shared Services UI, the LCM operations are logged into SharedServices_LCM.log.

This is located under Oracle_Home/Middleware/user_projects/domains/EPMSystem/servers/FoundationServices0/logs folder.

To set the logger level to trace for this file you need to edit the logging.xml by setting the logging to set logging to TRACE:32 for the epmlcm-handler.

Logging.xml is defined under

Oracle_Home/Middleware/user_projects/domains/EPMSystem/config/fmwconfig/servers/FoundationServices0
2) For migrations running from Command Line Utility, there will be a separate log created for each migration of the format LCM**.log.

These logs get generated under the folder:
<EPM_ORACLE_INSTANCE>\diagnostics\logs\migration folder.

To set the logger level to trace for this file you need to edit the logging.xml by setting the logging to set logging to TRACE:32 for the epmlcm-handler.

Logging.xml is defined under

<EPM_ORACLE_INSTANCE>\config\FoundationServices\logging.xml.

Below is an example of the TRACE:32

<logger level=”TRACE:32″ name=”oracle.EPMLCM” useParentHandlers=”false”>
<handler name=”epmlcm-handler”/>
</logger>
&lt;log_handler class=”oracle.core.ojdl.logging.ODLHandlerFactory” level=”<strong>TRACE:32</strong>” name=”epmlcm-handler”&gt;

Thanks,
~KKT~