Posts in Category "Connectors"

CQ5: NoInitialContextException: Cannot instantiate class: com.day.util.jndi.provider.MemoryInitialContextFactory

Issue

If you have installed the Sharepoint connector for CQ5 you may encounter the following exception in the log:

*ERROR* [FelixStartLevel] com.day.crx.spi.sharepoint.osgi.impl.SharepointRepositoryImpl Failed to bind repository to JNDI: crx2sharepoint.repository javax.naming.NoInitialContextException: Cannot instantiate class: com.day.util.jndi.provider.MemoryInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.day.util.jndi.provider.MemoryInitialContextFactory]
at com.day.commons.simplejndi.impl.InitialContextProxy.getInitialContext(InitialContextProxy.java:75)
at com.day.commons.simplejndi.impl.InitialContextProxy.getDefaultInitCtx(InitialContextProxy.java:121)
at com.day.commons.simplejndi.impl.InitialContextProxy.getURLOrDefaultInitCtx(InitialContextProxy.java:116)
at com.day.commons.simplejndi.impl.InitialContextProxy.rebind(InitialContextProxy.java:146)
at javax.naming.InitialContext.rebind(InitialContext.java:408)
at com.day.crx.spi.sharepoint.osgi.impl.SharepointRepositoryImpl.registerJNDI(SharepointRepositoryImpl.java:532)
at com.day.crx.spi.sharepoint.osgi.impl.SharepointRepositoryImpl.activate(SharepointRepositoryImpl.java:283)

Reason

This error occurs if you are attempting to configure the Sharepoint connector to connect to Sharepoint 2010.  The Sharepoint connector (currently version 2.0.4) does not support Sharepoint 2010 at the moment.

Ensure you have read the instructions to install and configure the Sharepoint connector from the documentation:

http://dev.day.com/docs/en/crx/connectors/sharepoint/current.html

Solution

Support for Sharepoint 2010 will be added in a later version of the Sharepoint connector.

reference: (35371/CON-737)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 7.0/10 (2 votes cast)