úterý 17. června 2008

EMS error: unable to obtain password

If you see this message and you are running TIBCO EMS as daemon (using daemonize or nohup utilities), you need to provide some password to your SSL certificates in config files. The problem is simple - EMS prompts for it at the start and since you damonized the process it cannot read from standard input. That causes the message.

You can also use -ssl_password "" at your command line. Or provide something in the config. For example "aaa" is a good start ;-)

Init scripts in RHEL for RV and EMS

If you want to run Rendezvous with daemon init.d function, it should look like:
start_rvrd() {
P=rvrd
PORT=2777
echo -n $"Starting RV service [$P]: "
cd $RVRD_DATADIR
# create data files first (if not exists)
touch "$P.store" && chmod 666 "$P.store"
daemon --check $P --user USER $P -store \
$RVRD_DATADIR/$P.store -listen $PORT \
-logfile $RVRD_DATADIR/$P.log \
-log-max-size $LOG_MAX_SIZE \
-log-max-rotations $LOG_MAX_ROTATIONS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$P
}
For EMS it is not similar since EMS cannot daemonize itself. We usually use daemonize utility to run it properly:

start_emsd() {
P=emsd
echo -n $"Starting EMS service [$P]: "
cd $EMS_DATADIR
daemon --check $P --user USER \
/usr/local/sbin/daemonize \
/srv/tibco/ems/bin/$P \
-config $EMS_CONFIG
# return value is always zero in this case
pidof $P >/dev/null
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
echo
touch /var/lock/subsys/$P
else
failure
fi
}
This should work.

pátek 6. června 2008

TIBCO Enterprise Message Service 5.0.0 is out

TIBCO released brand new version of its JMS compatible enterprise messaging product - TIBCO EMS - last month. It features new extensible security with JAAS and JACI APIs, administration API now available in C, new multicast messaging model and .NET fixes and Compact Framework API.

The really big thing is new ability to store message in multiple stores for each destinations. You can also store messages in relation databases, which is pretty cool. EMS could act as message archive for enteprise buses.

The new version will be rock solid, stable and fast as all previous versions. We celebrate.