Oracle Weblogic Server (MOSC)

MOSC Banner

JAVA_OPTIONS in WLST

edited Aug 17, 2012 3:58PM in Oracle Weblogic Server (MOSC) 2 commentsAnswered
Hi,

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center