Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Alexander V Gavrin 3.Feb.12 07:54 AM a Web browser
Developer Toolkits 8.5.2 IFR1; 8.5.1 Windows


Hello,

I am having an issue with running an example of stand alone java sametime client.

I tried DSK 8.5.1 and 8.5.2IFR1 with same result

Here is the code I am trying to run:

public static void main(String[] args) {
testClass ebb = new SametimeBot("messaging.ibm.com", "userid@xx.ibm.com","password");
ebb.start();
}

public testClass(String serverName, String userId, String aPassword) {
try {
stsession = new STSession("EightBallSession");
stsession.loadAllComponents();
stsession.start();

commService = (CommunityService) stsession.getCompApi(CommunityService.COMP_NAME);
commService.addLoginListener(this);

commService.loginByPassword(serverName, userId, aPassword.toCharArray());
} catch (Exception e) {
e.printStackTrace(System.err);
return;
}



It fails with the following exception:

Feb 3, 2012 3:25:16 PM com.lotus.sametime.core.util.connection.SocketReceiver run
WARNING: Exception on Receiver:
Throwable occurred: java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:191)
at java.io.DataInputStream.readFully(DataInputStream.java:163)
at com.lotus.sametime.core.util.connection.SocketReceiver.readFully(Unknown Source)
at com.lotus.sametime.core.util.connection.SocketReceiver.receive(Unknown Source)
at com.lotus.sametime.core.util.connection.Receiver.run(Unknown Source)
at java.lang.Thread.run(Thread.java:736)
Feb 3, 2012 3:25:16 PM com.lotus.sametime.core.util.connection.SocketReceiver run
WARNING: Buffer [1] that caused exception:
Feb 3, 2012 3:25:16 PM com.lotus.sametime.core.util.connection.SocketReceiver run
WARNING: Read data from input stream: false
Feb 3, 2012 3:25:16 PM com.lotus.sametime.throwable.ThrowableReporter caughtThrowable
WARNING: Notifying listeners about caught throwable: java.io.EOFException

Any advices?






SDK error (Alexander V Gav... 3.Feb.12)
. . RE: SDK error (Carl Tyler 3.Feb.12)
. . . . RE: SDK error (Alexander V Gav... 6.Feb.12)
. . . . . . RE: SDK error (Carl Tyler 6.Feb.12)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM Web Content Manager
Lotus Domino Document Manager
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow