On Mon, Sep 20, 2010 at 11:10, Maxime Mathieu
<[email protected]> wrote:
> Trying to reproduce the issue encountered last week.
>
> The steps I follow :
> Fresh MySQL DB with max_allowed_packet=64M.
> Creation of the xwiki database and the xwiki user with the right privileges.
> 2.4 SNAPSHOT replace the xwiki directory of the default installation
> (xwiki-enterprise-manager-mysql-2.4.zip)
> Configure xwiki.cfg, xwiki.virtual=1 and declaration of the 2 XEM plugins
> (all the other parameters with their default value, farm in domain rule).
> Configure hibernate.cfg.xml to access the MySQL DB.
> Add the 2 XEM plugins and the MySQL JDBC driver in WEB-INF/lib.
> Start XWiki.
> Browse http://localhost:8080/xwiki/
> Database tables created OK.
> Go to Xwiki > Administration
> Upload and Import of the xwiki-enterprise-manager-wiki-administrator-2.4.xar
> Login as Admin
> Browse http://localhost:8080/xwiki/bin/view/*XemManager/Install*
> Click on Yes to complete the installation of XEM
> XEM Installation success is displayed
> Creation of a user in the master wiki OK, user added automatically in the
> XWikiAllGroup.
> Browse http://localhost:8080/xwiki/bin/view/WikiManager/
> Edit (objects) of the templatexe settings to modify the Server property,
> from "templatexe.template.local" to "templatexe".
> Browse http://templatexe:8080/xwiki/ (templatexe = 127.0.0.1 in etc/host)
> Login as Admin
> At this time, the xwiki.log displays an error :
> [http://templatexe:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] ERROR
> xwiki.XWikiAuthServiceImpl      - Failed to check password
> java.lang.NullPointerException
>    at
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkPassword(XWikiAuthServiceImpl.java:560)
>    at
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.authenticate(XWikiAuthServiceImpl.java:474)
>    at
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:284)
>    at
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:204)
>    at
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:187)
>    at
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:240)
>    at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:4070)
>    at
> com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:169)
>    at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:4083)
>    at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:5296)
>    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
>    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>
> But I'm connected ! So I continue.
> Go to Templatexe > Administration
> Go to Users
> Add a new user in the templatexe wiki OK (Yeah, I can't do that last week !)
> Go to Groups
> Edit XWikiAdminGroup (with the pencil)
> Add my new local user (the suggestion tooltip help me), click on ADD button,
> nothing happens.
> Try to add my global user.
> Select Global in the list box, no suggestion ("No results!"), type in
> XWiki.jones, click on ADD button, nothing happens.
>
> In addition, I have noticed that I can't connect to the templatexe with my
> local user. The same exception occurs in the log.
> No problem with the user defined in the main wiki to access this main wiki.

What you should really test is if you have a class XWiki/XWikiUsers
since that's the real issue.

>
> If you want, I can send you the whole xwiki.log.

Yes that would be nice.

>
> Best regards,
> Maxime Mathieu
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to