This is a problem with certain versions of Java. IE5 may not have the same problem. Try getting the latest Java fpr IE4. Another problem is in the HOSTS file found in thw Windows directory. Make sure your WEB Server is listed there, unless your useing DHCP (you can try it anyway to be sure). I've had this problem due to both mentioned situations described above. Mike Everidge, Programmer/Analyst/CNE Morristown-Hamblen Hospital <<< Blair Wyman <firstname.lastname@example.org> 7/14 1:05p >>> Excerpts from java400-l: 14-Jul-99 IE4.0 security exception RMay3@aol.com (896*) > I am rather new to JAVA programming. I have successfully written a few Java > applications using VAJ2.0 that connect to our AS400 using The AS400 Toolbox > JDBC driver and seem to work just fine. However, I am having trouble > connecting to the AS/400 running an applet in IE4.0. The applet starts up > slowly but the applet is giving a security exception when I try to connect to > the AS400. The applet resides on the AS400. > Can any one help with the security exception. I'm no expert on applets, but I'll take a cut at this... Where are you seeing the exception? In the browser? If so, can you look at the 'java console' in IE4? If so, its contents could be helpful. Also, there might be some joblog info on the 400 that could help -- it might pay to look at the joblogs of the HTTP server (presuming you're using it). How are you serving the applet? From IFS, or from the AS/400 HTTP server? I found some info at the PID website about applets under: http://www.as400.ibm.com/developer/education/presentations/itso/java400/ ...which does remark that applets served from the HTTP server have some special rules, and may behave in a browser-specific fashion. FWIW, I went to the Power Search page at deja http://www.deja.com/home_ps.shtml and entered the following search query in the Power Search field: as400 applet security ...and got some interesting hits: One suggestion was to ensure that the Codebase parameter is fully-qualified in the HTML source. Another suggestion was to ensure that the HTTP server allows the serving of files with certain extensions (i.e. '.jar' or '.zip' or ??). I just checked an AS/400 here, and it appears there is a configuration command (WRKHTTPCFG) on the AS/400 which allows you to specify extension-specific behaviors. Finally, if possible, you might want to try Netscape to see if the behavior *is* browser-specific. > Help with speeding up the load would be nice too... The Java Toolbox has some tools for partitioning up .jar files, so that the server only serves what will be 'needed.' I'm sure the PID website has a link to the Toolbox info. Oh, I don't work for deja.com or get anything for anything or suchlike... I do find dejanews to be a wonderful resource, however, and that is my opinion. Blffffpt. *8-) ___ _ Blair Wyman (email@example.com) / Ph: 507.253.2891 ( /_) / _ ' _ Advisory Programmer, Dept GZAA / TieLine: 553.2891 _/__)_/_<_/_/_/_' SLIC Program Model, IBM Rochester/ VM: RCHLAND(BLAIR) Opinions expressed are not IBM's +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: firstname.lastname@example.org +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.