4 Replies Latest reply: Feb 11, 2013 6:42 AM by Leôncio RSS

    Error while importing Metadata

    user13133319
      I am getting below error while importing XML.

      serverURLt3://goedias01:14000ctxFactoryweblogic.jndi.WLInitialContextFactory
      IO Error: java.util.zip.ZipException: error in opening zip file
      Unable to Extract the war file
      Directory ScheduleTask is not presernt
      Directory JavaTask is not presernt
      Directory Plugins is not presernt
      Directory ThirdParty is not presernt
      Directory customResources is not presernt
      Directory connectorResources is not presernt

      Imported contents from the package : @Package_Location

      Exiting...
        • 1. Re: Error while importing Metadata
          Gyanprakash Pandey
          Imported contents from the package : @Package_Location

          Provide location of your package in weblogic.properties file. Set all the required parameter in this file. And run Import again.

          Regards,
          GP
          • 2. Re: Error while importing Metadata
            user13133319
            Content of my weblogic.properties.

            # Weblogic Server Name on which OIM application is running

            wls_servername=oim_server1

            # If you are importing or exporting any out of box event handlers, value is oim.
            # For rest of the out of box metadata, value is OIMMetadata.
            # If you are importing or exporting any custom data, always use application name as OIMMetadata.

            application_name=OIMMetadata

            # Directory location from which XML file should be imported.
            # Lets say I want to import User.xml and it is in the location /scratc/asmaram/temp/oim/file/User.xml,
            # I should give from location value as /scratc/asmaram/temp/oim. Make sure no other files exist
            # in this folder or in its sub folders. Import utility tries to recursively import all the files under the
            # from location folder. This property is only used by weblogicImportMetadata.sh

            #metadata_from_loc=xxx/kaushik/
            metadata_from_loc=xxx/Connector_file
            # Directory location to which XML file should be exported to

            #metadata_to_loc=xxx/kaushik
            metadata_to_loc=xxx/Connector_file

            # For example /file/User.xml to export user entity definition. You can specify multiple xml files as comma separated values.
            # This property is only used by weblogicExportMetadata.sh and weblogicDeleteMetadata.sh scripts

            metadata_files=xxx/LDAPUser.xml
            • 3. Re: Error while importing Metadata
              915609
              Hi Any update? We are facing similar issues too after BP06 patch upgrade.
              • 4. Re: Error while importing Metadata
                Leôncio
                Are you following these steps properly?

                http://thiagoleoncio.blogspot.com/2012/12/httpitnaforg20120923how-to-import-and.html


                If you get error, could you please send me here, so I can get exactly where you are facing it, please.

                I hope this helps,
                Thiago Leoncio.