+

Search Tips   |   Advanced Search

Administer the Liberty profile manually

The server.xml file is the primary configuration file for the server. The bootstrap.properties file specifies properties that need to be available before the main configuration is processed. If you update bootstrap.properties, restart the server for the changes to take effect. The only required element in server.xml is a server definition. We can specify overrides and additions. For example, to change the transaction timeout value...

Some attributes can have multiple values. For example...

The contents of server.xml can be brief. For example, here is a complete server configuration to run a web application:

<server>

     <featureManager>
         <feature>servlet_3.0</feature>
     </featureManager>

     <application name="snoop" 
                  location="/mywebapps/snoop" 
                  id="snoop" 
                  type="war"/>

</server>


Subtopics