cancel
Showing results for 
Search instead for 
Did you mean: 

Error in log : principal Administrator does not exist

delphine_
Star Contributor
Star Contributor

Hello,

we just change the server to use a more efficient but we now have an error in the log. We connected to a LDAP (it's ok) so I don't see where the problem. Thanks for your help !


2013-01-21 17:35:00,001 ERROR [org.nuxeo.ecm.platform.login.NuxeoLoginModule] createIdentity failed
javax.security.auth.login.LoginException: principal Administrator does not exist
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:300)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.validateUserIdentity(NuxeoLoginModule.java:358)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.getPrincipal(NuxeoLoginModule.java:210)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:261)
            at org.nuxeo.runtime.api.LoginModuleWrapper.login(LoginModuleWrapper.java:77)
            at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
            at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
            at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
            at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
            at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.loginAs(NuxeoAuthenticationFilter.java:1041)
            at org.nuxeo.ecm.platform.ui.web.auth.service.LoginAsImpl.loginAs(LoginAsImpl.java:32)
            at org.nuxeo.runtime.api.Framework.loginAsUser(Framework.java:289)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:94)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:59)
            at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
            at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 2013-
01-21 17:35:00,002 ERROR [org.nuxeo.ecm.core.scheduler.EventJob] Error while processing scheduled
event id: workManagerCleanup javax.security.auth.login.LoginException: createIdentity failed for
user Administrator
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:310)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.validateUserIdentity(NuxeoLoginModule.java:358)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.getPrincipal(NuxeoLoginModule.java:210)
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:261)
            at org.nuxeo.runtime.api.LoginModuleWrapper.login(LoginModuleWrapper.java:77)
            at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
            at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
            at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
            at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
            at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.loginAs(NuxeoAuthenticationFilter.java:1041)
            at org.nuxeo.ecm.platform.ui.web.auth.service.LoginAsImpl.loginAs(LoginAsImpl.java:32)
            at org.nuxeo.runtime.api.Framework.loginAsUser(Framework.java:289)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:94)
            at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:59)
            at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
            at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused
by: javax.security.auth.login.LoginException: principal Administrator does not exist
            at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:300)
            ... 20 more
4 REPLIES 4

Antoine_Cordier
Star Contributor
Star Contributor

Hello Delphine,

Maybe you should have a look at the extension

org.nuxeo.ecm.platform.usermanager.UserService" point="userManager"

Is this configuration ok ?

<defaultAdministratorId>uid_of_our_admin</defaultAdministratorId>

Hope this helps, Antoine

ron_1
Star Contributor
Star Contributor

delphine_
Star Contributor
Star Contributor

Thanks for your help.

I upgrade Nuxeo with hotfixes and all is OK !!!

Hi delphine,

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.