Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVA_OPTION in WLST and Weblogic

 
Malatesh Karabisti
Ranch Hand
Posts: 153
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 153
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have solved like this.

wls:/nm/mydomain> prps = makePropertiesObject("weblogic.ListenPort=8001")
wls:/nm/mydomain> nmStart("AdminServer",props=prps)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic