Hi,
The client or the applet should contact port 7001 in weblogic ( if u havent
changed the port no. In properties file)
I think your applet is somehow trying port 21 (which is a ftp port)
parikshit
-----Original Message-----
From: Nittle Gupta [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, October 13, 1999 10:33 AM
To: [EMAIL PROTECTED]
Subject: 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".