This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Chidu Chidambaram

+ Follow
since Sep 18, 2003
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chidu Chidambaram

I read this post on the prometric testing centers and I have had a couple of equally bad experiences. I scheduled a test online and the center was actually closed on that particular day. There was no one to contact at prometric and when I contacted them the next day, they would not acknowledge the mistake and blamed it on the actual center for not updating their actual vacation list online. They updated my status online to a "No Show" for no fault of mine and no matter what I said, they would not change that status. They ofcourse gave me a new appointment date but that was little consolation.

One other time, had the same problem with constant phone calls and people using the exam room for all kinds of activities.

Forget about the quality of service you get when you call prometric here in the US. The average wait can be anywhere between 10 minutes to one hour.

I have realised over time that the best place to take an exam is the testing center actually owned by prometric themselves. All their franchises are just not ideal test taking places and they are not really bothered about the person taking the exam. If you have a prometric testing center in your area, call them and confirm they are not a franchise and that they are owned by prometric themselves.
This is the text of the post from the original one in Nov 2003

Howdy -- I thought I'd start a new topic on this rather than add to the old one.
Some people have been getting this incredibly helpful and enlightening CORBA.BAD_OPERATION error when they run the AdviceClient client on the J2EE 1.3 RI, at the point where the business method (getAdvice()) is invoked:

org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(
at org.omg.CORBA.portable.ObjectImpl._invoke(
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(
at AdviceClient.main(


But not everyone gets it. Me, for example. But thanks to Chidu, I know for certain that this is some type of bug and not a programmer error, because Chidu sent me his entire project and I was able to run it perfectly on my machine. Yet, running the same application and class files (I even deployed his existing .ear file - I didn't recreate one using his classes) he DOES get the error. I have verified that he has done everything correctly, yet on his machine he still gets the error.

It cannot be a classpath problem, because if it were, it would fail at an earlier point.

I have a reason to suspect that this is related to a known bug in the RI, but since I am unable to reproduce the error (because it always works for me), I'm asking if someone who has this error could try the fix I'm going to give you in a moment.

Some of you HAVE been able to fix it with a terrible workaround (where you take the classes out of a package!) but we don't want you to have to do that! You could never get away with that in the real world, so we want you to keep the classes in packages.

Here's my suspicion that I would REALLY appreciate if someone could test it. Either someone who is currently getting the error, or someone who did before, and who fixed it by removing the packages (in which case, you'd have to put everything BACK into a package...)

The RI has a known bug that *might* be the problem. It has to do with the name of a method in an component interface, when it is somehow related to the interface name itself.

I think you should change the name of the method, and rebuild and redeploy the bean. If this fixes it, we will post a note on our site and O'Reilly, letting people know that they *might* have that bug.

By the way, if you run "j2ee -version" at the command-line, you'll find out which one you're using. I'm using:

Java 2 Enterprise Edition version 1.3.1, build 1.3.1-b17

And I do not get this error, even when running an application that produces this error on a different machine. I am running the Linux distribution, under Mac OSX (works under Jaguar and the new Panther), with J2SE 1.3.

So, here's the fix I want someone to try, and if it works, you will certainly be the hero.

1) Undeploy your current AdviceApp by cleaning up the server
-- stop J2EE "j2ee -stop"
-- run "cleanup" at the command-line

2) Delete your application from your projects/Advice directory (in other words, delete the .ear file), and if there are any .temp files, delete those as well.

3) Change your component interface and name the method something that does NOT have "Advice" in the name... so, instead of getAdvice(), call it getSomething()...

4) Change your bean class business method to match the business method name in the interface

5) Recompile

-- restart the server and the deploytool

6) Rebuild the bean from scratch (first build a new application, then New --> Enterprise Bean

7) Deploy the bean

8) Modify the client code to call the new method (instead of the getAdvice() method)

9) Invoke the appropriate diety / spirit / good luck charm

10) Run the client (might help to hold your breath until it's done)

Post your wonderful success story here, so I can sleep again.

So, once again, somebody who had this error PLEASE help by trying this fix. There's a good chance this is the problem.

check out a post by kathy sierra...right when this book came out...there are step by step instructions to resolve the issue
I followed all of the above mentioned steps and changing the method name acutally makes the client work. Thanks Kathy for the help. I am sure this thread is going to save a lot of people quite some time.
I am trying to run the first tutorial from Head first EJB. I get following error after running the client. Please help.
C:\projects\advice>java AdviceClient
java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(
at AdviceClient.main(
There is a ongoing thread at on the same topic. Thought it belonged in this forum.
Any help would be great.
I am having the same problem. Please do post a reply if one of you can solve the problem.
I have a java program to query a DB2 database and create an email to be sent to people registered for an application.
I want to run this program automatically every few minutes from the server. How would I go about doing this. I need help to get the parameters right for the JDBC connection and the classpath on a batch file. If I can get the parameters to use to execute the java program from a batch file, that would be real helpful.
17 years ago