Re: [Vserver] Re: Re: Re: Re: java crash in vserver...

2007-05-08 Thread Jan Zuchhold
Hello,

> Perhaps is anybody out there who has debian etch in a vserver with suns
> java deb package and could test if installation fails too or not?
>
> It's quiet easy to install and can easily removed after it:
> 1. get http://downloads.sourceforge.net/geoserver/geoserver-1.5.0-bin.zip
> 2. unzip it into /usr/local/geoserver
> 3. execute 'GEOSERVER_HOME=/usr/local/geoserver
> JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre
> /usr/local/geoserver/bin/startup.sh'

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
>>>

Jan


pgptWoFgu7RH4.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: Re: Re: Re: java crash in vserver...

2007-05-08 Thread Asier BaranguƔn

Thomas Besser escribiĆ³:


Ok I tried it also now with 2.6.20.11-vs2.2.0, same error and installation
aborts.

Perhaps is anybody out there who has debian etch in a vserver with suns java
deb package and could test if installation fails too or not?


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.

Guest have the CAP_NET_BROADCAST and CAP_SYS_RESOURCE enabled. Perhaps you can try with 
other kernel.
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


[Vserver] Re: Re: Re: Re: java crash in vserver...

2007-05-08 Thread Thomas Besser
Hi,

Herbert Poetzl wrote:
> On Fri, May 04, 2007 at 11:43:24AM +0200, Thomas Besser wrote:
>> Herbert Poetzl wrote:
>> > could you try that on a release kernel, e.g.
>> > 2.6.19.7-vs2.2.0 or 2.6.20.11-vs2.2.0?
>> 
>> I only found 2.6.20.4-vs2.2.0 on http://linux-vserver.org/
> 
> as usual, updates and new test releases can be
> found here: http://vserver.13thfloor.at/Experimental/

Ok I tried it also now with 2.6.20.11-vs2.2.0, same error and installation
aborts.

Perhaps is anybody out there who has debian etch in a vserver with suns java
deb package and could test if installation fails too or not?

It's quiet easy to install and can easily removed after it:
1. get http://downloads.sourceforge.net/geoserver/geoserver-1.5.0-bin.zip
2. unzip it into /usr/local/geoserver
3. execute 'GEOSERVER_HOME=/usr/local/geoserver
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre /usr/local/geoserver/bin/startup.sh'

After a few seconds it dies with:
3775 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - Creating
cached EPSG database. It may take a few minutes.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0x7) at pc=0xb7e1accf, pid=3073, tid=3084572896
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
# Problematic frame:
# C  [libc.so.6+0x6cccf]  memcpy+0x2f
#
# An error report file with more information is saved as hs_err_pid3073.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

TIA
Thomas




___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: Re: Re: Re: java crash in vserver...

2007-05-07 Thread Thomas Besser
Hi,

Herbert Poetzl wrote:
>> vplaystation:~# vserver gis start
>> ncontext: vc_net_create(): Invalid argument
> 
> looks like a problem with network contexts, do you
> happen to still use dynamic contexts after several
> years of deprecation?

Sorry, I'm just beginning with vserver and installed the debian etch
packages. The only thing I configured was the place where the vserver
images reside.

> please double check your config, the kernel should
> work perfectly fine ...
 
There exists a bug report to debian.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421331

I followed the faq and created the 'context' file in the vserver image with
value '101'. The vserver is now running with 2.6.20.4-vs2.2.0, but
installation of geoserver aborts with the same error :-(

Regards
Thomas



___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver