运行 JNPL 应用程序 ASDM 时,加载冻结在 17 %。可能是啥问题
Posted
技术标签:
【中文标题】运行 JNPL 应用程序 ASDM 时,加载冻结在 17 %。可能是啥问题【英文标题】:When running the JNPL application ASDM, Loading freezes at 17 %. What may be the problem运行 JNPL 应用程序 ASDM 时,加载冻结在 17 %。可能是什么问题 【发布时间】:2022-01-20 09:57:51 【问题描述】:我一直在尝试运行 ciscoASDM。在我运行命令javaws startup.jnlp
并打开应用程序后。登录后,它冻结在 17%。可能是什么问题?
我有java
java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.16.0-openjdk-amd64 1611 /usr/lib/jvm/java-1.16.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64
$ javaws startup.jnlp
selected jre: /usr/lib/jvm/java-8-openjdk-amd64/jre
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
selected jre: /usr/lib/jvm/java-8-openjdk-amd64/jre
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
Codebase matches codebase manifest attribute, and application is signed. Continuing. See: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
Starting application [com.cisco.launcher.Launcher] ...
asdm.runStartupWizard = true
java.lang.ClassNotFoundException: com.sun.deploy.trace.Trace
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1640)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.cisco.launcher.i.a(Unknown Source)
at com.cisco.launcher.i.if(Unknown Source)
at com.cisco.launcher.i.a(Unknown Source)
at com.cisco.launcher.s.if(Unknown Source)
at com.cisco.launcher.Launcher.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:576)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:945)
【问题讨论】:
【参考方案1】:根据这个 Github issue,Cisco ASDM 不适用于 OpenJDK 8,因为缺少 deploy.jar
文件。
【讨论】:
以上是关于运行 JNPL 应用程序 ASDM 时,加载冻结在 17 %。可能是啥问题的主要内容,如果未能解决你的问题,请参考以下文章