aspose file tools*
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
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JAVA_OPTION in WLST and Weblogic" Watch "JAVA_OPTION in WLST and Weblogic" New topic
Author

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 startWeblogich.sh, But I don't want to modify this scipt.

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

Thanks,
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: http://aspose.com/file-tools
 
subject: JAVA_OPTION in WLST and Weblogic
 
Similar Threads
error in running stand alone WLST
weblogic server state using embedded form of WLST
Is there any way to trigger aleart when a stuck thread found?
How to list domains in weblogic using java?
Trouble running a WLST snippet