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  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Sign in to participate Previous Next
Subject: How to tell if server is running
Feedback Type: Question
Product Area: Notes 8 Client
Technical Area: Application development
Platform: Not Applicable
Release: All
Reproducible: Unknown

I checked the forum on this, and the way this person did it was to open a database on the server. I would think that this would be an expensive operation. While I have to check that the below code would work (it will take a while since many groups are using the developement server). I was hoping if any body knows a better way or even if this would work.

Note: dbServer is a glogal variable set to the current database the user is working with.

Public function isServerUp() As Boolean
Dim dirEntry As NotesDbDirectory
Dim dbTemp As NotesDatabase
Set dirEntry = sess.GetDbDirectory( dbCurrent.server)
Set dbTemp = dirEntry.getFirstDatabase( DATABASE)
If dbTemp Is Nothing Then
isServerUp = False
Else
isServerUp = true
End If
End function

Cheers,
John


Feedback number WEBB8UHGJT created by John M Buragas on 05/21/2012

Status: Open
Comments:

How to tell if server is running (John M Buragas 21.May.12)
. . On Error (Paul K Smerdon 22.May.12)
. . re: connectivity (eric j green 23.May.12)
. . Found a way (John M Buragas 12.Jul.12)
. . How to tell if server is running (Tamir Ben-Shosh... 21.May.12)




Printer-friendly

Search this forum


Sign In or Register

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

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 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 SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow