How to convert non key, value java arguments to applet params? (args like -Xmx64m)
Posted
by
bwizzy
on Server Fault
See other posts from Server Fault
or by bwizzy
Published on 2011-01-07T15:06:36Z
Indexed on
2011/01/07
15:55 UTC
Read the original article
Hit count: 241
I'm trying to use xvpviewer (based on TightVNC) to VNC into my VMs running on Citirx XenServer. There are a couple of caveats required with trusting the certificate from XenServer which I've got working. Essentially I'm trying to convert the java command below (which works on the command line to launch VncViewer) for use in an applet that can be accessed via HTML page.
java -Djavax.net.ssl.trustStore=/tmp/kimo.jks -Xmx64m -jar VncViewer.jar HOST "/console?ref=OpaqueRef:141f4204-2240-4627-69c6-a0c7d9898e6a&session_id=OpaqueRef:91a483c4-bc40-3bb0-121c-93f2f89acc3c" PORT 443 PROXYHOST1 192.168.0.5 PROXYPORT1 443 SocketFactory "HTTPSConnectSocketFactory"
I know I can put the HOST, PORT etc arguments into param tags for the applet but I'm not sure how to apply the two initial argments.
© Server Fault or respective owner