Marina Surkova created CLOUDSTACK-8657:
------------------------------------------
Summary: java.awt.HeadlessException exception in console proxy on
mouse clicks in XenServer PV VM window
Key: CLOUDSTACK-8657
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8657
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: SystemVM
Affects Versions: 4.5.1
Environment: Management server: CentOS 6.6 64-bit
Hypervisor: XenServer 6.5
Reporter: Marina Surkova
Multiple mouse clicks in VM console running on XenServer in PV mode results in
console session disconnect with following text:
"Access is denied for the console session. Please close the window and retry
again".
Problem could not be reproduced for VMs running in HVM mode and does not happen
if mouse is not used for VMs running in PV mode.
Console System VM /var/log/cloud.log seems to indicate root cause of this issue:
Unexpected exception:
java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getSystemClipboard(HeadlessToolkit.java:307)
at
com.cloud.consoleproxy.vnc.VncServerPacketReceiver.serverCutText(VncServerPacketReceiver.java:121)
at
com.cloud.consoleproxy.vnc.VncServerPacketReceiver.run(VncServerPacketReceiver.java:81)
at com.cloud.consoleproxy.vnc.VncClient.doConnect(VncClient.java:184)
at com.cloud.consoleproxy.vnc.VncClient.connectTo(VncClient.java:143)
at
com.cloud.consoleproxy.ConsoleProxyVncClient$1.run(ConsoleProxyVncClient.java:91)
at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)