Hello,
unfortunately, in the 4.2. release train, Alfresco changed the class of the web script container for Repository which now makes it impossible to activate extensibility without sacrificing another feature of the container - multi-tenancy aware web script container. The guide advises you to replace the RepositoryContainer with the ExtensibilityContainer class, which was pretty much a straight-forward swap. Since 4.2, the default class is now the TenantRepositoryContainer and there is no direct alternative to it that can handle extensibility.
The way the TenantRepositoryContainer is hooked in also means that you can only override it in a custom-web-context.xml (in extension directory) and not with any other custom Spring XML file. If you do not use multi-tenancy it appears safe to activate extensibility that way…
We have written our own web script container that extends from the tenant-aware container so we don't have to choose between extensibility and multi-tenancy.
Regards
Axel