Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Problems on setting server-side concurrency model

Problems on setting server-side concurrency model

Problems on setting server-side concurrency model

I have the following CORBA (Orbacus) application (and java):
One Corba Server(AuthServer) exporting two method :
1)Session Login (username, password);
2)void logout (Session mySession);

Then, a generic client may access the server using the Login method and
release the server invoking the Logout method.

The problem I have regards Orbacus concurrency model.
What I do is to register on the Name Service the AuthServer object.

The System works fine when I Login to the server simultaneously from different clients (connections) and all the Login methods are successfully .But if for any reason a Login fails and the AuthServer blocks then all the system blocks itself and in not possible to invoke from a client any other Login or Logut.

I think it was due to the setting of the server-side concurrency model by means of the system variable ooc.orb.oa.conc_model, which on my system is set to "threaded". So I changed its value to "thred_per_client" but the system keeps on not working.

Any Idea how to get the system working?


RE: Problems on setting server-side concurrency model

Create a server side login factory. For each user try to connect the login factory should create a separate login object and to start for each a separate thread.

Ion Filipski


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close