Preface

This document describes the functionality provided by the JBoss application server (AS) plugin.

See the Deployit Reference Manual for background information on Deployit and deployment concepts.

Overview

The JBoss plugin is a Deployit plugin that adds the capability to manage deployments and resources on JBoss application server. It works out of the box for deploying/ undeploying application artifacts, datasource and other JMS resources (see the Features section below) , and can easily be extended to support more deployment options or management of new artifacts/resources on JBoss AS.

Features

Requirements

Usage in Deployment Packages

The plugin works with the standard deployment package of DAR format. Please see the Packaging Manual for more details about the DAR format and the ways to compose one.

The following is a sample MANIFEST.MF file that can be used to create a JBoss AS specific deployment package. It contain declarations for an Ear, a datasource and a couple of JMS resources.


Manifest-Version: 1.0
Deployit-Package-Format-Version: 1.3
CI-Application: SampleApp
CI-Version: 1.0

Name: PetClinic-1.0.ear
CI-Name: PetClinic
CI-Type: jee.Ear

Name: testDatasource
CI-Type: jboss.TransactionalDatasourceSpec
CI-jndiName: jdbc/sampleDatasource
CI-connectionUrl: jdbc:mysql://localhost/test
CI-driverClass: com.mysql.jdbc.Driver
CI-username: {{DATABASE_USERNAME}}
CI-password: {{DATABASE_PASSWORD}}

Name: testQueue
CI-Type: jboss.QueueSpec
CI-jndiName: jms/testQueue

Name: testTopic
CI-Type: jboss.TopicSpec
CI-jndiName: jms/testTopic

Name: testConfigFile.txt
CI-Name: testConfigFiles
CI-Type: jboss.ConfigurationFile

Name: testConfigFolder
CI-Name: testConfigFolder
CI-Type: jboss.ConfigurationFolder

Using the deployables and deployeds

The following table describes which deployable/container combinations are possible.

Deployable vs. Container table

Deployable Container Generated deployed
Application artifact:
jee.Ear
jee.War
Server jboss.EarModule
jboss.WarModule
jboss.TransactionalDatasourceSpec
jboss.TransactionalXADatasourceSpec
jboss.NonTransactionalDatasourceSpec
Server jboss.TransactionalDatasource
jboss.TransactionalXADatasource
jboss.NonTransactionalDatasource
jboss.QueueSpec Server jboss.Queue
jboss.TopicSpec Server jboss.Topic
jboss.ConfigurationFile Server jboss.DeployedConfigurationFile
jboss.ConfigurationFolder Server jboss.DeployedConfigurationFolder

The following table describes the effect a deployed has on it's container

Deployed Actions Table

Deployed Actions performed for operations
  Create Destroy Modify
jboss.EarModule
jboss.WarModule
  • stop Server
  • deploy application
  • start Server
  • stop Server
  • undeploy old application version
  • start Server
  • stop Server
  • undeploy old application version
  • deploy new application version
  • start Server
jboss.TransactionalDatasource
jboss.TransactionalXADatasource
jboss.NonTransactionalDatasource
  • create datasource
  • destroy datasource
  • destroy datasource
  • create modified datasource
jboss.Queue
  • stop Server
  • create Queue
  • start Server
  • stop Server
  • destroy Queue
  • start Server
  • stop Server
  • destroy Queue
  • create modified Queue
  • start Server
jboss.Topic
  • stop Server
  • create Topic
  • start Server
  • stop Server
  • destroy Topic
  • start Server
  • stop Server
  • destroy Topic
  • create modified Topic
  • start Server
jboss.DeployedConfigurationFile
  • stop Server
  • deploying config files
  • start Server
  • stop Server
  • undeploy config files
  • start Server
  • stop Server
  • undeploy config files
  • deploy new config files
  • start Server
jboss.DeployedConfigurationFolder
  • stop Server
  • deploying configuration folder
  • start Server
  • stop Server
  • undeploy configuration folder
  • start Server
  • stop Server
  • undeploy configuration folder
  • deploy new configuration folder
  • start Server

Deploying applications

By default, Deployit deploys the application artifacts and resource specifications (datasource, queues, topics etc) to the 'deploy' directory in the server's configuration. So if the server configuration is set to 'default' (which is the default value of server name), the artifact is copied to ${JBOSS_HOME}/server/default/deploy. Also, the server is stopped before copying the artifact and then started again. But all these configurations can be customized to suit more specific scenarios.

Extension points

The JBoss plugin is designed to be extended through Deployit's Plugin API type system. Also, since the JBoss plugin is built on top of generic-plugin, support for new types can be added using the generic plugin patterns. Refer to Generic Plugin Manual for more details. Also, refer to Customization Manual for an explanation of the type system.

The next section describes extensibility by examples:

Extending the JBoss Plugin

Making existing propery hidden/visible or changing the default value

The following synthetic.xml snippet shows how the restartRequired property can be made visible and the targetDirectory property can be given a default value of '/home/deployer/install-files' for jboss.EarModule.

<type-modification type="jboss.EarModule">
  <!-- make it visible so that I can control whether to restart a Server or not from UI-->
  <property name="restartRequired" kind="boolean" default="true" hidden="false"/>

  <!-- custom deploy directory for my jboss applications -->
  <property name="targetDirectory" default="/home/deployer/install-files" hidden="true"/>
</type-modification>

Adding a new property to a deployed/deployable

The following synthetic.xml snippet shows how a new property 'blocking-timeout-millis' can be added to jboss.TransactionalDatasource

<type-modification type="jboss.TransactionalDatasource">
    <!-- adding new property -->
    <property name="blockingTimeoutMillis" kind="integer" default="3000" description="maximum time in milliseconds to block 
    while waiting for a connection before throwing an exception"/>
</type-modification>    

Note that while adding a new property in JBoss plugin, the configuration property must be specified in lower camel-case with the hyphens removed from it. Thus the property
'blocking-timeout-millis' has to be specified as blockingTimeoutMillis. Similary 'idle-timeout-minutes' becomes idleTimeoutMinutes in synthetic.xml.

Adding a new type

New types can be added in JBoss plugin using the Generic Plugin patterns. For example, the following synthetic.xml snippet defines a new type jboss.EjbJarModule

<type type="jboss.EjbJarModule" extends="generic.CopiedArtifact" deployable-type="jee.EjbJar" 
                                     container-type="jboss.BaseServer">
    <generate-deployable type="jboss.EjbJar" extends="jee.EjbJar"/>
    <property name="targetDirectory" default="${deployed.container.home}/server/${deployed.container.serverName}/deploy"
                        hidden="true"/>
    <property name="targetFile" default="${deployed.deployable.name}.jar" hidden="true"/>
    <property name="createOrder" kind="integer" default="50" hidden="true"/>
    <property name="destroyOrder" kind="integer" default="40" hidden="true"/>
    <property name="restartRequired" kind="boolean" default="true" hidden="true"/>
</type>

Discovery

Once the JBoss server's home location and the host on which JBoss server is running are specified, the following properties of JBoss server can be discovered

Here is an example CLI script which discovers a sample JBoss server:

host = repository.create(factory.configurationItem('Infrastructure/jboss-51-host', 'overthere.SshHost',
    {'connectionType':'SFTP','address': 'jboss-51','username': 'root','password':'centos','os':'UNIX'}))
jboss = factory.configurationItem('Infrastructure/jboss-51-host/jboss-51', 'jboss-v5.Server',
    {'home':'/opt/jboss/5.1.0.GA', 'host':'Infrastructure/jboss-51-host'})
cis = deployit.discover(jboss)
print cis

#discovery just discovers the topology and keeps the configuration items in memory. Save them in Deployit repository
repository.create(cis)

CI Reference

Configuration Item Overview

Deployable Configuration Items

CIDescription
jboss.ConfigurationFileFile that may contain application configurations which is deployed to the server conf directory
jboss.ConfigurationFolderFolder that may contain files for application configuration which are deployed to the server conf directory
jboss.DatasourceSpecBase type for a JBoss datasource (deployable)
jboss.EarA JEE EAR archive
jboss.LibraryThe Library as deployed on the jboss server
jboss.NonTransactionalDatasourceSpecA JBoss No Transaction Datasource (deployable)
jboss.QueueSpecSpecification for a JBoss queue
jboss.TopicSpecSpecification for a JBoss topic
jboss.TransactionalDatasourceSpecA JBoss Local Transaction Datasource (deployable)
jboss.TransactionalXADatasourceSpecA JBoss XA Datasource (deployable)
jboss.WarA JEE WAR archive

Deployed Configuration Items

CIDescription
jboss.DeployedConfigurationFileDeployed configuration file
jboss.DeployedConfigurationFolderDeployed configuration folder
jboss.DeployedLibraryThe Library as deployed on the jboss server
jboss.EarModuleEar with values configured for a deployment
jboss.NonTransactionalDatasourceA JBoss No Transaction Datasource
jboss.QueueA JBoss Queue
jboss.TopicA JBoss topic
jboss.TransactionalDatasourceA JBoss Local Transaction Datasource
jboss.TransactionalXADatasourceA JBoss XA Datasource
jboss.WarModuleWar with values configured for a deployment

Topology Configuration Items

CIDescription
jboss-v4.ServerJboss 4
jboss-v5.ServerJboss 5
jboss-v6.ServerJBoss 6

Virtual Deployed Configuration Items

CIDescription
jboss.DatasourceBase type for a JBoss datasource
jboss.ResourceA template deployed to a generic container

Virtual Topology Configuration Items

CIDescription
jboss.BaseServerBase JBoss Server

Configuration Item Details

jboss-v4.Server

Hierarchyjboss.BaseServer >> generic.Container >> udm.BaseContainer >> udm.BaseConfigurationItem
Interfacesudm.ConfigurationItem, udm.Container

Jboss 4.x server

Public Properties
ajpPort* : INTEGER = 8009

AJP connector port

controlPort* : INTEGER = 1099

Control Port

home* : STRING

JBoss application server installation directory. e.g. /opt/jboss/5.1.0.GA

host* : CI<overthere.Host>

Host upon which the container resides

httpPort* : INTEGER = 8080

HTTP/1.1 connector port

serverName* : STRING = default

Server configuration name e.g. default or minimal

Hidden Properties
inspectTemplate* : STRING = jboss/v4/container/inspect.sh.ftl

Inspect Template

jmsResourceFileSuffix* : STRING = service

Jms Resource File Suffix

queryTemplate* : STRING = jboss/v4/container/query.sh.ftl

Query Template

restartOrder* : INTEGER = 90

The order of the restart container step in the step list.

restartWaitTime* : INTEGER = 0

The time to wait in seconds for a container restart action.

startOrder* : INTEGER = 90

The order of the start container step in the step list.

startScript* : STRING = jboss/v4/container/start.sh

Start Script

startWaitTime* : INTEGER = 30

Start Wait Time

stopOrder* : INTEGER = 10

The order of the stop container step in the step list.

stopScript* : STRING = jboss/v4/container/stop.sh

Stop Script

stopWaitTime* : INTEGER = 10

Stop Wait Time

version* : INTEGER = 4

Version

restartScript : STRING

Classpath to the script used to restart the generic container.


jboss-v5.Server

Hierarchyjboss.BaseServer >> generic.Container >> udm.BaseContainer >> udm.BaseConfigurationItem
Interfacesudm.ConfigurationItem, udm.Container

Jboss 5.x server

Public Properties
ajpPort* : INTEGER = 8009

AJP connector port

controlPort* : INTEGER = 1099

Control Port

home* : STRING

JBoss application server installation directory. e.g. /opt/jboss/5.1.0.GA

host* : CI<overthere.Host>

Host upon which the container resides

httpPort* : INTEGER = 8080

HTTP/1.1 connector port

restartWaitTime* : INTEGER = 20

Restart Wait Time

serverName* : STRING = default

Server configuration name e.g. default or minimal

version* : INTEGER = 5

Version

Hidden Properties
inspectTemplate* : STRING = jboss/v5/container/inspect.sh.ftl

Inspect Template

jmsResourceFileSuffix* : STRING = service

Jms Resource File Suffix

queryTemplate* : STRING = jboss/v5/container/query.sh.ftl

Query Template

restartOrder* : INTEGER = 90

The order of the restart container step in the step list.

startOrder* : INTEGER = 90

The order of the start container step in the step list.

startScript* : STRING = jboss/v5/container/start.sh

Start Script

startWaitTime* : INTEGER = 30

Start Wait Time

stopOrder* : INTEGER = 10

The order of the stop container step in the step list.

stopScript* : STRING = jboss/v5/container/stop.sh

Stop Script

stopWaitTime* : INTEGER = 10

Stop Wait Time

restartScript : STRING

Classpath to the script used to restart the generic container.


jboss-v6.Server

Hierarchyjboss.BaseServer >> generic.Container >> udm.BaseContainer >> udm.BaseConfigurationItem
Interfacesudm.ConfigurationItem, udm.Container

JBoss 6.x Server

Public Properties
ajpPort* : INTEGER = 8009

AJP connector port

controlPort* : INTEGER = 1090

Control Port

home* : STRING

JBoss application server installation directory. e.g. /opt/jboss/5.1.0.GA

host* : CI<overthere.Host>

Host upon which the container resides

httpPort* : INTEGER = 8080

HTTP/1.1 connector port

serverName* : STRING = default

Server configuration name e.g. default or minimal

version* : INTEGER = 6

Version

Hidden Properties
inspectTemplate* : STRING = jboss/v6/container/inspect.sh.ftl

Inspect Template

jmsResourceFileSuffix* : STRING = hornetq-jms

Jms Resource File Suffix

queryTemplate* : STRING = jboss/v6/container/query.sh.ftl

Query Template

resourceFileSuffix* : STRING = hornetq-jms.xml

Resource File Suffix

restartOrder* : INTEGER = 90

The order of the restart container step in the step list.

restartWaitTime* : INTEGER = 0

The time to wait in seconds for a container restart action.

startOrder* : INTEGER = 90

The order of the start container step in the step list.

startScript* : STRING = jboss/v6/container/start.sh

Start Script

startWaitTime* : INTEGER = 30

Start Wait Time

stopOrder* : INTEGER = 10

The order of the stop container step in the step list.

stopScript* : STRING = jboss/v6/container/stop.sh

Stop Script

stopWaitTime* : INTEGER = 10

Stop Wait Time

restartScript : STRING

Classpath to the script used to restart the generic container.


jboss.BaseServer

Hierarchygeneric.Container >> udm.BaseContainer >> udm.BaseConfigurationItem
Interfacesudm.ConfigurationItem, udm.Container

Base JBoss Server

Public Properties
ajpPort* : INTEGER = 8009

AJP connector port

controlPort* : INTEGER = 1099

Connector control port

home* : STRING

JBoss application server installation directory. e.g. /opt/jboss/5.1.0.GA

host* : CI<overthere.Host>

Host upon which the container resides

httpPort* : INTEGER = 8080

HTTP/1.1 connector port

serverName* : STRING = default

Server configuration name e.g. default or minimal

version : INTEGER

JBoss application server version

Hidden Properties
jmsResourceFileSuffix* : STRING = service

Jms Resource File Suffix

restartOrder* : INTEGER = 90

The order of the restart container step in the step list.

restartWaitTime* : INTEGER = 0

The time to wait in seconds for a container restart action.

startOrder* : INTEGER = 90

The order of the start container step in the step list.

startWaitTime* : INTEGER = 0

The time to wait in seconds for a container start action.

stopOrder* : INTEGER = 10

The order of the stop container step in the step list.

stopWaitTime* : INTEGER = 0

The time to wait in seconds for a container stop action.

restartScript : STRING

Classpath to the script used to restart the generic container.

startScript : STRING

Classpath to the script used to start the generic container.

stopScript : STRING

Classpath to the script used to stop the generic container.


jboss.ConfigurationFile

Hierarchygeneric.File >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.SourceArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FileArtifact

File that may contain application configurations which is deployed to the server conf directory

Public Properties
placeholders : SET_OF_STRING

Placeholders detected in this artifact

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
textFileNamesRegex* : STRING = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)

Regular expression that matches file names of text files


jboss.ConfigurationFolder

Hierarchygeneric.Folder >> udm.BaseDeployableFolderArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.SourceArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FolderArtifact

Folder that may contain files for application configuration which are deployed to the server conf directory

Public Properties
placeholders : SET_OF_STRING

Placeholders detected in this artifact

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
textFileNamesRegex* : STRING = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)

Regular expression that matches file names of text files


jboss.Datasource

Hierarchyjboss.Resource >> generic.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

Base type for a JBoss datasource

Public Properties
connectionUrl* : STRING

Connection Url

container* : CI<udm.Container>

The container on which this deployed runs.

driverClass* : STRING

Driver Class

jndiName* : STRING

Jndi Name

maxPoolSize* : INTEGER = 20

Max Pool Size

minPoolSize* : INTEGER = 0

Min Pool Size

password* : STRING

Password

targetFile* : STRING = ${deployed.deployable.name}-ds.xml

Target File

userName* : STRING

User Name

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

useJavaContext : BOOLEAN = true

Use Java Context

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

inspectTemplate* : STRING = jboss/v${deployed.container.version}/datasource/inspect.sh.ftl

Inspect Template

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

template* : STRING = jboss/v${deployed.container.version}/datasource/template.xml.ftl

Template

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = false

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.DatasourceSpec

Hierarchygeneric.Resource >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.ConfigurationItem

Base type for a JBoss datasource (deployable)

Public Properties
connectionUrl : STRING

Connection Url

driverClass : STRING

Driver Class

jndiName : STRING

Jndi Name

maxPoolSize : STRING

Max Pool Size

minPoolSize : STRING

Min Pool Size

password : STRING

Password

targetFile : STRING

Target File

useJavaContext : STRING

Use Java Context

userName : STRING

User Name


jboss.DeployedConfigurationFile

Hierarchygeneric.CopiedArtifact >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

Deployed configuration file

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

placeholders : MAP_STRING_STRING

A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/conf

Target Directory

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.DeployedConfigurationFolder

Hierarchygeneric.CopiedArtifact >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

Deployed configuration folder

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

placeholders : MAP_STRING_STRING

A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/conf

Target Directory

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.DeployedLibrary

Hierarchygeneric.CopiedArtifact >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

The Library as deployed on the jboss server.

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

placeholders : MAP_STRING_STRING

A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/lib

Target Directory

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.Ear

Hierarchyjee.Ear >> udm.BaseDeployableArchiveArtifact >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.SourceArtifact, udm.ArchiveArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FileArtifact

A JEE EAR archive

Public Properties
placeholders : SET_OF_STRING

Placeholders detected in this artifact

Hidden Properties
textFileNamesRegex* : STRING = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)

Regular expression that matches file names of text files


jboss.EarModule

Hierarchygeneric.CopiedArtifact >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

Ear with values configured for a deployment

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

placeholders : MAP_STRING_STRING

A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

targetFile* : STRING = ${deployed.deployable.name}.ear

Target File

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.Library

Hierarchygeneric.File >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.SourceArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FileArtifact

The Library as deployed on the jboss server. (deployable)

Public Properties
placeholders : SET_OF_STRING

Placeholders detected in this artifact

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
textFileNamesRegex* : STRING = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)

Regular expression that matches file names of text files


jboss.NonTransactionalDatasource

Hierarchyjboss.Datasource >> jboss.Resource >> generic.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

A JBoss No Transaction Datasource

Public Properties
connectionUrl* : STRING

Connection Url

container* : CI<udm.Container>

The container on which this deployed runs.

driverClass* : STRING

Driver Class

jndiName* : STRING

Jndi Name

maxPoolSize* : INTEGER = 20

Max Pool Size

minPoolSize* : INTEGER = 0

Min Pool Size

password* : STRING

Password

targetFile* : STRING = ${deployed.deployable.name}-ds.xml

Target File

userName* : STRING

User Name

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

useJavaContext : BOOLEAN = true

Use Java Context

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

dsType* : STRING = no-tx-datasource

Ds Type

inspectTemplate* : STRING = jboss/v${deployed.container.version}/datasource/inspect.sh.ftl

Inspect Template

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

template* : STRING = jboss/v${deployed.container.version}/datasource/template.xml.ftl

Template

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = false

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.NonTransactionalDatasourceSpec

Hierarchygeneric.Resource >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.ConfigurationItem

A JBoss No Transaction Datasource (deployable)

Public Properties
connectionUrl : STRING

Connection Url

driverClass : STRING

Driver Class

jndiName : STRING

Jndi Name

maxPoolSize : STRING

Max Pool Size

minPoolSize : STRING

Min Pool Size

password : STRING

Password

targetFile : STRING

Target File

useJavaContext : STRING

Use Java Context

userName : STRING

User Name


jboss.Queue

Hierarchyjboss.Resource >> generic.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

A JBoss Queue

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

jndiName* : STRING

Jndi Name

maxDepth* : INTEGER = 0

Max Depth

targetFile* : STRING = ${deployed.deployable.name}-${deployed.container.jmsResourceFileSuffix}.xml

Target File

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

inspectTemplate* : STRING = jboss/v${deployed.container.version}/queue/inspect.sh.ftl

Inspect Template

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

template* : STRING = jboss/v${deployed.container.version}/queue/template.xml.ftl

Template

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.QueueSpec

Hierarchygeneric.Resource >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.ConfigurationItem

Specification for a JBoss queue

Public Properties
jndiName : STRING

Jndi Name

maxDepth : STRING

Max Depth

targetFile : STRING

Target File


jboss.Resource

Hierarchygeneric.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

A template deployed to a generic container

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

targetFile : STRING

Name of the artifact on the generic server.

Hidden Properties
createOrder* : INTEGER = 50

The order of the step in the step list for the create operation.

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

The order of the step in the step list for the destroy operation.

destroyVerb* : STRING = Destroy

Destroy Verb

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING

Path to which artifact must be copied to on the generic server.

template* : STRING

Classpath to the freemarker template used to generate the content of the final text base artifact.

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = false

The generic container requires a restart for the action performed by this deployed.

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.Topic

Hierarchyjboss.Resource >> generic.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

A JBoss topic

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

jndiName* : STRING

Jndi Name

maxDepth* : INTEGER = 0

Max Depth

targetFile* : STRING = ${deployed.deployable.name}-${deployed.container.jmsResourceFileSuffix}.xml

Target File

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

inspectTemplate* : STRING = jboss/v${deployed.container.version}/topic/inspect.sh.ftl

Inspect Template

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

template* : STRING = jboss/v${deployed.container.version}/topic/template.xml.ftl

Template

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.TopicSpec

Hierarchygeneric.Resource >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.ConfigurationItem

Specification for a JBoss topic

Public Properties
jndiName : STRING

Jndi Name

maxDepth : STRING

Max Depth

targetFile : STRING

Target File


jboss.TransactionalDatasource

Hierarchyjboss.Datasource >> jboss.Resource >> generic.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

A JBoss Local Transaction Datasource

Public Properties
connectionUrl* : STRING

Connection Url

container* : CI<udm.Container>

The container on which this deployed runs.

driverClass* : STRING

Driver Class

jndiName* : STRING

Jndi Name

maxPoolSize* : INTEGER = 20

Max Pool Size

minPoolSize* : INTEGER = 0

Min Pool Size

password* : STRING

Password

targetFile* : STRING = ${deployed.deployable.name}-ds.xml

Target File

userName* : STRING

User Name

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

useJavaContext : BOOLEAN = true

Use Java Context

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

dsType* : STRING = local-tx-datasource

Ds Type

inspectTemplate* : STRING = jboss/v${deployed.container.version}/datasource/inspect.sh.ftl

Inspect Template

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

template* : STRING = jboss/v${deployed.container.version}/datasource/template.xml.ftl

Template

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = false

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.TransactionalDatasourceSpec

Hierarchygeneric.Resource >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.ConfigurationItem

A JBoss Local Transaction Datasource (deployable)

Public Properties
connectionUrl : STRING

Connection Url

driverClass : STRING

Driver Class

jndiName : STRING

Jndi Name

maxPoolSize : STRING

Max Pool Size

minPoolSize : STRING

Min Pool Size

password : STRING

Password

targetFile : STRING

Target File

useJavaContext : STRING

Use Java Context

userName : STRING

User Name


jboss.TransactionalXADatasource

Hierarchyjboss.Datasource >> jboss.Resource >> generic.ProcessedTemplate >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Deployed, udm.ConfigurationItem

A JBoss XA Datasource

Public Properties
connectionUrl* : STRING

Connection Url

container* : CI<udm.Container>

The container on which this deployed runs.

driverClass* : STRING

Driver Class

jndiName* : STRING

Jndi Name

maxPoolSize* : INTEGER = 20

Max Pool Size

minPoolSize* : INTEGER = 0

Min Pool Size

password* : STRING

Password

targetFile* : STRING = ${deployed.deployable.name}-ds.xml

Target File

userName* : STRING

User Name

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

useJavaContext : BOOLEAN = true

Use Java Context

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

dsType* : STRING = xa-datasource

Ds Type

inspectTemplate* : STRING = jboss/v${deployed.container.version}/datasource/inspect.sh.ftl

Inspect Template

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

template* : STRING = jboss/v${deployed.container.version}/datasource/template.xml.ftl

Template

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = false

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.


jboss.TransactionalXADatasourceSpec

Hierarchygeneric.Resource >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.ConfigurationItem

A JBoss XA Datasource (deployable)

Public Properties
connectionUrl : STRING

Connection Url

driverClass : STRING

Driver Class

jndiName : STRING

Jndi Name

maxPoolSize : STRING

Max Pool Size

minPoolSize : STRING

Min Pool Size

password : STRING

Password

targetFile : STRING

Target File

useJavaContext : STRING

Use Java Context

userName : STRING

User Name


jboss.War

Hierarchyjee.War >> udm.BaseDeployableArchiveArtifact >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfacesudm.Deployable, udm.SourceArtifact, udm.ArchiveArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FileArtifact

A JEE WAR archive

Public Properties
placeholders : SET_OF_STRING

Placeholders detected in this artifact

Hidden Properties
textFileNamesRegex* : STRING = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)

Regular expression that matches file names of text files


jboss.WarModule

Hierarchygeneric.CopiedArtifact >> generic.AbstractDeployedArtifact >> generic.AbstractDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfacesudm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

War with values configured for a deployment

Public Properties
container* : CI<udm.Container>

The container on which this deployed runs.

deployable : CI<udm.Deployable>

The deployable that this deployed is derived from.

placeholders : MAP_STRING_STRING

A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>

Hidden Properties
createOrder* : INTEGER = 50

Create Order

createVerb* : STRING = Create

Create Verb

destroyOrder* : INTEGER = 40

Destroy Order

destroyVerb* : STRING = Destroy

Destroy Verb

modifyOrder* : INTEGER = 50

The order of the step in the step list for the modify operation.

modifyVerb* : STRING = Modify

Modify Verb

noopOrder* : INTEGER = 50

The order of the step in the step list for the noop operation.

noopVerb* : STRING = Modify

Noop Verb

targetDirectory* : STRING = ${deployed.container.home}/server/${deployed.container.serverName}/deploy

Target Directory

targetFile* : STRING = ${deployed.deployable.name}.war

Target File

createTargetDirectory : BOOLEAN = false

Create the target directory on the generic server if it does not exist.

restartRequired : BOOLEAN = true

Restart Required

restartRequiredForNoop : BOOLEAN = false

The generic container requires a restart for the NOOP action performed by this deployed.

targetDirectoryShared : BOOLEAN = true

Is the target directory shared by others on the generic server. When true, the target directory is not deleted during a destroy operation; only the artifacts copied to it.