- In the administrative console, click "Servers" and under Servers click "Server Types" and under Server Types click "WebSphere application servers"
- Click on the server to which the custom property is to be applied
- Under "Configuration" and "Container settings" click "Web Container Settings" and under Web Container Settings click "Web container"
- Under "Configuration" and "Additional Properties" click "Custom Properties"
- In the Custom Properties page, click "New"
- In the settings page, enter the name of the custom property to be added in the "Name" field and the value to be set for the custom property in the "Value" field. Note that some properties are case sensitive.
- Click "Apply" or "OK"
- Click "Save" in the "Messages" box that appears
- Restart the server for the custom property to take effect
Friday, November 9, 2012
Setting webcontainer custom properties in WAS
Forgot password and cannot access WAS administrative console
There are 2 possible methods for disabling security
By way of wsadmin command: Server must be stoped
Method : 1
1. <WAS_INSTALL_DIR>/bin/> wsadmin -conntype NONE
2. wsadmin> securityoff
3. wsadmin> exit
4. Restart the servers.
5. Enable the security from administrative console.
6. Restart the servers.
Method : 2
By way of manual edit of security.xml file: /opt/IBM/WebSphere/AppServer/profiles/profile_name/config/cells/cell/security.xml
1. Create a copy for security.xml file, in case you need to roll back.
2. Disable the security from the security.xml file (change the very first occurrence of... enabled="true" to enabled="false")
3. Restart the servers.
4. Enable the security from administrative console.
5. Restart the servers.
By way of wsadmin command: Server must be stoped
Method : 1
1. <WAS_INSTALL_DIR>/bin/> wsadmin -conntype NONE
2. wsadmin> securityoff
3. wsadmin> exit
4. Restart the servers.
5. Enable the security from administrative console.
6. Restart the servers.
Method : 2
By way of manual edit of security.xml file: /opt/IBM/WebSphere/AppServer/profiles/profile_name/config/cells/cell/security.xml
1. Create a copy for security.xml file, in case you need to roll back.
2. Disable the security from the security.xml file (change the very first occurrence of... enabled="true" to enabled="false")
3. Restart the servers.
4. Enable the security from administrative console.
5. Restart the servers.
Subscribe to:
Posts (Atom)