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

  • SEARCH
  • Home
  • 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 6331091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:59:34+00:00 2026-05-24T17:59:34+00:00

I have a strange problem, here is a quick snapshot of the system: I

  • 0

I have a strange problem, here is a quick snapshot of the system: I have a web application which calls local EJB bean, lets call the local EJB ‘LocalEJB’, this EJB calls remote EJB – ‘RemoteEJB’ method which does some processing on the external system and returns the String result. All happens within Weblogic 8.1

Here is an example processing:

Web application:

//create reference to the local bean  
locHome = (LocalHome)ServiceLocator.getInstance().getLocalHome("ejb/localejb");

beanRef = locHome.create();  //call the bean method  
String result = beanRef.updateSmth(data.getId(),data.getRelatedIds(),Integer.valueOf(data.getState()));

//print the result  
LOG.debug("result is: " + result);

I have a logging enabled on the local bean inside ejb application:

log.debug("state " + state);

res = session.updateSmth(id, relatedIds, state);

log.debug("result inside bean call: " + res);

Where ‘session’ is a reference to the remote bean.

Now what happens, the request comes to the application, the method ‘beanRef.updateSmth’ executes, this calls method inside local ejb, after a second or two I can see in the log file that for eg. ‘result inside bean call: 0231423’, which means the remote bean returned the result, but I have to wait sometimes 5-6 minutes until I see the result inside my web application (statement ‘LOG.debug(“result is: ” + result);’).
What takes so long to pass the results to the web application, is it the transaction commiting (the local bean has ‘Required’)?

I can see in the weblogic config xml file that transaction timeout is set to 1800 seconds but does it really matter if the results are ready to return straight away?

  • 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-05-24T17:59:34+00:00Added an answer on May 24, 2026 at 5:59 pm

    As expected, it was actually caused by container waiting to commit the transaction. The database record was locked and prevented the container to commit the transaction causing the timeout in the end.

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

Sidebar

Related Questions

I've got a strange problem here. I have a winforms panel which programatically has
I have a strange problem in my rich client application. Here is some background:
I have a very very strange problem here. I have a desktop application written
I'm having a strange problem here... I have an ASP.NET 3.5 application that has
I have a feeling my problem is a bit strange, but here goes... I
I have a strange problem which I have been trying to fix for some
I have a strange problem with a DataGridView I'm using which is bound to
I have created a quick jsfiddle here showing it not working. The problem I
I have a strange problem here, I want to create an emtpy trigger: SET
I have one of our projects very strange problem here on http://konyak.georates.net/page-2/ we have

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.