In Big Companies where there are 100’s of weblogic instance ,it is not best practice to use Console to do weblogic administration. However , it is WLST that is used to do day to day weblogic administration task.
So first let us disabled the console ,so it can’t be accessed.
Click the domain to go to following tab;
In Advanced section uncheck this box.
After restarting weblogic server you will not be able to access http://localhost:7001/console it will throw 404 Not Found Error.
Now let us say if you want to set this flag again then we must use WLST to set this flag again.
Go to WL_HOME\common\bin\wlst.cmd ( Weblogic Scripting Tool)
run the following command
//Connect to weblogic admin serverconnect('weblogic','welcome1')//mark it for editedit()//start the editstartEdit()//set the flag to truecmo.setConsoleEnabled(true)//save the changessave()//activate the changesactivate()
Please restart the server.
Now try to access the console and you will be able to access it.
No comments:
Post a Comment