Aravind, Lakkavajhula

Greenhorn
+ Follow
since Aug 12, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aravind, Lakkavajhula

Prior to getting the error message posted by Calvin, i also got the
the following message .
java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
n(ShutdownUtilDelegate.java:137)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:23)
at AdviceClient.main(AdviceClient.java:11)
Caused by: org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed:
No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
eption(ReplyMessage_1_2.java:93)
at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(
ClientResponseImpl.java:108)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
entSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
... 2 more
I dont remember what i did except installing jdk1.3.1 instead of jdk1.4
and reverifying classpath.
Later started getting the error mentioned by calvin. And this got fixed by puuting the classes out of the package headfirst.
Hope this does not add more to the confusion
Aravind
Ki Kathy/Calvon,
After having bought the HeadFirst book and tried the first example, Even i ran into the same problem for about 3 days.
I havent had a chance to try what Kathy had suggested [System.out.printlns stmts] however i tried doing the rest of the steps[undeploy,cleanup,deploy etc] number of times[over past 3 days] but in vain.
Finally, it worked.
I removed the package headfirst statement in all my AdviceHome, Advice, AdviceBean
and removed the import headfirst stmt in AdviceClient. Kept all the classes looose in projects\advice\classes directory and client in projects\Advice directory
Rest of the steps have been followed by book.
It worked fine now without throwing the Corba exception.
But am curious to find out why it fails when i package them?

Aravind