Posts

Showing posts from December, 2015

How To Start/Stop Weblogic AdminServer Using WLST?

Image
Summary 1) Start NodeManager 2) Connect To NodeManager 3) Start AdminServer 4) Stop AdminServer        a) Connect To AdminServer        b) Stop The AdminServer   1.Start NodeManager wls:/offline> startNodeManager(verbose='true',NodeManagerHome='/oracle/Middleware/user_projects/domains/prod_domain/nodemanager',ListenPort='5556',ListenAddress='192.168.145.128',jvmArgs='-Xms24m,-Xmx64m') 2.Connect To NodeManager wls:/offline> nmConnect('weblogic','welcome1','192.168.145.128','5556','prod_domain','/oracle/Middleware/user_projects/domains/prod_domain','plain') Connecting to Node Manager ... Successfully Connected to Node Manager. wls:/nm/prod_domain> 3.Start AdminServer wls:/nm/prod_domain> nmStart('AdminServer') 4.Stop AdminServer     a) Connect To AdminServer wls:/nm/prod_domain> connect('weblogic','welcome1',...

How To Start/Stop NodeManager Using WLST?

Image
1) Starting NodeManager using WLST Syntax: startNodeManager([verbose], [jvmArgs], [nmProperties]) - verbose = Optional. Boolean value specifying whether WLST starts  Node Manager in verbose mode. This argument defaults to false, disabling  verbose mode. - jvmArgs = Optional. JVM arguments to pass to the NodeManager process.  Multiple arguments can be specified, separated by commas. - nmProperties = Optional. Comma-separated list of Node Manager properties,  specified as name-value pairs. Node Manager properties include, but are not  limited to, the following: NodeManagerHome, ListenAddress, ListenPort, and  PropertiesFile. NOTE: In order to stop the Node Manager process, you must have either started Node Manager with startNodeManager or Node Manager must have been started with the property QuitEnabled=true. You can configure this property in $DOMAIN_HOME/nodemanager/nodemanager.properties file. This allows you to connect to the No...

How To Get WLST prompt?

Image
There Are Two Methods To Get WLST Prompt Method 1) Execute below commands  cd $MW_HOME/wlserver/common/bin cd /oracle/Middleware/wlserver/common/bin sh wlst.sh Method 2) Execute below commands. cd $DOMAIN_HOME/bin cd /oracle/Middleware/user_projects/domains/prod_domain/bin . ./setDomainEnv.sh java weblogic.WLST