<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.jacorb.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://www.jacorb.org/bugzilla/"
          
          maintainer="jacorb@goots.org"
>

    <bug>
          <bug_id>982</bug_id>
          
          <creation_ts>2014-04-28 17:08:36 +0000</creation_ts>
          <short_desc>call hangs at ReplyPlaceholder.getInputStream(ReplyPlaceholder.java:103)</short_desc>
          <delta_ts>2014-06-06 06:25:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>JacORB</product>
          <component>ORB</component>
          <version>2.3.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>AIX</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jacob">jacob.baby</reporter>
          <assigned_to name="Mailinglist to track bugs">jacorb-bugs</assigned_to>
          <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3132</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob">jacob.baby</who>
    <bug_when>2014-04-28 17:08:36 +0000</bug_when>
    <thetext>Hi,

We have an application which uses jacorb 2.3.1 for java to C++ communication. What we see on AIX-WAS environment is randomly the jacorb calls hang and bring down the container with below stack all the time (last 4-5 lines). Is there any fix for this?


3XMTHREADINFO      &quot;WebContainer : 191&quot; J9VMThread:0x0000000038A75C00, j9thread_t:0x0000010047E4C280, java/lang/Thread:0x000000078442F498, state:CW, prio=5
3XMJAVALTHREAD            (java/lang/Thread getId:0x30525, isDaemon:true)
3XMTHREADINFO1            (native thread ID:0x1E502BF, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3           Java callstack:
4XESTACKTRACE                at java/lang/Object.wait(Native Method)
4XESTACKTRACE                at java/lang/Object.wait(Object.java:196(Compiled Code))
4XESTACKTRACE                at org/jacorb/orb/giop/ReplyPlaceholder.getInputStream(ReplyPlaceholder.java:113(Compiled Code))
4XESTACKTRACE                at org/jacorb/orb/ReplyReceiver.getReply(ReplyReceiver.java:275(Compiled Code))
4XESTACKTRACE                at org/jacorb/orb/Delegate.invoke_internal(Delegate.java:1074(Compiled Code))
4XESTACKTRACE                at org/jacorb/orb/Delegate.invoke(Delegate.java:939(Compiled Code))
4XESTACKTRACE                at org/omg/CORBA/portable/ObjectImpl._invoke(ObjectImpl.java:484(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/corba/_IDLBaseFactory_IFStub.is_alive(Bytecode PC:19(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaInitialContextFactory.createFactory(CorbaInitialContextFactory.java:550(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaInitialContextFactory.getFactoryObject(CorbaInitialContextFactory.java:457(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaInitialContextFactory.createLoginObject(CorbaInitialContextFactory.java:325(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaInitialContextFactory.initializeLoginObject(CorbaInitialContextFactory.java:275(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaInitialContextFactory.getLoginObject(CorbaInitialContextFactory.java:192(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaFactory.getLoginObject(CorbaFactory.java:473(Compiled Code))
4XESTACKTRACE                at com/manh/ils/wmservices/corba/CorbaHelper.getInitializedLoginObject(CorbaHelper.java:1716(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/wmcommon/service/RFLoginUserServiceImpl.getLoginObject(RFLoginUserServiceImpl.java:517(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/wmcommon/ejb/WMCommonServicesSessionBean.getLoginObject(WMCommonServicesSessionBean.java:1198(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/wmcommon/ejb/EJSRemoteStatelessWMCommonServices_5eb30bf6.getLoginObject(Bytecode PC:83(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/wmcommon/ejb/_WMCommonServices_Stub.getLoginObject(_WMCommonServices_Stub.java:1915(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/wmcommon/bd/RFLoginUserBDImpl.getLoginObject(RFLoginUserBDImpl.java:367(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/inventorymgmt/backingbean/RFMenuBackingBean.getClearTaskMgmtHandle(RFMenuBackingBean.java:141(Compiled Code))
4XESTACKTRACE                at com/manh/wmos/services/inventorymgmt/backingbean/RFMenuBackingBean.loginAction(RFMenuBackingBean.java:1112)




Thank you,
Jacob</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3133</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-04-29 04:38:44 +0000</bug_when>
    <thetext>Please retest with the current version (3.4) and ideally submit a test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3134</commentid>
    <comment_count>2</comment_count>
    <who name="Jacob">jacob.baby</who>
    <bug_when>2014-04-29 17:38:44 +0000</bug_when>
    <thetext>Hi, 

Moving from 2.3.1 to a higher version may not be possible for us because of the build issues. We can not reproduce this at will this happens on production server randomly and brings the container down. Some times one day some times a week.

Thank you,
jacob</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3135</commentid>
    <comment_count>3</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-04-29 18:10:55 +0000</bug_when>
    <thetext>There were a considerable amount of fixes and improvements between 2.3.1 and 3.4. One of those may well resolve your problem.

You could try utilising Byteman or attaching a debugger to understand what is happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3136</commentid>
    <comment_count>4</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-04-30 04:49:09 +0000</bug_when>
    <thetext>What &quot;build issues&quot; are there involved in migrating?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3137</commentid>
    <comment_count>5</comment_count>
    <who name="Jacob">jacob.baby</who>
    <bug_when>2014-05-01 09:26:16 +0000</bug_when>
    <thetext>The build issue I was thinking of was about the major version change from 2.3.1 to 3.*. I am not sure how many API&apos;s changed. I will give it a try and see.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3138</commentid>
    <comment_count>6</comment_count>
    <who name="Jacob">jacob.baby</who>
    <bug_when>2014-05-01 10:44:13 +0000</bug_when>
    <thetext>one question since we are moving from 2.3 to 3.4 should we build and regenerate anything or just replacing the jar file will do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3139</commentid>
    <comment_count>7</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-05-01 11:17:12 +0000</bug_when>
    <thetext>Although I think dropping the new jars should work (note there are different jars now) I would advise regenerating your IDL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3173</commentid>
    <comment_count>8</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-06-06 06:25:54 +0000</bug_when>
    <thetext>I am closing this for now; if you can reproduce it on the current 3.5(SNAPSHOT) codebase then please reopen (and ideally supply a test case).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>