[xwiki-users] Impossible to create users and groups in a slave wiki of XEM 2.4
Hi, Just done a fresh install of XEM2.4 and I encounter the following problem. In the templatexe wiki, it's impossible to add a new group or a new user (the Add button do nothing). If I edit the objects of an existing group (XWikiAllGroup for example), a warning is displayed : "Some objects from this document contain deprecated properties which were deleted from their respective classes." In fact, I detected that the *XWikiGroups and XWikiUsers classes are not defined* (they do not exist) in this templatexe wiki. In the main wiki, all is ok (and the XWikiGroups and Users classes are well defined). Nothing in the xwiki.log. Do you have any idea to help me ? Best regards, Maxime Mathieu
On Tue, Sep 14, 2010 at 11:06, Maxime Mathieu <[email protected]> wrote:
Hi,
Just done a fresh install of XEM2.4 and I encounter the following problem.
In the templatexe wiki, it's impossible to add a new group or a new user (the Add button do nothing). If I edit the objects of an existing group (XWikiAllGroup for example), a warning is displayed : "Some objects from this document contain deprecated properties which were deleted from their respective classes." In fact, I detected that the *XWikiGroups and XWikiUsers classes are not defined* (they do not exist) in this templatexe wiki. In the main wiki, all is ok (and the XWikiGroups and Users classes are well defined).
Nothing in the xwiki.log.
Do you have any idea to help me ?
It seems other people reproduce the same issue: standard classed not created in a new wiki. Do you reproduce it all the time ? Could you try to create an empty wiki (without any template/package) ?
Best regards, Maxime Mathieu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Yes I can reproduce all the time. I have tried to create an empty wiki (without any template or package) and it works well. But in this empty wiki I can't manage users or groups. The only page that is displayed when I go to the administration section is the import page (and it is normal no ?). Don't hesitate to tell me if you want more information. Regards, Maxime
On Tue, Sep 14, 2010 at 14:34, Maxime Mathieu <[email protected]> wrote:
Yes I can reproduce all the time. I have tried to create an empty wiki (without any template or package) and it works well. But in this empty wiki I can't manage users or groups. The
What i wanted you to test is if you can reproduce the real issue i described in the previous mail: standard classed not created in a new wiki. For that you can go to /bin/view/XWiki/XWikiUsers page and see if you have a class there for example.
only page that is displayed when I go to the administration section is the import page (and it is normal no ?).
Don't hesitate to tell me if you want more information.
Regards, Maxime _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Ok. I confirm that in a new wiki (created without template or package) the page XWiki.XWikiUsers does not exist. http://localhost:8080/xwiki/wiki/buggy/view/XWiki/XWikiUsers -> The requested document could not be found. And, it is the same when a create a new wiki using the standard template. Maxime
On Tue, Sep 14, 2010 at 15:05, Maxime Mathieu <[email protected]> wrote:
Ok. I confirm that in a new wiki (created without template or package) the page XWiki.XWikiUsers does not exist.
http://localhost:8080/xwiki/wiki/buggy/view/XWiki/XWikiUsers -> The requested document could not be found.
And, it is the same when a create a new wiki using the standard template.
Could you give me all the informations you provided to the wiki creation form (wiki id, alias, etc...) so that I can try to find something in it that makes a bug come to the surface. BTW what database engine are you using ?
Maxime _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I'm using the package xwiki-enterprise-manager-mysql-2.4.zip with a Mysql 5.0.50 instance. When I create a wiki, I use the normal view, I only fill the wiki identifier and suppress the suffix of the alias. So, the "Wiki identifier" and the "Alias" are the same. Then I click on Create. I can add that the xwiki.cfg file contains - usepath=1 - xwiki.authentication.ldap=1 and all the user related properties to configure the AD access - xwiki.authentication.ldap.trylocal=1 And, that's all. No plug-in, no particular skin... Hope this help.
I just retried the same test without the AD connection (xwiki.authentification.ldap commented) and it's exactly the same.
Hi Thomas, Could you reproduce this problem on your system ? Thank for your response. Best regards, Maxime 2010/9/14 Maxime Mathieu <[email protected]>
I just retried the same test without the AD connection (xwiki.authentification.ldap commented) and it's exactly the same.
I tried to create wikis empty and from template or packages but I can't reproduce the issue you have. On Fri, Sep 17, 2010 at 12:01, Maxime Mathieu <[email protected]> wrote:
Hi Thomas,
Could you reproduce this problem on your system ?
Thank for your response. Best regards, Maxime
2010/9/14 Maxime Mathieu <[email protected]>
I just retried the same test without the AD connection (xwiki.authentification.ldap commented) and it's exactly the same.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Sad news ! I will retry with a new MySQL db next week. 2010/9/17 Thomas Mortagne <[email protected]>
I tried to create wikis empty and from template or packages but I can't reproduce the issue you have.
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Note that i tested with the last SNAPSHOT, i will try to find some time to test specifically with 2.4 maybe it just means it has been fixed some way. You could try with http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-web... and see if you still reproduce. On Fri, Sep 17, 2010 at 12:37, Maxime Mathieu <[email protected]> wrote:
Sad news ! I will retry with a new MySQL db next week.
2010/9/17 Thomas Mortagne <[email protected]>
I tried to create wikis empty and from template or packages but I can't reproduce the issue you have.
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
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. If you want, I can send you the whole xwiki.log. Best regards, Maxime Mathieu
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
The template wiki does NOT contain the XWikiUsers, XWikiRights, XWikiGroups classes. 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.
I will send it to you at your xwiki email.
Best regards, Maxime Mathieu
On Mon, Sep 20, 2010 at 12:07, Maxime Mathieu <[email protected]> wrote:
The template wiki does NOT contain the XWikiUsers, XWikiRights, XWikiGroups classes.
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.
I will send it to you at your xwiki email.
I was hopping to find some error indicating why wiki initalization did not worked but nothing :( I'm checking if i can find some places to put more debug log.
Best regards, Maxime Mathieu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I think i found what is wrong. I just created http://jira.xwiki.org/jira/browse/XWIKI-5511 and trying to find a clean fix. On Mon, Sep 20, 2010 at 13:00, Thomas Mortagne <[email protected]> wrote:
On Mon, Sep 20, 2010 at 12:07, Maxime Mathieu <[email protected]> wrote:
The template wiki does NOT contain the XWikiUsers, XWikiRights, XWikiGroups classes.
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.
I will send it to you at your xwiki email.
I was hopping to find some error indicating why wiki initalization did not worked but nothing :(
I'm checking if i can find some places to put more debug log.
Best regards, Maxime Mathieu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
participants (2)
-
Maxime Mathieu -
Thomas Mortagne