All pastes #921957 Raw Edit

Xwiki log outputs - cannot login

public text v1 · immutable
#921957 ·published 2008-02-28 14:31 UTC
rendered paste body
I've posted a more detailed problem description here for your perusal. 


Problem:
It's impossible to login or create new users. The superadmin account does not work. Logging in with superadmin does not give any "wrong password/wrong username" messages, but the log-in still fails, since the log-in link remains in the upper -right corner. Clearing cookies at the browser does not help.

I tried using postgresql instead, with identical results.

If I import the default wiki xar, the administration link in the upper right hand disappears. Logging in remains impossible.



Installation steps taken so far:

Container installation:
Download Tomcat 6.0.16
extract said container to /opt/apache-tomcat-6.0.16/

Download xwiki-enterprise-1.2.1 war.
Extract war into webapps.

Setup mysql

mysql -u root -e "create database xwiki"
mysql -u root -e "grant all privileges on xwiki.* to xwiki@127.0.0.1 identified by 'xwiki'"

Download mysql connector jar into WEB-INF/lib
uncomment mysql section from hibernate config
uncomment superadmin line from xwiki.cfg

run /opt/apache-tomcat-6.0.16/bin/startup.sh





Logfile output follows. I can find nothing of interest in these.




catalina.out:
Feb 8, 2008 10:00:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin:
/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin/classic:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr3/jre/bin:/usr/lib
Feb 8, 2008 10:00:08 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8085
Feb 8, 2008 10:00:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 752 ms
Feb 8, 2008 10:00:08 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 8, 2008 10:00:08 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Feb 8, 2008 10:00:08 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xwiki-enterprise-web-1.2.1.war
Feb 8, 2008 10:00:08 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.xpn.xwiki.web.InitializationServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:08 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.xwiki.plexus.XWikiPlexusServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:10 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:10 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:11 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.xpn.xwiki.web.InitializationServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:11 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.xwiki.plexus.XWikiPlexusServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:12 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.xpn.xwiki.web.InitializationServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:12 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.xwiki.plexus.XWikiPlexusServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Feb 8, 2008 10:00:13 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8085
Feb 8, 2008 10:00:13 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 8, 2008 10:00:13 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/14  config=null
Feb 8, 2008 10:00:13 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5140 ms
2008-02-08 22:00:50,032 [http://www.example.net:8085/xwiki/bin/view/Main/] [http-8085-1] INFO  .AbstractXWikiMigrationManager  - No storage migration required since current version is [6431]
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!
Feb 8, 2008 10:01:55 PM org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Invalid chunk ignored.
2008-02-08 22:02:10,319 [http://www.example.net:8085/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] [http-8085-4] WARN  doc.XWikiDocument               - Failed to display
field [content] in [view] mode for Object [XWiki.XWikiPreferences]
2008-02-08 22:02:10,320 [http://www.example.net:8085/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] [http-8085-4] WARN  doc.XWikiDocument               - Failed to display
field [content] in [view] mode for Object [XWiki.XWikiPreferences]
2008-02-08 22:02:10,321 [http://www.example.net:8085/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] [http-8085-4] WARN  doc.XWikiDocument               - Failed to display
field [content] in [view] mode for Object [XWiki.XWikiPreferences]
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!



localhost.log:
Feb 8, 2008 10:00:09 PM org.apache.catalina.core.ApplicationContext log
INFO: Loading plexus context properties from: '/WEB-INF/plexus.properties'
Feb 8, 2008 10:00:09 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Plexus.
Feb 8, 2008 10:00:09 PM org.apache.catalina.core.ApplicationContext log
INFO: resource = jndi:/localhost/xwiki-enterprise-web-1.2.1/WEB-INF/plexus.xml
Feb 8, 2008 10:00:09 PM org.apache.catalina.core.ApplicationContext log
INFO: Plexus initialized.
Feb 8, 2008 10:00:10 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Feb 8, 2008 10:00:10 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Feb 8, 2008 10:00:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Loading plexus context properties from: '/WEB-INF/plexus.properties'
Feb 8, 2008 10:00:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Plexus.
Feb 8, 2008 10:00:11 PM org.apache.catalina.core.ApplicationContext log
INFO: resource = jndi:/localhost/xwiki/WEB-INF/plexus.xml
Feb 8, 2008 10:00:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Plexus initialized.
Feb 8, 2008 10:00:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Loading plexus context properties from: '/WEB-INF/plexus.properties'
Feb 8, 2008 10:00:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Plexus.
Feb 8, 2008 10:00:12 PM org.apache.catalina.core.ApplicationContext log
INFO: resource = jndi:/localhost/xwiki2/WEB-INF/plexus.xml
Feb 8, 2008 10:00:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Plexus initialized.




xwiki.log:
2008-02-08 22:00:50,032 [http://www.example.net:8085/xwiki/bin/view/Main/] [http-8085-1] INFO  .AbstractXWikiMigrationManager  - No storage migration required since current version is [6431]
2008-02-08 22:02:10,319 [http://www.example.net:8085/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] [http-8085-4] WARN  doc.XWikiDocument               - Failed to display
field [content] in [view] mode for Object [XWiki.XWikiPreferences]
2008-02-08 22:02:10,320 [http://www.example.net:8085/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] [http-8085-4] WARN  doc.XWikiDocument               - Failed to display
field [content] in [view] mode for Object [XWiki.XWikiPreferences]
2008-02-08 22:02:10,321 [http://www.example.net:8085/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] [http-8085-4] WARN  doc.XWikiDocument               - Failed to display
field [content] in [view] mode for Object [XWiki.XWikiPreferences]