TIBCO EMS arrancar en Windows
Para trabajar con el manejador estandar de mensajes de Tibco, debemos arrancarlo.
Verificamos inicialmente el funcionamiento con tibamsadmin, nos conectamos y mostarmos los queues.
Por default el EMS corre en el puerto 7222, para cambiarlo. ubicamos el lugar donde esta instalado EMS de Tibco, en este caso en C:\Program Files\tibco\bw6\ems\8.4\bin y tenemos un archivo bat
tibemsd.bat el cual contiene
echo off
rem
rem Copyright (c) 2001-2013 by TIBCO Software Inc.
rem ALL RIGHTS RESERVED
rem
rem $Id: tibemsd.bat_template 68846 2013-08-21 20:28:23Z $
rem
rem Start the EMS server with the installed default configuration
rem
tibemsd -config "C:/ProgramData/bw6/tibco/cfgmgmt/ems/data/tibemsd.conf"
En el archivo tibemsd.conf estan definidas las configuraciones de ems.
########################################################################
# Listen ports. May be tcp or ssl, can specify any number.
# Form is tcp://hostname:port. If the hostname is not present then
# the default host and interface will be used.
########################################################################
listen = tcp://7222
########################################################################
Como ejemplo lo cambiaremos a 9797, sustituyendo tcp://7222 a tcp://9797
Para que tome el cambio debemos reiniciar el EMS, en este caso desde el administrador de programas matamos el proceso TIBCO Enterprise Message Service - Start EMS Server.
Al reiniciar el proceso nos reporta que esta corriendo el EMS en el puerto 9797
TIBCO Enterprise Message Service.
Copyright 2003-2017 by TIBCO Software Inc.
All rights reserved.
Version 8.4.0 V14 7/20/2017
2019-09-04 13:39:04.823 Process started from 'C:\Program Files\tibco\bw6\ems\8.4\bin\tibemsd.exe'.
2019-09-04 13:39:04.824 Process Id: 9128
2019-09-04 13:39:04.824 Hostname: android-ae23f0022eea
2019-09-04 13:39:04.825 Hostname IP address: [fe80::41c1:eea3:89b2:dc24%12]
2019-09-04 13:39:04.829 Hostname IP address: 192.168.99.1
2019-09-04 13:39:04.829 Reading configuration from 'C:\ProgramData\bw6\tibco\cfgmgmt/ems/data/tibemsd.conf'.
2019-09-04 13:39:05.180 Logging into file 'C:/ProgramData/bw6/tibco/cfgmgmt/ems/data/datastore/logfile'
2019-09-04 13:39:05.184 Server name: 'EMS-SERVER'.
2019-09-04 13:39:05.185 Storage Location: 'C:/ProgramData/bw6/tibco/cfgmgmt/ems/data/datastore'.
2019-09-04 13:39:05.185 Routing is disabled.
2019-09-04 13:39:05.186 Authorization is disabled.
2019-09-04 13:39:05.186 The server will attempt to trace warnings about destinations that are growing unbounded above 26843545 bytes or 50000 messages.
2019-09-04 13:39:05.187 Set server properties 'large_destination_memory' and 'large_destination_count' respectively to alter these thresholds.
2019-09-04 13:39:05.201 Accepting connections on tcp://android-ae23f0022eea/[::]:9797.
2019-09-04 13:39:05.202 Accepting connections on tcp://android-ae23f0022eea/0.0.0.0:9797.
2019-09-04 13:39:05.203 Recovering state, please wait.
2019-09-04 13:39:05.274 Server is active.
Ahora conectaremos el administration tool desde Windows - Start - Tibco Start Administartion Tool
debemos indicarle el puerto al momento de connect.
TIBCO Enterprise Message Service Administration Tool.
Copyright 2003-2017 by TIBCO Software Inc.
All rights reserved.
Version 8.4.0 V14 7/20/2017
Type 'help' for commands help, 'exit' to exit:
> connect
Login name (admin): admin
Password:
Failed connect to 'tcp://localhost:7222': error=11, message=Server not connected
> connect 9797
Login name (admin): admin
Password:
Connected to: tcp://localhost:9797
tcp://localhost:9797> show queues
All Msgs Persistent Msgs
Queue Name SNFGXIBCT Pre Rcvrs Msgs Size Msgs Size
> --------- 5* 0 0 0.0 Kb 0 0.0 Kb
$sys.admin +-------- 5* 0 0 0.0 Kb 0 0.0 Kb
$sys.lookup --------- 5* 0 0 0.0 Kb 0 0.0 Kb
$sys.redelivery.delay +-------- 5* 0 0 0.0 Kb 0 0.0 Kb
$sys.undelivered +-------- 5* 0 0 0.0 Kb 0 0.0 Kb
* $TMP$.EMS-SERVER.23A85D7004C83.1 --------- 5 1 0 0.0 Kb 0 0.0 Kb
queue.sample --------- 5* 0 0 0.0 Kb 0 0.0 Kb
sample --------- 5* 0 0 0.0 Kb 0 0.0 Kb
tcp://localhost:9797>
eot
No hay comentarios:
Publicar un comentario