• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advice Example not working on OS X Panther

 
Van Nguyen
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I can't get the Advice(from Head First EJB) example to work on Mac OS X "Panther". I switched the CurrentJDK sym link from 1.4.1 to 1.3.1, same error on both. I moved the app to a Windows XP box and everthing works great. I really would prefer using my Mac OS X box. This is the error I get when I try to run the client (everything works up to this point, compiling, deploying via deploytool, creating the AdviceAppClient.jar etc.)
java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:87)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at headfirst._AdviceHome_Stub.create(Unknown Source)
at AdviceClient.go(AdviceClient.java:20)
at AdviceClient.main(AdviceClient.java:10)
Caused by: org.omg.CORBA.NO_PERMISSION: 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:306)
at java.lang.Class.newInstance(Class.java:259)
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:136)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
Any ideas?
-thanks,
Van
 
Van Nguyen
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Just wanted to let everyone know, if you get the above error message it has to do with your container's security settings and is not OS dependent. Basicly, make sure you set up the security as "User's choice". Follow link below for details:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=ffaqs/00665
-Van
 
Van Nguyen
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On XP it defaults to "Support Client Choice"
on OS X Panther it defaults to "Certificate" - unless it's something obscure about my env.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic