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".

Reply via email to