*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes not able to run client application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "not able to run client application" Watch "not able to run client application" New topic
Author

not able to run client application

Sreedhar P
Greenhorn

Joined: Aug 17, 2002
Posts: 6
I am trying to run client application(AdviceApp) as given in Head First EJB by Kathy Sierra.
I get a CORBA bad operation exception.
The trace is below.


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.mapSystemException(ShutdownUtilDelegate.
java:137)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at headfirst._Advice_Stub.advice(Unknown Source)
at AdviceClient.go(AdviceClient.java:23)
at AdviceClient.main(AdviceClient.java:13)
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(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.
java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemException(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(GenericPOAClientSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at headfirst._Advice_Stub.advice(Unknown Source)
... 2 more

Please could any one tell why this example is not running.

Thank in advance.

Regards
Sreedhar
Nileesha Bojjawar
Ranch Hand

Joined: Oct 10, 2003
Posts: 85
Hi Sreedhar,

This link might help you.
Corba Bad Exception in RI

Good Luck


Nileesha<br />SCJP 1.4, SCBCD, SCWCD.
Sreedhar P
Greenhorn

Joined: Aug 17, 2002
Posts: 6
Hi Nileesha,

I have now been able to run the application.
Thanks

regards
Sreedhar
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Sreedhar P
Welcome to JavaRanch.

Unfortunately your name violates our naming policy. Please take a quick look at the rules and edit your profile accordingly.

Thank you!


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not able to run client application
 
Similar Threads
AdviceGuy Exception
Error while running AdviceClient
Getting exception trying to run AdviceClient.java
Runtime error with AviceBean from HFE
java.rmi.RemoteException running AdviceClient