Hi Milo,

if you take a better look at the log, you will see that it actually
throws this error because of:

Caused by: java.lang.OutOfMemoryError: Java heap space

I had same problem some time ago. It seems that GWC metastore tries to
allocate certain amount of memory at startup, and if cant allocate it
throws the error.

I dont actually know how much memory it tries to take, but i remember
i had at least 128Mb of permGen, and I was still seeing this error.
GWC people will certainly know more about it.

As always, raising permGen fixes the problem though (disabling the GWC
worked also)

Hope it helps!

Cheers,
Ivan

On Wed, Feb 9, 2011 at 3:18 PM, Milo van der Linden <[email protected]> wrote:
> Hi all,
>
> I have ran the following sequence:
>
> 1. Backed up my geoserver 2.1-Beta1, war and dir.
> 2. Stopped tomcat6
> 3. Removed geoserver.war and the geoserver directory
> 4. downloaded the geoserver 2.1-RC1 war,
> 5. unzipped and placed the war in my tomcat6 webapps directory
> 6. started tomcat6
>
> I can see the geoserver dir gets created. But visiting the url from my
> server tells me that the resource() is unavailable.
>
> I grabbed a copy of geoserver.log (http://pastebin.com/sycYkxL2) and notice
> that the gwc (geowebcache?) beans fail to be created.
>
> Can it be that gwc has been removed in geoserver 2.1 RC1? Or is something
> else wrong?
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>



-- 
-------------------------------------------------------
Ivan Grcic
GeoSolutions S.A.S.
Software Engineer


Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:   +39 328 0559267


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://twitter.com/geosolutions_it
http://www.youtube.com/user/GeoSolutionsIT


-------------------------------------------------------

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to