Hi Guys,
I am using HF-EJB for my preparation towards SCBCD (just started).
In chap 1, I have followed all the instructions mentioned to deploy the AdviceBean
EJB. I have deployed it successfully. But when I run the client, I get this error message.
*************************************************
E:\Java\SCBCD\Projects\Advice>java -cp %CLASSPATH%;AdviceAppClient.jar AdviceCli
ent
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(Class.java:232)
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:454)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:20)
at AdviceClient.main(AdviceClient.java:9)
******************************************************** The structure of files is as mentioned in the book.
Where did I go wrong?