Java AutoViewer JNLP文件出现网络连接错误
我有一个IPKVM,当我尝试连接到设备时,它会下载一个.jnlp文件。运行该文件时总是出现网络连接错误。我希望有人能检查一下他们的代码,告诉我需要调整什么,或者如果我需要不同版本的Java。提前谢谢Java AutoViewer JNLP文件出现网络连接错误,java,jnlp,Java,Jnlp,我有一个IPKVM,当我尝试连接到设备时,它会下载一个.jnlp文件。运行该文件时总是出现网络连接错误。我希望有人能检查一下他们的代码,告诉我需要调整什么,或者如果我需要不同版本的Java。提前谢谢 <?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for Java Video Viewer Application --> <jnlp spec="1.0+" codebase="http://192.16
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Java Video Viewer Application -->
<jnlp spec="1.0+" codebase="http://192.168.2.28/webstart2">
<information>
<title>Video Session Viewer</title>
<vendor>Avocent</vendor>
<description>Video Session Viewer</description>
<description kind="short">Video Viewer</description>
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="avctVideo.jar" main="true" />
<property name="user.variant" value="avct" />
<property name="oem.variant" value="avct" />
</resources>
<resources os="Windows">
<nativelib href="acvvWin32Lib.jar" />
</resources>
<resources os="Linux">
<nativelib href="libavctLinux.jar" />
</resources>
<resources os="SunOS">
<nativelib href="libavctSolaris.jar" />
</resources>
<application-desc main-class="com.avocent.video.Nautilus">
<argument>title="TempSense - Video Session Viewer"</argument>
<argument>devicetype=avsp</argument>
<argument>path=a:192.168.2.28,r:520430-073DA6,c:0,e:1,s:"TempSense",l:120</argument>
<argument>oem=Avocent</argument>
<argument>user=redacted</argument>
<argument>password=redacted</argument>
</application-desc>
</jnlp>
尝试将供应商从Avocent更改为Dell,如果您使用Windows,请为Windows资源添加avmWin32Lib.jar,如果您使用Linux,请添加libavmLinux.jar:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Java Video Viewer Application -->
<jnlp spec="1.0+" codebase="http://192.168.2.28/webstart2">
<information>
<title>Video Session Viewer</title>
<vendor>Dell</vendor>
<description>Video Session Viewer</description>
<description kind="short">Video Viewer</description>
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="avctVideo.jar" main="true" />
<property name="user.variant" value="avct" />
<property name="oem.variant" value="avct" />
</resources>
<resources os="Windows">
<nativelib href="acvvWin32Lib.jar" />
<nativelib href="avmWin32Lib.jar" />
</resources>
<resources os="Linux">
<nativelib href="libavctLinux.jar" />
<nativelib href="libavmLinux.jar" />
</resources>
<resources os="SunOS">
<nativelib href="libavctSolaris.jar" />
</resources>
<application-desc main-class="com.avocent.video.Nautilus">
<argument>title="TempSense - Video Session Viewer"</argument>
<argument>devicetype=avsp</argument>
<argument>path=a:192.168.2.28,r:520430-073DA6,c:0,e:1,s:"TempSense",l:120</argument>
<argument>oem=Dell</argument>
<argument>user=redacted</argument>
<argument>password=redacted</argument>
</application-desc>
</jnlp>
您可以先尝试使用这些库,如果不起作用,请一起尝试