Hallo,
please, explain the error you get. Do you get the error messages, which you
showed in an other e-message. These showed, I think, that you did not have
the permission.
Hermann Schmiitt-

-----Urspr�ngliche Nachricht-----
Von: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]Im Auftrag von Nittle Gupta
Gesendet: Mittwoch, 13. Oktober 1999 14:06
An: [EMAIL PROTECTED]
Betreff: Re: Errors when invoking EJBean through an applet


Hi Hermann,
        I tried using policy file & also using plug-in but all in vain.I am
unable to get the result.

>----------
>From:  Hermann Schmitt[SMTP:[EMAIL PROTECTED]]
>Reply To:      A mailing list for Enterprise JavaBeans development
>Sent:  Wednesday, October 13, 1999 1:33 PM
>To:    [EMAIL PROTECTED]
>Subject:       AW: Errors when invoking EJBean through an applet
>
>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".
>

===========================================================================
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