Can use service to start domino852 as regular application?

Can use Windows service to start Domino 852 as regular application like Domino R6? I don’t want to use java console, is it possible without manual click icon Lotus Domino Server in desktop?

Subject: Domino as a Windows service, Server Controller and the Domino Console, made easy :slight_smile:

Hi,

I’m not sure I completely understand what you are trying to achieve, since “running Domino as a service” and “running Domino as a regular application” are two completely different things.

Indeed, appart from the initial start-up just after a clean new install, I can’t think of a situation where one would want to run Domino as a regular application.

One thing to remember is that if you start Domino as a regular app, the server will live only as long as you are connected. Once you log off, the server stops

Bottom line : it’s /either/ as a service, /or/ as a reg. app.

I assume your concern is about Windows service. In the service properties, you have this check box that says “allow to interact with the desktop”. If you check it, Domino will /try/ to display its console on the Windows’s server desktop. Depending on the Windows settings on the Windows server, it may or may not succeed, or show a cascade of ennoying security alerts. Not a very practical thing to do in real life. Best practise : leave this box unchecked.

Now your server is running as a service, and is doing so rather silently, and you’d like to check and monitor what it is actually doing. To do so, one condition must be met : you must be correctly registered in the [Security] tab in the server document in the domain’s names.nsf.

Once this is met, you can monitor your server with either of the following tools :

  • The server console in the Domino Administrator client

  • A local Domino Console (jconsole.exe) , provided that the server is started as a service under the Server Controller.

To use the later, you must be able to connect to your server from your workstation on port 2050.

Depending on the network configuration and the server’s firewall configuration, this port may or may not be open. You may have to talk to your net/sys admin.

Establishing the first connection from the Domino Console can be frustrating as it is not super users-friendly. One thing to remember is that the password you need here is your //internet// passord, as specified in you Person document in the domain’s names.nsf.

Two hints to ensure a successful first connection from the Console : use your full Notes name (as “Fistname Lastname/YourOU/YourO”) and the server’s IP address.

Once the first connection is OK, following connections are smooth.

And finally, assuming that Domino is running as a Windows service, if you want to switch from “running under Server Controller” to “running without Server Controller”, and back, you can do so easily by editing the Windows registry :

HKLM\SYSTEM\CurrentControlSet\services\Lotus Domino Server (DDominoData)

Data : C:\Program Files\Domino\nSERVICE.EXE “=C:\Program Files\Domino\notes.ini” “-jc”

The “-jc” part controls wether it’s Server Controller or not.

Hope this helps

Subject: and one last caveat

Think of the Controller and the Domino Server as two separate program that need to communicate.Though they run on the same host, they need a network address to communicate.

The address they use is what is specified in the “Fully Qualified Internet Host Name” in the [Basics] tab of the Server document.

This label is somewhat misleading since your Domino server is most likely behind tight proxies and firewalls.

For the Controller thing to work, what is specified in teh “Fully Qualified Internet Host Name” must be a host name known to your local DNS, in other words a name you can ping from your local network.

You may also want to check

http://tinyurl.com/servercontroller

Hope this helps

Subject: Domino run as regular application

Hi,

Through my experience on the jconsole, the functionality is good I can feel that, but sometimes jconsole is malfunction, e.g. I type command ‘show task’, it doesn’t get reply from the server, can’t stop service, finally I need kill the exe from task manager.

I don’t know that it related to jconsole or not, but if I start domino as a regular application, it seldom have this error, and it is Java, I don’t trust Java, error code is hard to understand for human. So that why I would like to disable this function.

If it can use service to start Domino as regular application, that is good, not need manually click the icon in desktop to start Domino. Reading your reply, it seems that is unrealistic.

Subject: 32

I think you can do this as long as you run 32bits Domino.

Thomas

http://www.notessidan.se

Subject: how to enable regular application?

hi,Do you know how to disable jconsole, and use service to start domino as regular application like previous version of domino?

many thanks