[xwiki-users] Problem with login in version 2.4
Hi All, I am upgrading from a XWiki Enterprise 2.1.1.25889 to a XWiki Enterprise 2.4.30451. I am having this problem when login, and I don't know how to solve. I just log, and then I get back to the screen, but the log-in link is still on the right corner, and it seems I am not logged in. Here comes the log: 2010-09-01 11:11:23,447 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/loginsubmit/XWik...] [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/loginsubmit/XWik...] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB 2010-09-01 11:11:23,447 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/loginsubmit/XWik...] [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/loginsubmit/XWik...] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication succeed with principal [XWiki.Admin] 2010-09-01 11:11:23,478 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] WARN xwiki.MyPersistentLoginManager - Login cookie validation hash mismatch! Cookies have been tampered with 2010-09-01 11:11:23,478 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] WARN xwiki.MyPersistentLoginManager - Login cookie validation hash mismatch! Cookies have been tampered with 2010-09-01 11:11:23,478 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] TRACE LDAP.XWikiLDAPAuthServiceImpl - Starting LDAP authentication 2010-09-01 11:11:23,478 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] DEBUG LDAP.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. I think the problema is with the cookies, i've been googling and nothing workde for me. The problema it is that righ now I am completely unable to log in, even with the superadmin. ¿Any help? Regards, Francisco -- Francisco Hernández Cuchí ________________________________ Oficina Española de Patentes y Marcas ********************************************************************************************** Este mensaje y los ficheros adjuntos pueden contener información confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente pueden estar protegidos por secreto profesional. Si usted recibe este correo electrónico por error, gracias por informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, la Oficina Española de Patentes y Marcas no se hace responsable por su contenido. Su contenido no constituye ningún compromiso para la Oficina Española de Patentes y Marcas. salvo ratificación escrita por ambas partes. Aunque se esfuerza al máximo por mantener su red libre de virus, el emisorno puede garantizar nada al respecto y no será responsable de cualesquieradaños que puedan resultar de una transmisión de virus. **********************************************************************************************
Hi, Do you have modified the xwiki.authentication.validationKey and encryptionKey in your xwiki.cfg file ? An other way may be to deleted the cookies stored by your browser. Hope this help. Regards, Maxime
I hadn't modify it, and deleting the cookies do not solve the problem. I tried with diferent brownsers and computes with no results. I ran the previous versión on weblogic and oracle with no problema. I also get this error when loading the wiki, but i think it has nothig to do with. With the encrypted cookies, I cannot see the content of the cookie in order to check for errors in the cookie. Is there any configuration way to solve it? Here the error. 2010-09-01 12:00:00,090 [http://localhost:7001/xwiki-enterprise-web-2.4/bin/view/Main/] [DefaultQuartzScheduler_Worker-2] ERROR atchlist.WatchListEventMatcher - Failed to retrieve updated documents from activity stream 2010-09-01 12:00:00,231 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] [DefaultQuartzScheduler_Worker-1] ERROR atchlist.WatchListEventMatcher - Failed to retrieve updated documents from activity stream 2010-09-01 12:00:00,325 [http://localhost:7001/xwiki-enterprise-web-2.4/bin/view/Main/] [DefaultQuartzScheduler_Worker-2] ERROR rnal.DefaultObservationManager - Fail to send event [org.xwiki.observation.event.DocumentUpdateEvent@11a2fa4] to listener [com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl@127f9bc] org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addActivityEvent(ActivityStreamImpl.java:295) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:390) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:368) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:894) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1439) at com.xpn.xwiki.plugin.watchlist.WatchListJob.setPreviousFireTime(WatchListJob.java:170) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:240) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) -----Mensaje original----- De: [email protected] [mailto:[email protected]] En nombre de Maxime Mathieu Enviado el: miércoles, 01 de septiembre de 2010 11:55 Para: XWiki Users Asunto: Re: [xwiki-users] Problem with login in version 2.4 Hi, Do you have modified the xwiki.authentication.validationKey and encryptionKey in your xwiki.cfg file ? An other way may be to deleted the cookies stored by your browser. Hope this help. Regards, Maxime _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users Oficina Española de Patentes y Marcas ********************************************************************************************** Este mensaje y los ficheros adjuntos pueden contener información confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente pueden estar protegidos por secreto profesional. Si usted recibe este correo electrónico por error, gracias por informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, la Oficina Española de Patentes y Marcas no se hace responsable por su contenido. Su contenido no constituye ningún compromiso para la Oficina Española de Patentes y Marcas. salvo ratificación escrita por ambas partes. Aunque se esfuerza al máximo por mantener su red libre de virus, el emisorno puede garantizar nada al respecto y no será responsable de cualesquieradaños que puedan resultar de una transmisión de virus. **********************************************************************************************
Hello Hernández, Regarding the error, make sure you have <mapping resource="activitystream.hbm.xml"/> in your hibernate.cfg.xml file, older versions didn't have have it. Caleb Hernández Cuchí wrote:
I hadn't modify it, and deleting the cookies do not solve the problem. I tried with diferent brownsers and computes with no results. I ran the previous versión on weblogic and oracle with no problema.
I also get this error when loading the wiki, but i think it has nothig to do with. With the encrypted cookies, I cannot see the content of the cookie in order to check for errors in the cookie. Is there any configuration way to solve it?
Here the error.
2010-09-01 12:00:00,090 [http://localhost:7001/xwiki-enterprise-web-2.4/bin/view/Main/] [DefaultQuartzScheduler_Worker-2] ERROR atchlist.WatchListEventMatcher - Failed to retrieve updated documents from activity stream 2010-09-01 12:00:00,231 [http://192.168.88.1:7001/xwiki%2Denterprise%2Dweb%2D2.4/bin/view/Main/] [DefaultQuartzScheduler_Worker-1] ERROR atchlist.WatchListEventMatcher - Failed to retrieve updated documents from activity stream 2010-09-01 12:00:00,325 [http://localhost:7001/xwiki-enterprise-web-2.4/bin/view/Main/] [DefaultQuartzScheduler_Worker-2] ERROR rnal.DefaultObservationManager - Fail to send event [org.xwiki.observation.event.DocumentUpdateEvent@11a2fa4] to listener [com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl@127f9bc] org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addActivityEvent(ActivityStreamImpl.java:295) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:390) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:368) at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:894) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1439) at com.xpn.xwiki.plugin.watchlist.WatchListJob.setPreviousFireTime(WatchListJob.java:170) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:240) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
-----Mensaje original----- De: [email protected] [mailto:[email protected]] En nombre de Maxime Mathieu Enviado el: miércoles, 01 de septiembre de 2010 11:55 Para: XWiki Users Asunto: Re: [xwiki-users] Problem with login in version 2.4
Hi,
Do you have modified the xwiki.authentication.validationKey and encryptionKey in your xwiki.cfg file ? An other way may be to deleted the cookies stored by your browser.
Hope this help. Regards, Maxime _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Oficina Española de Patentes y Marcas ********************************************************************************************** Este mensaje y los ficheros adjuntos pueden contener información confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente pueden estar protegidos por secreto profesional. Si usted recibe este correo electrónico por error, gracias por informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, la Oficina Española de Patentes y Marcas no se hace responsable por su contenido. Su contenido no constituye ningún compromiso para la Oficina Española de Patentes y Marcas. salvo ratificación escrita por ambas partes. Aunque se esfuerza al máximo por mantener su red libre de virus, el emisorno puede garantizar nada al respecto y no será responsable de cualesquieradaños que puedan resultar de una transmisión de virus.
**********************************************************************************************
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Caleb James DeLisle -
Hernández Cuchí, Francisco Ricardo -
Maxime Mathieu