tags:

views:

223

answers:

1

I'm unsuccessfully using WLST to modify a jmsmodule.xml file online. I have to achieve this programatically rather than using the Weblogic Console. However, I've "recorded" the commands while in the console. However the recorded commands when put into the online python WLST script don't work. These are the commands that fail:

cmo.setPriority(-1)
cmo.setDeliveryMode('Persistent')
cmo.setTimeToDeliver('-1')
cmo.setTimeToLive(-1)

The error that gets spit out is: AttributeError: setPriority

Any ideas? Thanks in advance.

+1  A: 

cmo refers to the object you're currently in. Be sure that you navigate to the correct MBean using cd() commands

Travis