Applets run in a very restrictive security model ("sandbox".)  This is
designed to protect the end user from downloading "untrusted" code from the
Internet and having it read / delete local files, etc...  What you are
likely encountering is the rule that prohibits applets from opening socket
connections to remote hosts other than the one where they originated from
(where you are running the HTTP server.)

The good news is that you can configure (i.e. relax) the security model
through a policy file.  The bad news is that this has to be done on every
PC that runs the applet.  Here is some more information from the SUN Java

Don Yantzi
WebSphere Development Studio Client for iSeries
IBM Toronto Lab
Phone: (905) 413-4476
IBM internal:  IBMCA(yantzi)  -  Internet:

                      er.Be                    To:
                      Sent by:                 cc:
                      wdsci-l-admin@mid        Subject:  [WDSCI-L] applet 
security using WSAD4 and WAS4

                      09/30/2002 04:56
                      Please respond to

This is a multipart message in MIME format.
[ Picked text/plain from multipart/alternative ]
We have created an applet which gets data from the iSeries.  Tests while
developing were ok.  Now I included the applet in an html-document so it
be loaded from the Internet.  I added 'Basic Authentication' on the
html-files and when I try to access them, WAS asks me signon-info.  After
this, the applet is started but it cannot make any connection to our
because of security issues.  (we use jt400.jar for all our access to

When loading, following error appears in java-console.  Lines with '---'
messages send from within the appletcode.

--- createComponents started.
--- getDataTables started.

Netscape security model is no longer supported.
Please migrate to the Java 2 security model instead.

access denied ( ISERIESNAME resolve)
--- Connectionstatus = Connection for access denied
( ISERIESNAME resolve)
--- getting Trade information

Netscape security model is no longer supported.
Please migrate to the Java 2 security model instead.

Netscape security model is no longer supported.
Please migrate to the Java 2 security model instead.

--- Problem with ProgramCall : ProgramCall (system: AS400 (system name:
'ISERIESNAME' user ID: 'userid')

--- JavaError = access denied
( iSeriesName resolve)
 at vesselschedule.VesselSchedule.getDataTables(
 at vesselschedule.VesselSchedule.init(
 at Source)
 at Source)

"   I don't have problems, only challenges...  "

Patrick Goovaerts
Clipper Support nv
TEL : 0032 (0)3 5453991
GSM: 0498 610 325
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email:
To subscribe, unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.