My Oracle Support Banner

Migrating from Folders_g to FrameworkFolders using exportFoldersGData() with SSL Socket Implementation Failing (Doc ID 2270724.1)

Last updated on FEBRUARY 01, 2022

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.8 to 11.1.1.9.8 [Release 11g]
Information in this document applies to any platform.

Symptoms

When using the Folder Migration documentation, as shown below, the process is failing and not migrating documents.  

Oracle® Fusion Middleware Administering Oracle WebCenter Portal
  H.3.1 Migrating WebCenter Portal Metadata to FrameworkFolders
     
  Beginning here where we're executing the "Running exportFoldersGData to Generate the Pre-Migration Data"
      => Section H.3.1.2, "Running exportFoldersGData to Generate the Pre-Migration Data."
             

To troubleshoot the issue further, the configuration/setup and commands that was used to do the upgrade should also be reviewed:
1) Enabling the PortalVCRHelper
2) Setup OracleTextSearch in Content Server
3) In config.cfg can you set SocketHostAddressSecurityFilter to *.*.*.* as shown below,
    SocketHostAddressSecurityFilter=*.*.*.*|127.0.0.1|0:0:0:0:0:0:0:1


LogFiles/Loggers will contain symptomatic entries as shown below:

Webcenter Content:

[2016-12-15T23:15:54.058-05:00] [<MANAGED-SERVER-NAME>] [ERROR] [UCM-CS-000001] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: <ECID>] [APP: Oracle WebCenter Content - Content Server] general exception[[
intradoc.common.ServiceException: !csUnableToGetRevInfo2, 'UCMHOST' A213797
*ScriptStack DOC_INFO_BY_NAME
3:vcrGetDocInfoByName,dDocName= 'UCMHOST' A2137973:determineID,dDocName= 'UCMHOST' A213797
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2220)
at intradoc.server.Service.buildServiceException(Service.java:2404)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2398)
...
...
Caused by: intradoc.common.ServiceException: !csGetFileUnableToFindRevision,csGetFileRevMethodLabel_LatestReleased, 'UCMHOST' A213797
at intradoc.server.utils.FileRevisionSelectionUtils.computeDocumentRevisionInfo(FileRevisionSelectionUtils.java:487)
at intradoc.server.DocCommonHandler.determineID(DocCommonHandler.java:710)
... 42 more

WC_Spaces-diagnostic.log:

[2016-12-16T10:26:23.042-05:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.doclib.internal.view.presenter.AbstractPresenterBean] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter#11.1.1.4.0] oracle.webcenter.content.integration.NoSuchNodeException: Dec 16, 2016 10:26:23 AM oracle.webcenter.content.integration.spi.ucm.NodeOps getVcrGetDocumentByNameDataBinder[[
SEVERE: Unable to fetch document in repository 'UCMHOST' _Content_Server with dDocName 'UCMHOST' A213797. When calling service VCR_GET_DOCUMENT_BY_NAME, as user weblogic_wc, at timestamp 12/16/16 10:26 AM, recieved status code -16.
oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException: oracle.webcenter.content.integration.NoSuchNodeException: Dec 16, 2016 10:26:23 AM oracle.webcenter.content.integration.spi.ucm.NodeOps getVcrGetDocumentByNameDataBinder
SEVERE: Unable to fetch document in repository 'UCMHOST' _Content_Server with dDocName 'UCMHOST' A213797. When calling service VCR_GET_DOCUMENT_BY_NAME, as user weblogic_wc, at timestamp 12/16/16 10:26 AM, recieved status code -16.

at oracle.webcenter.doclib.internal.view.presenter.AbstractPresenterBean.sendViewEvent(AbstractPresenterBean.java:317)
at oracle.webcenter.doclib.internal.view.presenter.AbstractPresenterBean.getConfiguration(AbstractPresenterBean.java:202)
at oracle.webcenter.doclib.internal.view.presenter.AbstractPresenterBean.getConfiguredNavigation(AbstractPresenterBean.java:88)
...
...
Caused by: oracle.webcenter.content.integration.NoSuchNodeException: Dec 16, 2016 10:26:23 AM oracle.webcenter.content.integration.spi.ucm.NodeOps getVcrGetDocumentByNameDataBinder
SEVERE: Unable to fetch document in repository 'UCMHOST' _Content_Server with dDocName 'UCMHOST' A213797. When calling service VCR_GET_DOCUMENT_BY_NAME, as user <USERNAME>, at timestamp 12/16/16 10:26 AM, recieved status code -16.

at oracle.webcenter.content.integration.spi.ucm.NodeOps.getVcrGetDocumentByNameDataBinder(NodeOps.java:1885)
at oracle.webcenter.content.integration.spi.ucm.NodeOps.getUCMNodeWithId(NodeOps.java:1627)
at oracle.webcenter.content.integration.spi.ucm.NodeOps.getNodeWithId(NodeOps.java:160)
...
...
Caused by: oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve information for ' 'UCMHOST' A213797'. Unable to find latest released revision for item ' 'UCMHOST' A213797'.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)

MigrationDiagnostic.log:

#############################################################################
Executing pre-migration wlst command exportFoldersGData
#############################################################################
[TRACE]: Entering class: FrameworkFoldersMigration, method: exportFoldersGData
[TRACE]: Parameters provided are: appName: webcenter, server: <SPACES-MANAGED-SERVER>, connectionName: '<CONNECTION-NAME>' _Content_Server, directoryPath: /apps/WCRDEV/product/fmw/foldersgupgrade/, applicationVersion:
[TRACE]: The migration directory default/specified: /apps/WCRDEV/product/fmw/foldersgupgrade/has necessary permissions
[TRACE]: Entering class: FrameworkFoldersMigration, method: _getUCMConnectionUrl
[TRACE]: Exiting method: _getUCMConnectionUrl, returning:: ucmUrl: idc:// '<UCMHOST>' :<PORT>
[TRACE]: Following attributes were derived, ucmConnectionUrl: idc:// '<UCMHOST>' :<PORT>, Portal Server Root Folder: /<Framework RootFolder>
[TRACE]: Entering method: _getDoclibBean, params:: appName: webcenter
[TRACE]: Entering method: _getMBeanArray, params:: pattern: *oracle.webcenter.doclib:*
[TRACE]: Exiting method: _getMBeanArray
[TRACE]: Exiting method: _getDoclibBean
[TRACE]: Successfully got hold of Doclib MBean
[TRACE]: Executing Doclib MBean method, getPreMigrationData

[TRACE]: Entering the class: oracle.webcenter.doclib.migration.FrameworkFolderMigrationLogic, method: getPreMigrationData with parameters, rootFolder: /<Framework RootFolder>, connectionUrl: idc:// '<UCMHOST>' <PORT>, directoryPath: /apps/WCRDEV/product/fmw/foldersgupgrade/PRE_MIGRATION/,isCustomApp:false
[TRACE]: Exiting the class: oracle.webcenter.doclib.migration.FrameworkFolderMigrationLogic, method: getPreMigrationData with return execution status: Success
[TRACE]: Successfully executed Doclib MBean method, getPreMigrationData
[TRACE]: Exporting MDS documents
[TRACE]: Exporting MDS documents is successfull
[SUCCESS]: exportFoldersGData successfully executed
[TRACE]: Exiting class: FrameworkFoldersMigration, method: exportFoldersGData

 

After running the Folder migration (either by executing UpgradeWebcenterPortal() or exportFoldersGData() the process fails and created files "PreMigrationData.csv" and "PreMigrationSpaceTemplateData.csv" and are listed at "0" bytes.

Changes

 

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
Changes
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.