openjdk: how to add site to exception list

embedded picture embedded · Sep 20, 2014 · Viewed 17.7k times · Source

I would like to run an applet on my server and currently it is being blocked by Java security.

On my development machine I was able to open control panel and to add a site to the exception list but now on my production server I don't have connected display.

Is there any conf file I could use?

I don't mind moving to different JAVA vendor.

Thanks

Answer

Petar Butkovic picture Petar Butkovic · Sep 20, 2014

You can add your sites at this file;

${user.home}/.java/deployment/security/exception.sites

Every url should be in separate line.

To log/trace you should add into your deployment properties ${user.home}/.java/deployment/deployment.properties

deployment.log=true
deployment.trace=true
deployment.trace.level=all

Log/trace will appear in ${user.home}/.java/deployment/log