JAVA_OPTIONS in WLST
We use WLST scripts to build a weblogic domain.
I am trying to set JAVA_OPTION=-Dframework.managed=true so that my
managed servers startup with the new argument on commandline.
I am not sure how to add the JAVA_OPTION using WLST.
Here is my current code in WLST that builds the managed server.
def create(self):
print "Creating Managed Server '" + self.name + "'"
cd('/')
create(self.name, 'Server')
cd('/Servers/' + self.name)
machineBean = getMBean('/Machines/' + self.machine)
getCmo().setMachine(machineBean)
set('ListenAddress', self.address)
set('ListenPort', self.port)
#set('AdministrationPort', self.adminPort)