2015-03-31 1 views
0

Je reçois le message d'avertissement suivant pendant que j'essaie d'importer un fichier XML dans le référentiel Informatica.Avertissement d'importation XML: Informatica

Attention: Condition inattendue à: Wcursor.cpp: 305

Contactez Informatica support technique pour l'assistance

continue peut entraîner des dommages à votre dépôt.

enter image description here

Le fichier XML est d'environ 70 Mo et a obtenu environ 4500 objets en elle. Je migre une application entière d'un serveur à un autre. Vous ne savez pas pourquoi ce problème se produit. J'ai essayé plusieurs fois et à partir d'un autre système client, mais pas de chance.

Pour l'importation du code XML via la ligne de commande à l'aide de la commande "pmrep", nous avons besoin du fichier de contrôle. Mais je n'ai aucun fichier de contrôle pour ce XML. Donc je ne peux pas aller avec cette option.

Ce serait génial si quelqu'un pouvait m'aider à résoudre ce problème.

Détails:

Version 9.1 Infa Monté sur l'environnement Unix.

+0

Cela peut être un problème de mémoire insuffisant (seulement une supposition). Pouvez-vous essayer d'exporter un plus petit nombre d'objets et essayer d'importer cela? – Samik

+0

@ Samik-- vous voulez dire ... à partir du même fichier XML de 70mb .... première importation des objets source/cible..puis les mappings..puis les sessions ... et ainsi de suite ...... ?? ??? ... OU .... en exportant lui-même les diviser en différents fichiers ????????? –

+0

Je voulais dire sélectionner moins d'objets lors de l'exportation. Vous pouvez exporter, par exemple, 50 flux de travail à partir du gestionnaire de référentiel. Les objets dépendants seront automatiquement inclus dans le fichier d'exportation. – Samik

Répondre

0

Nous avions le même problème il y a quelque temps. L'analyse XML prend beaucoup de mémoire et/ou l'interface graphique ne peut pas le gérer. Ma solution était d'utiliser l'outil de ligne de commande pmrep. Travaillé pour moi - mon flux de travail était composé d'environ 3600 objets afair.

Si vous n'avez pas de fichier de contrôle, créez-en un! Voici un modèle très simple:

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE IMPORTPARAMS SYSTEM "impcntl.dtd"> 
<!--IMPORTPARAMS This inputs the options and inputs required for import operation --> 
<!--CHECKIN_AFTER_IMPORT Check in objects on successful import operation --> 
<!--CHECKIN_COMMENTS Check in comments --> 
<!--APPLY_LABEL_NAME Apply the given label name on imported objects --> 
<!--RETAIN_GENERATED_VALUE Retain existing sequence generator, normalizer and XML DSQ current values in the destination --> 
<!--COPY_SAP_PROGRAM Copy SAP program information into the target repository --> 
<!--APPLY_DEFAULT_CONNECTION Apply the default connection when a connection used by a session does not exist in the target repository --> 
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="YES" CHECKIN_COMMENTS="PMREP_IMPORT_TEST" RETAIN_GENERATED_VALUE="NO" COPY_SAP_PROGRAM="NO" APPLY_DEFAULT_CONNECTION="NO"> 
<!--FOLDERMAP matches the folders in the imported file with the folders in the target repository --> 
<FOLDERMAP SOURCEFOLDERNAME="YOUR FIRST SOURCE FOLDER NAME" SOURCEREPOSITORYNAME="REP_DEV" TARGETFOLDERNAME="YOUR FIRST SOURCE FOLDER NAME" TARGETREPOSITORYNAME="REP_TEST"/> 
<FOLDERMAP SOURCEFOLDERNAME="YOUR SECOND TARGET FOLDER NAME" SOURCEREPOSITORYNAME="REP_DEV" TARGETFOLDERNAME="YOUR SECOND TARGET FOLDER NAME" TARGETREPOSITORYNAME="REP_TEST"/> 
<!--Import will only import the objects in the selected types in TYPEFILTER node --> 
<!--TYPENAME type name to import. This should comforming to the element name in powermart.dtd, e.g. SOURCE, TARGET and etc.--> 
<!--RESOLVECONFLICT allows to specify resolution for conflicting objects during import. The combination of specified child nodes can be supplied --> 
<RESOLVECONFLICT> 
<!--TYPEOBJECT allows objects of certain type to apply replace/reuse upon conflict--> 
<!--TYPEOBJECT = ALL conflict resolution for ALL types of objects --> 
<TYPEOBJECT OBJECTTYPENAME="ALL" RESOLUTION="REPLACE"/> 
<!--SPECIFICOBJECT allows a particular object(name, typename etc.) to apply replace/reuse upon conflict --> 
<!--NAME Object name--> 
<!--EXTRANAME Source DBD name - required for source object to identify uniquely--> 
<!--OBJECTTYPENAME Object type name--> 
<!--FOLDERNAME Folder which the object belongs to--> 
<!--REPOSITORYNAME Repository name that this object belongs to--> 
<!--RESOLUTION Resolution to apply for the object in case of conflict--> 
<!--SPECIFICOBJECT NAME="your_object" OBJECTTYPENAME="your_object_type" FOLDERNAME="your_source_folder" REPOSITORYNAME="your_source_repo" RESOLUTION="REPLACE"/--> 
</RESOLVECONFLICT> 
</IMPORTPARAMS> 
+0

Je n'ai pas le fichier de contrôle pour faire la commande PMREP. Y at-il une solution de contournement pour cela? –

+0

Merci ... Quelle devrait être l'extension du fichier? XML ou CNF ou DTD? –

+0

J'utilise .XML - mais il est possible que tout fonctionne correctement tant que le contenu est comme prévu. – Maciejg