Re: [xwiki-users] Strange ajax + json issue
Hello, Can't it be a timing problem ? When using Firebug, the system has time to retrieve result from the AJAX request but at execution time it has not ? -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Jeremie BOUSQUET Envoyé : mardi 2 mars 2010 08:30 À : XWiki Users Objet : Re: [xwiki-users] Strange ajax + json issue Hello thx Sergiu, I changed to json content-type, and responseJSON as you proposed. I checked that my GET request is 200 OK, and in the response the JSON tab in Firebug shows well formed JSON. But still my json variable is empty at execution time ! By the way if I breakpoint on or before the Ajax.Request() and step over the code, the json variable gets properly initiated and executed. Where it's used afterwards, it's perfectly well formed. I also added url parameters as 'parameters' of Ajax.Request instead of directly in the url but no change. Could it be a problem in the way I pass my json variable ? Declared outside of Ajax.Request(...) ? It must be something really stupid but I just don't understand ... Jeremie 2010/3/2 Sergiu Dumitriu ser...@xwiki.com On 03/02/2010 01:15 AM, Jeremie BOUSQUET wrote: Hello, This is for something I'm trying to develop ... And I'm not sure it has something to do with XWiki, but who knows ? In a page I call a particular init() function like this : Event.observe(window, load, init); This init() aims at loading some JSON data from another page using Ajax. I was inspired by the livetable.js here :-) var json = var ajx=new Ajax.Request( http://localhost:8081/xwiki/bin/view/Dev/JSONProvider?xpage=pl ainoutputSyntax=plain , You should use what Prototype already offers: - set the proper MIME type for the response from velocity, with $response.setContentType('application/json') - write well formed JSON (also include the ( and ) that you append before the eval in your current code - use transport.responseJSON to read the already parsed JSON data {method:get,onSuccess:function(transport) { json = eval((+transport.responseText+)); } } ) This Javascript is in a .js file along with other resources on the server filesystem. It is loaded with $xwiki.jsfx.use(...) . When I debug step by step using Firebug, everything is fine, json variable contains what I expect. But when I'm not debugging and refresh the page, json variable is empty ... (breakpointing AFTER ajax call shows it). Though I can see in Firebug that my Ajax http request finished with a 200 OK code. Can you also check the content of the response, to see if it's well formed JSON? If you also set the right MIME type, then Firebug should provide a tab with the JSON data of the response (depends on the actual Firebug version). Do you think it might be linked to the fact this method is called on page load ? I can't see how it's different than other ajax calls in xwiki ... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Editing goes to WYSIWIG instead of inline
Thank you Guillaume. It works. I did not search well enought ... -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Guillaume Lerouge Envoyé : vendredi 19 février 2010 14:43 À : XWiki Users Objet : Re: [xwiki-users] Editing goes to WYSIWIG instead of inline Hi Christophe, I guess your problem and the way to fix it is described on: http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial - Click the first button (CREATE THE DOCUMENT SHEET) to create the document sheet (the Page Design Sheet). This sheet determines how your page's objects will be rendered to the user. The document is automatically created. - Click on View the sheet document - Edit that page in Object edition mode - Using the menu on the right, add a XWiki.SheetClass object to the page - *Adding the XWiki.SheetClass object is important. It's because of this object that users will be sent to form edition mode when editing FAQ entries* - Click Save View Guillaume On Fri, Feb 19, 2010 at 2:34 PM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hi all, I created few pages (class, sheet, template, etc) to let me have a template for incidents management. My problem is that when i click on Edit it opens the WYSIWIG editor and i would like to have the Inline Editor by default. If i force the inline editor from the edit menu it works great. I have the same problem for the user's edition Christophe Périnaud Hub Banking Support Application KBL European Private Bankers S.A. -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Hi Stefan, Yes you can. In my case, based on a user, its group and its rights, i display different links and pictures. It's easy to do in the source of the panel that you want to customize Ex: #if($xwiki.exists(BankingLexicon.WebHome)) div style=margin-bottom: ${marginbottom}px{image:lexicon.png|align=absmiddle|document=Panels.QuickLinks}nbsp;nbsp;[Banking lexiconBankingLexicon.WebHome]/div #end #if($xwiki.getUser().isUserInGroup(XWiki.GlobusAstreintes) $xwiki.exists(Astreintes.WebHome)) div style=margin-bottom: ${marginbottom}px{image:astreintes.png|align=absmiddle|document=Panels.QuickLinks}nbsp;nbsp;[AstreintesAstreintes.WebHome]/div #end You can also display or not a panel based on test : #if ($xwiki.hasAdminRights()) #panelheader('Administrate') #set($marginbottom=3) div style=margin-bottom: ${marginbottom}px{image:new.png|align=absmiddle|document=Panels.Administrate}nbsp;nbsp;[Create new page/spacePanels.NewPage]/div #panelfooter() #end If the user does not have admin rights, nothing will be displayed Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de stefan bachert Envoyé : mercredi 17 février 2010 10:05 À : users@xwiki.org Objet : [xwiki-users] Panels Is there a way to set panels different per user capability? Stefan Bachert __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Display a well rendered field
I checked my code and my problem now is that all is displayed well except carriage returns So if i have some text in bold it's well displayed but all lines are displayed in only one string. Do i have to add/remove an option somewhere to not removed them ? Also when i click on the Edit menu in the top bar, it opens the WYSIWYG editor. Is it possible with velocity to force the inline form editor ? (iT worked before but i guess i changed something somewhere ...) Thanks -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Valdis Vitolinš Envoyé : lundi 15 février 2010 14:32 À : XWiki Users Objet : Re: [xwiki-users] Display a well rendered field Standard ClassSheet template has simpler syntax: $doc.display(propertyname) e.g. {{velocity}} ## You can modify this page to customize the presentation of your object. ## At first you should keep the default presentation and just save the document. = Īsziņa $doc.name = #set($class = $doc.getObject('Custom.IszinaClass').xWikiClass) #foreach($prop in $class.properties) |$prop.prettyName| $doc.display($prop.getName()) #end {{/velocity}} and it works seamlessly. Valdis Thanks Valdis. I check the class in the class editor and for this textarea, i don't see how to change the rendering. Is it in the class or in the call to display the field ? (i use $doc.display($fieldName, view) ) I use Xwiki 2.0.3 -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Valdis Vitolinš Envoyé : lundi 15 février 2010 13:03 À : XWiki Users Objet : Re: [xwiki-users] Display a well rendered field It seems your default editor is WYSIWYG, but text field is simple text. You need to set textarea field to FullyRenderedText (Xwiki 1.x version) or WYSIWYG (2.x version) mode. Valdis Hello all, I have a class with text fields. When i want to display the value of one of them, i only have a very long string. How can i display it with nice rendering (bold, colors, etc) ? (In edit mode i have the WYSIWYG editor) Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL ... ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Display a well rendered field
Hello all, I have a class with text fields. When i want to display the value of one of them, i only have a very long string. How can i display it with nice rendering (bold, colors, etc) ? (In edit mode i have the WYSIWYG editor) Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Display a well rendered field
Thanks Valdis. I check the class in the class editor and for this textarea, i don't see how to change the rendering. Is it in the class or in the call to display the field ? (i use $doc.display($fieldName, view) ) I use Xwiki 2.0.3 -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Valdis Vitolinš Envoyé : lundi 15 février 2010 13:03 À : XWiki Users Objet : Re: [xwiki-users] Display a well rendered field It seems your default editor is WYSIWYG, but text field is simple text. You need to set textarea field to FullyRenderedText (Xwiki 1.x version) or WYSIWYG (2.x version) mode. Valdis Hello all, I have a class with text fields. When i want to display the value of one of them, i only have a very long string. How can i display it with nice rendering (bold, colors, etc) ? (In edit mode i have the WYSIWYG editor) Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g
Do shemas have been created in the DB ? Can you ask your DBA to see what is the last login date of the user ? It could help to know if the problem comes from the DB or if there is something wrong before trying to connect -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 11:48 À : XWiki Users Objet : Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g So, we started our installation once again and it still does not work. Step-by-step: 1. We created a user xwiki on oracle with all privileges. We use oracle 10.2.0.40 2. We deployed the war file with the geronimo console. We use tomcat 6 javaee5 2.1.4 3. We than changed the configuration file, as already mentioned 4. We copied the ojdbc5.jar from oracle 11.1.0.7 and tried it also with ojdbc14.jar. 5. Then we restarted geronimo and started the xwiki container We use the oracle installtion and the geronimo server on a sun solaris server and solaris as the operating system. We still don't get the xwiki installed, and don't understand why. Thank you all for the pleasent help. 2010/1/19 Oskar Marek Rzepinski rzepin...@gmail.com We have now some meetings, after them we will try once again with the jetty pack. @Caleb James DeLisle The steps I mentioned already we have done with the war file. We deployed it with the geronimo console. I will get back to this after we have tried the jetty pack and than I will answer and report if we were successful or not. 2010/1/19 Caleb James DeLisle calebdeli...@lavabit.com XWiki is built differently for the war installation than the jetty/HSQL pack I think If you download the war file and install that way it will work. Caleb PERINAUD Christophe wrote: Here what we did is that we installed Xwiki from the pack jetty/HSQL. Once it work, we modified the hibernate configuration file to connect to Oracle DB. Here is our config file (if it helps ...) : ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory property name=show_sqlfalse/property property name=use_outer_jointrue/property property name=dbcp.defaultAutoCommitfalse/property property name=dbcp.maxActive50/property property name=dbcp.maxIdle5/property property name=dbcp.maxWait3/property property name=dbcp.whenExhaustedAction1/property property name=dbcp.ps.whenExhaustedAction1/property property name=dbcp.ps.maxActive20/property property name=dbcp.ps.maxWait12/property property name=dbcp.ps.maxIdle20/property property name=connection.urljdbc:oracle:thin:@IP.IP.IP.IP :1521:od46/property property name=connection.usernamexwiki/property property name=connection.password*/property property name=connection.driver_classoracle.jdbc.driver.OracleDriver /property property name=dialectorg.hibernate.dialect.Oracle10gDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConne ctionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property property name=hibernate.connection.SetBigStringTryClobtrue/property property name=hibernate.jdbc.batch_size0/property mapping resource=xwiki.oracle.hbm.xml/ mapping resource=feeds.oracle.hbm.xml/ /session-factory /hibernate-configuration -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 08:13 À : XWiki Users Objet : Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g Yes, I forgot to mention it, we copied it from the oracle folder, we copied this files: ojdbc14.jar orai18n.jar And we also tried it with ojdbc5.jar It getting us really crazy on this. 2010/1/19 PERINAUD Christophe christophe.perin...@kbl-bank.com Hi, Maybe stupid but did you install Oracle JDBC drivers in the WEB-INF/lib xwiki's folder ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 07:58 À : users@xwiki.org Objet : [xwiki-users] Problem with getting Xwiki to work with Oracle10g Hello everybody, we just stuck on installing xwiki on our devserver. We
Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g
Now i remember that we cancelled the use of the war because of identical problems (and running out of time and mainly budget) I think that the Architecture Dept created a new war based on the Jetty distribution -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 11:48 À : XWiki Users Objet : Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g So, we started our installation once again and it still does not work. Step-by-step: 1. We created a user xwiki on oracle with all privileges. We use oracle 10.2.0.40 2. We deployed the war file with the geronimo console. We use tomcat 6 javaee5 2.1.4 3. We than changed the configuration file, as already mentioned 4. We copied the ojdbc5.jar from oracle 11.1.0.7 and tried it also with ojdbc14.jar. 5. Then we restarted geronimo and started the xwiki container We use the oracle installtion and the geronimo server on a sun solaris server and solaris as the operating system. We still don't get the xwiki installed, and don't understand why. Thank you all for the pleasent help. 2010/1/19 Oskar Marek Rzepinski rzepin...@gmail.com We have now some meetings, after them we will try once again with the jetty pack. @Caleb James DeLisle The steps I mentioned already we have done with the war file. We deployed it with the geronimo console. I will get back to this after we have tried the jetty pack and than I will answer and report if we were successful or not. 2010/1/19 Caleb James DeLisle calebdeli...@lavabit.com XWiki is built differently for the war installation than the jetty/HSQL pack I think If you download the war file and install that way it will work. Caleb PERINAUD Christophe wrote: Here what we did is that we installed Xwiki from the pack jetty/HSQL. Once it work, we modified the hibernate configuration file to connect to Oracle DB. Here is our config file (if it helps ...) : ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory property name=show_sqlfalse/property property name=use_outer_jointrue/property property name=dbcp.defaultAutoCommitfalse/property property name=dbcp.maxActive50/property property name=dbcp.maxIdle5/property property name=dbcp.maxWait3/property property name=dbcp.whenExhaustedAction1/property property name=dbcp.ps.whenExhaustedAction1/property property name=dbcp.ps.maxActive20/property property name=dbcp.ps.maxWait12/property property name=dbcp.ps.maxIdle20/property property name=connection.urljdbc:oracle:thin:@IP.IP.IP.IP :1521:od46/property property name=connection.usernamexwiki/property property name=connection.password*/property property name=connection.driver_classoracle.jdbc.driver.OracleDriver /property property name=dialectorg.hibernate.dialect.Oracle10gDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConne ctionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property property name=hibernate.connection.SetBigStringTryClobtrue/property property name=hibernate.jdbc.batch_size0/property mapping resource=xwiki.oracle.hbm.xml/ mapping resource=feeds.oracle.hbm.xml/ /session-factory /hibernate-configuration -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 08:13 À : XWiki Users Objet : Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g Yes, I forgot to mention it, we copied it from the oracle folder, we copied this files: ojdbc14.jar orai18n.jar And we also tried it with ojdbc5.jar It getting us really crazy on this. 2010/1/19 PERINAUD Christophe christophe.perin...@kbl-bank.com Hi, Maybe stupid but did you install Oracle JDBC drivers in the WEB-INF/lib xwiki's folder ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 07:58 À : users@xwiki.org Objet : [xwiki-users] Problem with getting Xwiki to work with Oracle10g Hello everybody, we just stuck on installing xwiki on our devserver. We tried
Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g
Hi, Maybe stupid but did you install Oracle JDBC drivers in the WEB-INF/lib xwiki's folder ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 07:58 À : users@xwiki.org Objet : [xwiki-users] Problem with getting Xwiki to work with Oracle10g Hello everybody, we just stuck on installing xwiki on our devserver. We tried almost 10 times to get it work by ourselves but I didn't work. We still want to get it working. Here are the steps we did already: 1. we created a user xwiki on our DB server with the instructions from the official site 2. then we deployed xwiki on our server with the geronimo console 3. we made some changes to the hibernate configuration file, as you can see: ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory !-- Please refer to the installation guide on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for configuring your database. You'll need to do 2 things: 1) Copy your database driver JAR in WEB-INF/lib or in some shared lib directory 2) Uncomment the properties below for your specific DB (and comment the default database configuration if it doesn't match your DB) -- !-- Generic parameters common to all Databases -- property name=show_sqlfalse/ property property name=use_outer_jointrue/property property name=dbcp.defaultAutoCommitfalse/property property name=dbcp.maxActive50/property property name=dbcp.maxIdle5/property property name=dbcp.maxWait3/property property name=dbcp.whenExhaustedAction1/property property name=dbcp.ps.whenExhaustedAction1/property property name=dbcp.ps.maxActive20/property property name=dbcp.ps.maxWait12/property property name=dbcp.ps.maxIdle20/property !-- Without it, some queries fail in MS SQL. XWiki doesn't need scrollable result sets, anyway. -- property name=jdbc.use_scrollable_resultsetfalse/property !-- Oracle configuration. Uncomment if you want to use Oracle and comment out other database configurations. Note: the 2 properties named hibernate.connection.SetBigStringTryClob and hibernate.jdbc.batch_size. They are required to tell Oracle to allow CLOBs larger than 32K. -- property name=connection.urljdbc:oracle:thin:@10.233.106.132:1521 :devORA/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property property name=connection.driver_classoracle.jdbc.driver.OracleDriver /property property name=dialectorg.hibernate.dialect.Oracle10gDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConne ctionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property property name=hibernate.connection.SetBigStringTryClobtrue/property property name=hibernate.jdbc.batch_size0/property mapping resource=xwiki.oracle.hbm.xml/ mapping resource=feeds.oracle.hbm.xml/ mapping resource=activitystream.hbm.xml/ property name=hibernate.query.factory_classorg.hibernate.hql.classic .ClassicQueryTranslatorFactory/property /session-factory /hibernate-configuration 4. We still get this error. We can simply connect to the xwiki users on the solaris console with sqlplus, but we cannot get it work. The user for the xwiki has all privileges to work the database. We cannot understand what goes wrong. Is there a simple how to how to really xwiki working on oracle 10g? Thank you very much. HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio nManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: invalid configuration org.apache.struts.action.RequestProcessor.processException(Req uestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:433) org.apache.struts.action.RequestProcessor.process(RequestProce ssor.java:236)
Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g
Here what we did is that we installed Xwiki from the pack jetty/HSQL. Once it work, we modified the hibernate configuration file to connect to Oracle DB. Here is our config file (if it helps ...) : ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory property name=show_sqlfalse/property property name=use_outer_jointrue/property property name=dbcp.defaultAutoCommitfalse/property property name=dbcp.maxActive50/property property name=dbcp.maxIdle5/property property name=dbcp.maxWait3/property property name=dbcp.whenExhaustedAction1/property property name=dbcp.ps.whenExhaustedAction1/property property name=dbcp.ps.maxActive20/property property name=dbcp.ps.maxWait12/property property name=dbcp.ps.maxIdle20/property property name=connection.urljdbc:oracle:thin:@IP.IP.IP.IP:1521:od46/property property name=connection.usernamexwiki/property property name=connection.password*/property property name=connection.driver_classoracle.jdbc.driver.OracleDriver/property property name=dialectorg.hibernate.dialect.Oracle10gDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property property name=hibernate.connection.SetBigStringTryClobtrue/property property name=hibernate.jdbc.batch_size0/property mapping resource=xwiki.oracle.hbm.xml/ mapping resource=feeds.oracle.hbm.xml/ /session-factory /hibernate-configuration -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 08:13 À : XWiki Users Objet : Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g Yes, I forgot to mention it, we copied it from the oracle folder, we copied this files: ojdbc14.jar orai18n.jar And we also tried it with ojdbc5.jar It getting us really crazy on this. 2010/1/19 PERINAUD Christophe christophe.perin...@kbl-bank.com Hi, Maybe stupid but did you install Oracle JDBC drivers in the WEB-INF/lib xwiki's folder ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : mardi 19 janvier 2010 07:58 À : users@xwiki.org Objet : [xwiki-users] Problem with getting Xwiki to work with Oracle10g Hello everybody, we just stuck on installing xwiki on our devserver. We tried almost 10 times to get it work by ourselves but I didn't work. We still want to get it working. Here are the steps we did already: 1. we created a user xwiki on our DB server with the instructions from the official site 2. then we deployed xwiki on our server with the geronimo console 3. we made some changes to the hibernate configuration file, as you can see: ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory !-- Please refer to the installation guide on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for configuring your database. You'll need to do 2 things: 1) Copy your database driver JAR in WEB-INF/lib or in some shared lib directory 2) Uncomment the properties below for your specific DB (and comment the default database configuration if it doesn't match your DB) -- !-- Generic parameters common to all Databases -- property name=show_sqlfalse/ property property name=use_outer_jointrue/property property name=dbcp.defaultAutoCommitfalse/property property name=dbcp.maxActive50/property property name=dbcp.maxIdle5/property property name=dbcp.maxWait3/property property name=dbcp.whenExhaustedAction1/property property name=dbcp.ps.whenExhaustedAction1/property property name=dbcp.ps.maxActive20/property property name=dbcp.ps.maxWait12/property property name=dbcp.ps.maxIdle20/property !-- Without it, some queries fail in MS SQL. XWiki doesn't need scrollable result sets, anyway. -- property name=jdbc.use_scrollable_resultsetfalse/property !-- Oracle configuration. Uncomment if you want to use Oracle and comment out other database configurations. Note
[xwiki-users] Auto numbered sections
Hello all, I saw in the xwiki.org documentation that to have auto numbered sections, i have to modify xwikivars.vm. Is there a way to do the same but from the browser by editing the skin for example ? Else do i have to add this code in each document ? #set ($context.tocNumbered = true) #set ($context.tocData = $tdoc.getTOC(2, 6, true)) Regards, Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Question re: Spaces
Did you try to list pages using a small code block ? Maybe some pages are remaining. To rename a space, I use that code (syntax 1.0) : 1 Rename Space #if($request.space) #if(doRename==$request.op) #set($space=$request.space) #foreach($item in $xwiki.getSpaceDocsName($request.space)) $xwiki.getDocument(${space}.${item}).rename(${request.newname}.${item.replace('.','_')}) #end 1.1 Renamed space $space to $request.newname [Cancel$doc.fullName] #end #if(listRename==$request.op) #set($space=$request.space) 1.1 Renaming space $space to $request.newname #foreach($item in $xwiki.getSpaceDocsName($request.space)) * Renaming $space.$item to ${request.newname}.${item.replace('.','_')} #end [Confirm$doc.fullName?space=$spacenewname=$request.newnameop=doRename] [Cancel$doc.fullName] #end #if(getNewName==$request.op) Renaming $request.space 1.1 Renaming ${request.space} form method=post action=$doc.getURL(view, ) onsubmit=cancelCancelEdit() div class=padded centered input type=hidden name=space value=${request.space} / input type=hidden name=op value=listRename / Enter new name for the space: input type=text name=newname value=${request.space} class=panelinput style=margin:auto; onfocus=if(this.value=='Title') this.value='' onblur=if(this.value=='') this.value='Title'/ /div div class=padded centered style=text-align:center; input type=submit class=button style=margin:auto; value=Rename/ /div /form [Cancel$doc.fullName] #end #else {table} Space | Action #foreach($space in $xwiki.spaces) $space | [Rename$doc.fullName?space=${space}op=getNewName] #end {table} #end -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Xavier Bartholome Envoyé : lundi 11 janvier 2010 17:23 À : users@xwiki.org Objet : [xwiki-users] Question re: Spaces Hi, I tried to delete a space by deleting all pages in it, but it still appears in the spaces lists (on the main page and in the panel) alltough with a question mark indicating that a page should be created ... how can I remove it from there? Also, How can I rename an existing space? Thanks in advance, Xavier ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Authentication problems with virtual wikis
Thank you Thomas. We use virtual wikis in the path based mode (set in the xwiki.cfg if i remember good) Ok. I will try that, hoping that it will solve our problem. Because it generates many problems with right permissions to browse virtual wikis by registered users. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : mercredi 16 décembre 2009 17:31 À : XWiki Users Objet : Re: [xwiki-users] Authentication problems with virtual wikis On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello all, Our system has some problems when a user logs in the main wiki and goes to a virtual wiki. It creates the Xwiki.userId page but not like a usual user page. It's just a blank one. Never heard of something like that, do you have anything in the log when you try to log in ? What multiwiki mode are you using ? domain name (http://wiki1.host/xwiki/bin/view/) based or path based (http://host/xwiki/wiki/wik1i/view/) ? The authentication process is done using LDAP process. Also is there a way to disable the login function only on the main wiki ? If yes, what will happen if a user tries to connect on a virtual wiki and it fails ? Because when this situation occured, the user is redirected to the login page of the main wiki and not the virtual one. I you want all your LDAP user profiles to be created/updated only on the main wiki see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser storegisteredonlyonmainwiki Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Authentication problems with virtual wikis
It's planned but here, when you want to upgrade an application used in production you have to wait many weeks for validations and authorisations. And then the 2.0.5 will be outdated ;) -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : jeudi 17 décembre 2009 08:46 À : XWiki Users Objet : Re: [xwiki-users] Authentication problems with virtual wikis On Thu, Dec 17, 2009 at 08:38, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Thank you Thomas. We use virtual wikis in the path based mode (set in the xwiki.cfg if i remember good) In that case you should upgrade to 2.0.5 since there is several important issues that as been fixed around the switch between wikis. Ok. I will try that, hoping that it will solve our problem. Because it generates many problems with right permissions to browse virtual wikis by registered users. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : mercredi 16 décembre 2009 17:31 À : XWiki Users Objet : Re: [xwiki-users] Authentication problems with virtual wikis On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello all, Our system has some problems when a user logs in the main wiki and goes to a virtual wiki. It creates the Xwiki.userId page but not like a usual user page. It's just a blank one. Never heard of something like that, do you have anything in the log when you try to log in ? What multiwiki mode are you using ? domain name (http://wiki1.host/xwiki/bin/view/) based or path based (http://host/xwiki/wiki/wik1i/view/) ? The authentication process is done using LDAP process. Also is there a way to disable the login function only on the main wiki ? If yes, what will happen if a user tries to connect on a virtual wiki and it fails ? Because when this situation occured, the user is redirected to the login page of the main wiki and not the virtual one. I you want all your LDAP user profiles to be created/updated only on the main wiki see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser storegisteredonlyonmainwiki Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list
[xwiki-users] Switching from 1.0 to 2.0 syntax
Hello all, I currently have a page in the xwiki/1.0 syntax : -- #includeMacros(WikiCode.KBLMacros) div style=text-align:center #displayAllProjectsTable() /div -- When switching to xwiki/2.0 syntax, it generates this : -- {{velocity filter=none}} {{html clean=false wiki=true}} {{include document=WikiCode.KBLMacros/}} p/ (% style=text-align:center %)((( #displayAllProjectsTable() ))) {{/html}} {{/velocity}} -- The problem is that in the page called WikiCode.KBLMacros, i have a variable called mainDocumentTitle and in the syntax 2.0 generated, i can't read it from the macro displayAllProjectsTable. But if i move the line {{include document=WikiCode.KBLMacros/}} before the line {{velocity filter=none}} then it works again. Do all include have to be set outside the velocity code ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Switching from 1.0 to 2.0 syntax
Thank you Guillaume. I put it outside and now all works great. I was just wondering why the automatic switch put it in the velocity code. Anyway, now my migration from 1.0 to 2.0 is finished successfully ;-) -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Guillaume Lerouge Envoyé : lundi 14 décembre 2009 11:03 À : XWiki Users Objet : Re: [xwiki-users] Switching from 1.0 to 2.0 syntax Hi Christophe, On Mon, Dec 14, 2009 at 10:55 AM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello all, I currently have a page in the xwiki/1.0 syntax : -- #includeMacros(WikiCode.KBLMacros) div style=text-align:center #displayAllProjectsTable() /div -- When switching to xwiki/2.0 syntax, it generates this : -- {{velocity filter=none}} {{html clean=false wiki=true}} {{include document=WikiCode.KBLMacros/}} p/ (% style=text-align:center %)((( #displayAllProjectsTable() ))) {{/html}} {{/velocity}} -- The problem is that in the page called WikiCode.KBLMacros, i have a variable called mainDocumentTitle and in the syntax 2.0 generated, i can't read it from the macro displayAllProjectsTable. But if i move the line {{include document=WikiCode.KBLMacros/}} before the line {{velocity filter=none}} then it works again. Do all include have to be set outside the velocity code ? Yes. I'm not sure what the reason was but it has something to do with the order in which the macros are executed in syntax 2.0. You need to put the include outside so that its contents get included fine and become available to the following velocity macro. Again, I'm not sure exactly what the technical reason is but it's better if your include macros are outside velocity macros. Guillaume Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Switching from 1.0 to 2.0 syntax
Thanks Thomas I created the issue http://jira.xwiki.org/jira/browse/XE-568 -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : lundi 14 décembre 2009 12:07 À : XWiki Users Objet : Re: [xwiki-users] Switching from 1.0 to 2.0 syntax On Mon, Dec 14, 2009 at 10:55, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello all, I currently have a page in the xwiki/1.0 syntax : -- #includeMacros(WikiCode.KBLMacros) div style=text-align:center #displayAllProjectsTable() /div -- When switching to xwiki/2.0 syntax, it generates this : -- {{velocity filter=none}} {{html clean=false wiki=true}} {{include document=WikiCode.KBLMacros/}} p/ (% style=text-align:center %)((( #displayAllProjectsTable() ))) {{/html}} {{/velocity}} -- The problem is that in the page called WikiCode.KBLMacros, i have a variable called mainDocumentTitle and in the syntax 2.0 generated, i can't read it from the macro displayAllProjectsTable. But if i move the line {{include document=WikiCode.KBLMacros/}} before the line {{velocity filter=none}} then it works again. Do all include have to be set outside the velocity code ? Not exactly. In your case the problem is that you have: - velocity is executed inside {{velocity macro}} - then the result of velocity execution is parser with wiki syntax parser {{include}} is wiki syntax so when it's executed you already did interpreted the velocity code that is supposed to use the variable coming from WikiCode.KBLMacros. When you put it outside of {{velocity}} macro it's executed before the velocity macro itself you your use case is working. Sorry for that it's a converter bug but it's not very easy to handle in a generic way. Could you create a jira issue about {{include}} and {{velocity}} in converter to at least have it explained somewhere ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki Oracle Support
Hi Oskar, We currently use Xwiki 2.0.3 in a production environment (VMWare) connected to an Oracle 10g database. And everything works great ! -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Oskar Marek Rzepinski Envoyé : lundi 14 décembre 2009 14:25 À : users@xwiki.org Objet : [xwiki-users] Xwiki Oracle Support Hi, our development team wants to use the xwiki for a help page. Now we stuck about the oracle versions that are supported by xwiki. We currently use oracle 10g R2 on the webserver and will upgrade i a timely manner to 11g. Before we install the xwiki we wanted to ask, if this versions of oracle are currently supported by the xwiki, or are there some problems with using wiki with oracle 10g r2 or oracle 11g. It would be great to hear some answers about it. And please excuse me for my poor English. Regards Oskar ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] (no subject)
Hello all, When going in the WYSIWYG editor and pressing CTRL+G if have the popup to go to a page that is displayed and it's in an edit-like mode (i can select different objets used by the small window) I did not find any jira issue open with that, do i have to create a new one ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Dynamic text on the right of the logo
Hello all, One request from our users is to set a dynamic text in the title bar, on the right of the logo. Something like a text related to the current browsed space for example. May be possible by reading a dedicated string object defined in the webhome page else it will be set to an empty string. Is it possible to do that ? Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrate a space
Hi, You can try the following code (xwiki 1.0 syntax) to rename your space Main to Releases : I guess that you will have to recreate the Main space as it seems to be the default one (with the WebHome page in it) *** 1 Rename Space #if($request.space) #if(doRename==$request.op) #set($space=$request.space) #foreach($item in $xwiki.getSpaceDocsName($request.space)) $xwiki.getDocument(${space}.${item}).rename(${request.newname}.${item.replace('.','_')}) #end 1.1 Renamed space $space to $request.newname [Cancel$doc.fullName] #end #if(listRename==$request.op) #set($space=$request.space) 1.1 Renaming space $space to $request.newname #foreach($item in $xwiki.getSpaceDocsName($request.space)) * Renaming $space.$item to ${request.newname}.${item.replace('.','_')} #end [Confirm$doc.fullName?space=$spacenewname=$request.newnameop=doRename] [Cancel$doc.fullName] #end #if(getNewName==$request.op) Renaming $request.space 1.1 Renaming ${request.space} form method=post action=$doc.getURL(view, ) onsubmit=cancelCancelEdit() div class=padded centered input type=hidden name=space value=${request.space} / input type=hidden name=op value=listRename / Enter new name for the space: input type=text name=newname value=${request.space} class=panelinput style=margin:auto; onfocus=if(this.value=='Title') this.value='' onblur=if(this.value=='') this.value='Title'/ /div div class=padded centered style=text-align:center; input type=submit class=button style=margin:auto; value=Rename/ /div /form [Cancel$doc.fullName] #end #else {table} Space | Action #foreach($space in $xwiki.spaces) $space | [Rename$doc.fullName?space=${space}op=getNewName] #end {table} #end ** -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Maria Carolina Ramirez Envoyé : vendredi 4 décembre 2009 20:37 À : XWiki Users Objet : [xwiki-users] Migrate a space Hi Everybody, I have a problem with Main space. I have several documents in Main Space and I need to work in other space created by me. So, I don't know if I can move all the documents that I have in Main space into my new space called Releases. I create the space, but I only found a way to do that and is to rename page by page, each one separately. Thanks in advance! Ma. Carolina Ramirez ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems and Feedback
Hi Yes, you can configure it to display those buttons. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor I tried and it works great. Thank you. I changed the XWikiPreferences to override values for the wysiwyg editor but i will modify the vm file because the class takes too much time to be modify and we plan to have a lot of virtual wikis If you use the Office Importer to import a PowerPoint presentation, the whole presentation will be displayed in a wiki page. Simply try importing a .ppt file and you'll see ;-) You are right. It works really good. Just i don't know why it did not in the past (we restarted the server). But we still have a problem with medium/big PPT (more than 15Mb). We have a timeout. Can we modify this timeout value ? Ok. Note that the next version of XWord will work with XWiki 2.0 syntax and thus might be useful for heavy Word users. We just made the migration to Office XP so don't expect the migration to Office 2007 before ten years (at least) ;-) Thanks again :-) Thanks to you and your team Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems and Feedback
Thank you Asiri, i will ask the support to update the value and i will test it again. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Asiri Rathnayake Envoyé : jeudi 3 décembre 2009 15:53 À : XWiki Users Objet : Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems and Feedback Hi, You are right. It works really good. Just i don't know why it did not in the past (we restarted the server). But we still have a problem with medium/big PPT (more than 15Mb). We have a timeout. Can we modify this timeout value ? Yes, check your xwiki.properties file (importer module configuration section), there are several parameters that allow you to fine tune office import process. - Asiri Ok. Note that the next version of XWord will work with XWiki 2.0 syntax and thus might be useful for heavy Word users. We just made the migration to Office XP so don't expect the migration to Office 2007 before ten years (at least) ;-) Thanks again :-) Thanks to you and your team Christophe Périnaud -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] History of a page
Hello, I have a page that was modified 47 times. When i go to see the history, the tab displayed Results 1 - 20 of 47 but i can see all versions. If i go on the second or the third page, the result is also the complete history list. Is it a known bug ? I tried to look at the JIRA issues but i did not find any. Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Virtual Wikis and new users
Hello, We have here a main Wiki (2.0.3) and few Virtual Wikis. When a user connects to the main one and then goes to a virtual one, a new page is created based on the id of the user. The problem is that this page is not linked to user's class and only the id of the user is displayed instead of the first name/last name If now the user logout, goes in the virtual wiki and connect, the system will create a new page called ID_1 with right information. All authentication users is based on LDAP systems (first name and last name are retrieved from the AD) Any idea where it can comes from ? Thank you all. Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Virtual Wikis and new users
Thanks Thomas On your link i see : In order to forbid LDAP auth to create users on subwikis you can: - disable LDAP in xwiki.cfg and enable it in the main wiki by choosing No in the Ldap field of XWiki.XWikiPreference page object - disable LDAP in every sub-wikis by choosing No in the Ldap field of XWiki.XWikiPreference page object I guess that you mean yes in the LDAP field in the first option ? Just i don't had to do that on my 1.8.2 wiki. When i was connecting in the main wiki and then going to a virtual one, the copy of the user (if new one) was ok. Anyway i will try one of this options. Thank you. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : vendredi 27 novembre 2009 12:23 À : XWiki Users Objet : Re: [xwiki-users] Virtual Wikis and new users On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello, We have here a main Wiki (2.0.3) and few Virtual Wikis. When a user connects to the main one and then goes to a virtual one, a new page is created based on the id of the user. The problem is that this page is not linked to user's class and only the id of the user is displayed instead of the first name/last name If now the user logout, goes in the virtual wiki and connect, the system will create a new page called ID_1 with right information. All authentication users is based on LDAP systems (first name and last name are retrieved from the AD) If you want all your users to be on the main wiki you have to configure LDAP to disable it in sub wikis. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser storegisteredonlyonmainwiki Any idea where it can comes from ? Thank you all. Christophe Périnaud -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Virtual Wikis and new users
Yes you are right. It's done. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Guillaume Lerouge Envoyé : vendredi 27 novembre 2009 13:36 À : XWiki Users Objet : Re: [xwiki-users] Virtual Wikis and new users Hi Christophe, On Fri, Nov 27, 2009 at 1:01 PM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Thanks Thomas On your link i see : In order to forbid LDAP auth to create users on subwikis you can: - disable LDAP in xwiki.cfg and enable it in the main wiki by choosing No in the Ldap field of XWiki.XWikiPreference page object - disable LDAP in every sub-wikis by choosing No in the Ldap field of XWiki.XWikiPreference page object I guess that you mean yes in the LDAP field in the first option ? Indeed. Can you fix the documentation on XWiki.org? Thanks, Guillaume Just i don't had to do that on my 1.8.2 wiki. When i was connecting in the main wiki and then going to a virtual one, the copy of the user (if new one) was ok. Anyway i will try one of this options. Thank you. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : vendredi 27 novembre 2009 12:23 À : XWiki Users Objet : Re: [xwiki-users] Virtual Wikis and new users On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello, We have here a main Wiki (2.0.3) and few Virtual Wikis. When a user connects to the main one and then goes to a virtual one, a new page is created based on the id of the user. The problem is that this page is not linked to user's class and only the id of the user is displayed instead of the first name/last name If now the user logout, goes in the virtual wiki and connect, the system will create a new page called ID_1 with right information. All authentication users is based on LDAP systems (first name and last name are retrieved from the AD) If you want all your users to be on the main wiki you have to configure LDAP to disable it in sub wikis. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser storegisteredonlyonmainwiki Any idea where it can comes from ? Thank you all. Christophe Périnaud -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 -- -- This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http
[xwiki-users] WYSIWYG Editor : error when inserting a macro in a page
Hello, When we try to insert a macro when editing a page, we have the message below displayed in the popup window (the HTML tags are also displayed). We work with virtual wikis, the problem exists in the main wiki and all virtual wikis. * html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/ titleError 500 INTERNAL_SERVER_ERROR/title /head bodyh2HTTP ERROR 500/h2 pProblem accessing /xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. Reason: preINTERNAL_SERVER_ERROR/pre/ph3Caused by:/h3prejava.lang.NullPointerException at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(DefaultDocumentNameFactory.java:188) at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiName(DefaultDocumentNameFactory.java:156) at com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentName(DefaultDocumentNameFactory.java:112) at com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3741) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1407) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:464) at com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:115) at com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:80) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) /pre hr /ismallPowered by Jetty:///small/ibr/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ /body /html * Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of
Re: [xwiki-users] Customized search possibility
Hi, For the WebSearch engine (the one i use), you can modify the code of the WebSearch page for the look and change also the code in the page XWiki.WebSearchCode to customize the way to search your words in the wiki (page names, content, text fields, textarea fields). Would not be too difficult to also add a search in tags (based on the search in tags page) Hope it helps -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Dilipkumar Jadhav Envoyé : vendredi 24 juillet 2009 12:09 À : users@xwiki.org Objet : [xwiki-users] Customized search possibility Hello All, Is there a way to customize xwiki search. Eg. If we would like to search for keywords only in the title of the document and not in the content OR if the search should return result based only on tag search. If it is possible would it be in groovy/velocity or it would involve source files... Any help is much appreciated. Thank you... ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] setContent and multilines
Hello all I create a page that will generate a statistics table. I would like to write this table in a page. How i can do that ? I tried this : $document.setContent({table}Date|Start|End|Duration \n 20090616|1|2|3 \n{table}) But the result is : Date Start End Durationn 20090616 1 2 3 n What i would like in my page is {table} Date|Start|End|Duration 20090616|1|2|3 {table} Any idea ? Thank you Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Cannot import default xar
Hi, Is the XAR file correct ? I mean not corrupted with the package.xml file in the root folder ? It looks like as if the load of the XML file has not been made. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de hel-o Envoyé : lundi 20 juillet 2009 11:05 À : users@xwiki.org Objet : Re: [xwiki-users] Cannot import default xar Hi, theres nothing in the xwiki or tomcat log. But when i enable hold on every error for scripts in Firebug i get the following when i click on the uploaded xar. 74 function getXmlValue(tag, xml) 75 { xml is null 76 var nodes = xml.getElementsByTagName(tag); 77 if (nodes.length 0 nodes[0].firstChild) 78 return nodes[0].firstChild.data; The script is import.js. I use Firefox 3.5. Thanks hel. Sergiu Dumitriu-2 wrote: hel-o wrote: Hi, just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. I can upload the file but when i click on it to import nothing happens. In the console i get the following error when i upload the file updateAttachName is not defined function onclick(event) { return updateAttachName(this.form, Do you want to replace the filename with); }(click clientX=108, clientY=439) Yes, this JS error is not important, and I think it's been fixed in the SVN. Are there any errors logged on the server? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users - semantic-web.hel.at h...@hel.at -- View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3287792.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import/Export application
Hello, I answer my own question. The problem is that the URL used in the ajaxRequest is based on the URL of the main Wiki. But in my case i tried to use it from a virtual Wiki For those who would like to use it in virtual mode, in the page called Export you have to replace : this.baseUrl = /xwiki/bin/ + this.action; With #if($xwiki.isVirtualMode() !$context.isMainWiki()) this.baseUrl = /xwiki/wiki/${context.getDatabase()}/ + this.action; #else this.baseUrl = /xwiki/bin/ + this.action; #end Then the pages list should be displayed Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de PERINAUD Christophe Envoyé : jeudi 26 mars 2009 14:39 À : XWiki Users Objet : [xwiki-users] Import/Export application Hello, I download the ImportExport Application (1.3) in one of my virtual wiki. When i go in the export page and select a space nothing happens (only the message Start by choosing a space to list documents in the lower cell disepears) I tried to look at the code but with no success. I added an instruction alert(res.transport.responseText); in showDocs function and the content is only set to the xml header. The readyStatus is set to 4 and the status is set to 200 so everything seems to be ok. If i call the page in another windows with right parameters (action=getdocsspacename=Blogxpage=rdf), IE 6.0 displays a nice XML file with all pages in the space in a value tag I can't find out why the XML flow is empty (and so makes the export page not working) Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8-rc2 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to use the ajaxSuggest
Hello, The problem was that a amp; was missing at the end of the build URL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de PERINAUD Christophe Envoyé : vendredi 12 juin 2009 15:44 À : XWiki Users Objet : [xwiki-users] How to use the ajaxSuggest Hello all I would like to use the ajaxSuggest feature to help users inputting data in an input field of a form. I checked in the tagedit.vm how it works but i can't have a result. I create that : --- #set($script=$xwiki.getURL(Main.TestXML)+?xpage=plain) input type=text name=project value= class=panelinput style=margin:auto; onfocus=new ajaxSuggest(this, {script:'${script}', varname: 'input', seps:'', offsety: 13} );/br --- The page Main.TestXML is like that : --- $response.setContentType(text/xml) ?xml version=1.0 encoding=UTF-8? results type=1 rs id=1 info=info1valeur1/rs rs id=2 info=info2valeur2/rs rs id=3 info=info3valeur3/rs /results --- So when the user inputs something like al, i would like to see the popup with the three values. I just got a javascript error saying Object required on the line with the input field Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error creating wiki using template
Hi, I'm using XEM 1.6 from the jetty pack and Oracle 10g and i have the same problem. The template feature is not working. You should also have sometimes exceptions in the console with data types problems, founding an empty data set but expecting a blob one. What i did is to create a virtuel wiki only used as a template and exporting it and then import in any new wiki. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Henk Schouten Envoyé : lundi 15 juin 2009 14:39 À : users@xwiki.org Objet : [xwiki-users] Error creating wiki using template Hello, I have recently started using the XWiki Manager to manage 2 separate xwiki instances. While playing around and creating a new wiki I noticed that I cannot create a new wiki using a template wiki. If I create a new wiki using exactly the same settings but without a template it works just fine. I have tried this with XEM 1.6.4 and XEM 1.7. Both have the same problem. I am using tomcat 5.5.27 and an Oracle 10G database. The problem apparently has to do with a sequence in the database. Anyone got an idea what may be causing this? Thanks, Henk Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content with id http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname=hhs_templateXWiki.XWikiServerClass_0_wikiprettyname=HHS+TemplateXWiki.XWikiServerClass_0_description=Template+voor+HHS+wikiXWiki.XWikiServerClass_0_server=hhs_templateXWiki.XWikiServerClass_0_owner=XWiki.AdminXWiki.XWikiServerClass_0_owner=wikitemplate=xwikitemplatereadersusers=xwiki%3AXWiki.Adminreadersgroups=xwiki%3AXWiki.XWikiAdminGroupwritersusers=xwiki%3AXWiki.Adminwritersgroups=xwiki%3AXWiki.XWikiAdminGroupadminsusers=xwiki%3AXWiki.Adminadminsgroups=xwiki%3AXWiki.XWikiAdminGroupdoc=1actioncreate=CreateCreate New Wiki http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content with id Create New Wiki http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content with id Create New Wiki http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450) at sun.reflect.GeneratedMethodAccessor294.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: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.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655) at sun.reflect.GeneratedMethodAccessor184.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:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at
Re: [xwiki-users] No users and groups
Hi, The displayUsersAndGroups is a function defined in webapps\xwiki\resources\js\xwiki\usersandgroups\usersandgroups.js Does your file exists ? Also in the source of the users management page, do you have this somewhere : script type='text/javascript' src='/xwiki/bin/skin/resources/js/xwiki/usersandgroups/usersandgroups.js' The first error can't be a translation error with the content of your string where you have to replace part of text ? Do you have the same error in english ? -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de hel-o Envoyé : lundi 25 mai 2009 10:54 À : users@xwiki.org Objet : Re: [xwiki-users] No users and groups Hi, and sorry to bother you, but i really would need help on this. I cannot manage rights without groups and users and i cannot figure out why i cannot see them. upgraded to 1.8.4 imported the default xar, cleaned the browser cache - users and groups in the main wiki are ok no users and groups are displayed in the virtual wiki firebug shows 2 errors (e.g. calling rights management): missing ; before statement [Break on this error] var denymessage = Sie sind ge...zen?.replace('__right__', self.right);\n Javascript.jtp (Linie 12) displayUsersAndGroups is not defined [Break on this error] var ta = new ASSTable(?xpage=ge...upstable, displayUsersAndGroups, true); It would be great if somebody could give me a hint. Thanks hel. - h...@hel.at -- View this message in context: http://n2.nabble.com/No-users-and-groups-tp2938876p2968617.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Customize colors of code macro
Hi If you look at the jar file of pygments, you will find a subfolder styles wich contains .py source files defining the style of tokens of the language. I am not sure if you can customize them without replacing the jar (and rebuilding the wanted .class from .py/.pyc) -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Reto Hotz Envoyé : mercredi 20 mai 2009 09:16 À : XWiki Users Objet : [xwiki-users] Customize colors of code macro Hi, I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0) In the code macro documentation (http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that there is an cssClass attribute for that purpose. Unfortunately the available css keywords are not documented. Firebug also didn't help me, because the color seems to be hard coded in some way (see example at the end). Can you provide me with an example of customizing the color of the code macro? e.g. my code macro: {{code language=java}} public void do() { System.out.println(bla); } {{/code}} produces this rendered html: div class=box code span style=font-weight: bold; color: rgb(0, 128, 0);public/span span style=color: rgb(176, 0, 64);void/span span style=color: rgb(0, 0, 255);do/spanspan style=color: rgb(102, 102, 102);()/span span style=color: rgb(102, 102, 102);{/spanbr/ Systemspan style=color: rgb(102, 102, 102);./spanspan style=color: rgb(125, 144, 41);out/spanspan style=color: rgb(102, 102, 102);./spanspan style=color: rgb(125, 144, 41);println/spanspan style=color: rgb(102, 102, 102);(/spanspan style=color: rgb(186, 33, 33);bla/spanspan style=color: rgb(102, 102, 102););/spanbr/span style=color: rgb(102, 102, 102);}/spanbr/ /div Thanks a lot. Reto ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] No users and groups
Hi Stupid question but did you try to clear the cache of the browser ? -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de hel-o Envoyé : mercredi 20 mai 2009 12:00 À : users@xwiki.org Objet : Re: [xwiki-users] No users and groups Ok, tried to find an answer and found http://n2.nabble.com/Object-caching--tt502637.html#a502638 created a page (syntax 2.0) with a velocity macro including the following code $xwiki.flushCache() Still no users and no groups. hel. Sergiu Dumitriu-2 wrote: hel-o wrote: Hi, just found that since my update (1.8.3) no users and groups are displayed in the Admin-Application in my virtual wiki in the main wiki they are still available. I imported the default xar. Please clean the cache, since some javascripts have changed. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users - h...@hel.at -- View this message in context: http://n2.nabble.com/No-users-and-groups-tp2938876p2945293.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WebSearch and multi wikis
Hello I try to make the WebSearch to search for documents in different wikis. In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still does not work. Any idea if it's possible and how ? Thank you all Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WebSearch and multi wikis
Thank you Thomas The problem is that i tried both of this solutions with no result. Just to be sure i tested that code : brContext = $context.database brWanted context = $context.mainWikiName #set($ok = $context.setDatabase($context.mainWikiName)) brNew context = $context.database And the result is : Context = template18 Wanted context = xwiki New context = template18 Even if i am admin of all wikis (virtuals and main one) and i forced admin rights, i can't switch the context I don't see what's the problem with that. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : mercredi 20 mai 2009 16:38 À : XWiki Users Objet : Re: [xwiki-users] WebSearch and multi wikis On Wed, May 20, 2009 at 16:24, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello I try to make the WebSearch to search for documents in different wikis. In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still does not work. Any idea if it's possible and how ? You need programing right to use $context.setDatabase(database), otherwise it does nothing. But you can use XWiki.searchDocumentsNames(String wikiName, String parametrizedSqlClause, int nb, int start, List ? parameterValues) which support the name of the wiki. See http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#searchDocumentsNames%28java.lang.String,%20java.lang.String,%20int,%20int,%20java.util.List%29 Thank you all Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WebSearch and multi wikis
Sorry i wrote admin rights instead of programming rights. Anyway, i restarted jetty and my browser. Now it works. Thanks for your help -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : mercredi 20 mai 2009 17:11 À : XWiki Users Objet : Re: [xwiki-users] WebSearch and multi wikis On Wed, May 20, 2009 at 16:58, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Thank you Thomas The problem is that i tried both of this solutions with no result. Sorry i misread your first mail. Just to be sure i tested that code : brContext = $context.database brWanted context = $context.mainWikiName #set($ok = $context.setDatabase($context.mainWikiName)) brNew context = $context.database And the result is : Context = template18 Wanted context = xwiki New context = template18 Even if i am admin of all wikis (virtuals and main one) and i forced admin rights, i can't switch the context Admin right are not the same than programming right, go to the main wiki and check that your user has programming right or is in a group which has programming right. But anyway it should work with XWiki.searchDocumentsNames(String wikiName, String parametrizedSqlClause, int nb, int start, List ? parameterValues) without programming right. Are you sure $wikiSearch variable contains the right wiki name ? I don't see what's the problem with that. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne Envoyé : mercredi 20 mai 2009 16:38 À : XWiki Users Objet : Re: [xwiki-users] WebSearch and multi wikis On Wed, May 20, 2009 at 16:24, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello I try to make the WebSearch to search for documents in different wikis. In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still does not work. Any idea if it's possible and how ? You need programing right to use $context.setDatabase(database), otherwise it does nothing. But you can use XWiki.searchDocumentsNames(String wikiName, String parametrizedSqlClause, int nb, int start, List ? parameterValues) which support the name of the wiki. See http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#searchDocumentsNames%28java.lang.String,%20java.lang.String,%20int,%20int,%20java.util.List%29 Thank you all Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ 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 This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus
[xwiki-users] How to display users name in rights pages
Hello, I would like to know how can i display the first name and last name of a user on a rights admin page, near the link to the user's page ? Users connect with a novell id so when a user wants to change page rights, he is only able to see a list of ID (not so usefull). I checked the rightsUI.vm template that lead me in usersandgroups.js but in the function displayUsersAndGroups i don't know how to do then as it's the same function for users and groups and i don't know how to get the information in Thank you for your help Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to get an external URL of an attachment
Hello, I would like to parse an XML file that i attached to a page. I use #set ($content = $xwiki.getURLContent($xmlURL)) ... $newdoc.fromXML($content) If $xmlURL is set with something like http://mywikiurl/xwiki/.../PageName/file.xml it works and i can see my page But if instead of a string i try to use $doc.getAttachementURL(file.xml), the fromXML generates an exception, $context is empty Any idea ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Enterprise 1.83/1.82 . User and GroupAdministration
Hi I got the same problem and was because i missed some new files in the Xwiki space. Did you follow the migration instructions on the Xwiki site ? And did you updated pages using the new XAR ? -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Mohamed Arrass Envoyé : vendredi 15 mai 2009 11:08 À : users@xwiki.org Objet : [xwiki-users] XWiki Enterprise 1.83/1.82 . User and GroupAdministration Hello, since we upgrade on Version 1.82 We can no longer administrate the users and groups in the admin Interface, we test it with safari firefox. I update to1.83 but nothing changes. I debug the xwiki user and group interface with firebug. They show me the following error when i open the user and group config interface GET http://SERVER/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Users ASSTable is not defined XWikiPreferences?editor=globaladminsection=Users() ()XWikiPre...ion=Users (Linie 318) [Break on this error] var ta = new ASSTable(?xpage=get...r1, userstable, displayUsers, true); When i go to the users and group interface, they show me a loading bar. But the Client request is finished. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP users authentication
Hi Sergiu, The link that is displayed is : http://IPaddr:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=leMZxkWI I try to give you all information : My virtual Wiki has a space called PVCS. There is special rights handeling in it : - In the users tab, i changed nothing - In the groups tab, i gave the green check to all functions for a group called PVCSAdmin, i changed nothing for the XWikiAdminGroup and for XWikiAllGroup i gave the access (green check) to View and Comment only (other function have the red stop sign) If i go to the WebHome page of the space without login, it opens the previous given link. Once logged, i can see my page. FYI, the link to the virtual wiki login page is : http://IPaddr:8080/xwiki/wiki/technicalwiki/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2FIPaddr%3A8080%2Fxwiki%2Fwiki%2Ftechnicalwiki%2Fview%2FMain%2F Hope it helps -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 27 avril 2009 17:06 À : XWiki Users Objet : Re: [xwiki-users] LDAP users authentication PERINAUD Christophe wrote: Hi, No, there's no reason for this. A possible explanation: - The link followed was somehow wrong, pointing to a non-existing wiki. Given to another user (that has already connect in), the link works I'm not saying that the link is wrong, but that it got wrong somewhere in the process: bad copy/paste in the mail, bad copy/paste in the browser, etc. - This normally redirects to the main wiki to a page explaining that this wiki does not exist. The wiki exists. After login the message is that the user has no right to view the page Can you tell me what was the name of the page that was displayed to the user? The one from the main wiki. - The administration menu could only appear if the rights on your main wiki are wrongly set. I'd advise you revise your rights, since this is a potential security issue. But in this case why after deleting local profile on the main wiki and asking the user to connect on the virtual wiki, everything goes fine (able to see and no admin rights) ? I did not change rights before deleting. This is normal behavior. Connecting to a local wiki is just that, connecting to a local wiki, there's no relation to the main wiki and its rights. The fact that the first time the user ended up on the main wiki is an exceptional case, which must be investigated. Ignore the normal behavior, it is working fine. Debug the main wiki rights issue. I checked the rights space and the rights page and there is no restriction. On the main wiki, only unregistered users have restriction (no edition) There's no reason why visiting a local wiki should redirect to the global one, except the one that I stated above. Try logging in on the main wiki, to see what's happening. Try using that user's account on both the global and local wiki. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Export Spaces
Hi, I got same problem than you with space export application (Unable to select documents after selecting a space) So i created a new page with this code in it : - #if(!$request.space) #set($space = All) #else #set($space = $request.space) #end #set($spacesText = {}) #set($spaces = $xwiki.spaces) #set($ok = $spacesText.put(All,All)) #foreach($space in $spaces) #set($ok = $spacesText.put($space,$space)) #end #macro(spaceoption $space $selectspace $spacesText) option value=$spacesText.get($space) #if($selectspace == $spacesText.get($space))selected=selected#end$space/option #end #macro(spaceselect $selectspace $spaces $spacesText) select name=space #spaceoption(All $selectspace $spacesText) #foreach($space in $spaces) #spaceoption($space $selectspace $spacesText) #end /select #end form action= {pre} div class=centered Space #spaceselect($space $spaces $spacesText) input type=submit value=Export/ /div {/pre} /form #if ($request.space) 1.1 List of docs that will be Exported #set($parametros = ?format=xarhistory=falsename=+$space) #foreach ($item in $xwiki.getSpaceDocsName($request.space)) * $item #set( $parametros = $parametros + pages= + $space + . + $item ) #end #set( $parametros=$doc.getURL(export)+$parametros ) #set( $parametros=$parametro.toString.replace(/view/,/export/)) a href=$parametrosExportar/a #end - Hope it helps -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Hesediel Envoyé : lundi 27 avril 2009 11:10 À : users@xwiki.org Objet : [xwiki-users] Export Spaces Hi everyone, I've tried another solution in order to solve my problem of exporting a few spaces/pages. The solution is to use the API in xwiki. In order to import a few pages, I modify the url like this : export/Panels/SpaceName?format=xarname=Panels.v1pages=Panels.Panels%E8pages=Panels.Panels2%E8 With that, I've a xar containing the folder Panels and the file package.xml. In the folder Panels, I have my two pages and there is no problems to import them in xwiki. My question is : Which argument have I to set in order to save a whole space ? I've tried spaces but it didn't work. Thanks in advance, Hesediel. -- View this message in context: http://n2.nabble.com/Export-Spaces-tp2723943p2723943.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Export Spaces
Say thanks to someone of the website of itaca where i found the source code ;-) -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Hesediel Envoyé : lundi 27 avril 2009 11:34 À : users@xwiki.org Objet : Re: [xwiki-users] Export Spaces Hi Christophe, First of all, thanks for this quick answer :-). Your code works well in order to save a whole space. There is one but : it only works with Xwiki 1.0. In XE 1.8.1, the conversion of your code in Xwiki2.0 doesn't work. It must be a problem whith macros you use in it. Anyway, thanks for all, it really helps me. Hesediel. -- View this message in context: http://n2.nabble.com/Export-Spaces-tp2723943p2724310.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] LDAP users authentication
Hello, I have a strange thing in my wiki farm. I sent to a user (that never used any wiki) a link to a page in one of my virtual wikis. The first thing he is able to see is a login window on the main wiki (even if there is no access restriction on the page) After log in the system he comes back on the page with a message saying he has no right to access the page but the administrate menu is available (and he is not one of the administrators). In the local users of the virtual wiki i am not able to see him. In the global i can (i guess that's ok as he logged in the main wiki) I went on the main wiki, i deleted his local profile and asked him to go on the main page of the virtual wiki and click on the login link (of the virtual wiki). He is now able to see the page discussed previously and no more administrate menu is displayed (everything is fine) Is there any restriction about the method users have to connect and identify them the first time ? Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP users authentication
Hi, No, there's no reason for this. A possible explanation: - The link followed was somehow wrong, pointing to a non-existing wiki. Given to another user (that has already connect in), the link works - This normally redirects to the main wiki to a page explaining that this wiki does not exist. The wiki exists. After login the message is that the user has no right to view the page - The administration menu could only appear if the rights on your main wiki are wrongly set. I'd advise you revise your rights, since this is a potential security issue. But in this case why after deleting local profile on the main wiki and asking the user to connect on the virtual wiki, everything goes fine (able to see and no admin rights) ? I did not change rights before deleting. I checked the rights space and the rights page and there is no restriction. On the main wiki, only unregistered users have restriction (no edition) This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Login action to do before redirecting to a page
Hello, I try to update automatically the avatar of a user when he logs in (pictures are stored in an intranet server) I checked the login.vm template but it redirects to /xwiki/loginsubmit/Xwiki/XWikiLogin after submitting and i don't know how to edit (if possible) this page/template. Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can no longer enumerate users after upgrade
Hi I got the same problem after migrating from 1.8rc2 to 1.8 The problem was that i missed one file to import in the new XAR (In the Xwiki space, a sheet if i remember good). What i would suggest is to follow the instructions on the upgrade xwiki page to know wich file you must not select when importing. Also the users adminitration is a link to the sheet in Xwiki space so it doesn't change from one space to another (but i can miss something as i am a newbie in Xwiki) at least for the presentation Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Daniel Barowy Envoyé : mardi 31 mars 2009 15:35 À : users@xwiki.org Objet : [xwiki-users] Can no longer enumerate users after upgrade Hello everyone, After upgrading from XWiki 1.7 to 1.8, I am no longer able to enumerate users or groups in the XWiki preferences pane. Instead, what I get is an animated busy bar with the word Loading... printed across the top. This never stops loading, and so I never get a list of users. The same is true for any page where I need to set access rights. I get the same thing, except I also get, printed across the top of the page: $xwiki.jsfx.use(js/xwiki/usersandgroups/usersandgroups.js, true) $xwiki.ssfx.use(js/xwiki/usersandgroups/usersandgroups.css) $xwiki.jsfx.use(js/xwiki/table/livetable.js, true) $xwiki.ssfx.use(js/xwiki/table/livetable.css, true) I did selectively import the new XAR in order to avoid having to page preferences, but this appears even on pages that I allowed the new XAR to replace, like the Sandbox. I also reused my old xwiki.cfg, after looking at a diff between the old one and a new one. I don't recall if I changed anything (sorry... it was getting late in the day). I am using LDAP to connect to Active Directory. Also, on first run, I enabled the migration options in xwiki.cfg, but I have now commented them out. Does anyone have any suggestions? Thanks, Dan xwiki.cfg: #--- # Preamble # # This is the main old XWiki configuration file. Commented parameters show the default value, although some features # might be disabled. To customize, uncomment and put your own value instead. #--- # General wiki settings # #-# When the wiki is readonly, any updates are forbidden. To mark readonly, use one of: yes, 1, true # xwiki.readonly=no #-# [Since 1.6RC1] Defines the list of supported syntaxes #-# Available syntaxes are: #-#xwiki/1.0, xwiki/2.0, confluence/1.0, jspwiki/1.0, creole/1.0, mediawiki/1.0, twiki/1.0, xhtml/1.0, html/4.01 xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 #-# List of groups that a new user should be added to by default after registering. Comma-separated list of group document #-# names. # xwiki.users.initialGroups=XWiki.XWikiAllGroup #-# Uncomment if you want to ignore requests for unmapped actions, and simply display the document # xwiki.unknownActionResponse=view #-# The encoding to use when transformin strings to and from byte arrays. This causes the jvm encoding to be ignored, since we want #-# since we want to be independend of the underlying system. xwiki.encoding=ISO-8859-1 #-# This parameter will activate the sectional editing xwiki.section.edit=1 #-# Enable backlinks storage, which increases the update time, but allows to keep track of inter document links. xwiki.backlinks=1 #-# Enable document tags. xwiki.tags=1 #--- # Storage # #-# Role hints that differentiate implementations of the various storage components. To add a new implementation for one #-# of the storages, implement the appropriate interface and declare it in a components.xml file (using a role-hint other #-# than 'default') and put its hint here. # #-# The main (documents) storage. # xwiki.store.main.hint=default #-# The attachment storage. # xwiki.store.attachment.hint=default #-# The document versioning storage. # xwiki.store.versioning.hint=default #-# The attachment versioning storage. Use 'void' to disable attachment versioning. # xwiki.store.attachment.versioning.hint=default #-# The document recycle bin storage. # xwiki.store.recyclebin.hint=default #-# The attachment recycle bin storage. # xwiki.store.attachment.recyclebin.hint=default #-# Whether the document recycle bin feature is activated or not # xwiki.recyclebin=1 #-# Whether the attachment recycle bin feature is activated or not # storage.attachment.recyclebin=1 #-# Whether the document versioning feature is activated or not # xwiki.store.versioning=1 #-# Whether the attachment versioning feature is activated or not # xwiki.store.attachment.versioning=1 #-# Whether the attachments should also be rolled back when a document is reverted. # xwiki.store.rollbackattachmentwithdocuments=1 #-# The path to the hibernate configuration file. # xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml #-# Whether to
[xwiki-users] Lucene syntax/use help
Hello all I would like to use Lucene as my default search engine. My problem is that it cannot search by default for part of words. Only for single words. But even knowing that you must know the first letter of what you are looking for as the * is not allowed as the first character in a searched sentence Is it possible to ask Lucene to search for part of words and not only full words or else to have a tip about how using the star as the first character ? Thank you Christophe This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Enterprize 1.8 Panels not working
Hi, What you mean by is not working ? I have on my server a problem with Panels (on left side), some are replaced by others after saving and getting back to home page. To save changes you have to edit XWikiPreferences in object editor, click on XWikiPreferences and find the field that contains panels displayed on the left side and save the page (you will find some values like 'undefined' if you had a problem with the wizard) Hope it helps Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Chris Ellis Envoyé : mercredi 1 avril 2009 04:29 À : users@xwiki.org Objet : [xwiki-users] Enterprize 1.8 Panels not working I recently installed the standalone Enterprize 1.8 and it seems that only the right panel page layout is working - neither of the other layouts are working. Ideas? Cheers Chris Ellis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Office importer application error
Hi, I refreshed my xwiki install with a 1.8 release instead of the 1.8rc2. I'm able to start the open office server and also to import office documents (after copying the office importer snapshot in the lib folder) Thank you for your help and time -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Asiri Rathnayake Envoyé : mercredi 25 mars 2009 17:18 À : XWiki Users Objet : Re: [xwiki-users] Office importer application error Hi, On Wed, Mar 25, 2009 at 9:19 PM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Asiri, I uploaded both xar files in my virtual wiki and all is ok, i have the new icon available. When i click on it i'm able to see the path and the profile path for open office My values are : *** You can override Server Path and Server Profile variables through WEB-INF/xwiki.properties file. Server Path C:/Program Files/OpenOffice.org 2.4/ Server Profile C:/Documents and Settings/BB03545/Application Data/OpenOffice.org2 Server State Not Running *** When i select Start and click on the button, i come back to the same page with a message Inadequate privileges. If i look at the console, no error is displayed in it. I had a look in the source code but it seems that the exception is rised in many places. Ok, this is something i'm not able to explain very clearly. And we are working on a custom constructed XE installation here :) Do you (person who imported the officeimporter application) have programming rights? Make sure you do, it's required. Did you try to start the OpenOffice server as admin or some other user? - Asiri -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Asiri Rathnayake Envoyé : mercredi 25 mars 2009 15:27 À : XWiki Users Objet : Re: [xwiki-users] Office importer application error Hi Christophe, On Wed, Mar 25, 2009 at 6:13 PM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hi Asiri, Thanks for the advice. I put the jodconverter beta jar in the WEB-INF/lib and the server is able to start but not to import a file I started Open Office like said on the page (i checked both windows process run). If i use the version 1.8 of both jar i have the bug we discussed about. If i stop the xwiki server (keep ooffice started) and replace the both jar (snapshot and beta) and restart the server, when i try to import a file i have as result an error box with only $officeimporter.getMessage() in it The stack trace in the server is : Ok, you should use the officeimporter snapshot and jodconverter beta jars. But You must also use the latest officeimporter application: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-officeimporter/1.5-SNAPSHOT/xwiki-application-officeimporter-1.5-20090325.112122-7.xar And the latest administration application: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-administration/1.9-SNAPSHOT/xwiki-application-administration-1.9-20090325.112027-7.xar Once you do this, you should not start the oo server external to the XE.. it should be done from the Admin interface and there is a seperate admin UI for managing the OO server process. And you can configure the oo server in WEB-INF/xwiki.properties file (by specifying oo installation and oo profile and other configuration options) These new features have not yet been documented because I was busy with several more new features (like splitting documents into multiple wiki pages while importing). I wish to document them soon. Thanks - Asiri ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Export from 1.7 and import in 1.8
Hi I think you have to change JAVA_OPTS in the script to start the server. In my case i replaced set JAVA_OPTS=-Xmx300m with set JAVA_OPTS=-Xmx512m to allocate 512M for the java process Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Hernández Cuchí, Francisco Ricardo Envoyé : jeudi 26 mars 2009 14:01 À : XWiki Users Objet : Re: [xwiki-users] Export from 1.7 and import in 1.8 You are right I get this: Wrapped Exception: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder. java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390 ) at java.lang.StringBuffer.append(StringBuffer.java:224) at java.io.StringWriter.write(StringWriter.java:84) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) at org.dom4j.io.XMLWriter.write(XMLWriter.java:344) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313) at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887) at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332) at com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194) at com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java: 215) at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264) How can I solve it? -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:49 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: You are right, I cannot open it (using 7zip). But I rememeber I was able to import earlier backups in other xwiki 1.7. ¿Is there any way to send all that I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed file. Or to make a selective export of spaces? Looks like the issue is the export from 1.7 which produce corrupted xar in your case. Do you have any error/warning in the log when you try to export xar from 1.7 wiki ? If you want to do selective export you can use http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication Thanks, Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Thomas Mortagne Enviado el: jueves, 26 de marzo de 2009 9:34 Para: XWiki Users Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 Hi, Looks like your xar is invalid, are you able to open it (rename it to *.zip) ? On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es wrote: Want to show this from the console: .XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importin g Wrapped Exception: Unexpected end of ZLIB input stream ... It's a file of 10 megs regards De: Hernández Cuchí, Francisco Ricardo Enviado el: miércoles, 25 de marzo de 2009 17:38 Para: 'XWiki Users' Asunto: Export from 1.7 and import in 1.8 Hello everybody, I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, I receive that there are no documents in the file. I receive the message that there are no documents in the specified file. Any suggestion? Thanks in advance, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información tlf: 913496844 mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso ***
[xwiki-users] Import/Export application
Hello, I download the ImportExport Application (1.3) in one of my virtual wiki. When i go in the export page and select a space nothing happens (only the message Start by choosing a space to list documents in the lower cell disepears) I tried to look at the code but with no success. I added an instruction alert(res.transport.responseText); in showDocs function and the content is only set to the xml header. The readyStatus is set to 4 and the status is set to 200 so everything seems to be ok. If i call the page in another windows with right parameters (action=getdocsspacename=Blogxpage=rdf), IE 6.0 displays a nice XML file with all pages in the space in a value tag I can't find out why the XML flow is empty (and so makes the export page not working) Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8-rc2 from the pack Jetty/HSQL This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Office importer application error
Hello, I downloaded the repository of Xwiki and rebuild it and it created the JAR file for the office importer (xwiki-core-officeimporter-1.9-SNAPSHOT.jar) . Is it possible to use this jar file with a 1.8 release ? Or is it possible to rebuild it for 1.8 release. I really would like to use the import from office functionnality, without the bug of the folder. Thank you all I tried to copy it in the WEB-INF/lib folder but i got this error message : HTTP ERROR: 500 Failed to initialize Execution Context RequestURI=/xwiki/bin/view/Main/ Caused by: org.xwiki.container.servlet.ServletContainerException: Failed to initialize Execution Context at org.xwiki.container.servlet.DefaultServletContainerInitializer.initializ eRequest(DefaultServletContainerInitializer.java:81) at com.xpn.xwiki.web.XWikiAction.initializeContainerComponent(XWikiAction.j ava:400) at com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:38 3) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:112) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr ocessor.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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1124) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1115) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java: 68) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1115) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion Filter.java:145) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1115) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor erFilter.java:295) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1115) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:112) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 16) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav a:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:865) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:538) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java :522) ... A lot of exception stack trace ... Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupExcept ion: Unable to lookup component 'org.xwiki.officeimporter.openoffice.OpenOfficeServerManager', it could not be created at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponen tLookupManager.java:151) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer .java:283) at org.codehaus.plexus.component.composition.AbstractComponentComposer.find Requirement(AbstractComponentComposer.java:241) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignR equirementToField(FieldComponentComposer.java:66) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignR equirement(FieldComponentComposer.java:57) at org.codehaus.plexus.component.composition.AbstractComponentComposer.asse
Re: [xwiki-users] Office importer application error
Hi Asiri, Thanks for the advice. I put the jodconverter beta jar in the WEB-INF/lib and the server is able to start but not to import a file I started Open Office like said on the page (i checked both windows process run). If i use the version 1.8 of both jar i have the bug we discussed about. If i stop the xwiki server (keep ooffice started) and replace the both jar (snapshot and beta) and restart the server, when i try to import a file i have as result an error box with only $officeimporter.getMessage() in it The stack trace in the server is : [ERROR] OpenOffice server is unavailable. org.xwiki.officeimporter.OfficeImporterException: OpenOffice server is unavailab le. at org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream( DefaultOfficeImporter.java:128) at org.xwiki.officeimporter.internal.OfficeImporterVelocityBridge.import Document(OfficeImporterVelocityBridge.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in voke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReferen ce.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpres sion.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSet Directive.java:125) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java :74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt atement.java:88) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java :74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt atement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngi ne.java:178) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngi ne.java:143) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend erer.java:108) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRender er.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW ikiRenderingEngine.java:272) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW ikiRenderingEngine.java:202) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW ikiRenderingEngine.java:170) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(Defau ltXWikiRenderingEngine.java:159) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java :484) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:454) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in voke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere nce.java:294) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngi ne.java:178) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngi ne.java:143) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend erer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655) at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in voke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:203)
Re: [xwiki-users] Office importer application error
Asiri, I uploaded both xar files in my virtual wiki and all is ok, i have the new icon available. When i click on it i'm able to see the path and the profile path for open office My values are : *** You can override Server Path and Server Profile variables through WEB-INF/xwiki.properties file. Server Path C:/Program Files/OpenOffice.org 2.4/ Server Profile C:/Documents and Settings/BB03545/Application Data/OpenOffice.org2 Server State Not Running *** When i select Start and click on the button, i come back to the same page with a message Inadequate privileges. If i look at the console, no error is displayed in it. I had a look in the source code but it seems that the exception is rised in many places. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Asiri Rathnayake Envoyé : mercredi 25 mars 2009 15:27 À : XWiki Users Objet : Re: [xwiki-users] Office importer application error Hi Christophe, On Wed, Mar 25, 2009 at 6:13 PM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hi Asiri, Thanks for the advice. I put the jodconverter beta jar in the WEB-INF/lib and the server is able to start but not to import a file I started Open Office like said on the page (i checked both windows process run). If i use the version 1.8 of both jar i have the bug we discussed about. If i stop the xwiki server (keep ooffice started) and replace the both jar (snapshot and beta) and restart the server, when i try to import a file i have as result an error box with only $officeimporter.getMessage() in it The stack trace in the server is : Ok, you should use the officeimporter snapshot and jodconverter beta jars. But You must also use the latest officeimporter application: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-officeimporter/1.5-SNAPSHOT/xwiki-application-officeimporter-1.5-20090325.112122-7.xar And the latest administration application: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-administration/1.9-SNAPSHOT/xwiki-application-administration-1.9-20090325.112027-7.xar Once you do this, you should not start the oo server external to the XE.. it should be done from the Admin interface and there is a seperate admin UI for managing the OO server process. And you can configure the oo server in WEB-INF/xwiki.properties file (by specifying oo installation and oo profile and other configuration options) These new features have not yet been documented because I was busy with several more new features (like splitting documents into multiple wiki pages while importing). I wish to document them soon. Thanks - Asiri ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Lucene index updater error
Hello all, I have a little problem since i switched to 1.8 (still rc2) when i start the server. The lucene plugin tries to update its index and i have this error : Exception in thread Lucene Index Updater java.lang.NoSuchMethodError: com.xpn. xwiki.objects.BaseObject.getPropertyNames()[Ljava/lang/Object; at com.xpn.xwiki.plugin.lucene.ObjectData.extractContent(ObjectData.java :111) at com.xpn.xwiki.plugin.lucene.ObjectData.getContentAsText(ObjectData.ja va:97) at com.xpn.xwiki.plugin.lucene.ObjectData.getFullText(ObjectData.java:80 ) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexDa ta.java:163) at com.xpn.xwiki.plugin.lucene.ObjectData.addDataToLuceneDocument(Object Data.java:133) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java :383) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.jav a:224) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:117) at java.lang.Thread.run(Unknown Source) On the search page i have a message that Lucene is updating its index but the number of pages never decreases (i guess the thread is dead) I can't find where the problem comes from. Thank you Christophe This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Tags in virtual wikis
Hello all, I saw in the list that Vincent said in the past that to make tags working in virtual wikis, you have to set programming rights to users in the main wiki (if i got right ...) I changed rights in the main wiki but it still works in the main wiki but not in virtuals ones. Can you tell me how to do ? (Users are checked and updated from LDAP - In case of it's important) Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Stats in database question
Hello all, While trying to solve my stats problem, i checked the data in the table statsvisit and in the column unique_id i found that some records have a value set with the IP adress concat to the description of the browser : xx.xx.xx.xxMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Is it ok with that ? (Other values are something like : UADV0Y6H7VEWSLHVRVTSHMMSJYB9JDHX) System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Stats module configuration
In the ActivityData page i put this code and now i'm able to have statistics. I know it's temporary (poor database performances), but i hope it helps people having the same problem (sorry for the code quality, i'm sure it can be improved) : #set($pattern='.MM.dd') #set($step=8640) #set($scope=$xwiki.criteriaService.scopeFactory.ALL_PAGES) #set($dtf = $xwiki.jodatime.getDateTimeFormatterForPattern($pattern)) #set($interval=$xwiki.criteriaService.rangeFactory.createAllRange()) 1 Current week activity #set($currentPeriod=$xwiki.criteriaService.periodFactory.currentWeek) #set($periodStart=$xwiki.jodatime.getDateTime($currentPeriod.start)) #set($periodEnd=$xwiki.jodatime.getDateTime($currentPeriod.end)) #set($datejour=$periodStart.getMillis()) #set($nbElt = ($periodEnd.getMillis() - $periodStart.getMillis()) / $step) {table} Date | Views | Edit #foreach($i in [1..7]) #set($datefinjour=$datejour + $step) #set($period=$xwiki.criteriaService.periodFactory.createPeriod($datejour,$datefinjour)) #set($stats=$xwiki.statsService.getDocumentStatistics(view,$scope,$period,$interval)) #set($totalViews=0) #if($stats.size() 0) #foreach($item in $stats) #set($docStats = $xwiki.getDocument($item.name)) #if ($docStats) #set($totalViews=$totalViews+$item.pageViews) #end #end #end #set($stats=$xwiki.statsService.getDocumentStatistics(save,$scope,$period,$interval)) #set($totalSave=0) #if($stats.size() 0) #foreach($item in $stats) #set($docStats = $xwiki.getDocument($item.name)) #if ($docStats) #set($totalSave=$totalSave+$item.pageViews) #end #end #end $dtf.print($datejour) | $totalViews | $totalSave #set($datejour=$datefinjour) #end {table} -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Dilipkumar Jadhav Envoyé : mardi 10 mars 2009 12:43 À : users@xwiki.org Objet : Re: [xwiki-users] Stats module configuration Hello friends, I've tried placing the new xwiki-plugin-jodatime-1.3.jar. Restarted tomcat and still no statistics. The result set like another friend said is still : NULL There is definitely valid data in the stats tables (when i query it through Sqlyog). Thank you ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Stats module configuration
Dilipkumar, Can you check the page ActivityData in the space Stats please ? I have a red message table : null for each stats and Iwould like to know if you have the same than me. I also have data in the table and when i display info before the weekly stats table i have this : $scope = com.xpn.xwiki.criteria.impl.sc...@1faf07e $period = com.xpn.xwiki.criteria.impl.per...@1a146f7 $step = com.xpn.xwiki.criteria.impl.durat...@15e53cd $myviews = {2009-03-10T00:00:00.000+01:00=0, 2009-03-11T00:00:00.000+01:00=0, 2009-03-13T00:00:00.000+01:00=0, 2009-03-15T00:00:00.000+01:00=0, 2009-03-12T00:00:00.000+01:00=0, 2009-03-09T00:00:00.000+01:00=0, 2009-03-14T00:00:00.000+01:00=0} $myviews.size = 7 $myedits = {2009-03-10T00:00:00.000+01:00=0, 2009-03-11T00:00:00.000+01:00=0, 2009-03-13T00:00:00.000+01:00=0, 2009-03-15T00:00:00.000+01:00=0, 2009-03-12T00:00:00.000+01:00=0, 2009-03-09T00:00:00.000+01:00=0, 2009-03-14T00:00:00.000+01:00=0} $dtf = org.joda.time.format.datetimeformat...@1a36dc7 table: null Thanks -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Dilipkumar Jadhav Envoyé : mardi 10 mars 2009 12:43 À : users@xwiki.org Objet : Re: [xwiki-users] Stats module configuration Hello friends, I've tried placing the new xwiki-plugin-jodatime-1.3.jar. Restarted tomcat and still no statistics. The result set like another friend said is still : NULL There is definitely valid data in the stats tables (when i query it through Sqlyog). Thank you ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Stats module configuratio
Thank you Sergiu. Now i don't have this exceptions anymore. Like Dilipkumar, now i have graphics but only with 0 values I checked the content of the ActivityData page and all i have is titles and red messages with Table: null when i open the page (but maybe it needs some extra parameters) I wait for the helpdesk to accept the install of DbVisualizer to check the content of Stats tables and try to execute the SQL query that is in XWikiStatsReader.java to check the result. All other stats tables are ok and filled with values. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 17:24 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: Sorry, bad eyes xwiki-plugin-jodatime-1.2.jar This one had a minor bug that prevented the whole plugin from working (http://jira.xwiki.org/jira/browse/XPJODA-9). You should replace it with http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-plugin-jodatime/1.3/xwiki-plugin-jodatime-1.3.jar -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:56 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: I currently use this file : joda-time-1.4.jar I think it's the one delivered with the 1.7.1 pack No, not joda-time, xwiki-plugin-jodatime. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:23 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: Hi, I have the kind of same problem with statistics that are not displayed on my main wiki or that crashes in any virtual wiki. The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual wiki by editing the Current Month Activity panel i can see that the plugin is installed, is available but when i call the getDateTime method it throws a null pointer exception as if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as expected in virtual mode (what ever is the parameter value). In the main wiki, it works but does not display any activity (always 0 values) despite values in the database (Oracle 10) What is strange is that the problem occured only in graphical statistics (not stats like most edited pages for example) -Message d'origine- 2. The Joda time plugin might be disabled I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF lib folder What version of xwiki-plugin-jodatime do you have in WEB-INF/lib? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to disable the search in some Wiki / The list ofwikis to search in is false
Hello, Do i have to input something in JIRA for this kind of bug and for the request ? -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de PERINAUD Christophe Envoyé : vendredi 6 mars 2009 13:55 À : users@xwiki.org Objet : [xwiki-users] How to disable the search in some Wiki / The list ofwikis to search in is false Hello, I checked the content of the LuceneSearch page and i found in the code how to limit the search to known Wikis My problem is that i don't know how will grow my list of wikis but i already know in wich Wikis i don't want users to search in. Is there a way to create an excluding list of Wikis ? Also, the list of wikis to search in is false when searching from a virtual wiki. The list only has entries for the main wiki and all templates but not other virtual wikis (even the current one). But selecting All really search in all wikis not wikis that are in the selection list. System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Stats module configuratio
I check in the oracle db, running this query : Select XWS_NAME, sum(XWS_PAGE_VIEWS) from XWSSTATSDOC where XWS_ACTION = 'view' group by XWS_NAME order by sum(XWS_PAGE_VIEWS) And i have many lines like : WikiManager.Information 30 (null) 30 Panels.WebHome 32 XWiki.bb03545 44 Stats.WebHome 52 XWiki 72 Stats 104 WikiManager.CreateNewWiki 106 WikiManager.WebHome 122 WikiManager 258 Main.WebHome750 Main.DocumentDoesNotExist 914 Main1716 And if i display $myviews in Current Week View, i have this result : {2009-03-15T00:00:00.000+01:00=0, 2009-03-13T00:00:00.000+01:00=0, 2009-03-10T00:00:00.000+01:00=0, 2009-03-11T00:00:00.000+01:00=0, 2009-03-09T00:00:00.000+01:00=0, 2009-03-14T00:00:00.000+01:00=0, 2009-03-12T00:00:00.000+01:00=0} -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de PERINAUD Christophe Envoyé : mardi 10 mars 2009 09:46 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio Thank you Sergiu. Now i don't have this exceptions anymore. Like Dilipkumar, now i have graphics but only with 0 values I checked the content of the ActivityData page and all i have is titles and red messages with Table: null when i open the page (but maybe it needs some extra parameters) I wait for the helpdesk to accept the install of DbVisualizer to check the content of Stats tables and try to execute the SQL query that is in XWikiStatsReader.java to check the result. All other stats tables are ok and filled with values. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 17:24 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: Sorry, bad eyes xwiki-plugin-jodatime-1.2.jar This one had a minor bug that prevented the whole plugin from working (http://jira.xwiki.org/jira/browse/XPJODA-9). You should replace it with http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-plugin-jodatime/1.3/xwiki-plugin-jodatime-1.3.jar -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:56 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: I currently use this file : joda-time-1.4.jar I think it's the one delivered with the 1.7.1 pack No, not joda-time, xwiki-plugin-jodatime. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:23 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: Hi, I have the kind of same problem with statistics that are not displayed on my main wiki or that crashes in any virtual wiki. The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual wiki by editing the Current Month Activity panel i can see that the plugin is installed, is available but when i call the getDateTime method it throws a null pointer exception as if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as expected in virtual mode (what ever is the parameter value). In the main wiki, it works but does not display any activity (always 0 values) despite values in the database (Oracle 10) What is strange is that the problem occured only in graphical statistics (not stats like most edited pages for example) -Message d'origine- 2. The Joda time plugin might be disabled I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF lib folder What version of xwiki-plugin-jodatime do you have in WEB-INF/lib? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43
Re: [xwiki-users] Bug : unable to delete attached files in virtualwikis
Niels, Thank you for the answer. I will check in the Oracle database if we can do the same when we have to delete. And i will also disable the versionning of attachment files and the recycle bin. I did not notice this options in the configuration file. Christophe -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Niels Mayer Envoyé : samedi 7 mars 2009 10:47 À : XWiki Users Objet : Re: [xwiki-users] Bug : unable to delete attached files in virtualwikis I had a similar problem, with attachments not being deletable, which also prevented the document itself from being deleted. Unfortunately, this also suggested an additional issue arising with attachments. If a user makes large attachments to their user-document, e.g. XWiki.MyName then even in a closed wiki that only allows users to edit their own user document, they can cause a denial of service attack through large attachments. In other words, even if the wiki is setup so that regular registered XWikiAllGroup users don't have write access to any directory, just comment-access to documents; they'll still have write access to their own XWiki.MyName document created through registration... and that means they'll be able to add attachments even when you think they couldn't. The Rights adminstration checkbox Prevent unregistered users from editing pages, regardless of the page or space rights doesn't prevent attachments from being added to user's own pages. Anyways, I ended up solving the blowups and OOM errors by deleting the attachments directly in the database: mysql select XWA_ID,XWA_DOC_ID,XWA_FILENAME,XWA_SIZE,XWA_AUTHOR from xwikiattachment where XWA_AUTHOR='XWiki.JG'; | XWA_ID | XWA_DOC_ID | XWA_FILENAME | XWA_SIZE | XWA_AUTHOR| | 1185703559 | 168880978 | foo.pdf | 9817587 | XWiki.JG | | -352107721 | 168880978 | bar.pdf | 13049680 | XWiki.JG | | 1527849923 | 168880978 | baz.pdf | 293 | XWiki.JG | | -2073884056 | 168880978 | frop.pdf | 5904061 | XWiki.JG | | 1039500510 | 168880978 | schlop.pdf | 4440028 | XWiki.JG | | 942569068 | 168880978 | plop.pdf | 14033466 | XWiki.JG | | 1363529635 | 168880978 | schnops.pdf |0 | XWiki.JG | | -1054875919 | 168880978 | hops.jpg | 3081 | XWiki.JG | 8 rows in set (0.00 sec) mysql delete from xwikiattachment where XWA_AUTHOR='XWiki.JG'; Query OK, 8 rows affected (0.00 sec) Someone please tell me if this is not the right way to fix such issues... As afterthought, I realized that setting xwiki.store.attachment.versioning.hint=void in xwiki.cfg might prevent xwiki from reading/diffing and attempting to version a large attachment. Doing so could certainly make it run out of memory, and changing this option might prevent the bug?: #-# The attachment versioning storage. Use 'void' to disable attachment versioning. # xwiki.store.attachment.versioning.hint=default Also, perhaps by not sending deleted attachments to the recycle bin, it won't need to be copied anywhere, and therefore there'll not be any memory to run out copying a giant attachment through java (assuming that's what happens on delete). #-# The attachment recycle bin storage. # xwiki.store.attachment.recyclebin.hint=default Niels http://nielsmayer.com PS: perhaps the defaults for xwiki.store.attachment.versioning.hint and xwiki.store.attachment.recyclebin.hint need to be changed? On Fri, Mar 6, 2009 at 2:37 AM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello (again) All is ok in the main wiki but in a virtual wiki i can't delete an attached file of a page. After the confirmation message i got : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098) at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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
Re: [xwiki-users] Stats module configuratio
Hi, I have the kind of same problem with statistics that are not displayed on my main wiki or that crashes in any virtual wiki. The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual wiki by editing the Current Month Activity panel i can see that the plugin is installed, is available but when i call the getDateTime method it throws a null pointer exception as if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as expected in virtual mode (what ever is the parameter value). In the main wiki, it works but does not display any activity (always 0 values) despite values in the database (Oracle 10) What is strange is that the problem occured only in graphical statistics (not stats like most edited pages for example) -Message d'origine- 2. The Joda time plugin might be disabled I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF lib folder Message: 7 Date: Sun, 8 Mar 2009 10:51:34 +0100 From: Thomas Mortagne thomas.morta...@xwiki.com Subject: Re: [xwiki-users] Stats module configuration To: XWiki Users users@xwiki.org Message-ID: a8e97d9c0903080151t75b2a7b6l202fa944df517...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Hi, On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav jadhav.dilipku...@gmail.com wrote: Hello friends, My wiki has grown considerably now and we are at a phase where we would like to measure and analyze contributors and their contributions. ?I am using XWiki 1.7.2. I followed the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and set the following in the ?xwiki.cfg file. xwiki.stats=1 xwiki.stats.default=1 Now, I can see that the stats are being recorded in the database (mysql) tables. However, when i visit the stats home in my wiki all i see is No statistics have been recorded for all statistics panels. All the graphs show no activity. Also, i have enabled the stats module about 2 weeks back during which course there has been a lot of activity on the wiki. Also, the stats seems to work on the XWiki installed on my home pc. However, at my office ?instance of XWiki the stats module does not work. Could it have something to do with the proxy server that we have setup in office. No statistics have been recorded is printed when statistics are disabled so I doubt it has anything to do with proxy (it does not really check if there is something recorded or not, even if nothing was in the database it should generate en empty graph). Maybe you have a statistics field set to 0 in XWiki.XWikiPreferences (edit in object mode to check) Did i miss out on some crucial steps... Any help will be greatly appreciated. Thank you... ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Message: 8 Date: Sun, 08 Mar 2009 11:40:58 +0100 From: Sergiu Dumitriu ser...@xwiki.com Subject: Re: [xwiki-users] Stats module configuration To: XWiki Users users@xwiki.org Message-ID: 49b3a0ba.3070...@xwiki.com Content-Type: text/plain; charset=UTF-8; format=flowed Thomas Mortagne wrote: Hi, On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav jadhav.dilipku...@gmail.com wrote: Hello friends, My wiki has grown considerably now and we are at a phase where we would like to measure and analyze contributors and their contributions. I am using XWiki 1.7.2. I followed the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and set the following in the xwiki.cfg file. xwiki.stats=1 xwiki.stats.default=1 Now, I can see that the stats are being recorded in the database (mysql) tables. However, when i visit the stats home in my wiki all i see is No statistics have been recorded for all statistics panels. All the graphs show no activity. Also, i have enabled the stats module about 2 weeks back during which course there has been a lot of activity on the wiki. Also, the stats seems to work on the XWiki installed on my home pc. However, at my office instance of XWiki the stats module does not work. Could it have something to do with the proxy server that we have setup in office. No statistics have been recorded is printed when statistics are disabled so I doubt it has anything to do with proxy (it does not really check if there is something recorded or not, even if nothing was in the database it should generate en empty graph). Maybe you have a statistics field set to 0 in XWiki.XWikiPreferences (edit in object mode to check) No Thomas, the message when statistics are disabled is The statistics module is disabled by default for improved performance. For more details, see ... This message means that nothing was retrieved from the database. There might
Re: [xwiki-users] Stats module configuratio
I currently use this file : joda-time-1.4.jar I think it's the one delivered with the 1.7.1 pack -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:23 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: Hi, I have the kind of same problem with statistics that are not displayed on my main wiki or that crashes in any virtual wiki. The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual wiki by editing the Current Month Activity panel i can see that the plugin is installed, is available but when i call the getDateTime method it throws a null pointer exception as if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as expected in virtual mode (what ever is the parameter value). In the main wiki, it works but does not display any activity (always 0 values) despite values in the database (Oracle 10) What is strange is that the problem occured only in graphical statistics (not stats like most edited pages for example) -Message d'origine- 2. The Joda time plugin might be disabled I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF lib folder What version of xwiki-plugin-jodatime do you have in WEB-INF/lib? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Stats module configuratio
Sorry, bad eyes xwiki-plugin-jodatime-1.2.jar -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:56 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: I currently use this file : joda-time-1.4.jar I think it's the one delivered with the 1.7.1 pack No, not joda-time, xwiki-plugin-jodatime. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sergiu Dumitriu Envoyé : lundi 9 mars 2009 16:23 À : XWiki Users Objet : Re: [xwiki-users] Stats module configuratio PERINAUD Christophe wrote: Hi, I have the kind of same problem with statistics that are not displayed on my main wiki or that crashes in any virtual wiki. The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual wiki by editing the Current Month Activity panel i can see that the plugin is installed, is available but when i call the getDateTime method it throws a null pointer exception as if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as expected in virtual mode (what ever is the parameter value). In the main wiki, it works but does not display any activity (always 0 values) despite values in the database (Oracle 10) What is strange is that the problem occured only in graphical statistics (not stats like most edited pages for example) -Message d'origine- 2. The Joda time plugin might be disabled I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF lib folder What version of xwiki-plugin-jodatime do you have in WEB-INF/lib? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Bug : unable to delete attached files in virtualwikis
Niels, Thank you again. I changed the configuration to disable the recycle bin and now i am able to delete attached files I disabled also for pages and it works too. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Niels Mayer Envoyé : samedi 7 mars 2009 10:47 À : XWiki Users Objet : Re: [xwiki-users] Bug : unable to delete attached files in virtualwikis I had a similar problem, with attachments not being deletable, which also prevented the document itself from being deleted. Unfortunately, this also suggested an additional issue arising with attachments. If a user makes large attachments to their user-document, e.g. XWiki.MyName then even in a closed wiki that only allows users to edit their own user document, they can cause a denial of service attack through large attachments. In other words, even if the wiki is setup so that regular registered XWikiAllGroup users don't have write access to any directory, just comment-access to documents; they'll still have write access to their own XWiki.MyName document created through registration... and that means they'll be able to add attachments even when you think they couldn't. The Rights adminstration checkbox Prevent unregistered users from editing pages, regardless of the page or space rights doesn't prevent attachments from being added to user's own pages. Anyways, I ended up solving the blowups and OOM errors by deleting the attachments directly in the database: mysql select XWA_ID,XWA_DOC_ID,XWA_FILENAME,XWA_SIZE,XWA_AUTHOR from xwikiattachment where XWA_AUTHOR='XWiki.JG'; | XWA_ID | XWA_DOC_ID | XWA_FILENAME | XWA_SIZE | XWA_AUTHOR| | 1185703559 | 168880978 | foo.pdf | 9817587 | XWiki.JG | | -352107721 | 168880978 | bar.pdf | 13049680 | XWiki.JG | | 1527849923 | 168880978 | baz.pdf | 293 | XWiki.JG | | -2073884056 | 168880978 | frop.pdf | 5904061 | XWiki.JG | | 1039500510 | 168880978 | schlop.pdf | 4440028 | XWiki.JG | | 942569068 | 168880978 | plop.pdf | 14033466 | XWiki.JG | | 1363529635 | 168880978 | schnops.pdf |0 | XWiki.JG | | -1054875919 | 168880978 | hops.jpg | 3081 | XWiki.JG | 8 rows in set (0.00 sec) mysql delete from xwikiattachment where XWA_AUTHOR='XWiki.JG'; Query OK, 8 rows affected (0.00 sec) Someone please tell me if this is not the right way to fix such issues... As afterthought, I realized that setting xwiki.store.attachment.versioning.hint=void in xwiki.cfg might prevent xwiki from reading/diffing and attempting to version a large attachment. Doing so could certainly make it run out of memory, and changing this option might prevent the bug?: #-# The attachment versioning storage. Use 'void' to disable attachment versioning. # xwiki.store.attachment.versioning.hint=default Also, perhaps by not sending deleted attachments to the recycle bin, it won't need to be copied anywhere, and therefore there'll not be any memory to run out copying a giant attachment through java (assuming that's what happens on delete). #-# The attachment recycle bin storage. # xwiki.store.attachment.recyclebin.hint=default Niels http://nielsmayer.com PS: perhaps the defaults for xwiki.store.attachment.versioning.hint and xwiki.store.attachment.recyclebin.hint need to be changed? On Fri, Mar 6, 2009 at 2:37 AM, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello (again) All is ok in the main wiki but in a virtual wiki i can't delete an attached file of a page. After the confirmation message i got : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098) at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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
[xwiki-users] Bug : the restore of a backup does not apply presentation parameters
Hello, When i restore a backup (XAR file) my presentation parameters are restored in the Wiki but are not applied. For example the copyright message is empty in the backup, is empty in the new wiki when i go to the presentation parameters page (after the restore) but the old message value is still displayed in the footer I have to change the value, apply it and switch it back to empty Same problem with SMTP server, admin email etc. System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Virtual Wiki is activated Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Bug : Unable to delete a file attached to the Wiki in the Import Area
Hello, When i try to delete a file attached to my virtual wiki i have this hibernate error message : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098) at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: java.sql.SQLException: ORA-02289: sequence does not exist at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431) at
[xwiki-users] Bug : Some statistics are displayed but not all are recorded and some crash
Hello, The statistics are activated in the xwiki.cfg file. When i go in the Stats space (in a virtual wiki) or not i have some data like Most viewes pages, Most active contributors but some got me a Velocity parsing error and generates an uncatchs java exception in JodaTimePluginApi : Error number 4001 in 4: Error while parsing velocity page Stats.WebHome Wrapped Exception: Failed to evaluate content with id Web Home com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Stats.WebHome Wrapped Exception: Failed to evaluate content with id Web Home at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:493) at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:168) at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1536) at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1518) at com.xpn.xwiki.api.Document.display(Document.java:939) at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159) at
[xwiki-users] Bug : unable to delete attached files in virtual wikis
Hello (again) All is ok in the main wiki but in a virtual wiki i can't delete an attached file of a page. After the confirmation message i got : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not get next sequence value at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098) at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: java.sql.SQLException: ORA-02289: sequence does not exist at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431) at
[xwiki-users] Bug : Out of memory when deleting a 8mo attached file
Hello, When i try to delete an attached file of 8Mo, i got this exception : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 11014 in 11: Out Of Memory Exception com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ? Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL Christophe Périnaud This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Bug : Out of memory when deleting a 8mo attachedfile
Hello Sasha Tahnk you for your reply. The -Xmx has been raised up to 512Mo and now it's ok. I have the same Oracle error message than other attached files i want to delete ... Christophe Périnaud -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Sascha Berkessel Envoyé : vendredi 6 mars 2009 13:53 À : XWiki Users Objet : Re: [xwiki-users] Bug : Out of memory when deleting a 8mo attachedfile Hey Christophe, Hey everybody, This problem looks like the same problem that may occur with the import of large files into XWiki. Try to allocate more memory to the JVM. I had a similar problem yesterday (using XWiki in a Tomcat environment), and solved it that way. HTH, Sascha PERINAUD Christophe wrote: Hello, When i try to delete an attached file of 8Mo, i got this exception : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 11014 in 11: Out Of Memory Exception com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ? Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have