03-08-2012 06:59 AM
Hello everybody,
I am evaluating the Nuxeo Platform, and after looking at the Document and Content Management module, I tried to enable the Case Management module. I got a message that some other modules would be uninstalled and the server needs to be restarted. So I stopped the server and then tried to start it again, but now I cannot login to the application. When I start it through the Control Panel application I get the following message:
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 2 / Unstarted: 0 / Total: 428
* service:org.nuxeo.cm.faceted.search.contrib requires [service:org.nuxeo.ecm.platform.faceted.search.dm.contentviews, service:org.nuxeo.ecm.platform.faceted.search.dm.layouts]
* service:org.nuxeo.ecm.social.collaboration.config requires [service:org.nuxeo.ecm.social.user.relationship.layout]
======================================================================
And when I try to login I get this message in the server.log:
java.lang.RuntimeException: Unknown user directory userDirectory
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.setUserDirectoryName(UserManagerImpl.java:218)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.setConfiguration(UserManagerImpl.java:199)
at org.nuxeo.ecm.platform.usermanager.UserService.recomputeUserManager(UserService.java:104)
at org.nuxeo.ecm.platform.usermanager.UserService.getUserManager(UserService.java:49)
at org.nuxeo.ecm.platform.usermanager.UserService.getAdapter(UserService.java:111)
at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.getAdapter(ComponentInstanceImpl.java:245)
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.getService(ComponentManagerImpl.java:228)
at org.nuxeo.runtime.AbstractRuntimeService.getService(AbstractRuntimeService.java:272)
at org.nuxeo.runtime.api.Framework.getLocalService(Framework.java:163)
at org.nuxeo.runtime.api.ServiceManager.getService(ServiceManager.java:127)
at org.nuxeo.runtime.api.Framework.getService(Framework.java:143)
at org.nuxeo.ecm.platform.login.NuxeoLoginModule.initialize(NuxeoLoginModule.java:86)
at org.nuxeo.runtime.api.LoginModuleWrapper.initialize(LoginModuleWrapper.java:72)
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)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
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:996)
at org.nuxeo.ecm.platform.scheduler.core.EventJob.execute(EventJob.java:85)
at org.nuxeo.ecm.platform.scheduler.core.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: org.nuxeo.ecm.directory.DirectoryException: no directory registered with name 'userDirectory'
at org.nuxeo.ecm.directory.DirectoryServiceImpl.getDirectoryOrFail(DirectoryServiceImpl.java:162)
at org.nuxeo.ecm.directory.DirectoryServiceImpl.getDirectoryOrFail(DirectoryServiceImpl.java:154)
at org.nuxeo.ecm.directory.DirectoryServiceImpl.getDirectorySchema(DirectoryServiceImpl.java:256)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.setUserDirectoryName(UserManagerImpl.java:215)
... 27 more
2012-03-08 12:30:00,006 ERROR [org.nuxeo.ecm.platform.login.NuxeoLoginModule] createIdentity failed
org.nuxeo.ecm.directory.DirectoryException: no directory registered with name 'userDirectory'
at org.nuxeo.ecm.directory.DirectoryServiceImpl.getDirectoryOrFail(DirectoryServiceImpl.java:162)
at org.nuxeo.ecm.directory.DirectoryServiceImpl.open(DirectoryServiceImpl.java:275)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getUserModel(UserManagerImpl.java:1236)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getPrincipal(UserManagerImpl.java:1274)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getPrincipal(UserManagerImpl.java:552)
at org.nuxeo.ecm.platform.login.NuxeoLoginModule.createIdentity(NuxeoLoginModule.java:299)
at org.nuxeo.ecm.platform.login.NuxeoLoginModule.validateUserIdentity(NuxeoLoginModule.java:359)
at org.nuxeo.ecm.platform.login.NuxeoLoginModule.getPrincipal(NuxeoLoginModule.java:209)
at org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:262)
at org.nuxeo.runtime.api.LoginModuleWrapper.login(LoginModuleWrapper.java:77)
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)
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:996)
at org.nuxeo.ecm.platform.scheduler.core.EventJob.execute(EventJob.java:85)
at org.nuxeo.ecm.platform.scheduler.core.EventJob.execute(EventJob.java:59)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
and the following message in console.log:
2012-03-08 12:45:26,348 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'damcollaboration' not found with relative or absolute path (/opt/nuxeo-cap-5.5-tomcat/templates/damcollaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
I'm using the Nuxeo Platform Tomcat bundle on Linux with Oracle for the database backend.
Can someone tell me what went wrong?
03-08-2012 07:22 AM
To answer my own question:
It seems that I hit this bug: NXP-8956.
So it seems that you cannot run the case management module in 5.5 with Oracle. Thanks to Anahide Tchertchian for the help
03-08-2012 07:08 AM
can you check if you have errors before in the log file? if userDirectory is not found, you may have an error before this one explaining why it was not deployed correctly (probably some kind of connection pb to the database).
03-08-2012 07:19 AM
You are correct, I hit bug https
03-08-2012 07:22 AM
To answer my own question:
It seems that I hit this bug: NXP-8956.
So it seems that you cannot run the case management module in 5.5 with Oracle. Thanks to Anahide Tchertchian for the help
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.