Proxmox problem: Java console does not connect to Ubuntu 14.10

Find the vmID for the container that has console problems then
on the Proxmox server:

vzctl enter vmID
Edit /etc/init/tty1.conf

so that it becomes

# tty1 - getty
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 tty1

and reboot