Note that there are some explanatory texts on larger screens.

plurals
  1. POWSO2 Identity Server 4.1.0: User store is operating in read only mode. Cannot write into the user store
    primarykey
    data
    text
    <p>I'm getting the following error when I start WSO2 Identity Server 4.1.0:</p> <pre><code>[2013-02-27 17:00:33,192] ERROR {org.wso2.carbon.identity.mgt.IdentityMgtEventListener} - Error while init identity listener org.wso2.carbon.user.core.UserStoreException: User store is operating in read only mode. Cannot write into the user store. at org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager.doSetUserClaimValue(ReadOnlyLDAPUserStoreManager.java:1293) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.setUserClaimValue(AbstractUserStoreManager.java:823) at org.wso2.carbon.identity.mgt.IdentityMgtEventListener.&lt;init&gt;(IdentityMgtEventListener.java:68) at org.wso2.carbon.identity.mgt.internal.IdentityMgtServiceComponent.activate(IdentityMgtServiceComponent.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) ... </code></pre> <p>That means that WSO2 is trying to write in the ldap, but i've configured it to be read only:</p> <pre><code>&lt;UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager"&gt; &lt;Property name="ReadOnly"&gt;true&lt;/Property&gt; &lt;Property name="MaxUserNameListLength"&gt;100&lt;/Property&gt; &lt;Property name="ConnectionURL"&gt;ldaps://xxxx:636&lt;/Property&gt; &lt;Property name="ConnectionName"&gt;uid=xxx,ou=xx,dc=xx,dc=xx,dc=x&lt;/Property&gt; &lt;Property name="ConnectionPassword"&gt;xxxxxx&lt;/Property&gt; &lt;Property name="passwordHashMethod"&gt;SHA&lt;/Property&gt; &lt;Property name="UserSearchBase"&gt;ou=xx,dc=x,dc=xx,dc=xx&lt;/Property&gt; &lt;Property name="UserNameListFilter"&gt;(objectClass=person)&lt;/Property&gt; &lt;Property name="UserNameAttribute"&gt;uid&lt;/Property&gt; &lt;Property name="ReadLDAPGroups"&gt;true&lt;/Property&gt; &lt;Property name="GroupSearchBase"&gt;ou=xx,dc=xx,dc=xx,dc=xx&lt;/Property&gt; &lt;Property name="GroupNameListFilter"&gt;(objectClass=posixGroup)&lt;/Property&gt; &lt;Property name="GroupNameAttribute"&gt;cn&lt;/Property&gt; &lt;Property name="MembershipAttribute"&gt;memberUid&lt;/Property&gt; &lt;Property name="UserRolesCacheEnabled"&gt;true&lt;/Property&gt; &lt;Property name="ReplaceEscapeCharactersAtUserLogin"&gt;true&lt;/Property&gt; &lt;Property name="maxFailedLoginAttempt"&gt;0&lt;/Property&gt; &lt;/UserStoreManager&gt; </code></pre> <p>Am I missing something?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload