Change the HTTP plug-in configuration

We can change the HTTP plug-in configuration without having to stop the server and start it again.

 

Overview

There are several change that one can make to the HTTP plug-in configuration without stopping the server and starting it again. This file describes--

  • Changing the application.xml file to change the context root of a Web application archive (WAR file)

  • Changing the web.xml file to add, remove, or modify a servlet mapping

  • Changing the server.xml file to add, remove, or modify an HTTP transport or changing the virtualhost.xml file to add or remove a virtual host or to add, remove, or modify a virtual host alias

Changing the application.xml file to change the context root of a WAR file

  1. Change the application.xml file.

  2. If the plug-in configuration property Automatically propagate plug-in configuration file is selected for this plug-in, it is automatically regenerated whenever the application.xml file changes. (See Web server plug-in properties settings for information on how to set this property.) We can also run the GenPluginCfg.bat/sh script, or issue a wsadmin command to regenerate the plug-in configuration file.

Hot deployment Yes
Dynamic reloading No

Changing the web.xml file to add, remove, or modify a servlet mapping

  1. Change the web.xml file.

  2. If the plug-in configuration property Automatically propagate plug-in configuration file is selected for this plug-in, it is automatically regenerated whenever the web.xml file changes. (See Web server plug-in properties settings for information on how to set this property.) We can also run the GenPluginCfg.bat/sh script, or issue a wsadmin command to regenerate the plug-in configuration file.

    If the Web application has file serving enabled or has a servlet mapping of /, the plug-in configuration does not have to be regenerated. In all other cases a regeneration is required.

Hot deployment Yes
Dynamic reloading Yes

Changing the server.xml file to add, remove, or modify an HTTP transport or changing the virtualhost.xml file to add or remove a virtual host or to add, remove, or modify a virtual host alias

  1. Change the server.xml file to add, remove, or modify an HTTP transport or change the virtualhost.xml file to add or remove a virtual host or to add, remove, or modify a virtual host alias.

  2. If the plug-in configuration property Automatically propagate plug-in configuration file is selected for this plug-in, it is automatically regenerated whenever the server.xml file changes. (See Web server plug-in properties settings for information on how to set this property.) We can also run the GenPluginCfg.bat/sh script, or issue a wsadmin command to regenerate the plug-in configuration file.

Hot deployment Yes
Dynamic reloading Yes


 

Related Tasks


Hot deployment and dynamic reloading