Solved, I had to modify

src/main/resources/geowebcache-geoserver-context.xml

and changed

<bean id="gwcFacade" class="org.geoserver.gwc.GWC">

to
<bean id="gwcFacade" class="org.geoserver.gwc.GWC"  
depends-on="gwowebCacheExtensions">

Now all tests pass.

At the moment I have an successful

mvn clean  install -P allExtensions.

I will make some additional tests, open a JIRA issue and attach a  patch.

Cheers
Christian




Quoting Gabriel Roldán <[email protected]>:

> Hi Christian,
>
> migrating gwc to Spring 3 sounds good to me. If you feel like providing
> a patch that'd be great, cause I'm not sure when I'll be able to do that
> myself. For sure not before next week, though next week I think I could.
>
> We use github:https://github.com/GeoWebCache/geowebcache
> Or, to make things easier, you just need to migrate the context files in
> the geoserver's gwc module, under src/main/resources, as gwc doesn't
> come with them embedded in the jars (except for the gwc web module that
> we don't depend on)
>
> Cheers,
> Gabriel
> On Tue, 2011-05-10 at 10:18 +0200, Andrea Aime wrote:
>> On Tue, May 10, 2011 at 8:37 AM,  <[email protected]> wrote:
>> > At the moment I try to migrate geoserver trunk to Spring 3.0.5 and Spring
>> > Security 3.0.5. Until now, the Spring migration is the easy part, Spring
>> > Security is much harder.
>> >
>> > A mvn clean install runs all tests except some gwc tests.
>> >
>> > Looking at
>> >
>> > https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/pom.xml
>> >
>> > I see that gwc uses Spring 2.5.5. How to continue ?
>>
>> Uh, that might be problematic, GWC should also do the switch to   
>> 3.0.5 I guess?
>> But it's up to the GWC developers to decide whether they want to   
>> switch, in what
>> time (afaik there are other modifications going) and who can look into it.
>>
>> If I remember properly GWC makes a relatively lightweight usage  of  
>>  Spring, so
>> it may be that migrating it it's not that hard? Proposing a patch   
>> to switch GWC
>> to Spring 3.0.5 might be a good step forward (though, let's hear   
>> from Gabriel
>> about this).
>>
>> Cheers
>> Andrea
>>
>> > Cheers
>> > Christian
>> >
>> > ----------------------------------------------------------------
>> > This message was sent using IMP, the Internet Messaging Program.
>> >
>> >
>> >
>> >
>>
>>
>>
>
> --
> Gabriel Roldan
> [email protected]
> Expert service straight from the developers
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to