Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
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

  

PreviousPrevious NextNext

RE: Get a user's awareness status in a back-end Java program
Tomas Novak 20.Sep.03 06:11 PM a Web browser
Sametime Developers Toolkit All Releases All Platforms


Hi John,
First, thanks for your answering on Saturday.

The Servlet I'm working on is extracting data from Notes views and displaying them as customized report in HTML pages. These views sometimes contains usernames in their columns. If so, then it is demanded to show their STATUSES in the corporate SAMETIME server (such as Active, Away, Offline, etc.)

If I would like to very SIMPLIFY my description then I am about to provide the same functionality the "Awareness Applet" does. With the difference that I'm about to do it on the SERVER-SIDE.

I'm doing this in the following way (very briefly):

- create a STSession
- get a CommunityService
- log on to the CommunityService (here does the DISCONNECTION appear)
- create an AwarenessService
- create a Resolver
- create a WatchList
- resolve all the usernames I need
- retrieve all the user statuses I need
- log out from the Sametime server
- destroy the STSession

Some details:

In order to LOG ON to the Sametime server I'm using the credentials - username and password - of the user who is currently logged into "my" web application.

Now the problem is that this user could (and usually is) logged on the Sametime server in a Sametime client in his browser.

And the BIG PROBLEM is that each time he refreshes the HTML page in his browser, thus the Servlet on the server logs on the Sametime server using the username and password of this user, he is DISCONNECTED in his own Sametime client.

How do you think it could be worked around?

Thanks a lot!
Thomas




Get a user's awareness status in a ... (Tomas Novak 19.Sep.03)
. . RE: Get a user's awareness status i... (Carl Tyler 19.Sep.03)
. . . . RE: Get a user's awareness status i... (Jamie McIlroy 24.Sep.03)
. . . . RE: Get a user's awareness status i... (Tomas Novak 20.Sep.03)
. . . . . . RE: Get a user's awareness status i... (John Barrow 20.Sep.03)
. . . . . . . . I agree with John's response eom> e... (Carl Tyler 20.Sep.03)
. . . . . . . . RE: Get a user's awareness status i... (Tomas Novak 20.Sep.03)
. . . . . . . . . . RE: Get a user's awareness status i... (Carl Tyler 20.Sep.03)
. . . . . . . . . . . . RE: Get a user's awareness status i... (Tomas Novak 20.Sep.03)
. . . . . . . . . . . . . . RE: Get a user's awareness status i... (Carl Tyler 20.Sep.03)
. . . . . . . . . . . . . . . . Thanks for your help! (Tomas Novak 20.Sep.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


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

Member Tools


RSS Feeds

 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 Connections Cloud Developers
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
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite