• 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 ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

minor code: 3  RSS feed

 
Greenhorn
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
Thanks,
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"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!