• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

minor code: 3

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I couldn't find any doc on this...does anyone know what minor code: 3 means?
org.omg.CORBA.COMM_FAILURE: minor code: 3
Alex :roll:
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Literally, this is what it means:
Minor code: 3
Static variable: com.sun.rmi.util.MinorCodes.WRITE_ERROR_SEND
Explanation: An error was encountered while writing the request to the output stream.

Practically.. this error is encountered when a java process is trying to talk to a handle of an object when the handle itseld has been removed. Common occurrence is when u have a generic JVM trying to communicate with a EJB in websphere (Both the generic JVM and App Server are in the same context), and for whatever reason the websphere instance goes down, the generic JVM process would no longer be able to communicate with the EJB's.
Then the COMM_FAILURE is raised.
Here's an excerpt from an article i read not too long ago:
"Minor codes are associated with CORBA exceptions and provide greater detail about the errors that can occur. There is not a one-to-one mapping of exception names to minor codes. Rather, a minor code can be associated with several exception names. A minor code message can have different meanings depending on the exception that was thrown. Minor codes are scoped to System Exceptions in the range 0 to 4095. A minor code ID must be a unique number within the scope for each System Exception; however, there is no restriction that minor codes be unique across all System Exceptions"
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic