I am connecting to the same host the applet was downloaded from. Does the name in the jdbc connection need to match the full name of the web server? Web server url is myserver.pct.edu, jdbc just has myserver
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Clapham, Paul
Sent: Thursday, July 24, 2008 2:01 PM
To: Java Programming on and around the iSeries / AS400
Subject: RE: using jt400 in a java applet
If you aren't connecting to the host where the applet was downloaded
from, then you have to sign the applet. I guess you haven't done that.
PC2
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: July 24, 2008 10:42
To: 'Java Programming on and around the iSeries / AS400'
Subject: using jt400 in a java applet
Has anyone ever used the IBM supplied jt400.jar in a java applet
application that is sent to the client and executed from the PC? I have
a java application that will run from my PC but when I deploy it as an
applet it fails with a permissions error. It is acting like the
jt400.jar files is trying to run outside the JRE and is being denied
permission.
Error Message: java.security.AccessControlException: access denied
(java.lang.reflect.ReflectPermission suppressAccessChecks)
at
java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown
Source)
at java.lang.SecurityManager.checkPermission(Unknown
Source)
at
java.lang.reflect.AccessibleObject.setAccessible(Unknown Source)
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.