My Oracle Support Banner

An empty ZIP file is exported from the MFT 12.2.1. console and the WLST exportMftMetadata command (Doc ID 2217119.1)

Last updated on APRIL 27, 2018

Applies to:

Oracle Managed File Transfer - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When trying to export either the MFT configuration or any other specific artifact (SOURCE, TRANSFER or TARGET) the file generated is empty.

MDS-00589: Error occurred while creating the final archive file ...

The stack trace on the diagnostic log shows

[2016-10-24T08:08:57.589-12:00] [mft_server1] [ERROR] [] [oracle.mft.CONSOLE_UI] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 2c72c402-4e4d-4352-816a-46700d8ddd87-00003728,0] [APP: MFTUI] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error occurred while exporting the metadata.[[
oracle.tip.mft.ui.common.command.exception.DAOException: Error occurred while exporting the metadata.
at oracle.tip.mft.ui.connector.dao.DAOUtility.handleEJBException(DAOUtility.java:1766)
at oracle.tip.mft.ui.connector.dao.DAOUtility.handleEJBException(DAOUtility.java:1748)
at oracle.tip.mft.ui.connector.dao.CommonDAO.exportMDSRepository(CommonDAO.java:175)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: javax.ejb.EJBException: MFTException [threadName=[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)', errorID=f0998325-033d-48bf-aaec-44d1c0872043, errorDesc=MFT-2301_Error occurred while exporting the metadata., cause=
MDS-00589: Error occurred while creating the final archive file ....

 The process cannot access the file because it is being used by another process.
MDS-00001: exception in Metadata Services layer]
at oracle.tip.mft.j2ee.ejb.MDSServiceImpl.exportMetadata(MDSServiceImpl.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
at com.sun.proxy.$Proxy383.exportMetadata(Unknown Source)
at oracle.tip.mft.ui.connector.dao.CommonDAO.exportMDSRepository(CommonDAO.java:171)
... 88 more
Caused by: MFTException [threadName=[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)', errorID=f0998325-033d-48bf-aaec-44d1c0872043, errorDesc=MFT-2301_Error occurred while exporting the metadata., ]
at oracle.tip.mft.system.runtime.MetaDataServiceImpl.exportMetadata(MetaDataServiceImpl.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
at com.sun.proxy.$Proxy385.exportMetadata(Unknown Source)
at oracle.tip.mft.system.runtime.RemoteProxyService.exportMetadata(RemoteProxyService.java:127)
at oracle.tip.mft.j2ee.ejb.MDSServiceImpl.exportMetadata(MDSServiceImpl.java:135)
... 126 more
Caused by: oracle.mds.transfer.TransferException
at oracle.tip.mft.mds.export.ExportImportMDSService._export(ExportImportMDSService.java:236)
at oracle.tip.mft.mds.export.ExportImportMDSService._export(ExportImportMDSService.java:162)
at oracle.tip.mft.mds.export.ExportImportMDSService.exportAll(ExportImportMDSService.java:57)
at oracle.tip.mft.system.runtime.MetaDataServiceImpl.exportMetadata(MetaDataServiceImpl.java:291)
... 143 more

]]

 

When using WLST exportMftMetadata command you see this error:

c:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin>wlst.cmd

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the sy
stem, this process may take a few minutes to complete, and WLST may not return a
prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> connect ('weblogic', 'XXXX','t3://localhost:7001')
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "base_domain".

Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used instea
d.

wls:/base_domain/serverConfig/> exportMftMetadata('C:\tmp\mft\mftTest.zip')
MFTDomain:Name=oracle.as.mft.runtime,Type=MFT,Application=mft-app
wls:/base_domain/serverConfig/> exportTransferMetadata('C:\tmp\mft\myTransfer.zip', 'myTransfer')
MFTDomain:Name=oracle.as.mft.runtime,Type=MFT,Application=mft-app
wls:/base_domain/serverConfig/> exportMftMetadata('C:\\mftTest.zip')
MFTDomain:Name=oracle.as.mft.runtime,Type=MFT,Application=mft-app
wls:/base_domain/serverConfig/> exportTransferMetadata('C:\\myTransfer.zip', 'myTransfer')
MFTDomain:Name=oracle.as.mft.runtime,Type=MFT,Application=mft-app

Errors on the mft_server1-diagnostic.log shows

[2016-10-24T08:08:57.589-12:00] [mft_server1] [ERROR] [] [oracle.mft.CONSOLE_UI] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 2c72c402-4e4d-4352-816a-46700d8ddd87-00003728,0] [APP: MFTUI] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error occurred while exporting the metadata.[[
oracle.tip.mft.ui.common.command.exception.DAOException: Error occurred while exporting the metadata.
at oracle.tip.mft.ui.connector.dao.DAOUtility.handleEJBException(DAOUtility.java:1766)
at oracle.tip.mft.ui.connector.dao.DAOUtility.handleEJBException(DAOUtility.java:1748)
at oracle.tip.mft.ui.connector.dao.CommonDAO.exportMDSRepository(CommonDAO.java:175)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: javax.ejb.EJBException: MFTException [threadName=[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)', errorID=f0998325-033d-48bf-aaec-44d1c0872043, errorDesc=MFT-2301_Error occurred while exporting the metadata., cause=
MDS-00589: Error occurred while creating the final archive file ....

The process cannot access the file because it is being used by another process.
MDS-00001: exception in Metadata Services layer]
at oracle.tip.mft.j2ee.ejb.MDSServiceImpl.exportMetadata(MDSServiceImpl.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
at com.sun.proxy.$Proxy383.exportMetadata(Unknown Source)
at oracle.tip.mft.ui.connector.dao.CommonDAO.exportMDSRepository(CommonDAO.java:171)
... 88 more
Caused by: MFTException [threadName=[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)', errorID=f0998325-033d-48bf-aaec-44d1c0872043, errorDesc=MFT-2301_Error occurred while exporting the metadata., ]
at oracle.tip.mft.system.runtime.MetaDataServiceImpl.exportMetadata(MetaDataServiceImpl.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
at com.sun.proxy.$Proxy385.exportMetadata(Unknown Source)
at oracle.tip.mft.system.runtime.RemoteProxyService.exportMetadata(RemoteProxyService.java:127)
at oracle.tip.mft.j2ee.ejb.MDSServiceImpl.exportMetadata(MDSServiceImpl.java:135)
... 126 more
Caused by: oracle.mds.transfer.TransferException
at oracle.tip.mft.mds.export.ExportImportMDSService._export(ExportImportMDSService.java:236)
at oracle.tip.mft.mds.export.ExportImportMDSService._export(ExportImportMDSService.java:162)
at oracle.tip.mft.mds.export.ExportImportMDSService.exportAll(ExportImportMDSService.java:57)
at oracle.tip.mft.system.runtime.MetaDataServiceImpl.exportMetadata(MetaDataServiceImpl.java:291)
... 143 more

 

 

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