Changing the plugin-cfg.xml file dynamically without having to restart the Web server
 Technote (FAQ)
 
Problem
If the Web server and plug-in are on a UNIX® system and you change the log level (for example, change the log level from Error to Trace or from Trace to Error) in the plugin-cfg.xml file, this change is not picked up dynamically. You must restart the Web server to pick up the changes.

The following errors are in the Plugin_Home/logs/http_plugin.log file:

ERROR: ws_config_parser:handleLogEnd: Failed to open log file
'/opt/IBM/WebSphere/Plugin/logs/sunwebserver/http_plugin.log', OS Err:13


If you restart the Web server, the changes are picked up.
 
Cause
When the Web server restarts, the parent process has the root access and it can load the plug-in configuration file. The child process, started with user ID nobody, does not have enough authority to the log file.
 
Solution
You must give permission to the http_plugin.log file; for example:
# chmod 766 http_plugin.log
 
Related information
V6.0 Information Center Release Notes page
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers WebSphere Application Server for z/OS Plug-in z/OS 6.0.2, 6.0.1, 5.1, 5.0
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Plug-in
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1211601
IBM Group: Software Group
Modified date: Jul 11, 2005