2 Replies Latest reply: May 11, 2012 11:30 AM by cwells3rd RSS

    regarding configToScript

    936653
      I have executed the following command.
      configToScript('/oracle/Oracle/Middleware/user_projects/domains/base_domain/config/config.xml','/oracle/Oracle/myscript.py').
      and i got the foolwing exception.
      weblogic.management.scripting.ScriptException: Error occured while performing configToScript : Exception occurred while walking the tree. : Error occured while performing configToScript : Exception occurred while walking the tree. : Error occured while performing configToScript : Error getting the name for bean null
        • 1. Re: regarding configToScript
          Ashishshinde-Oracle
          Hi,

          What is the WLS version??

          There is know issue, for more information please refer this KM# 1202304.1.

          GD,
          Ashish
          • 2. Re: regarding configToScript
            cwells3rd
            I don't think you specify the config.xml file in the path for the first parameter. I grab the following example from within WLST after issuing the help('configToScript') command.

            wls:/offline>configToScript('c:/bea/user_projects/domains/mydomain','c:/bea/myscripts')

            The first parameter only drills down to the $DOMAIN_HOME directory. Try using the example and see if that resolves the issue for you.