Hi Bart,

To answer the question yes, dbconfig is meant to be used in this way and i
myself have tested it with multiple servers running from a single
configuration. But as I stated before the module is still pretty immature.

That said, this error message does not seem to be a complete stack trace. Is
there more? I think the actual root exception is not being included here.

Thanks.

-Justin

On Wed, Dec 15, 2010 at 3:01 AM, Bart van den Eijnden <[email protected]>wrote:

> Hi Justin, list,
>
> we have some trouble with setting this up, I am posting an e-mail from a
> colleague below since he is not on the list. TIA for any help.
>
> Hello,
>
> Currently I'm trying to set up Geoserver in 2 JBoss environments reading
> from the same
> data directory. I have the following setup:
>
> Using PostgreSQL 9.0.1 as database, JBoss 4.0.5 GA (2x) each running
> Geoserver 2.1 beta 2
> with the dbconfig plugin (just dumped the jar files into the WEB-INF/lib
> directory of the
> war file). Using 1 single instance of JBoss everything runs smoothly.
>
> Now the idea is to run a second instance of Geoserver pointing to the same
> datastore. I'm trying
> to see if it's possible that when the configuration of 1 Geoserver instance
> is updated
> (via e.g. GeoCat Bridge) the changes are reflected in the other instances
> as well.
>
> Unfortunately I get all kinds of error messages starting with the message
> below:
> ----
> 15:21:55,837 INFO  [STDOUT] 14 Dec 15:21:55 ERROR [context.ContextLoader] -
> Cont
> ext initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean wit
> h name 'gwcFacade' defined in URL [jar:file:/H:/runnableapps/
> jboss-4.0.5.GA/serv
>
> er/default/./tmp/deploy/tmp1640002882111840325geoserver-exp.war/WEB-INF/lib/gwc-
> 2.1-beta2.jar!/geowebcache-geoserver-context.xml]: Cannot resolve reference
> to b
> ean 'gwcTLDispatcher' while setting constructor argument; nested exception
> is or
> g.springframework.beans.factory.BeanCreationException: Error creating bean
> with
> name 'gwcTLDispatcher' defined in URL [jar:file:/H:/runnableapps/
> jboss-4.0.5.GA/
>
> server/default/./tmp/deploy/tmp1640002882111840325geoserver-exp.war/WEB-INF/lib/
> gwc-2.1-beta2.jar!/geowebcache-geoserver-context.xml]: Instantiation of
> bean fai
> led; nested exception is
> org.springframework.beans.BeanInstantiationException: C
> ould not instantiate bean class
> [org.geowebcache.layer.TileLayerDispatcher]: Con
> structor threw exception; nested exception is java.lang.RuntimeException:
> org.hi
> bernate.type.SerializationException: could not deserialize
> ----
>
> Now my questions are: is the dbconfig module meant to be used this way? I
> can't find
> any documentation on this. If it is meant this way, do I need to update
> specific
> settings anywhere to support this?
>
> Thanks in advance for your answer!
>
> Best regards,
> Bart
>
> --
> Looking for flexible support on OpenLayers or GeoExt? Please check out
> http://www.osgis.nl/support.html
>
> Bart van den Eijnden
> OSGIS
> [email protected]
>
> On Dec 9, 2010, at 4:24 PM, Justin Deoliveira wrote:
>
> Hi Rudi,
>
> Actually the module that contains the latest work is called dbconfig [1].
>
> If you are brave and would like to try it out you can grab the latest build
> from the community nightly builds. [2]. But be warned that it is still not
> quite stable and is a work in progress. That said it does work and any
> feedback you could provide as an actual user would be great.
>
> -Justin
>
> [1] http://svn.codehaus.org/geoserver/trunk/src/community/dbconfig/
> [2] http://gridlock.opengeo.org/geoserver/trunk/community-latest/
>
> On Thu, Dec 9, 2010 at 7:22 AM, Hochmeister Rudolf <
> [email protected]> wrote:
>
>> Hi,
>>
>> Your 'Geoserver-2.1-beta2 now available' announcement on [1] drew my
>> attention to database-backed catalog.
>> I looked into the community[com] module[mod] directory and found
>> 'hibernate'-mod.
>> Is this the com-mod that the passage 'Core improvements to support
>> database-backed catalog' refers to?
>>
>> [1]
>> http://blog.geoserver.org/2010/12/06/geoserver-2-1-beta2-now-available/
>>
>> cheers,
>>
>> Rudi Hochmeister
>> Magistrat der Stadt Wien
>> MA 14 - ADV - Referat EG3
>> A 1082 Wien, Rathausstraße 1
>> Email: [email protected]
>> Telefon: (+43 1) 4000 91119
>> Fax: (+43 1) 4000 7141
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF Dev2Dev email is sponsored by:
>>
>> WikiLeaks The End of the Free Internet
>> http://p.sf.net/sfu/therealnews-com
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to