简体   繁体   English

Java Applet花费太多时间来加载

[英]Java applets taking too much time to load

I am using the Sentinel EMS from Safenet. 我正在使用Safenet的Sentinel EMS。 The local tomcat6 website uses the java applets for their hardware key management. 本地tomcat6网站使用java小程序进行硬件密钥管理。 I installed the latest jre7 u45 from java.com. 我从java.com安装了最新的jre7 u45。 My problem is the java applets are taking too much time to load in an offline environment (applet shows the progress bar about 8 - 10 minutes). 我的问题是Java小程序在离线环境中加载时间太长(小程序显示进度条大约8-10分钟)。 When the machine is connected to internet, the applets will load in less than 1 minute. 当机器连接到Internet时,小程序将在不到1分钟的时间内加载。 Is there any setting to change the behaviour of java or is it a problem of tomcat? 是否有任何设置可以更改java的行为,还是tomcat的问题?

Note:The safenet people replied it is the problem of jre installation and I need to re-install. 注意:safenet人员回答这是jre安装的问题,我需要重新安装。 I did re install 2-3 times, but no chance to rectify the problem. 我确实重新安装了2-3次,但是没有机会解决问题。

I think there is some gap in communication . 我认为沟通上存在一些差距。 I am trying to answer your question below, hope this helps 我想在下面回答您的问题,希望对您有所帮助

Certificate verification is recommended by JAVA since JRE 7 update 25 for security reasons, you can visit http://www.java.com/en/download/help/revocation_options.xml 自从JRE 7更新25出于安全原因以来,JAVA建议使用证书验证。您可以访问http://www.java.com/en/download/help/revocation_options.xml

There is a Workaround which is not recommended by Java 有一种Java不建议的解决方法

  1. Open Control Panel 打开控制面板
  2. Open Java 打开Java
  3. Goto Advance Settings 转到高级设置
  4. Find "Perform certificate revocation checks on" 查找“对证书执行吊销检查”
  5. Select "Do not check (Not Recommended)" 选择“不检查(不推荐)”
  6. Click Ok 点击确定

在此处输入图片说明

After this restart all Browser instances 重新启动后,所有浏览器实例

Note :- For Intranet or Localhost you can use this workaround as you know that certificates are valid, but for internet please revert back to default settings 注意:-对于Intranet或Localhost,您可以使用此替代方法,因为您知道证书有效,但是对于Internet,请恢复为默认设置

I am from Safenet QA 我来自Safenet质量检查

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM