com.day.cq.contentbus.ContentBusException: javax.naming.NoInitialContextException

Problème

Une erreur se produit dans vos journaux d’occurrence, comme suit :

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

Configurez le defaultinitialcontext initial dans /bootstrap/resource.xml et redémarrez votre instance.

Informations supplémentaires

Cette erreur se produit lorsque defaultinitialcontext n’est pas configuré dans /bootstrap/resource.xml.

 Adobe

Recevez de l’aide plus rapidement et plus facilement

Nouvel utilisateur ?