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 9190151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:23:46+00:00 2026-06-17T20:23:46+00:00

One of my Corba operations is returning a sequence of a sequence (a two-dimensional

  • 0

One of my Corba operations is returning a sequence of a sequence (a two-dimensional array) of an union type.

In a test it turned out this operation can’t handle more than 32 kB of data returned at once. If overall array size exceeds 32 kB, response on client side only gets correctly unmarshalled up to 32 kB. From that point on, it is populated by uninitialized data (that eventually make unmarshaling fail).

In the same environment, there are other operations that are able to return data of larger sizes. This is however the only operation that returns a sequence of a sequence.

Is there a limitation of length of sequences or data in general transferred over Corba that I should be aware of?

My environment consists of a 32-bit Java 6 client (using standard Java ORB) and a 64-bit server (C, with 2AB ORB implementation).

I’ve tried so far:

Tweaked several Orb properties on both client and server side, that seemed related – timeout settings (transport.ORBTCPReadTimeout – timeout set to a large number), GIOP settings (giop.ORBFragmentSize, giop.ORBBufferSize – both set to large numbers). None of these settings changed the behavior.

Using a packet sniffer, I could confirm data were sent to the client. The problem occurs during unmarshaling.

  • 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-17T20:23:47+00:00Added an answer on June 17, 2026 at 8:23 pm

    CORBA unbounded sequences are, in fact bounded a little bit – but not enough that you should have noticed it.

    They are marshalled as an unsigned long (or in CORBA terms, a CORBA::ULong) which tells the marshalling engine how many occurrences of each element will be coming next down the wire. It should always be able to contain up to 2,147,483,647 elements (that’s 2^32, the size of a CORBA::ULong). That’s a whole lot more than 32kb, so it sounds like your ORB has a bug.

    In addition, the fact that it’s silently failing by filling it in partially rather than throwing a CORBA::MARSHAL exception is pretty bad. Tell your ORB vendor to start testing for the basics.

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

Sidebar

Related Questions

Could all those CORBA experts out there please help me with this one. I
One of the main signifficant features of Corba is AMI (Asyncronous Method Invocation) in
One of the neat characteristics of UTF-8 is that if you compare two strings
One can say a type parameter T must have a specific supertype S_1: class
I have a table with a fulltext on one column volltext type is mediumtext.
I am working on a Corba client for some time. One problem that I
It so fell out that I use jacorb.jar and CORBA interfaces in my android
I want to be able to use one of CORBA functionalities, that is I
I struggeled last week with some Corba Marshalling Exceptions. The one glassfish web app
one question about PHP Development. I am building up some Form Fields for Calculations.

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.