+

Search Tips   |   Advanced Search

Work with application configuration web module properties files

Use properties files to create, modify, or delete web module configuration objects of an application configuration. A web module must conform to Java EE specifications.

Determine the changes to make to a web module of an application configuration.

Run: wsadmin -lang jython

Use a properties file to create, modify, or delete a web module.

Run administrative commands using wsadmin to create or change a properties file for a web module, validate the properties, and apply them to the configuration.

Action Procedure
create Set required properties and then run the applyConfigProperties command.
modify Make required changes to properties and then run the applyConfigProperties command.
delete To delete the entire ApplicationConfig WebModuleConfig object, uncomment #DELETE=true and then run the deleteConfigProperties command.
create Property Not applicable
delete Property Not applicable

Optionally, we can use interactive mode with the commands:

AdminTask.command_name('-interactive')


Tasks

Use the properties file to configure and manage the web module object and its properties.


What to do next

Save the changes to the configuration.


Subtopics

  • Extracting properties files
  • Create server, cluster, application, or authorization group objects using properties files and wsadmin scripting
  • Deleting server, cluster, application, or authorization group objects using properties files
  • PropertiesBasedConfiguration .