String instanceId=host+":" + port;
String slotName="TOMCAT:" + instanceId;
MsgContext mCtx=createMsgContext();
Msg msg=(Msg)mCtx.getMsg(0);
msg.reset();
C2BConverter c2b=(C2BConverter)mCtx.getNote(C2B_NOTE);
msg.appendByte( SHM_WRITE_SLOT );
appendString( msg, slotName, c2b );