Mero
asked on
CORBA error when attempting to create a session
Hi,
I have a Java servlet that attempts to create a Domino session. I have the servlet run under a program called LoadRunner that is a QA program that simulates x number of users running the servlet. When the program reaches 10 users, the servlet errors out with a "Notes Exception 4062--could not open a Notes Session" and it throws this exception below Any ideas? Please help as it is putting down our production application. Thanks.
org.omg.CORBA.COMM_FAILURE : minor code: 3 completed: No
at com.ibm.CORBA.iiop.HTTPCon nection.se nd(HTTPCon nection.ja va:439)
at com.ibm.CORBA.iiop.ClientR equestImpl .invoke(Cl ientReques tImpl.java :507)
at com.ibm.CORBA.iiop.ClientR equestImpl .reInvoke( ClientRequ estImpl.ja va:740)
at com.ibm.CORBA.iiop.ClientR equestImpl .reInvoke( ClientRequ estImpl.ja va:862)
at com.ibm.CORBA.iiop.ClientD elegate.in voke(Clien tDelegate. java:869)
at com.ibm.CORBA.iiop.ClientD elegate.in voke(Clien tDelegate. java:405)
at org.omg.CORBA.portable.Obj ectImpl._i nvoke(Obje ctImpl.jav a:250)
at lotus.domino.corba._IObjec tServerStu b.createSe ssion(_IOb jectServer Stub.java)
at lotus.domino.cso.Session.O REFtoSessi on(Session .java)
at lotus.domino.cso.Session.< init>(Sess ion.java)
at lotus.domino.cso.Session.c reateSessi on(Session .java)
at lotus.domino.NotesFactory. createSess ion(NotesF actory.jav a)
at aholdusa.isecder.servlet.C omposeForm .getSessio n(ComposeF orm.java)
at aholdusa.isecder.servlet.C omposeForm .performTa sk(Compose Form.java)
at aholdusa.isecder.servlet.C omposeForm .doGet(Com poseForm.j ava)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 740)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 853)
I have a Java servlet that attempts to create a Domino session. I have the servlet run under a program called LoadRunner that is a QA program that simulates x number of users running the servlet. When the program reaches 10 users, the servlet errors out with a "Notes Exception 4062--could not open a Notes Session" and it throws this exception below Any ideas? Please help as it is putting down our production application. Thanks.
org.omg.CORBA.COMM_FAILURE
at com.ibm.CORBA.iiop.HTTPCon
at com.ibm.CORBA.iiop.ClientR
at com.ibm.CORBA.iiop.ClientR
at com.ibm.CORBA.iiop.ClientR
at com.ibm.CORBA.iiop.ClientD
at com.ibm.CORBA.iiop.ClientD
at org.omg.CORBA.portable.Obj
at lotus.domino.corba._IObjec
at lotus.domino.cso.Session.O
at lotus.domino.cso.Session.<
at lotus.domino.cso.Session.c
at lotus.domino.NotesFactory.
at aholdusa.isecder.servlet.C
at aholdusa.isecder.servlet.C
at aholdusa.isecder.servlet.C
at javax.servlet.http.HttpSer
at javax.servlet.http.HttpSer
Hi back :-)
do you have any load balancing solution installed?
Because it does work teen times and fails then, it seams to me that your load balancing software is reporting wrong servers as the next available and therefore the tenth connection fails.
Regards,
zvonko
do you have any load balancing solution installed?
Because it does work teen times and fails then, it seams to me that your load balancing software is reporting wrong servers as the next available and therefore the tenth connection fails.
Regards,
zvonko
Hi Zvo! Long time no see ???
Hi Bro! :-)
ASKER
Hi zvonko,
I have to check with our Webpshere folks about that. However, it is attempting to create a session to one and only one Notes server. Thanks for your help.
I have to check with our Webpshere folks about that. However, it is attempting to create a session to one and only one Notes server. Thanks for your help.
Oh shi...
Sorry, simply increase the number of threads in server’s document in tab InternetProtocols-->IIOP
Default is 10 threads; I always expected one thread can drive hundred sessions, but try to increase this and give me a note.
I suppose restarting the server is not necessary; simply stop and start again DIIOP task on Domino console or Admin client after increasing the threads.
Good luck,
zvonko
Sorry, simply increase the number of threads in server’s document in tab InternetProtocols-->IIOP
Default is 10 threads; I always expected one thread can drive hundred sessions, but try to increase this and give me a note.
I suppose restarting the server is not necessary; simply stop and start again DIIOP task on Domino console or Admin client after increasing the threads.
Good luck,
zvonko
ASKER
zvonko,
It initially was set to 50 threads and then bumped up to 100 threads and we get the same results. One thing I found out from the Websphere admins is that our servlets are on Websphere clones and thus, are load balanced. They are trying to put the servlets as standalone. Thanks. Any other suggestions would be greatly appreciated.
It initially was set to 50 threads and then bumped up to 100 threads and we get the same results. One thing I found out from the Websphere admins is that our servlets are on Websphere clones and thus, are load balanced. They are trying to put the servlets as standalone. Thanks. Any other suggestions would be greatly appreciated.
OK,
but tell me please on which OS is your WAS and on which your Domino running.
(both on WinNT? or perhaps one on Sun Solaris?)
but tell me please on which OS is your WAS and on which your Domino running.
(both on WinNT? or perhaps one on Sun Solaris?)
ASKER
The WAS is running on AIX(don't know what version) and it is Domino 5.0.9. Thanks for all your help.
Do you have on AIX some shell command like:
ulimit -a
to see the file descriptor limit?
ulimit -a
to see the file descriptor limit?
Is this LoadRunner a tool from MercuryInteractive?
ASKER
Loadrunner is a tool from MercuryInteractive. However, this is now happening in production level outside loadrunner.
ASKER
Loadrunner is a tool from MercuryInteractive. However, this is now happening in production level outside loadrunner.
ASKER
I found out from one of our testers that it seems that the Lotus session is not accepting no more connections at some point. We are using the same notes id for these sessions. My application has been doing that creating sessions with the same id for a while without problems. Is it there is a definite limitation on how many sessions can an id have???
No, I never heard about such an limit.
The only limit are available resources.
And one important resource for ORB are the network connections.
The error org.omg.CORBA.COMM_FAILURE is not a Notes error but a network error.
Therefore I asked you to check this file descriptor limit. File descriptors are also a limit for creating new sessions.
The only limit are available resources.
And one important resource for ORB are the network connections.
The error org.omg.CORBA.COMM_FAILURE
Therefore I asked you to check this file descriptor limit. File descriptors are also a limit for creating new sessions.
And here the description for your minor code 3:
http://java.sun.com/products/jdk/1.2/docs/guide/idl/jidlExceptions.html#minorcodemeanings
http://java.sun.com/products/jdk/1.2/docs/guide/idl/jidlExceptions.html#minorcodemeanings
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The error is still persisting and you dont get points !
:-|
Arun.
:-|
Arun.
ASKER
Sorry for not responding back. We have had discussions with IBM and it is a bug in createSession. They are still looking into this.
ASKER
I'll go ahead and award you the points..this error turns out to be a bug with Domino and we had to upgrade our Notes Java classes to 5.0.9
ASKER
I am connecting remotely from a Websphere server to a remote Domino 5 database. We just upgraded to WAS 3.5.6.