On Mon, May 17, 2004 at 10:35:50AM +0200, Markus Gsottberger wrote: > Hi, > > i have some strange problem. > I'm just installing jakarta-tomcat-5.0.24 > and j2sdk1.4.2_04 in a vserver. > When i want to start tomcat the following error occours: > > vserver054:/usr/local/jakarta-tomcat-5.0.24/bin# ./catalina.sh run > Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.24 > Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.24 > Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.24/temp > Using JAVA_HOME: /usr/local/j2sdk1.4.2_04 > Error occurred during initialization of VM > Could not reserve enough space for code cache
hmm, well, java is a strange beast, and tomcat for sure is too, but it might be interesting to get some strace logs of the 'failing' syscalls (or whatever fails) and a successful one from the host system ... (use recent strace -fF -s 10000) I'd suspect one of the CAPs are required to make it run, maybe tomcat thinks it has to raise some rlimits or such ... > When i'm installing tomcat on the Hostsystem it works without > problems.. I don't know if its a problem with vserver and virtual memory > (Could not reserve enough space for code cache) ..? > > > Some information about the System: > Debian Woody > Kernel 2.4.25 > Linux-Vserver 1.27 is this 'debian' kernel or vanilla kernel +patch, if the former, please try the latter ... TIA, Herbert > Greetings, > > -- Markus > _______________________________________________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
