Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CORBA OBJECT_NOT_EXIST 0[] in Servlet  RSS feed

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all.
I have a method "collection TelGroup::findAllGroups()" in BMP-EJB class.
And I call in servlet so:
. . . . .
StringBuffer pagecont = new StringBuffer();
TelGroupHome grouphome = getTelGroupHome();
TelGroup tgroup = null;
String grname = null;
Collection groupcollection = grouphome.findAllGroup();
Iterator it = groupcollection.iterator();
System.out.println("groupcollection.size() = " + .size());
Object obj =;
tgroup = (TelGroup) javax.rmi.PortableRemoteObject.narrow(obj, TelGroup.class);
System.out.println(" Group is: " + tgroup.toString());
grname = tgroup.getName();
System.out.println("grname: " + grname);
pagecont.append("<option>" + grname + "</option>\n");
. . . . .
My ejb was deployed successfully with IAS and I use JBuilder.
I have this error(ouput) when I run the servlet.
groupcollection.size() = 8 <--- it's ok. Have to be 8 objects/beans
Group is: Stub[repository_id=RMI:TelGroup:0000000000000000,key=ServiceId[service=/EJB[cb-d16\/ejbcontainer]TelGroupJNDI,id={1 bytes:
grgname = UserTelephones <--- In block "while" is first time allways ok. But then, second time(sometimes third time) comes error below.
Group is: Stub[repository_id=RMI:TelGroup:0000000000000000,key=ServiceId[service=/EJB[cb-d16\/ejbcontainer]TelGroupJNDI,id={2 bytes:
CORBA OBJECT_NOT_EXIST 0[] <--- that's error ???
What's wrong? Please any advice, experience,...
Thanks for any helps.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!