The default scheduler SIMPLE and CRON calendars are available in
the SchedulerCalendars.ear system application and are automatically
installed on standalone server profiles. System applications cannot be installed
and uninstalled like traditional Java™ Platform, Enterprise Edition (Java EE)
applications.
About this task
The following steps are required to map the SchedulerCalendars.ear system
application on a server or cluster in a network deployment environment.
Procedure
- Start the wsadmin tool and connect to the deployment manager.
Refer to the Starting the wsadmin scripting client
topic for more information.
- Install the system application.
- To install on a non-clustered server:
- Using Jacl:
$AdminApp install
"/${WAS_INSTALL_ROOT}/systemApps/SchedulerCalendars.
ear" {-systemApp -appname SchedulerCalendars -cell
mycell -node mynode -server myserver}
- Using Jython list:
AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
SchedulerCalendars.ear', ['-systemApp', '–appname',
'SchedulerCalendars','-cell', 'mycell', '-node',
'mynode', '-server', 'myserver'])
- Using Jython string:
AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
SchedulerCalendars.ear', '[-systemApp –appname
SchedulerCalendars –cell mycell –node mynode
-server myserver]')
Where:
Table 1. Variable options.. Variable
values and options:
Value |
Option |
mycell |
the value of the cell option |
mynode |
the value of the node option |
myserver |
the value of the server option |
- To install on a cluster:
- Using Jacl:
$AdminApp install
"\${WAS_INSTALL_ROOT}/systemApps/SchedulerCalendars.
ear" {-systemApp -appname SchedulerCalendars -cell
mycell -cluster mycluster}
- Using Jython list:
AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
SchedulerCalendars.ear', ['-systemApp', '–appname',
'SchedulerCalendars','-cell', 'mycell', '-cluster',
'mycluster'])
- Using Jython string:
AdminApp.install('${WAS_INSTALL_ROOT}/systemApps/
SchedulerCalendars.ear', '[-systemApp –appname
SchedulerCalendars –cell mycell -cluster mycluster]')
Where:
Table 2. Variable options.. Variable values
and options
Value |
Option |
mycell |
the value of the cell option |
mycluster |
the value of the cluster option |
- Save the configuration changes. Refer to the Saving
configuration changes with the wsadmin tool topic for more information.