I am trying to connect to an iSeries via Java Web Start. I have created my .jnlp file which includes the jar file with the main application, and another jar file which contains the classes required to connect to the iSeries via JDBC (jt400.jar). Whenever I try to launch this app through Java Web Start, I keep getting an error message stating that it failed to launch. It is giving me the following error message:
I did a bit of research on this... unfortunately, I did not find out what I am doing wrong. Do I need to do something special with security in the .jnlp file? I thought maybe I needed to sign the jar file, but then I read somewhere that it wasn't required?? Can anyone steer me in the right direction?
posted 8 years ago
Did some more research on this, and ended up figuring out that I needed to add SocketPermission for my iSeries in the java.policy file that is located in the lib/security folder of my java runtime installation. And guess what??? It worked! I was able to launch the .jnlp file right off the web server. However, when I executed the jnlp file through a browser on the client... same error message (access denied). Do I have to go to every client workstation and change their java.policy file to make the app run? Is there a different way to do this so I don't have to mess with all the workstations? Thanks!