Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8029123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:20:36+00:00 2026-06-05T00:20:36+00:00

I have a Spring application which uses a remote stateless EJB hosted in WebLogic.

  • 0

I have a Spring application which uses a remote stateless EJB hosted in WebLogic.

<jee:remote-slsb id="itemService"
    jndi-name="org.example.ItemService"
    business-interface="org.example.ItemService"
    cache-home="false" lookup-home-on-startup="false"
    home-interface="org.example.ItemServiceHome"
    resource-ref="false" refresh-home-on-connect-failure="true">
    <jee:environment>
        java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
        java.naming.provider.url=t3://server1:7101,server2:7101
    </jee:environment>
</jee:remote-slsb>

My app gets items from the server thus:

ItemEntry[] itemEntries = itemService.listAvailableItems(criteria);
for(ItemEntry entry: itemEntries) {
    Item item = itemService.getItemAccessObject(entry.getKey());
    // Do something with item
}

This works fine most of the time.

However, when the item is very new (put in the database in the last couple of seconds), I get intermittent failures when I try to do anything with the Item:

java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 1330446337 No; nested exception is: 
       org.omg.CORBA.OBJECT_NOT_EXIST:   vmcid: OMG  minor code: 1  completed: No

For new objects, as described, the failures seem to happen approximately 50% of attempts, and within the for() loop there will be a mixture of failures and successes.

If I change the t3:// address to contain only one hostname:port, the problem goes away.

So, my working theory is that the listAvailableItems() call goes to one server in the cluster — where the items in question have arrived, and that the failing getItemAccessObject() calls are going to a different server, where the items are still syncing.

If I bypass Spring and manage the EJB context myself, I can’t reproduce the problem.

Questions:

  1. Is my working theory realistic? (note that the server cluster is a black box to me)
  2. How does the Spring SimpleRemoteStatelessSessionProxyBean and/or the WebLogic client divide calls between cluster members?
  3. Is there a way to make a sequence of calls go to the same cluster member?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:20:37+00:00Added an answer on June 5, 2026 at 12:20 am

    Answering my own question, based on empirical evidence.

    If you connect to Weblogic using wlclient.jar, it uses the IIOP implementation in the core Java RTE.

    If you connect to Weblogic using wlfullclient.jar, it uses WebLogic’s proprietary T3 protocol.

    The IIOP implementation round-robins between servers.

    The T3 implemetation seems to maintain a session with a single server, at least while it can.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Spring application which uses Hibernate on a PostgreSQL database. I'm trying
I have a Spring application which uses JPA ( Hibernate ) initially created with
I have a java web application which uses spring webflow as framework. I have
I'm not very experienced in JSP. I have an application, which uses the Spring
We have a web application which uses Struts 2, Spring and Hibernate. Currently a
I have an application which uses Spring and Hibernate. In my database there are
I have application, which uses Spring, Hibernate and Spring Security. My goal is to
I have an application which uses Spring 2.5 and Hibernate 3. There's a web
We have implemented JUnit4 in our application which uses Spring core & JPA with
I have a spring-hibernate application which is failing to map an object properly: basically

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.