[xwiki-users] Problems logigging in
Sorry, me again... I wanted to login with with the default credeitials (Admin/admin), however, XWiki tells me "Invalid credentials". I've just imported the default pages, configuration is vanilla out-of-the-box - any clues anyone? TIA Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
hm, maybe this information might be helpful to identify the problem: I'm getting the following exceptions when trying to login: 2010-03-05 19:35:25,511 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 0 (max: 50) idle: 2(max: 5) 2010-03-05 19:35:25,560 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 1 (max: 50) idle: 1(max: 5) 2010-03-05 19:35:25,561 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 0 (max: 50) idle: 2(max: 5) 2010-03-05 19:35:31,473 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 1 (max: 50) idle: 1(max: 5) 2010-03-05 19:35:31,475 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 0 (max: 50) idle: 2(max: 5) 2010-03-05 19:35:31,475 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 1 (max: 50) idle: 1(max: 5) 2010-03-05 19:35:31,477 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 0 (max: 50) idle: 2(max: 5) 2010-03-05 19:35:31,477 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: User Admin login has failed 2010-03-05 19:35:31,499 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 1 (max: 50) idle: 1(max: 5) 2010-03-05 19:35:31,500 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiDocument#-283750366] at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:675) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:289) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1390) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1444) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1462) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.isSuperUser(XWikiRightServiceImpl.java:886) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:629) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:311) at com.xpn.xwiki.api.Api.hasAccessLevel(Api.java:102) at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1751) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:740) at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1718) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:740) at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1751) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:148) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) at java.lang.Thread.run(Thread.java:595) weird, somehow... cheers gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
hi there, found out what the problem was. so in case anyone else is caught in the same pitfall, here's the receipe to avoid the hassel: - precondition: you're installing xwiki as a war-file being deployed in your servlet-container in the docs is mentioned, that you have to use the import/export-tool to import the xwkiki-default-pages. however, to do so, you must be logged-in which obviously does not work without the default-pages being imported. solution: - enable the superuser-account, then import the default pages - go to the user-management and set the password for the Admin-user - disable the superuser-account (security!) - restart xwiki - login as Admin hope this helps somebody in the future when browsing the archives of this list cheers gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
On Mar 8, 2010, at 2:23 PM, 2smart4u wrote:
hi there,
found out what the problem was.
so in case anyone else is caught in the same pitfall, here's the receipe to avoid the hassel:
- precondition:
you're installing xwiki as a war-file being deployed in your servlet-container
in the docs is mentioned, that you have to use the import/export-tool to import the xwkiki-default-pages.
however, to do so, you must be logged-in which obviously does not work without the default-pages being imported.
Actually you don't have to be logged in (unless a regression was introduced recently). I've always imported without being logged in in the past. Thanks -Vincent
solution:
- enable the superuser-account, then import the default pages
- go to the user-management and set the password for the Admin-user
- disable the superuser-account (security!)
- restart xwiki
- login as Admin
hope this helps somebody in the future when browsing the archives of this list
cheers
gregor --
On Mon, Mar 8, 2010 at 2:51 PM, Vincent Massol <[email protected]> wrote:
Actually you don't have to be logged in (unless a regression was introduced recently). I've always imported without being logged in in the past.
I don't know what magic you're doing, but seems I'm not the only one having made that experience: ======== [ cut ]========= Default administrator login after installation is: Username: Admin ('A' capitalized, not: admin or Administrator) Password: admin (all lowercase) This user is not available if you just deploy the .war on tomcat or jetty; You must also import the xwiki-1.0-beta-1.xar.xar into your XWiki instance. In which case you might need to know how to enable the superadmin user: (http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIGetBackAdminRightsWhenIDelete...) ======== [ cut ]========= Source: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HFailuretol... Cheers Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
On Mar 8, 2010, at 3:03 PM, 2smart4u wrote:
On Mon, Mar 8, 2010 at 2:51 PM, Vincent Massol <[email protected]> wrote:
Actually you don't have to be logged in (unless a regression was introduced recently). I've always imported without being logged in in the past.
I don't know what magic you're doing, but seems I'm not the only one having made that experience:
======== [ cut ]========= Default administrator login after installation is: Username: Admin ('A' capitalized, not: admin or Administrator) Password: admin (all lowercase)
This user is not available if you just deploy the .war on tomcat or jetty; You must also import the xwiki-1.0-beta-1.xar.xar into your XWiki instance. In which case you might need to know how to enable the superadmin user: (http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIGetBackAdminRightsWhenIDelete...) ======== [ cut ]=========
Source: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HFailuretol...
The Admin user is imported when you import the default XE XAR. When you install a wiki with an empty database the security system is not in place and the user not logged in can perform an import. Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3). Thanks and sorry about the problem -Vincent
Cheers
Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
On Mon, Mar 8, 2010 at 3:30 PM, Vincent Massol <[email protected]> wrote:
Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3).
Thanks and sorry about the problem
well, no problem, at least there's a workaround importing the stuff as the superadmin cheers gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
I cannot repeat your trouble either, verified with 2.1.2 2.2.1 2.2.2 and 2.3 trunk My process is start xwiki, mouse over upper left corner where it says "xwiki", observe dropdown menu click "administration", follow steps to import package. My installation is jetty with postgres and mysql Maybe you changed something in xwiki, or have javascript turned off in your browser? Caleb 2smart4u wrote:
On Mon, Mar 8, 2010 at 3:30 PM, Vincent Massol <[email protected]> wrote:
Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3).
Thanks and sorry about the problem
well, no problem, at least there's a workaround importing the stuff as the superadmin
cheers
gregor
On Wed, Mar 10, 2010 at 7:06 PM, Caleb James DeLisle <[email protected]> wrote:
I cannot repeat your trouble either, verified with 2.1.2 2.2.1 2.2.2 and 2.3 trunk My process is start xwiki, mouse over upper left corner where it says "xwiki", observe dropdown menu click "administration", follow steps to import package.
My installation is jetty with postgres and mysql Maybe you changed something in xwiki, or have javascript turned off in your browser?
"either"? you're aware that Vincent confirmed the behaviour / bug for 2.2.1?
On Mon, Mar 8, 2010 at 3:30 PM, Vincent Massol <[email protected]> wrote:
The Admin user is imported when you import the default XE XAR. When you install a wiki with an empty database the security system is not in place and the user not logged in can perform an import.
Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3).
Thanks and sorry about the problem -Vincent
Don't know if it's fixed in the latest stable release 2.2.2, maybe there's a Jira-entry for this? Cheers Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
On Thu, Mar 11, 2010 at 6:46 PM, 2smart4u <[email protected]> wrote:
On Wed, Mar 10, 2010 at 7:06 PM, Caleb James DeLisle <[email protected]> wrote:
I cannot repeat your trouble either, verified with 2.1.2 2.2.1 2.2.2 and 2.3 trunk My process is start xwiki, mouse over upper left corner where it says "xwiki", observe dropdown menu click "administration", follow steps to import package.
My installation is jetty with postgres and mysql Maybe you changed something in xwiki, or have javascript turned off in your browser?
"either"?
you're aware that Vincent confirmed the behaviour / bug for 2.2.1?
Nope, what is below is different and is not related to logging in (it's only related to importing docs that require programming rights). Thanks -Vincent
On Mon, Mar 8, 2010 at 3:30 PM, Vincent Massol <[email protected]> wrote:
The Admin user is imported when you import the default XE XAR. When you install a wiki with an empty database the security system is not in place and the user not logged in can perform an import.
Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3).
Thanks and sorry about the problem -Vincent
Don't know if it's fixed in the latest stable release 2.2.2, maybe there's a Jira-entry for this?
Cheers
Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
2smart4u -
Caleb James DeLisle -
Vincent Massol