VNC console doesn't work for Virtual Machines in PVA, if it is accessed by its FQDN, for example, https://pva.pcs.test:4648.
The console works correctly, if PVA is accessed by its IP address.
With enabled Java tracing it produces the following errors :
network: Cache entry not found [url: https://pva.pcs.test:4648/vz/rdp/VncViewer.jar, version: null] network: Connecting https://pva.pcs.test:4648/vz/rdp/VncViewer.jar with proxy=DIRECT network: Connecting http://pva.pcs.test:4648/ with proxy=DIRECT ... javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name ... java.lang.ClassNotFoundException: com.tightvnc.vncviewer.VncViewer
An SSL handshake alert occurs, if the referenced hostname doesn't match the one, defined in Apache configuration on the PVA MN server.
Related discussion: https://community.oracle.com/message/10332444.
Oracle Java bug reference: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7127374
Java Runtime Environment versions 7 and 8 are affected by the problem.
ServerName directive to
/etc/httpd/conf.d/ssl.conf file on PVA MN that will be mapped to the FQDN and port 4648.
[root@pva ~]# grep ServerName /etc/httpd/conf.d/ssl.conf # #ServerName www.example.com:443 ServerName pva.pcs.test:4648