i am using the following:
----------------------------------------------------------------
J2EE -
Java 2 Enterprise Edition version 1.3_01, build 1.3_01-b01;
J2SE - java version "1.3.1_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_11-b02)
Java HotSpot(TM) Client VM (build 1.3.1_11-b02, mixed mode)
----------------------------------------------------------------
everything was compiled fine without any problems, server is up & running, "AdviceApp" is deployed properly
when i tended to run client code from chap#1 --- "AdviceClient.class"
by using the following command:
C:\projects\advice>java -cp %classpath%AdviceAppClient.jar;. AdviceClient
got the following error:
java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: minor code: 0 completed: No
org.omg.CORBA.NO_PERMISSION: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
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:136)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at headfirst._AdviceHome_Stub.create(Unknown Source)
at AdviceClient.go(AdviceClient.java:31)
at AdviceClient.main(AdviceClient.java:12)
it looks like that i don't have the permission. i just can't figure out why? (everything seems ok to me)
thank u for any helpful hint!!