File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes JAVA_OPTION in WLST and Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JAVA_OPTION in WLST and Weblogic" Watch "JAVA_OPTION in WLST and Weblogic" New topic

JAVA_OPTION in WLST and Weblogic

Malatesh Karabisti
Ranch Hand

Joined: Jul 28, 2010
Posts: 153

Hi All,

I am trying to automate the build and deployment in weblogic server, using nodemanger and wlst I am doing start/stop of server like nmStart('servername') and nmKill('servername'), I don't have any issue with starting servers but I need to pass java options during the start up like -Dkey=value.

I know it can be done by adding the JAVA_OPTIONS in, But I don't want to modify this scipt.

Can any body please suggest on passing the java options in wlst.

Malatesh Karabisti
Ranch Hand

Joined: Jul 28, 2010
Posts: 153

I have solved like this.

wls:/nm/mydomain> prps = makePropertiesObject("weblogic.ListenPort=8001")
wls:/nm/mydomain> nmStart("AdminServer",props=prps)
I agree. Here's the link:
subject: JAVA_OPTION in WLST and Weblogic
Similar Threads
Is there any way to trigger aleart when a stuck thread found?
error in running stand alone WLST
How to list domains in weblogic using java?
weblogic server state using embedded form of WLST
Trouble running a WLST snippet