0 Replies Latest reply on Jan 4, 2013 7:46 AM by sonya sharma

    exporting weblogicexportmetadata.bat file fails

    sonya sharma
      when i use the command to export weblogicexportmetadata.bat it gives me following error.
      i have done the following thing:::::

      **D:\Oracle\Middleware\Oracle_IDM1\server\bin>weblogicExportMetadata.bat**

      CLASSPATH=D:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpa
      th\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manif
      est_classpath\weblogic_patch.jar;D:\Java\jdk\lib\tools.jar;D:\Oracle\MIDDLE~1\WL
      SERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
      logic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.j
      ar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\m
      odules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/an
      t-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~3\modules\oracle.jps_11.1.1\opss-patch-w
      lst.jar;;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/foundationconfigapi.jar
      ;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/oam-wlst.jar;D:\Oracle\MIDDLE~1
      \ORACLE~3/oam/server/lib/wlst/pat.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib
      /wlst/sts-wlst.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/stsmgmt.jar;D
      :\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/sts-common.jar;D:\Oracle\MIDDLE~1
      \ORACLE~3/oam/server/lib/wlst/audit.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/l
      ib/wlst/policy.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/commons-beanu
      tils-1.8.0.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/adapter.jar;D:\Ora
      cle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/distributor.jar;D:\Oracle\MIDDLE~1\ORAC
      LE~3/oam/server/lib/jmx/oam-rtmbean.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/l
      ib/jmx/axiom-api-1.2.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/jcl-over
      -slf4j-1.5.6.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/;D:\Oracle\MIDDL
      E~1\ORACLE~3/oam/server/lib/jmx/responses.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/se
      rver/lib/jmx/axiom-impl-1.2.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/j
      ournal.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/slf4j-api-1.5.6.jar;D:
      \Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/coherence.jar;D:\Oracle\MIDDLE~1\OR
      ACLE~3/oam/server/lib/jmx/journal-mapstore.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/s
      erver/lib/jmx/slf4j-jdk14-1.5.6.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/j
      mx/config.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/lifecycle.jar;D:\Or
      acle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/sme.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oa
      m/server/lib/jmx/configmgmt.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/m
      apstore-coherence.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/sso.jar;D:\
      Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/diagnostic.jar;D:\Oracle\MIDDLE~1\OR
      ACLE~3/oam/server/lib/jmx/mapstore.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/li
      b/jmx/tangosol.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/distributor-co
      herence.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/oam-dummy-config.xml;
      D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/jmx/utilities.jar;D:\Oracle\MIDDLE~1\
      ORACLE~3/oam/server/lib/wlst/oam-mgmt.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server
      /lib/wlst/identity-provider.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/
      RequestResponse.jar;D:\Oracle\MIDDLE~1\ORACLE~3/oam/server/lib/wlst/rreg-server.
      jar ;D:\Oracle\MIDDLE~1\ORACLE~3\common\wlst\RESOUR~1\jps-wlst.jar;D:\Oracle\MID
      DLE~1\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;D:\Oracle\MIDDLE~1\ORAC
      LE~1\common\wlst\lib\ADF-SH~1.JAR;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\AD
      FSCR~1.JAR;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\mdswlst.jar;D:\Oracle\MID
      DLE~1\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;D:\Oracle\MIDDLE~1\ORACLE~1\com
      mon\wlst\RESOUR~1\IGFWLS~1.JAR;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\
      jps-wlst.jar;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;D:\Or
      acle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;D:\Oracle\MIDDLE~1\ORAC
      LE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\R
      ESOUR~1\ossoiap.jar;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JA
      R;D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;D:\Oracle\MIDDLE
      ~1\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;D:\Oracle\MIDDLE~1\ORACLE~1\common
      \wlst\RESOUR~1\wsm-wlst.jar;D:\Oracle\MIDDLE~1\utils\config\10.3\config-launch.j
      ar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;D:\Oracle\MIDDLE~
      1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\comm
      on\derby\lib\derbytools.jar;;

      Initializing WebLogic Scripting Tool (WLST) ...

      Welcome to WebLogic Server Administration Scripting Shell

      Type help() for help on available commands

      Starting export metadata script ....
      Please enter your username :weblogic
      Please enter your password :
      Please enter your server URL [t3://localhost:7001] :
      Connecting to t3://localhost:7001 with userid weblogic ...
      Successfully connected to Admin Server 'AdminServer' that belongs to domain 'bas
      e_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 instead.

      Location changed to domainRuntime tree. This is a read-only tree with DomainMBea
      n as the root.
      For more help, use help(domainRuntime)


      Problem invoking WLST - Traceback (innermost last):
      File "D:\Oracle\Middleware\Oracle_IDM1\server\bin\weblogicExportMetadata.py",
      line 22, in ?
      File "D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 237, i
      n exportMetadata
      File "D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 733, i
      n executeAppRuntimeMBeanOperation
      File "D:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 996, i
      n saveStackAndRaiseException
      WLSTException: MDS-90035: The target directory or archive "F:♀ilesmetadatafiles"
      for exporting metadata is invalid.MDS-91009: Operation "exportMetadata" failure
      . Use dumpStack() to view the full stacktrace.


      please help me in this to get out of it.