Issue

There is an error in your instance logs, similar to the following:

com.day.cq.contentbus.ContentBusException: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at com.day.cq.contentbus.importer.ldap.UserSynchronization.initDataSource(UserSynchronization.java:246) at com.day.cq.contentbus.importer.ldap.UserSynchronization.doInit(UserSynchronization.java:171) at com.day.cq.contentbus.importer.AbstractDriverSynchronization.init(AbstractDriverSynchronization.java:84) at com.day.cq.contentbus.importer.ldap.UserSynchronization.(UserSynchronization.java:158) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at com.day.mozilla.javascript.NativeJavaClass.constructSpecific(Unknown Source) at com.day.mozilla.javascript.NativeJavaClass.construct(Unknown Source) at com.day.mozilla.javascript.ScriptRuntime.newObject (Unknown Source) ...

Solution

Configure the initial defaultinitialcontext in /bootstrap/resource.xml, and restart your instance.

Additional information

This error occurs when defaultinitialcontext is not configured in /bootstrap/resource.xml.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책