[Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Hi Jan, Jan Zuchhold wrote: it's working fine for me: 1512 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - Creating cached EPSG database. It may take a few minutes. 17611 [main] INFO org.springframework.web.context.ContextLoader - Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for [root WebApplicationContext 17611 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 16212 ms vserver:~# cat /etc/issue Debian GNU/Linux 4.0 vserver:~# java -version java version 1.6.0 Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) host:~# uname -r 2.6.20.11-vs2.2.0.k7-smp-070502 Thanx for testing. I have no clue, what my problem is and no idea how to resolve this. Perhaps you could send me via pm your installed packages (dpkg --get-selections packages) of your host and guest? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Hi Asier, Asier Baranguán wrote: Thomas Besser escribió: Kernel 2.6.16.49 with vserver 2.0.3-rc2 on Debian Sarge 3.1r6, with java builded with make-jkpg from Sun's java package: # java -version java version 1.5.0_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) It /seems/ to work: shows the welcome page and some maps. Yeah, then its running. Thanx for testing. Guest have the CAP_NET_BROADCAST and CAP_SYS_RESOURCE enabled. Perhaps you can try with other kernel. I tried several kernels till now. Whats about this CAP_SYS_RESOURCE and where/how to set it? In host or guest? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Thomas Besser escribió: Guest have the CAP_NET_BROADCAST and CAP_SYS_RESOURCE enabled. Perhaps you can try with other kernel. I tried several kernels till now. Whats about this CAP_SYS_RESOURCE and where/how to set it? In host or guest? You must write it in the bcapabilities file under the vserver configuration folder. It's as simple as: root # echo CAP_SYS_RESOURCE /etc/vservers/vserver name/bcapabilities Or if you have the file, add it: root # echo CAP_SYS_RESOURCE /etc/vservers/vserver name/bcapabilities And restart the vserver. You have some info about the capabilities and the meaning of this files in the linux-vserver page. http://linux-vserver.org/Capabilities_and_Flags http://linux-vserver.org/util-vserver:Capabilities_and_Flags begin:vcard fn:Asier Baranguan n:Baranguan;Asier org;quoted-printable:ELPA Gesti=C3=B3n adr;quoted-printable;dom:;;Henao 4 - 3=C2=BAA;Bilbao;Bizkaia;48009 email;internet:[EMAIL PROTECTED] title:A/P tel;work:944.23.01.66 tel;fax:944.23.01.78 x-mozilla-html:FALSE url:http://www.elpagestion.com version:2.1 end:vcard ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
On Wed May 9 2007 01:18, Thomas Besser wrote: Hi Jan, Jan Zuchhold wrote: it's working fine for me: 1512 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - Creating cached EPSG database. It may take a few minutes. 17611 [main] INFO org.springframework.web.context.ContextLoader - Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for [root WebApplicationContext 17611 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 16212 ms vserver:~# cat /etc/issue Debian GNU/Linux 4.0 vserver:~# java -version java version 1.6.0 Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) host:~# uname -r 2.6.20.11-vs2.2.0.k7-smp-070502 Thanx for testing. I have no clue, what my problem is and no idea how to resolve this. According to this thread, you are running Java 1.5 and the version reported to work is Java 1.6 Mike Perhaps you could send me via pm your installed packages (dpkg --get-selections packages) of your host and guest? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Michael S. Zick escribió: host:~# uname -r 2.6.20.11-vs2.2.0.k7-smp-070502 Thanx for testing. I have no clue, what my problem is and no idea how to resolve this. According to this thread, you are running Java 1.5 and the version reported to work is Java 1.6 No, it works for me with 1.5 :) [EMAIL PROTECTED] uname -a Linux fischer 2.6.16.49-vs2.0.3-rc2 #1 SMP Wed Apr 25 13:56:42 CEST 2007 i686 GNU/Linux [EMAIL PROTECTED] java -version java version 1.5.0_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) begin:vcard fn:Asier Baranguan n:Baranguan;Asier org;quoted-printable:ELPA Gesti=C3=B3n adr;quoted-printable;dom:;;Henao 4 - 3=C2=BAA;Bilbao;Bizkaia;48009 email;internet:[EMAIL PROTECTED] title:A/P tel;work:944.23.01.66 tel;fax:944.23.01.78 x-mozilla-html:FALSE url:http://www.elpagestion.com version:2.1 end:vcard ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
On Wed, May 09, 2007 at 08:18:06AM +0200, Thomas Besser wrote: Hi Jan, Jan Zuchhold wrote: it's working fine for me: 1512 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - Creating cached EPSG database. It may take a few minutes. 17611 [main] INFO org.springframework.web.context.ContextLoader - Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for [root WebApplicationContext 17611 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 16212 ms vserver:~# cat /etc/issue Debian GNU/Linux 4.0 vserver:~# java -version java version 1.6.0 Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) host:~# uname -r 2.6.20.11-vs2.2.0.k7-smp-070502 Thanx for testing. I have no clue, what my problem is and no idea how to resolve this. maybe you could package up your guest (maybe after some cleanups to preserve privacy and reduce size), and upload it somewhere, and maybe some folks who already had success with your installation do the same, then try each- others guests and see what happens ... if the kernel/config is to blame, then your guest should work fine on another system and the other guest should fail on yours, no? HTH, Herbert Perhaps you could send me via pm your installed packages (dpkg --get-selections packages) of your host and guest? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver