I am using NCSO.jar in a java program outside Domino (Eclipse Galileo) to connect to Domino and pull data remotely. All documentation makes this appear quite simple. However, when the following code is run as a standalone java program, the subject error results.
I copied the sample code directly from Designer Help 8.5.1 and simply modified what I needed to pull the params from my config file.
Any ideas? Many thanks!
Code:
String host = Config.getInstance().getProperty(
"coiServerPath");
String user = Config.getInstance().getProperty(
"coiUser");
String password = Config.getInstance().getProperty(
"coiPW");
String path = Config.getInstance().getProperty(
"coiPath");
String args[] = new String[1];
// this argument forces us to pass user credentials encrypted
args[0] = "-ORBEnableSSLSecurity";
// this lives in the public void run() method
Session session = NotesFactory.createSession(host, args, user, password);