Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Corba - Application Level

843793Sep 25 2001 — edited Oct 15 2001
Please reply.
I have this problem while trying to get my application work.

org.omg.CORBA.OBJECT_NOT_EXIST:
Could not locate the following Object:
repository id : IDL:com/sprintpcs/messaging/CORBA_Messaging:1.0
object name : MessagingManager

Both Corba Server and Client is running while this happens. The pattern is very inconsistent.

I am trying to do the connection from jsp.

At first I was binding to the CORBA Object for every single call i need to make to the CORBA Server.
A single user can atleat make a 50 request.


----70% of time I was getting this connection exception.
(testing by 2 or 3 individuals)
(~150 binds)


Now I am binding it for every single user . For each browser session. By keeping it session variable.

-----Right now this reduces the exception to 1%
(testing by 2 or 3 individuals)
(~3 binds)

Once we have this in production , will it be able to support thousands of user?

Or are we going to run into the same connection not found problem?

Is this exception got something to do with one of the problem someone mentioned in earlier post
---------------------------------------------------
earlier post ->
I am using Java IDL inside a bean for jsp pages, using tomcat.
The problem we are having is that each time the bean is
executed, a new CORBA connection is established, but never
closed until the Virtual Machine exits, i.e. tomcat is
shutdown.

Since the connections are not being closed, we are running out
of sockets on the server. How can I force the connection to be
closed without exiting the Virtual Machine?
--------------------------------------------------

I am not closing the connection too. In my case for Both client and server uses Visibroker and I am using Weblogic to serve the jsp pages.

I am thinking of keeping the bind object in application variable(weblogic), this woud mean we bind once and use it for the rest of the life time of the application.

??Will I run into problem with thousands of different Thread trying to access the same Object.....????
Is this the way to solve this problem.

Anyone , if you have experience with these kind exception or corba client server connection problem, please reply.

Thank you in advance.


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2001
Added on Sep 25 2001
2 comments
179 views