0 Replies Latest reply: Dec 3, 2012 4:42 PM by BillS13087422 RSS

    Jython scripts fails from cmd line Error: no domain or domain template...

    BillS13087422
      --------------script---------------
      connect('weblogic','welcome1','t3://obi5.mnapps.state.mn.us:7101',adminServerName='AdminServer');

      print 'Connecting to Domain ...'
      try:     
           domainCustom()
      except:     
           print 'Already in domainCustom'
      cd('..\..')     
      print 'Go to biee admin domain'
      cd('oracle.biee.admin')

      print 'Go to coreapplication_obips1 Mbean'
      cd('oracle.biee.admin:oracleInstance=EPM91TD,type=BIDomain.BIInstanceDeployment.BIComponent,biInstance=coreapplication,process=coreapplication_obis1,group=Service')
      ------------script end---------------------

      ---works fine if it start wlst and type commands
      when runing "java weblogic.WLST RestartOBI.py"

      -----------------------------output from command line execution--------------------------
      Welcome to WebLogic Server Administration Scripting Shell

      Type help() for help on available commands

      Error: No domain or domain template has been read.
      Connecting to Domain ...

      You will need to be connected to a running server to execute this command

      Go to biee admin domain
      Error: No domain or domain template has been read.
      Go to coreapplication_obips1 Mbean
      ------------------------------------------------------------------------------
      Thanks