
Administering Liberty by using developer tools
You can modify how the workbench interacts with Liberty by using the server editor.
Procedure
- In the Servers view, right-click the server and select Open.
- View general information, publishing, timeouts, and settings in the server editor. The Liberty settings include the following options:
- Stop server on workbench shutdown
- Specifies whether a server instance that you started is stopped when you shut down your developer tools workbench. When you create a server instance, the setting is enabled for that instance by default. You can enable or disable the setting for a particular server instance independent of your other server instances. When you shut down your developer tools workbench, all the server instances that you started inside the workbench and that have the Stop server on workbench shutdown setting enabled is stopped during shutdown. However, all the server instances that you started inside the developer tools workbench but have the Stop server on workbench shutdown setting disabled continue to run. Any servers that you started outside the developer tools workbench also continue to run.
- Server connection
- Specifies information about the remote Liberty server connection settings. This information
includes user name, password, and secure port settings for the remote server. These settings are the
same as those settings that you enter when you create a new remote server. You can modify the values
for these settings and click Verify to test the remote connection. When you
click Verify, you establish a JMX connection to the remote host with the
values that you specified. If no such server exists, an error message is displayed and the server
state is changed to STOPPED. If the connection is successful, a fresh JMX
connection is made with the server and the server state is updated according to the state of the
remote server.
- The fields for the user name, password, and port number settings cannot be empty. If any of the fields are empty, you cannot save. If any of the fields are empty, Verify is disabled.
- If you are using a local host, the user name, password, and port number settings are disabled. These settings are enabled only if the server in use is a remote server.
What to do next
Subtopics
Creating and editing your server environment files
Create and edit your server environment files. With developer tools, you can easily specify server script environment variables, default Java™ virtual machine (JVM) options, and server bootstrap properties.Editing the Liberty configuration by using developer tools
You can modify your Liberty server behavior by editing the configuration. For example, you can configure which HTTP ports to use, what features are enabled, and logging and tracing settings.Specifying the Liberty configuration with dropins files by using developer tools
You can specify the server configuration for Liberty by creating configuration dropins files and placing these files in the configDropins directory.Starting and stopping a server by using developer tools
You can start and stop a server by using the Liberty developer tools.Switching a Liberty Docker server between run and debug mode by using developer tools
For your Liberty Docker server, you can use WebSphere Developer Tools to switch your server between run and debug mode. When you switch between these modes, the tools create a Docker image and a Docker container, which you can save.Defining a utility project as a shared library
You can define a utility project as a shared library and associate defined shared libraries with an application or web project.Exploring the runtime environment by using developer tools
You can use the Runtime Explorer view to browse the available servers. This view shows all of the available servers for the runtime environment as opposed to the Servers view which shows only those servers that are configured in the workspace. In both the Runtime Explorer and Servers view, you can expand each server to show the configuration for that server.Displaying the server configuration in a merged view
You can use the Merged Configuration view to see a flattened view of the server configuration and any included configuration files.Viewing the schema documentation for the server configuration
You can view the schema documentation for the server configuration (server.xml file) within the workbench. The documentation provides information about the configuration elements that are available, the default settings, and details for each of the elements.Generating a Liberty server dump using developer tools
Using the Liberty Utilities menu, you can generate a server dump for support.Packaging a Liberty server by using developer tools
You can create a compressed file containing a server runtime environment, server configuration, and applications using the packaging wizard.Adding a data source by using developer tools
You can add a data source to your application using the developer tools.Installing config snippets
Use config snippets to configure Liberty.
Parent topic: Administering Liberty


http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=t_server_editor
File name: t_server_editor.html