Hi Mark,

Sorry for the delay ... this seems to have slipped my radar

However,

Mark Derricutt schrieb:
> Anyone have any idea why trunk of SCR would start causing the below error
> message when starting Apache Sling?  As mentioned in the previous email, the
> code throwing the exception seems to have been introduced as part of 
> FELIX-1416
> to 
> src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java:273
> - is this likely a bug now in SCR or in Sling?

This is a dependency of Sling on wrong SCR implementation in Apache
Felix. Namely previsouly Felix SCR supported creating component
instances of ComponentFactory's by configuring factory configurations.
This is in fact explicitly forbidden by the spec.

With FELIX-1416 I have removed this support by default. It can still be
enabled by setting

    ds.factory.enabled = true

in the sling.properties file.

As soon as the scr plugin vote has passed, we will update the Sling
embedded repository bundle to use SCR correctly.

Sorry for the confusion

Regards
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to