7 Replies Latest reply on Jan 30, 2013 1:28 PM by 714235

    AttributeError: 'NoneType' object has no attribute 'createFileStore'


      I wanted a script to create a topic with durable subscriber.

      I could create the script till the point of creating the topic. When I try to run it from oracle_common/common/bin/./wlst.sh srciptjmstopic.py I get following error

      Initializing WebLogic Scripting Tool (WLST) ...

      Welcome to WebLogic Server Administration Scripting Shell

      Type help() for help on available commands

      Error: No domain or domain template has been read.
      Problem invoking WLST - Traceback (innermost last):
      File "/scratch/psahasra/soabam12c/oracle_common/common/bin/ScriptForJMSTopic.py", line 5, in ?
      AttributeError: 'NoneType' object has no attribute 'createFileStore'

      My script for the first five lines is given below. Could anybody of you tell me what is wrong? I have already started the server.

      # This is the start of the script

      cmo.createFileStore('FileStore-1') // LINE NUMBER 5.


      Edited by: padmanabh s on Jan 29, 2013 11:12 PM