developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks




Problem in logging using loginByPassword
Ahmed Alsum 12/26/2007 09:24 AM
Applications development 7.5.1 Windows


Dear all
I'm new developer to Sametime Bot, while using the following code
-----------------------------------------------------------------
commService = (CommunityService)stsession.getCompApi(CommunityService.COMP_NAME);
commService.addLoginListener(this);
commService.loginByPassword(serverName, userId, password);
-----------------------------------------------------------------
with "IBM Lotus Sametime 7.5.1 demo", e.g. serverName = stdemo3.dfw.ibm.com, it works fine
But when I use Sametime messaging server information, e.g. serverName= messaging.ibm.com with my interanetid and password. login is failed.

Please help.

Go back