Tuesday, November 9, 2010

Enable Disable Weblogic Admin Console

Disable the Console

By default, each time the Administration Server starts it automatically deploys the Administration Console. If you want to prevent access to the Administration Console (for example, as an added security measure in a production environment) you can prevent the Administration Server from deploying it.
To disable access to the Administration Console:
  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit
  2. In the left pane of the Console, under Domain Structure, select the domain name.
  3. Select Configuration > General, and click Advanced at the bottom of the page.
  4. Deselect Console Enabled.
  5. Click Save.
  6. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.

Enabling the Administration Console

By default, the Administration Console is enabled. If you disable it, you can re-enable it using the WebLogic Scripting Tool (WLST). Start the Administration Server, then invoke WLST and use the following commands:

connect("username","password")
edit()
startEdit()
cmo.setConsoleEnabled(true)
save()
activate()

The following attribute(s) have been changed on MBeans which require server re-start.

MBean Changed : com.bea:Name=mydomain,Type=Domain Attributes changed :
ConsoleEnabled
Activation completed
disconnect()
exit()



No comments:

Post a Comment