Re: svn commit: r610055 - /incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/SlingServletResolver.java

2008-01-08 Thread Felix Meschberger
Ah ! Had the same issue when building the everything is a resource prototype: I solved this by having the activate method initialize all pending servlets. This works as the ServletContext is a static mandatory reference and those are bound BEFORE the component gets activated. That is, as soon as

Re: svn commit: r610055 - /incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/SlingServletResolver.java

2008-01-08 Thread Carsten Ziegeler
Felix Meschberger schrieb: Ah ! Had the same issue when building the everything is a resource prototype: I solved this by having the activate method initialize all pending servlets. This works as the ServletContext is a static mandatory reference and those are bound BEFORE the component gets