developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks




Sametime BOT opening chat session error
sudakar govindarajan 02/23/2009 06:25 PM
Applications development 7.5.1 CF1; 7.5.1 Windows


Hi,

i've developed a sametime bot and also included some code to get the bot online whenever it goes offline. wheneever the bot goes offline, my code works and gets it online back, but i am not able to initiate a chat session with the bot. i get the following error.

"there was an error opening a chat session with <BOTName>
reason : 0x80002005

here is my code:

if(BOT.stsession == null)
{
BOT ebb = new BOT(BOT.properties.getProperty("STServer"), BOT.properties.getProperty("UserName"), BOT.properties.getProperty("Password"));
ebb.start();
}
if(!BOT.commService.isLoggedIn())
{
BOT.commService.loginByPassword(BOT.properties.getProperty("STServer"), BOT.properties.getProperty("UserName"), BOT.properties.getProperty("Password"));
}

can someone help me out on this.....

Go back