Diiop connection -

I’m trying to follow the WS 5.1 tutorial for the Domino Toolkit. The database connection step returns the error “Could not open Notes Session”

I believe I’ve followed all the hints in this forum. Any help is appreciated.

I’ve confirmed that diiop_ior.txt is returned in a browser, and the config is as follows:

tell diiop show config

Dump of Domino IIOP (DIIOP) Configuration Settings

Full Server Name: CN=RTNDEV1/O=NYSLRS

Common Server Name: RTNDEV1/NYSLRS

Refresh Interval: 3 minutes

Host Full Name: rtndev1.nyslrs2b.nysret.osc.state.ny.us

Host Short Name: rtndev1

Host Address: 10.79.12.33

Public Host Name/Address: rtndev1.osc.state.ny.us

TCP Port: 63148 Enabled

SSL Port: 0 Disabled

Initial Net Timeout: 120 seconds

Session Timeout: 60 minutes

Client Session Timeout: 62 minutes

IOR File: f:\Lotus\Domino\Data\domino\html\diiop_ior.txt

Allow Ambiguous Names: True

Web Name Authentic: False

User Lookup View: ($LDAPCN)

Allow Database Browsing: False

TCP Name/Password Allowed: True

TCP Anonymous Allowed: True

SSL Name/Password Allowed: True

SSL Anonymous Allowed: True

Multi-Server Session Authentication: Disabled

Internet Sites: Disabled

Single Server Cookies: Enabled

Check Cookie Client Address: False

Cookie Timeout: 10 minutes

Subject: Two suggestions

It appears that you’re using an older version of NCSO.jar which did not generate enough information to help diagnose problems. I suggest that you use the most recent NCSO.jar that is available to you from a Notes/Domino 6x installation.

Your configuration make me think that it might be a network type of issue. Here’s the excerpt that I’m looking at:

Host Full Name: rtndev1.nyslrs2b.nysret.osc.state.ny.us

Host Short Name: rtndev1

Host Address: 10.79.12.33

Public Host Name/Address: rtndev1.osc.state.ny.us

Host Full Name is the DNS hostname of the machine as it’s configured in the TCP stack.

Public HostName/Address is the hostname or address that is advertised in every object that is generated by this server.

The Public HostName/Address is controlled by the server document under the Internet Protocols & DIIOP tabs. They can be different to serve different network configurations.

My next suggestion is to make sure you can connect to the domino server using the data in Public HostName/Address entry.

Additional information can also be found in this article:

Java access to the Domino Objects, Part 1

Java access to the Domino Objects, Part 2

Steve Nikopoulos