Could not open Notes session: org.omg.CORBA.COMM_FAILURE: java.net.ConnectException: Connection refused

Hello all,

first of all, I want to precise that yes, I’ve already made severals searchs to find an answer to my question, but I didn’t find anything.

Here is my problem :

I want to create a JSP page to connect to a Notes DB and I want to use only domino tags.

Here is my code :

<domino:session host=“myserver”>

</domino:session>

(simple isnt’ it? lol)

And I get this error on my webbrowser :

Error 500: Domino object error.: (4062) Could not open Notes session

and this one in the console:

NOTES EXCEPTION in domino:session: (4062) Could not open Notes session

NotesException: Could not open Notes session: org.omg.CORBA.COMM_FAILURE: java.net.ConnectException: Connection refused: connect Host: …

I was said that the DIIOP task is running on the server, so it seems that the problem is somewhere else.

Maybe in the differents versions? But I don’t know how to check the versions… (I had a quick look on the manifest file of the NCSO.jar but it looks strange…

Here it is :

Manifest-Version: 1.0

Created-By: 1.4.2 (IBM Corporation)

Thanks in advance !

Philippe Gabert

Subject: Could not open Notes session: org.omg.CORBA.COMM_FAILURE: java.net.ConnectException: Connection refused

What version is the Domino server? Is using Internet Sites enabled?

When you use the session tag this

<domino:session host=“myserver”> Hi </domino:session>

you are creating a Domino session for the Anonymous user - is that what you intend?

Try confirming that the diiop task is configured properly - http://myserver/diiop_ior.txt and http://myserver:63148/diiop_ior.txt should return the same thing to your browser.

Is ‘myserver’ listed as the first server in the iiop servers?

Subject: RE: Could not open Notes session: org.omg.CORBA.COMM_FAILUjava.net.ConnectException: Connection refused

Hello,

thank you for your answer.

I called a colleague who tried on his own server and it works fine… It seems that our server configuration is not correct…

We’ll check that…

Philippe

Subject: RE: Could not open Notes session: org.omg.CORBA.COMM_FAILUjava.net.ConnectException: Connection refused

hello,could you give me some more details,i’m puzzled by it…