Forums Register Login

Failure launching application... access denied

+Pie Number of slices to send: Send
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?

Thanks!
+Pie Number of slices to send: Send
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!
Yup, yup, yup. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3302 times.
Similar Threads
error in the running/launching the application
java.policy setting not reflecting
Access Control Exception
Adding a package statement makes jar not visible during runtime?
javax.jnlp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:50:32.