libertyJavaDump.md

September 1, 2017 ยท View on GitHub

libertyJavaDump task

The libertyJavaDump task dumps diagnostic information from the server JVM.

Properties

See the Liberty server configuration properties for common server configuration.

The libertyJavaDump task uses a javaDumpLiberty block to define task specific behavior.

AttributeTypeSinceDescriptionRequired
includeString1.0Comma-separated list of diagnostic information to include in the dump. Valid values include system and heap.No
archiveString1.0Location of the target dump file.No

Examples

This example shows you how to configure these properties in your script:

apply plugin: 'liberty'

liberty {

    server {
        name = 'myServer'

        javaDumpLiberty {
            archive = "MyServerJavaDump.zip"
            include = "system"
        }
    }
}