I have worked quite a bit with different Java applications and Proxmox.  While you can get things to work, I found it easier to just use KVM under Proxmox for Java applications.  You may use a few more resources, but you have more stability and more of a bare metal machine environment, especially when the application experiences loads.  Java is just hard to work around sometimes.  However, with Proxmox, everything works exactly the same just about whether it is a container or KVM.  I initially tried everything with the OpenVZ container, but soon grew tired of troubleshooting and tweaking every application and just went the KVM route with Java apps.<div>
<br></div><div>My two cents,</div><div><br></div><div>Tony Z<br>
<br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 8:03 AM, Daniel Pittman <span dir="ltr"><<a href="mailto:daniel@rimspace.net">daniel@rimspace.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Rudiger Wolf <Rudiger.Wolf@ThroughputFocus.com> writes:<br>
> On 09/08/10 11:00, <a href="mailto:pve-user-request@pve.proxmox.com">pve-user-request@pve.proxmox.com</a> wrote:<br>
><br>
>> and no: we have plenty of Java working just fine in OpenVZ containers, both<br>
>> stand-alone and under Proxmox.<br>
>><br>
>> The main thing to be cautious of is that Java will default to allocating some<br>
>> memory related parameters based on the amount of physical memory it sees in<br>
>> the system; you may need to tune that.<br>
>><br>
>> However, generally they work OOTB on Proxmox, which does a fine job of<br>
>> presenting a realistic view to the JVM.<br>
>><br>
>> For performance I would generally avoid allocating too much swap space to a<br>
>> JVM container, though, since you are better delegating memory trimming to the<br>
>> JVM itself as much as possible.<br>
><br>
> I want to install Alfresco based in an OpenVZ VM based on the following<br>
> recipe.  Do you think that will be sufficient if I allocate 1GB RAM to the<br>
> OpenVZ VM?<br>
<br>
</div>We have 1GB allocated to our smallest container which also runs a Java<br>
application, albeit not Alfresco, and it worked fine on Lenny/amd64, with Sun<br>
Java 6 underneath.<br>
<br>
Anyway, yeah, that is the sort of tuning I was talking about. :)<br>
<br>
Er, I don't actually know, but you might need to use a veth device rather<br>
than a venet device for the Alfresco SMB share thing to work.  If that is the<br>
document management thingy which does SMB/CIFS sharing, that is. :)<br>
<div class="im"><br>
        Daniel<br>
<br>
--<br>
✣ Daniel Pittman            ✉ <a href="mailto:daniel@rimspace.net">daniel@rimspace.net</a>            ☎ +61 401 155 707<br>
               ♽ made with 100 percent post-consumer electrons<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
</div></div></blockquote></div><br></div>