Skip to content

CreateAdditionalServerJNA #25

@JoelProminic

Description

@JoelProminic

@piotrzarzycki21 got this error when setting up an additional server ID in an SHI instance. In this case, a server with the configured namea lready existed.

sudo su - domino
$ nano /tmp/additional.properties
$ pwd
/local/notesdata
$ cp /local/notesjava/CrossCertifyNotesID.properties .
$ export LD_LIBRARY_PATH="/opt/hcl/domino/notes/latest/linux"
$ java -jar /local/notesjava/CreateAdditionalServerJNA.jar /tmp/additional.properties 
Application 'CreateAdditionalServerJNA' started.
	(debug)propertiesFileName='null'.
Loading properties file '/local/notesdata/CrossCertifyNotesID.properties'.
Loading additional server properties:  '/tmp/additional.properties'.
additionalServerPassword len: 8
Initializing Domino JNA
Additional Server Name: mars-add.startcloud.com
Additional Server Title: mars-add.startcloud.com
hostServerIDFilePath: /local/notesdata/server.id
addtionalServerIDStorePath: /tmp/mars-add.startcloud.com.id
Switched to ID: /local/notesdata/server.id:CN=mars.startcloud.com/O=startcloud
session username: CN=mars.startcloud.com/O=startcloud
Getting certifier context from: /local/notesdata/cert.id
Server registration failed with error code: 8194
Application 'CreateAdditionalServerJNA' completed.


Server registration failed with error code: 8194

Thinking ahead to automation, I would like to make some improvements to the error reporting:

  • Show a clearer error for known error cases like this. The errors should be clear enough to display to a normal (not Domino administrator) SHI user.
  • Make the error clearer in the output and easy to parse for the automation

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions