Hallo,
I think, you do not have the permission to communicate.
As I mentioned already several times, if you do not use the java plugin 1.2,
there are the so called "sandbox restrictions", which are hard to overcome.
If you use the java plugin and therefore jdk1.2, you must insert a
permission into the policy file.
Hermann Schmitt
-----Urspr�ngliche Nachricht-----
Von: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]Im Auftrag von Nittle Gupta
Gesendet: Mittwoch, 13. Oktober 1999 07:03
An: [EMAIL PROTECTED]
Betreff: Errors when invoking EJBean through an applet


Hi All,
        I wrote an applet which invokes an EJBean.These are the runtime
error
i am getting.This works when I am trying to invoke by application.
        Why these errors are coming?

C:\weblogic\examples\ejb>appletviewer session\time\TimeClient.html
Exception in thread "main" java.lang.IllegalArgumentException: invalid
port rang
e: :21
        at java.net.SocketPermission.init(SocketPermission.java:341)
        at java.net.SocketPermission.<init>(SocketPermission.java:206)
        at
sun.net.www.protocol.ftp.FtpURLConnection.getPermission(FtpURLConnect
ion.java:175)
        at
sun.applet.AppletPanel.getAccessControlContext(AppletPanel.java:765)
        at sun.applet.AppletPanel.getClassLoader(AppletPanel.java:700)
        at
sun.applet.AppletPanel.createAppletThread(AppletPanel.java:145)
        at sun.applet.AppletPanel.init(AppletPanel.java:188)
        at sun.applet.AppletViewer.<init>(AppletViewer.java:197)
        at
sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.jav
a:85)
        at sun.applet.AppletViewer.parse(AppletViewer.java:1037)
        at sun.applet.AppletViewer.parse(AppletViewer.java:980)
        at sun.applet.AppletViewer.main(AppletViewer.java:1310)

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to