For Development and Testing you can go with the Virtual machine setup (may be a turn-key installation), but for Production it is not advisible.
However if your execution payload is not much, you can try on the virtual machine.
I have experience in devloping adobe applciations in VMWare and we faced the connection failure issues occasionally.
After restart of JBoss service, it will back to operational.
Better consult with your System admin.
Nith