Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

applet-CORBA

0 views
Skip to first unread message

tsangboy

unread,
May 7, 2001, 3:42:22 AM5/7/01
to
Dear all,
I have a problem on server callback to an applet. My applet can
call the server object, but when the server callback to the
applet object, it throws the follow exception.


org.omg.CORBA.COMM_FAILURE: minor code: 1398079490 completed:
No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException
(ReplyMessage.java:93)
at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemExcept
ion(ClientResponseImpl.java:82)
at com.sun.corba.se.internal.corba.ClientDelegate.invoke
(ClientDelegate.java:191)
at org.omg.CORBA.portable.ObjectImpl._invoke
(ObjectImpl.java:294)
at RealTimeAuctionSystem.Multi._CoordinatorStub.accept
(_CoordinatorStub.java:54)
at RAS.rasAuctionnerThread.run(RASIImpl.java:596)

Do anyone know the reason???
It seems that I need to sign my applet, so I add some permission
on client's java.policy file, but it is still no use.

Also, which permission should I include??Do I miss some steps?

Regards,
tsangboy


Bryan Woods

unread,
May 7, 2001, 1:21:57 PM5/7/01
to
>===== Original Message From tsangboy
<tsangboy...@sun.partner.remarq.com.invalid> =====

>Dear all,
>I have a problem on server callback to an applet. My applet can
>call the server object, but when the server callback to the
>applet object, it throws the follow exception.
>
>Do anyone know the reason???


That is supposed to happen - there is a security restriction
that your browser is not allowed to accept incoming connection
requests. You could look into changing your security policy -
I have never looked into that.

Other posts indicate that another way to solve your problem is
to use bi-directional IIOP, where the callbacks are sent across
the existing channel that your ORB opened to the server.

You will need two ORBs which support this feature. AFAIK, not
all ORBs support this (yet).

0 new messages