Hi Carsten,

Am Freitag, den 28.12.2007, 11:51 +0000 schrieb [EMAIL PROTECTED]:
> Use reflection to check for method of jackrabbit node type manager as the 
> instanceof is failing in some cases.
> This is a workaround until the real problem has been found/solved.

Hmm, the only reason I could think of why the instanceof check would
fail, if the interface class object (JackrabbitNodeTypeManager) used in
the instaneceof check is not the same as the interface class object
referred to by the runtime class of the ntm object being checked.

This is a serious problem and hints at some classloading and declaration
issues. 

Are you seeing this when running Sling as a web application in a Servlet
Container having the Jackrabbit API classes in a shared (e.g. container)
class loader ? Could it be that Sling is thus not using the serlvet
container provided class but the one provided by the jcr/api bundle ?

Regards
Felix


Reply via email to