This API enables you to download the Java Network Launching Protocol (JNLP) file, also known as Java Web Start (JWS), from the node hosting the instance. You can use this JNLP file to access VNC.
Note:
If theVNC client jar is missing
error message is displayed, contact your Oracle Cloud Administrator to upload the required JAR files for VNC access.Note:
If theApplication Blocked by Java Security
error message is displayed, you must add the displayed address to the Exception Site List. For more information on editing the Exception Site List, see the following link:https://www.java.com/en/download/faq/exception_sitelist.xmlMethod
GET
The Accept
header in the API Request must be set to the value application/x-java-jnlp-file
.
The Content-Type
of the returned data (JNLP file) in the response body is set to application/x-java-jnlp-file
REST Resource
/instancevnc/instance_id
URI
https://api_endpoint/instancevnc/instance_id
URI Parameter
Parameter | Description |
---|---|
instance_id | Instance identifier for which the JNLP file will be downloaded |
Example URI
https://api.oc.example.com/instancevnc/mytenant/public/d5baeacd-e97d-4933-b170-fcfad113bf1e
Sample Output
<?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="https://192.168.128.5:443"> <information> <title>Oracle Compute VNC</title> <vendor>Oracle America</vendor> <offline-allowed/> </information> .............. .............. -----END RSA PRIVATE KEY-----</argument> </application-desc> </jnlp>