+

Search Tips   |   Advanced Search

Work with JVM properties files

We can use properties files to modify or delete JVM properties.

Determine the changes to make to the JVM configuration.

From the server profile bin directory, run wsadmin -lang jython

Using a properties file, we can modify or delete JVM properties.

Run administrative commands using wsadmin to change a properties file for a JVM, validate the properties, and apply them to the configuration.

Action Procedure
create Not applicable
modify Edit JVM properties in the properties file and then run the applyConfigProperties command. The product ignores null or empty list {} property values, and applies only those values that are not null and non-empty.
delete Edit the JVM properties file so that it contains only those properties to delete and then run the deleteConfigProperties command.

Deleting a property sets the property value to a default value, if it exists. If a default value does not exist for the property, the product removes the property.

create Property Not applicable
delete Property Not applicable

Optionally, we can use interactive mode with the commands:


Results

We can use the properties file to configure and manage the JVM properties.


What to do next

Save the changes to the configuration.


Related tasks

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

  • PropertiesBasedConfiguration (AdminTask)