java openjdk:如何将站点添加到例外列表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25949651/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
openjdk: how to add site to exception list
提问by embedded
I would like to run an applet on my server and currently it is being blocked by Java security.
我想在我的服务器上运行一个小程序,目前它被 Java 安全阻止。
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?
有没有我可以使用的 conf 文件?
I don't mind moving to different JAVA vendor.
我不介意转向不同的 JAVA 供应商。
Thanks
谢谢
回答by Petar Butkovic
You can add your sites at this file;
您可以在此文件中添加您的站点;
${user.home}/.java/deployment/security/exception.sites
Every url should be in separate line.
每个 url 都应该在单独的行中。
To log/trace you should add into your deployment properties ${user.home}/.java/deployment/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
日志/跟踪将出现在 ${user.home}/.java/deployment/log