Open.ControlTier > ModuleForge
 

AtgAppServer

An ATG application server

Overview

Open in Workbench AtgAppServer: An ATG application server

Design

Super Type
AtgService
Role Abstract. (Objects cannot be created.)
Instance Names Unique
Notification false
Template Directory ${modules.dir}/AtgAppServer/templates
Data View Children, proximity: 1
Logger Name AtgAppServer

Constraints

Allowed Child Dependencies

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

  • AtgAppServerCollection
  • Node

Attributes

Exported Attributes

Name Property
dynamoHome deployment-basedir
dynamoRoot deployment-install-root

Defaults for Imported Attributes

Name Default
atgRmiHost localhost
atgRmiPath /controltier/ext/atg/rmi/RmiComponentDispatcher
defaultAllowMultiplePackageMatches false
defaultDeploymentType ${context.type}
defaultFailIfPackageNotReplaced true
defaultPackageName ^$
defaultPackageType AtgConfigJar
dirlist data,j2ee/runtime,localconfig/atg,localconfig/atg/dynamo,logs/archives,pagebuild,sessionswap

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Switch-Datasource

Switch the application server to use the specified datasource, invalidate caches and update the object model

Usage
Switch-Datasource -datasource <>

Workflow

  1. switchDatasource
  2. invalidateCaches
  3. updateDatasourceModelObject

Options

Option Description
datasource Datasource name

updateDatasourceModelObject

updates the model with specified datasource object

Usage
updateDatasourceModelObject [-datasource <>] [-rmiport <>]

Options

Option Description
datasource the datasource name
rmiport the rmi port to run lookup

invalidateCaches

tells server to invalidate its caches

Usage
invalidateCaches [-datasource <>] [-rmihost <>] [-rmiport <>]

Options

Option Description
datasource name of datasource
rmihost RMI control host
rmiport RMI control port

isNucleusRunning

searches dynamo.log for "Nucleus running" text

Usage
isNucleusRunning [-name <>]
Execution bash
Arguments echo define implementation here

Options

Option Description
name atg instance name

getDatasourceName

uses rmi task to lookup current datasource name

Usage
getDatasourceName [-rmiport <>]

Options

Option Description
rmiport the rmi port to run lookup

switchDatasource

uses rmi task to switch datstore and updates model

Usage
switchDatasource -datasource <> [-rmihost <>] [-rmiport <>]

Options

Option Description
datasource name of datasource
rmihost the rmi host to invoke switch call
rmiport the rmi port to invoke switch call

stopAcceptingNewSessions

Calls the RMI /atg/dynamo/admin/LoadControl.setAcceptingNewSessions(true) method to stop accepting new sessions

Usage
stopAcceptingNewSessions [-failonerror <no>] [-rmiport <>]

Options

Option Description
failonerror Log a warning message, but do not stop the command if the rmi call does not succeed
rmiport rmi listen port

Related Types

The following types are defined for use with AtgAppServer.

AtgAppServerSetting

Overview

Open in Workbench AtgAppServerSetting: An ATG application server setting

Design

Super Type
Setting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

AtgSwitchingDatasource

Overview

Open in Workbench AtgSwitchingDatasource: An ATG switching datasource configuration item

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
datasource settingValue

AtgDirlist

Overview

Open in Workbench AtgDirlist: The list of expected instance sub directories

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
dirlist settingValue

AtgAppServername

Overview

Open in Workbench AtgAppServername: The configuration name of the atg server

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
servername settingValue

AtgRmiPort

Overview

Open in Workbench AtgRmiPort: An RMI listen port

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
atgRmiPort settingValue

AtgRmiHost

Overview

Open in Workbench AtgRmiHost: An RMI host

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
atgRmiHost settingValue

AtgRmiPath

Overview

Open in Workbench AtgRmiPath: Path the the ControlTier RMI component dispatcher

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
atgRmiPath settingValue

AtgAppTimezone

Overview

Open in Workbench AtgAppTimezone: A appserver timezone

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
timezone settingValue

AtgRepositoryCache

Overview

Open in Workbench AtgRepositoryCache: The RMI component and method to manage flushing a local ATG repository cache

Design

Super Type
AtgAppServerSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
atgRepositoryComponent settingValue
atgRepositoryMethod settingType