Neoview Database Administrator's Guide (R2.2)
This is a sample JMS start task request:
./gcmd -rt START_TASK \
-tk GENUS_JMS_REAL \
-ti RUN_19JUN \
-un user1 -pw mypasswd
This is a sample JMS stop task request:
./gcmd -rt STOP_TASK \
-tk GENUS_JMS_REAL \
-ti RUN_19JUN \
-un user1 -pw mypasswd
There are no JMS-specific changes to either the START_TASK or STOP_TASK request.
JMS Logs
An additional JMS log is used by the GEL JMS Consumers. The JMS log file is in addition to the
task instance log file maintained by the Gelserver on the Linux platform. The JMS log file is
generated in the log subfolder for each task. If the JMS log file already exists, the logs are appended
to it.
The JMS log name follows the task instance log name and is set up as follows:
task-name.task-instance-name.jms.log
For example:
LOAD_TASK1.LOAD_TASK1_RUN1.jms.log
If the user does not provide a task instance name, the system generates a task instance name.
For example:
LOAD_TASK1.LOAD_TASK1212017497848504080.jms.log
For each task, two log files are created:
• task-name.task-instance-name.log by the Gelserver for reporting on the
INSERT/UPDATE operations against the Neoview platform database
• task-name.task-instance-name.jms.log by the GEL JMS Consumer for JMS-specific
information.
This is an example of a JMS log file for a task instance named TEST:
JMS log file (USR_JMS_REAL.JMS.TEST.jms.log) :
Mon Jun 19 14:24:12 PDT 2006 [Java session started.]
ConnectionFactory:Destination is ConnectionFactory:queue/A
ConnectionFactory Name is ConnectionFactory
Destination Name is queue/A
Message Limit is 500
Idle time out is 60000 (1 min)
Logfile Dir is /opt/genus/gel/log
Table Name is USRCAT.USRSCH.T1
Idle time period over. No message since idle time period started.
Stopping ...
Mon Jun 19 14:24:13 PDT 2006 [Java session started.]
ConnectionFactory:Destination is ConnectionFactoryqueue/B
ConnectionFactory Name is ConnectionFactory
Destination Name is queue/B
Message Limit is 500
Idle time out is 60000 (1 min)
Logfile Dir is /opt/genus/gel/log
Table Name is USR CAT.USRSCH.T1
Idle time period over. No message since idle time period started.
Stopping ...
This is an example for the task instance log file for a task instance named TEST:
Task instance log file (USR_JMS_REAL.JMS.TEST.log):
[14:24:04] MASTER> INFO : SESSION
146 JMS Info