Technote (troubleshooting)
Problem(Abstract)
When attempting to create a group using IBM® WebSphere® Portal, you receive an "EJPSG0015E: Data Backend Problem" error. The details show that this is caused by the LDAP server returning an error code 65 (object class violation).
Symptom
SystemOut.log will contain:
... WSMM Message E com.ibm.ws.wmm.ldap.LdapRepositoryImpl void create(String DN, Attributes attributes) The following Naming Exception occured during processing: "javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation]; remaining name 'cn=testgroupname,o=ibm'; resolved object com.sun.jndi.ldap.LdapCtx@28da7087".
... CreateGroupCo E com.ibm.wps.command.puma.CreateGroupCommand AbstractCommand.throwCommandFailedException EJPEB0003E: CreateGroupCommand.execute: An exception occurred.
com.ibm.wps.util.DataBackendException: EJPSG0015E: Data Backend Problem
...
Caused by: com.ibm.websphere.wmm.exception.WMMSystemException: The following Naming Exception occured during processing: "javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation]; remaining name 'cn=testgroupname,o=ibm'; resolved object com.sun.jndi.ldap.LdapCtx@28da7087". at com.ibm.ws.wmm.ldap.LdapRepositoryImpl.create(LdapRepositoryImpl.java:107)
Resolving the problem
Refer to the 'LDAP: error code ...' technote in the related information below which explains that the LDAP server generates the error code 65. Consult with your LDAP administrator to troubleshoot the failure from an LDAP perspective.
You may have to update the WebSphere Member Manager (WMM) configuration to resolve the problem. For example, this error can occur when attempting to create a group in IBM Tivoli Directory Server (ITDS) using the objectClass accessGroup. Consider the case where wmm.xml contains:
<supportedLdapEntryType name="Group" rdnAttrTypes="cn" objectClassesForRead="accessGroup" objectClassesForWrite="accessGroup" searchBases="o=ibm"/>
and wmmLDAPServerAttributes.xml contains:
<attributeMap wmmAttributeName="groupMember" pluginAttributeName="uniqueMember" applicableMemberTypes="Group" dataType="String" valueLength="1024" multiValued="true" defaultValue="uid=dummy"/>
If you enable the traces recommended in the WebSphere Member Manager MustGather and attempt to create a group in WebSphere Portal, you will see the following in trace.log:
.WMM Trace Log > com.ibm.ws.wmm.ldap.LdapConnectionImpl DirContext createSubcontext(Name name, Attributes attrs) Entry cn=testgroupname,o=ibm {objectclass=objectClass: accessgroup, uniquemember=uniquemember: uid=dummy, cn=cn: testgroupname}
...
WSMM Message E com.ibm.ws.wmm.ldap.LdapRepositoryImpl void create(String DN, Attributes attributes) The following Naming Exception occured during processing: "javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object Class Violation]; remaining name 'cn=testgroupname,o=ibm'; resolved object com.sun.jndi.ldap.LdapCtx@1faad592"
This failure occurs because the definition of the accessGroup object class does not include uid and uniquemember attributes:
accessgroup :
{
1.3.18.0.2.6.75
NAME 'accessGroup'
DESC 'A group that is used for access control.'
SUP top STRUCTURAL
MUST cn
MAY (businessCategory $ description $ member $ o $ ou $ owner $ seeAlso)
}
Therefore, to correct the problem you have two options. If your LDAP server is configured such that a defaultValue is required for member (see "Mapping LDAP Attributes" link below), then you must update wmmLDAPServerAttributes.xml replacing the entry for wmmAttributeName="groupMember" with (changing pluginAttributeName and defaultValue):
<attributeMap wmmAttributeName="groupMember" pluginAttributeName="member" applicableMemberTypes="Group" dataType="String" valueLength="1024" multiValued="true" defaultValue="cn=dummy"/>
If your LDAP server does not require a defaultValue, you could use the following instead:
<attributeMap wmmAttributeName="groupMember" pluginAttributeName="member" applicableMemberTypes="Group" dataType="String" valueLength="1024" multiValued="true"/>
Use the check-out/check-in procedure to update the WMM configuration if running in a cluster. Restart WebSphere Portal to read the updated WMM configuration.
Related information
'LDAP: error code ...' messages
WMM MustGather
Mapping LDAP Attributes
路過--你好嗎..很棒的BLOG.........................................
ตอบลบthank for share, it is very important . ̄︿ ̄
ตอบลบ鴛鴦吧成人影片免費av成人電影線上免費成人網gogo成人影片a成人短片歐美性愛免費片歐美性愛網歐美性愛寫真歐美情色區歐美情色影片放映區歐美模特兒貼圖歐美模特兒圖歐美線上色情片歐美線上電影歐美線上論壇歐美整外潮吹影片免費看線上下載無碼遙瑤熊貓列表熊貓貼圖站熊貓貼圖區區熊貓貼?熊貓圖片網熊貓圖貼區熊貓影片瘋情網路色情電影網路色情電影觀賞網路看片小遊戲下載區視訊美女館情色a片美女遊戲
ตอบลบ愛情不是慈善事業,不能隨便施捨。...............................................................
ตอบลบ北台灣視訊aio34c正妹 69成人網 080視訊聊天室iww 線上免費看成人片 百分百成人圖片 辣妹妹影音視訊聊天室 視訊交友551281 kk 視訊聊天室 免費a片 sex-情色視訊 夜未眠成人影城 視訊聊天網 aaa片免費看短片 正妹交友go uouo 視訊聊天交友 hi5 tv免費影片 av女優王國 546視訊聊天室 免費影音視訊聊天室 ut 視訊聊天室 sex story,辣妹影片直播 hilive成人情色網 線上a長片 美眉脫內衣影片 sex888入口aio甜心寶貝直播貼片 彩虹免費av影片 亞洲東洋視訊辣妹影片 視訊交友網fm358 love104 影音城 qk999成人論壇 免費視訊gogo 拓網學生族視訊777美女 免費成人影片sex,av女優 a 免費影片觀賞 免費視訊topchurch 免費線上 aa 片試看85CC 高雄援交本土自拍天堂 成人視訊elove 臺灣情色網hilive tv 546 視訊聊天室 線上免費av影片 視訊ggoo xvediox松島楓免費影片 免費聊天室 aa影音視訊聊天室 一對多視訊免費視訊辣妹 j 我愛 78 論壇 免費 a 片 兼職援交 免費a自拍偷拍g世代論壇
ตอบลบ您的部落格文章真棒!!有空我一定會常來逛!! ........................................
ตอบลบ婚姻對男人來說是賭他的自由,對女人而言卻是賭她的幸福。..................................................
ตอบลบWhat must be must be. ............................................................
ตอบลบ果然很有意思呀....這當然要頂一頂呀.................................................................
ตอบลบ在莫非定律中有項笨蛋定律:「一個組織中的笨蛋,恆大於等於三分之二。」....................................................................
ตอบลบPoverty is stranger to industry.................................................................
ตอบลบ人生是故事的創造與遺忘。............................................................
ตอบลบ認清問題就等於已經解決了一半的問題。.................................................................
ตอบลบ來給你加油打氣!!!保重!!!.......................................................
ตอบลบ偶爾上來逛逛,下次不知是否還有緣再進來,先祝您平安順利!!!............................................................
ตอบลบ寫文章需要心情~~期待你再一次的好文章............................................................
ตอบลบ這是一篇來自遙遠的78星雲的留言!要開心哦!............................................................
ตอบลบ死亡是悲哀的,但活得不快樂更悲哀。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ตอบลบ男女互悅,未必廝守終生,相愛就是美的。.................................................................
ตอบลบ臨淵羨魚,不如退而結網。............................................................
ตอบลบ「仁慈」二個字,就能讓冬天三個月都溫暖。..................................................
ตอบลบActions speak louder than words.............................................................
ตอบลบ噴泉的高度,不會超過它的源頭。一個人的事業也是如此,它的成就絕不會超過自己的信念。............................................................
ตอบลบ在你一無所有的時候 是誰在陪伴你 他便是你最重要的人............................................................
ตอบลบEvery why has a wherefore.............................................................
ตอบลบNever put off till tomorrow what may be done today.......................................................................
ตอบลบ良好的開端,已是成功的一半。..................................................
ตอบลบ安安唷~~幸運的日子送給妳(你)滿滿的幸福,也祝福你天天都開心唷............................................................
ตอบลบ人生有些波折,才能有些成長,所以不論順逆,凡是成長、成功的助緣,都應該心存感激。.................................................
ตอบลบ好文章就值得回響,如果可以常常看到您的更新,應該是件很幸福的事情~~...............................................................
ตอบลบ^^ 謝謝你的分享,祝你生活永遠多彩多姿!............................................................
ตอบลบ這一生中有多少人擦肩而過?而朋友是多麼可貴啊!......................................................................
ตอบลบ