Re: [xwiki-users] Fwd: Upgrading a XWIKI installation 6.1 to 6.21 usings WARs
Yes, Thomas is right. I was talking about bundling all Java connectors in the WAR build. Thanks, Manuel On Mon, Oct 13, 2014 at 10:44 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Mon, Oct 13, 2014 at 9:33 AM, vinc...@massol.net vinc...@massol.net wrote: On 13 Oct 2014 at 09:11:20, Manuel Smeria (man...@xwiki.com(mailto: man...@xwiki.com)) wrote: Hi, I think users want to see examples of migrations from version X to Y instead of the current documentation. For example my previous mini tutorial could be used here : http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewebapp rather than what is currently written. I think 90% of what you wrote is already there. Free free to integrate the 10% missing, that’s exactly what I meant by “Would be great to understand how we can improve http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade to make it extra clear what you have to do.” :) Basically instead of responding to the user which helps 1 user I prefer the approach of fixing the doc which helps N users (see http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions ). This is what I tried to do by adding a section to the documentation for Maik’s need. Now I need to know if what I did helped or not ;) BTW your mini tutorial is not fully correct since it means potentially loosing new configuration options. Also we could bundle the Java connectors for all the supported DBs into XWiki by default, but that's a different issue :) I don’t think Maik wanted to migrate DB, at least that’s not what he said. But yes we should probably also have a tutorial for moving from one DB to another (although we do already have a backup/export page and moving DB is exactly that: export then reimport, either at DB level or at XAR level). I don't think Manuel was really talking about changing the DB but the WAR does not contain any connector, not even HSQLDB one. Thanks -Vincent PS: One possible issue with Maik’s case is that he may not be a java person. He may not even know how Servlet Container work. This is what I added the new section which doesn’t require any knowledge of Java/Servlet container (no need to even know what a WAR is). Thanks, Manuel On Mon, Oct 13, 2014 at 9:49 AM, vinc...@massol.net wrote: Hi Manuel/Maik, On 13 Oct 2014 at 08:28:00, Manuel Smeria (man...@xwiki.com(mailto: man...@xwiki.com)) wrote: Hello Maik, In order to upgrade your XWiki installataion from 6.1 to 6.2.1 you need to follow these steps: * Download the 6.2.1 WAR file ( http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-6.2.1.war) and extract it into a folder called xwiki * Go to your XWiki 6.1 installation folder and replace your webapps\xwiki folder with the one from the previous step * Start your server This tutorial assumes you're using HyperSQL as the DB by default. If you use another DB you need to copy a Java connector to your xwiki\WEB-INF\lib folder and also configure your xwiki\WEB-INF\hibernate.cfg.xml to connect to your specific DB. Thanks, Manuel On Sun, Oct 12, 2014 at 6:59 PM, Maik Dehnert wrote: Hello all together, I am a bit confused looking at upgrading section, because I have never upgraded XWIKI before, and I just have experience with the regular .exe installation process. Can you explain in a bit more detail to me how to upgrade XWIKI with a WAR file? Where can I replace the old WAR file on my server with the newer one? Would be great to understand how we can improve http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade to make it extra clear what you have to do. I’ve created http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthestandarddistribution Let me know if it helps. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] question about ldap authentication
Ok Thanks you. Then I searching and as soon it is surprising ... I managed another way :-) - I add a field in /edit/XWiki/XWikiUsers?editor=class, like town (string) by example, I disabled all ldapd field mapped to put them read only in 'edit mode' - I add it in /bin/view/XWiki/AdminUserProfileSheet page (section contact) - and of course I modify in WEB-INF/xwiki.cfg xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,...,town=MyLDAPfiels Of course, to be perfet, I must disabled fields for ldapusers only. Pascal B De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 13 octobre 2014 16h38 Objet : Re: [xwiki-users] question about ldap authentication On Mon, Oct 13, 2014 at 4:17 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hi, On Xwiki 6.2.1, I use xwiki.authentication.ldap.fields_mapping parameter in xwiki.cfg. Are there a way to concatenate two ldap fields? Unfortunately no. If you want to look at the code when this is done, see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1042 and https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1094. By example, I have two LDAP field for adress (street and town) and I want concatenate them in the xwiki address field from XWiki User Class. Thanks Pascal B ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] question about ldap authentication
Another possible workaround would be the following: * add new field to the user class as you did already but don't modify the user UI * write a listener which will receive user document modification and fill the standard adress field used the two custom fields when there is a change (see extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local) On Tue, Oct 14, 2014 at 10:11 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Ok Thanks you. Then I searching and as soon it is surprising ... I managed another way :-) - I add a field in /edit/XWiki/XWikiUsers?editor=class, like town (string) by example, I disabled all ldapd field mapped to put them read only in 'edit mode' - I add it in /bin/view/XWiki/AdminUserProfileSheet page (section contact) - and of course I modify in WEB-INF/xwiki.cfg xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,...,town=MyLDAPfiels Of course, to be perfet, I must disabled fields for ldapusers only. Pascal B De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 13 octobre 2014 16h38 Objet : Re: [xwiki-users] question about ldap authentication On Mon, Oct 13, 2014 at 4:17 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hi, On Xwiki 6.2.1, I use xwiki.authentication.ldap.fields_mapping parameter in xwiki.cfg. Are there a way to concatenate two ldap fields? Unfortunately no. If you want to look at the code when this is done, see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1042 and https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1094. By example, I have two LDAP field for adress (street and town) and I want concatenate them in the xwiki address field from XWiki User Class. Thanks Pascal B ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] question about ldap authentication
Thanks but it is a little bit complicate for me :-) By the way I discover a new bug in xwiki 6.2.1: If I disable a TextArea field (like adress in /bin/edit/XWiki/XWikiUsers?editor=class ): - in edit mode /bin/edit/XWiki/MyUser?editor=inlinecategory=profile the field (in a WYSIWYG editor zone) is not disabled - AND it is impossible to record XWiki/MyUser page Erreur: XWiki.XWikiUsers_0_address: Exception while parsing HTML De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr Cc : XWiki Users users@xwiki.org Envoyé le : Mardi 14 octobre 2014 10h24 Objet : Re: [xwiki-users] question about ldap authentication Another possible workaround would be the following: * add new field to the user class as you did already but don't modify the user UI * write a listener which will receive user document modification and fill the standard adress field used the two custom fields when there is a change (see extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local) On Tue, Oct 14, 2014 at 10:11 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Ok Thanks you. Then I searching and as soon it is surprising ... I managed another way :-) - I add a field in /edit/XWiki/XWikiUsers?editor=class, like town (string) by example, I disabled all ldapd field mapped to put them read only in 'edit mode' - I add it in /bin/view/XWiki/AdminUserProfileSheet page (section contact) - and of course I modify in WEB-INF/xwiki.cfg xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,...,town=MyLDAPfiels Of course, to be perfet, I must disabled fields for ldapusers only. Pascal B De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 13 octobre 2014 16h38 Objet : Re: [xwiki-users] question about ldap authentication On Mon, Oct 13, 2014 at 4:17 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hi, On Xwiki 6.2.1, I use xwiki.authentication.ldap.fields_mapping parameter in xwiki.cfg. Are there a way to concatenate two ldap fields? Unfortunately no. If you want to look at the code when this is done, see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1042 and https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1094. By example, I have two LDAP field for adress (street and town) and I want concatenate them in the xwiki address field from XWiki User Class. Thanks Pascal B ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Fwd: Upgrading a XWIKI installation 6.1 to 6.21 usings WARs
On 14 Oct 2014 at 10:55:44, Manuel Smeria (man...@xwiki.com(mailto:man...@xwiki.com)) wrote: Yes, Thomas is right. I was talking about bundling all Java connectors in the WAR build. I don’t think that’s a good idea since the version of the connector you need to use depend on the version of the database you use. Thanks -Vincent Thanks, Manuel On Mon, Oct 13, 2014 at 10:44 AM, Thomas Mortagne wrote: On Mon, Oct 13, 2014 at 9:33 AM, vinc...@massol.net wrote: On 13 Oct 2014 at 09:11:20, Manuel Smeria (man...@xwiki.com(mailto: man...@xwiki.com)) wrote: Hi, I think users want to see examples of migrations from version X to Y instead of the current documentation. For example my previous mini tutorial could be used here : http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewebapp rather than what is currently written. I think 90% of what you wrote is already there. Free free to integrate the 10% missing, that’s exactly what I meant by “Would be great to understand how we can improve http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade to make it extra clear what you have to do.” :) Basically instead of responding to the user which helps 1 user I prefer the approach of fixing the doc which helps N users (see http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions ). This is what I tried to do by adding a section to the documentation for Maik’s need. Now I need to know if what I did helped or not ;) BTW your mini tutorial is not fully correct since it means potentially loosing new configuration options. Also we could bundle the Java connectors for all the supported DBs into XWiki by default, but that's a different issue :) I don’t think Maik wanted to migrate DB, at least that’s not what he said. But yes we should probably also have a tutorial for moving from one DB to another (although we do already have a backup/export page and moving DB is exactly that: export then reimport, either at DB level or at XAR level). I don't think Manuel was really talking about changing the DB but the WAR does not contain any connector, not even HSQLDB one. Thanks -Vincent PS: One possible issue with Maik’s case is that he may not be a java person. He may not even know how Servlet Container work. This is what I added the new section which doesn’t require any knowledge of Java/Servlet container (no need to even know what a WAR is). Thanks, Manuel On Mon, Oct 13, 2014 at 9:49 AM, vinc...@massol.net wrote: Hi Manuel/Maik, On 13 Oct 2014 at 08:28:00, Manuel Smeria (man...@xwiki.com(mailto: man...@xwiki.com)) wrote: Hello Maik, In order to upgrade your XWiki installataion from 6.1 to 6.2.1 you need to follow these steps: * Download the 6.2.1 WAR file ( http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-6.2.1.war) and extract it into a folder called xwiki * Go to your XWiki 6.1 installation folder and replace your webapps\xwiki folder with the one from the previous step * Start your server This tutorial assumes you're using HyperSQL as the DB by default. If you use another DB you need to copy a Java connector to your xwiki\WEB-INF\lib folder and also configure your xwiki\WEB-INF\hibernate.cfg.xml to connect to your specific DB. Thanks, Manuel On Sun, Oct 12, 2014 at 6:59 PM, Maik Dehnert wrote: Hello all together, I am a bit confused looking at upgrading section, because I have never upgraded XWIKI before, and I just have experience with the regular .exe installation process. Can you explain in a bit more detail to me how to upgrade XWIKI with a WAR file? Where can I replace the old WAR file on my server with the newer one? Would be great to understand how we can improve http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade to make it extra clear what you have to do. I’ve created http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthestandarddistribution Let me know if it helps. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] question about ldap authentication
Depends what you mean exactly by disable. In any case if you feel there is a bug it would be better to create an issue on http:/jira.xwiki.org than discussion it on a thread about LDAP module :) On Tue, Oct 14, 2014 at 11:23 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Thanks but it is a little bit complicate for me :-) By the way I discover a new bug in xwiki 6.2.1: If I disable a TextArea field (like adress in /bin/edit/XWiki/XWikiUsers?editor=class ): - in edit mode /bin/edit/XWiki/MyUser?editor=inlinecategory=profile the field (in a WYSIWYG editor zone) is not disabled - AND it is impossible to record XWiki/MyUser page Erreur: XWiki.XWikiUsers_0_address: Exception while parsing HTML De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr Cc : XWiki Users users@xwiki.org Envoyé le : Mardi 14 octobre 2014 10h24 Objet : Re: [xwiki-users] question about ldap authentication Another possible workaround would be the following: * add new field to the user class as you did already but don't modify the user UI * write a listener which will receive user document modification and fill the standard adress field used the two custom fields when there is a change (see extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local) On Tue, Oct 14, 2014 at 10:11 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Ok Thanks you. Then I searching and as soon it is surprising ... I managed another way :-) - I add a field in /edit/XWiki/XWikiUsers?editor=class, like town (string) by example, I disabled all ldapd field mapped to put them read only in 'edit mode' - I add it in /bin/view/XWiki/AdminUserProfileSheet page (section contact) - and of course I modify in WEB-INF/xwiki.cfg xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,...,town=MyLDAPfiels Of course, to be perfet, I must disabled fields for ldapusers only. Pascal B De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 13 octobre 2014 16h38 Objet : Re: [xwiki-users] question about ldap authentication On Mon, Oct 13, 2014 at 4:17 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hi, On Xwiki 6.2.1, I use xwiki.authentication.ldap.fields_mapping parameter in xwiki.cfg. Are there a way to concatenate two ldap fields? Unfortunately no. If you want to look at the code when this is done, see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1042 and https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1094. By example, I have two LDAP field for adress (street and town) and I want concatenate them in the xwiki address field from XWiki User Class. Thanks Pascal B ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] question about ldap authentication
Yes, concerning WYSIWYG I think: [XWIKI-9701] If profile details fields are empty, don't display them - XWiki.org JIRA De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr Cc : XWiki Users users@xwiki.org Envoyé le : Mardi 14 octobre 2014 11h44 Objet : Re: [xwiki-users] question about ldap authentication Depends what you mean exactly by disable. In any case if you feel there is a bug it would be better to create an issue on http:/jira.xwiki.org than discussion it on a thread about LDAP module :) On Tue, Oct 14, 2014 at 11:23 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Thanks but it is a little bit complicate for me :-) By the way I discover a new bug in xwiki 6.2.1: If I disable a TextArea field (like adress in /bin/edit/XWiki/XWikiUsers?editor=class ): - in edit mode /bin/edit/XWiki/MyUser?editor=inlinecategory=profile the field (in a WYSIWYG editor zone) is not disabled - AND it is impossible to record XWiki/MyUser page Erreur: XWiki.XWikiUsers_0_address: Exception while parsing HTML De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr Cc : XWiki Users users@xwiki.org Envoyé le : Mardi 14 octobre 2014 10h24 Objet : Re: [xwiki-users] question about ldap authentication Another possible workaround would be the following: * add new field to the user class as you did already but don't modify the user UI * write a listener which will receive user document modification and fill the standard adress field used the two custom fields when there is a change (see extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local) On Tue, Oct 14, 2014 at 10:11 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Ok Thanks you. Then I searching and as soon it is surprising ... I managed another way :-) - I add a field in /edit/XWiki/XWikiUsers?editor=class, like town (string) by example, I disabled all ldapd field mapped to put them read only in 'edit mode' - I add it in /bin/view/XWiki/AdminUserProfileSheet page (section contact) - and of course I modify in WEB-INF/xwiki.cfg xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,...,town=MyLDAPfiels Of course, to be perfet, I must disabled fields for ldapusers only. Pascal B De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 13 octobre 2014 16h38 Objet : Re: [xwiki-users] question about ldap authentication On Mon, Oct 13, 2014 at 4:17 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hi, On Xwiki 6.2.1, I use xwiki.authentication.ldap.fields_mapping parameter in xwiki.cfg. Are there a way to concatenate two ldap fields? Unfortunately no. If you want to look at the code when this is done, see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1042 and https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-ldap/xwiki-platform-ldap-authenticator/src/main/java/com/xpn/xwiki/plugin/ldap/XWikiLDAPUtils.java#L1094. By example, I have two LDAP field for adress (street and town) and I want concatenate them in the xwiki address field from XWiki User Class. Thanks Pascal B ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] URL loop error
Hey All, I’m hoping someone can help me out.. My wiki installation has stopped working. I’m running it in Tomcat 8 from the ROOT folder “C:\Program Files (x86)\Tomcat\webapps\ROOT” (the only app running on the server), nothing has changed other than content in the wiki itself, but all of a sudden my users can’t login and the URL has become really long. If I navigate to localhost:8080/bin/Main I get the following response: localhost:8080/bin/Main/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/XWikiLogin?srid=YGlMoFBdxredirect=%2Fbin%2FMain%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2FXWikiLogin%3Fsrid%3DYGlMoFBd%26xredirect%3D%252Fbin%252FMain%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252FXWikiLogin%253Fsrid%253DYGlMoFBd%2526xredirect%253D%25252Fbin%25252FMain%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki except the URL actually goes on for much longer… I used to get this every now and again, but always restarting Tomcat would fix it, but now it doesn’t and none of my users can login. I found an article here http://jira.xwiki.org/browse/XE-1401 which seems to point to a similar issue, but the fix illustrated does not fix my issue. Any help is greatly appreciated ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Failed to execute the [groovy] macro while creating an app within a minute
Hello XWiki Community, while creating an App within a Minute I get groovy executing failures for each element of the form. It is possible to save and finish the process but I cannot access the editor for the content field. That means I cannot enter default entries. You can see the full failure message at the end of the mail. I googled the problem and found entries for Confluence. Maybe they can guide a way: Now I added the -XX:ReservedCodeCacheSize=64m option into JAVA_OPTS. (https://bobswift.atlassian.net/browse/SCRP-129) and It worked for me, I just added XX:ReservedCodeCacheSize to my setenv.sh and until now everything is ok. (https://answers.atlassian.com/questions/13535/problem-with-the-script-runner-built-in-scripts-not-accessible) I am running version 5.4.5 Thank you for your time! Best regards, Peter Here is the error which is displayed when I reenter the wizard page for step 2: Failed to execute the [groovy] macro: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at Script89.run(Script89.groovy:41) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:346) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:146) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:292) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:226) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:177) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:57) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:191) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:253) at org.xwiki.sheet.internal.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:212) at org.xwiki.sheet.internal.SheetDocumentDisplayer.maybeDisplayWithSheet(SheetDocumentDisplayer.java:164) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:102) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:997) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:976) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1007) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:619) at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at
[xwiki-users] How to insert name and date (signature, ~~~~)?
Hoi, in Mediawiki it's possible to insert one's name and the current date quite easily with four tilde characters: . Is it possible to do this in a convenient way in Xwiki, as well? And if so, how? I think it should be possible by creating a macro. However, I would appreciate if inserting the signature would be a simpler tag than: {{sign/}}. meillo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users