Payara

This page has been automatically generated by Cargo's build. Do not edit it directly as it'll be overwritten next time it's generated again.

Users of Payara 6.x onwards should be aware that, as a result of the move from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse Foundation, the primary package for all implemented APIs has changed from javax.* to jakarta.*. This will almost certainly require code changes to enable applications to migrate to Payara 6.x and later.

Container Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Container Instantiation

(tick) ContainerFactory.createContainer("payara"...)

(tick) <cargo containerId="payara".../>

(tick) <containerId>payara</containerId>

 

Local Container

(tick)

(tick)

(tick)

 

  Container Classpath

(tick)

(tick)

(tick)

 

  Container Start

(tick)

(tick)

(tick)

 

  Container Stop

(tick)

(tick)

(tick)

 

  Container Timeout

(tick)

(tick)

(tick)

 

  Embedded Container

(error)

(error)

(error)

 

  Installed Container

(tick) o.c.c.c.payara.PayaraInstalledLocalContainer

(tick)

(tick)

 

   Passing system properties

(tick)

(tick)

(tick)

 

   Installer

(tick)

(tick)

(tick)

 

Remote Container

(tick) o.c.c.c.payara.PayaraRemoteContainer

(tick)

(tick)

 

Configuration Features

Deployer Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Installed Deployer

(tick) o.c.c.c.payara.PayaraInstalledLocalDeployer

(tick)

(tick)

 

Embedded Deployer

(error)

(error)

(error)

 

Remote Deployer

(tick) o.c.c.c.payara.PayaraRemoteDeployer

(tick)

(tick)

 

Adding arguments to the Deployer

The Payara installed deployer allows for additional deployment and undeployment arguments by adding properties prefixed with GlassFishPropertySet.DEPLOY_ARG_PREFIX and GlassFishPropertySet.UNDEPLOY_ARG_PREFIX respectively followed by a number starting at 1.

Other Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Debugging

(tick)

(tick)

(tick)

 

Supported Configuration properties

The tables below list both the general configuration properties as well as the container-specific ones.

Standalone Local Configuration Properties

For installed container o.c.c.c.payara.PayaraInstalledLocalContainer

Property name

Java Property

Supported?

Default value

Javadoc

cargo.glassfish.admin.port

GlassFishPropertySet.ADMIN_PORT

(tick)

4848

(green star)

cargo.glassfish.domain.debug

GlassFishPropertySet.DEBUG_MODE

(tick)

false

(green star)

cargo.glassfish.domain.jmxPort

GlassFishPropertySet.JMX_ADMIN_PORT

(tick)

8686

(green star)

cargo.glassfish.domain.name

GlassFishPropertySet.DOMAIN_NAME

(tick)

cargo-domain

(green star)

cargo.glassfish.http.ssl.port

GlassFishPropertySet.HTTPS_PORT

(tick)

8181

(green star)

cargo.glassfish.java.debugger.port

GlassFishPropertySet.DEBUGGER_PORT

(tick)

9009

(green star)

cargo.glassfish.jms.port

GlassFishPropertySet.JMS_PORT

(tick)

7676

(green star)

cargo.glassfish.orb.listener.port

GlassFishPropertySet.IIOP_PORT

(tick)

3700

(green star)

cargo.glassfish.orb.mutualauth.port

GlassFishPropertySet.IIOP_MUTUAL_AUTH_PORT

(tick)

3920

(green star)

cargo.glassfish.orb.ssl.port

GlassFishPropertySet.IIOPS_PORT

(tick)

3820

(green star)

cargo.glassfish.osgi.shell.telnet.port

GlassFishPropertySet.OSGI_SHELL_PORT

(tick)

6666

(green star)

cargo.glassfish.portbase

GlassFishPropertySet.PORT_BASE

(tick)

N/A

(green star)

cargo.glassfish.removeDefaultDatasource

GlassFishPropertySet.REMOVE_DEFAULT_DATASOURCE

(tick)

true

(green star)

cargo.hostname

GeneralPropertySet.HOSTNAME

(tick)

localhost

(green star)

cargo.java.home

GeneralPropertySet.JAVA_HOME

(tick)

JAVA_HOME version:

(green star)

cargo.jvmargs

GeneralPropertySet.JVMARGS

(tick)

N/A

(green star)

cargo.logging

GeneralPropertySet.LOGGING

(error)

medium

 

cargo.port.offset

GeneralPropertySet.PORT_OFFSET

(tick)

0

(green star)

cargo.process.spawn

GeneralPropertySet.SPAWN_PROCESS

(tick)

false

(green star)

cargo.protocol

GeneralPropertySet.PROTOCOL

(error)

http

 

cargo.remote.password

RemotePropertySet.PASSWORD

(tick)

adminadmin

(green star)

cargo.remote.username

RemotePropertySet.USERNAME

(tick)

admin

(green star)

cargo.runtime.args

GeneralPropertySet.RUNTIME_ARGS

(tick)

N/A

(green star)

cargo.servlet.port

ServletPropertySet.PORT

(tick)

8080

(green star)

cargo.servlet.users

ServletPropertySet.USERS

(tick)

N/A

(green star)

cargo.standalone.ignoreNonExistingProperties

GeneralPropertySet.IGNORE_NON_EXISTING_PROPERTIES

(tick)

N/A

(green star)

cargo.start.jvmargs

GeneralPropertySet.START_JVMARGS

(tick)

N/A

(green star)

Datasource and Resource configuration

In addition to the forementioned properties, this container configuration can also set up datasources and/or resources.

For more details, please read: DataSource and Resource Support.

Existing Local Configuration Properties

For installed container o.c.c.c.payara.PayaraInstalledLocalContainer

Runtime Configuration Properties

Before using the Payara remote deployer, please read: JSR88

For remote container o.c.c.c.payara.PayaraRemoteContainer

Recent versions of Payara might have issues getting deployables uploaded via JSR-88, resulting in errors such as:

Distributing failed: Action failed Deploying application to target server failed; File not found

Please follow the remote deployment instructions for recent Payara versions.

Tested On

This container is automatically tested by the Continous Integration system every time there is a code change.
The server used for tests is downloaded from: https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/6.2024.12/payara-6.2024.12.zip