aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Head First EJB abend page  58 (run the client) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Head First EJB abend page  58 (run the client)" Watch "Head First EJB abend page  58 (run the client)" New topic
Author

Head First EJB abend page 58 (run the client)

Robert Glover
Greenhorn

Joined: Feb 07, 2004
Posts: 26
I get the following abend when I run the AdviceClient as per page 58 of the book "Head First EJB". I have a new compaq Persario computer and am running Windows XP with all the latest updates. This is a desparate situation because I can't continue reading the book until I get this first example to work. Here is the error text. I added debugging messages:
C:\rdg\java\projects\advice>java -cp .;C:\j2sdkee1.3.1\lib\j2ee.jar;AdviceAppClient.jar AdviceClient
AdviceClient: enterred 'go'
AdviceClient: next: new InitialContext
AdviceClient: next: new lookup
AdviceClient: next: narrow
AdviceClient: next: home.create
AdviceClient: next: getAdvice
AdviceClient: (rdg) exception caught
getMessage: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: No
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(Unknown Source)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:29)
at AdviceClient.main(AdviceClient.java:10)
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(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
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(Unknown Source)
at headfirst._Advice_Stub.getAdvice(Unknown Source)


So far I am: IBM 141 XML and Related Technologies Certified, Sun Cert Java Programmer, Sun Cert Java Developer, Sun Cert Java 2 Architect, Sun Cert J2EE Architect (part 1 only), Sun Cert J2EE Web Component Developer, Sun Cert Business Component Developer, and Microsoft Certified System Engineer for Win NT 4.
Robert Glover
Greenhorn

Joined: Feb 07, 2004
Posts: 26
I found the solution in an earlier post. There is a bug in 1.3.1 RI
that can be worked around by following the instructions at:
http://wickedlysmart.com/HeadFirst/HeadFirstEJB/HeadFirstEJBNotes.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Head First EJB abend page 58 (run the client)