We have configured Xwiki Enterprise 5.2.1 but in this LDAP group mapping is
not working.User is adding to XWikiAllGroup only.
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=XWikiAdminsGroup,ou=
wiki.geo.com,ou=Application
Access,ou=Structural,ou=geo,ou=Organizations,ou=Groups,dc=prime,dc=ds,dc=geo,dc=com|\
XWiki.XWikiWorkspaceUsersGroup=cn=XWikiWorkspaceUsersGroup,ou=wiki.geo.com,ou=Application
Access,ou=Structural,ou=geo,ou=Organizations,ou=Groups,dc=prime,dc=ds,dc=geo,dc=com
This setup was working fine in our earlier XWiki Enterprise Manager 5.1.
Some of the error log we are getting are as follows:
2013-11-26 13:18:36,408 [
http://192.168.1.101:8080/xwiki/bin/view/Main/?srid=wIv7dXoT] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in xwiki:Panels.Applications@6
,123
Also we tried to install extension LDAP Admin Application 5.2.1 but getting
an error as
Cannot invoke method getObject() on null object
class java.lang.NullPointerException: Cannot invoke method getObject() on
null object
at
org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at com.xpn.xwiki.doc.XWikiDocument$getObject.call(Unknown Source)
at AttachEventListener.onEvent(script1385462605858989708808.groovy:47)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:299)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:264)
at
org.xwiki.extension.xar.internal.handler.packager.DefaultPackager.importXARToWiki(DefaultPackager.java:194)
at
org.xwiki.extension.xar.internal.handler.packager.DefaultPackager.importXARToWiki(DefaultPackager.java:135)
at
org.xwiki.extension.xar.internal.handler.packager.DefaultPackager.importXAR(DefaultPackager.java:126)
at
org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:313)
at
org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:278)
at
org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85)
at
org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:181)
at
org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:138)
at
org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:92)
at
org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:144)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:138)
at
org.xwiki.job.internal.DefaultJobManager.runJob(DefaultJobManager.java:134)
at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:113)
at java.lang.Thread.run(Thread.java:701)
and after installing while accessing LDAP from Application there is no
fields to enter. Please see the attached image.
Currenly in our production we are running XWiki Enterprise Manager 5.1
(Installed using WAR) with out any issue and everything is working fine. As
XEM will not avaliavble further we are trying Xwiki Enterprise 5.2.1 in our
test environment. But we are facing the above issues. We installed Xwiki
Enterprise 5.2.1 using apt-get install xwiki-enterprise-tomcat7-mysql.
Also in our test environment we tried to upgrade XWiki Enterprise Manager
5.1 to Xwiki Enterprise 5.2.1 using war file but it was not working.
Can anyone please help us.