Re: [xwiki-users] Can't log in with admin or superad min
Tomcat 6.0.16 MySQL 5.0.51acommunity-nt Original Message: Out of interest, what version of Tomcat are you using? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hosamhassan Sent: 28 February 2008 14:32 To: users@xwiki.org Subject: Re: [xwiki-users] Can't log in with admin or superadmin Thats also a link to the exact problem I have http://pastebin.ca/921957 -- View this message in context: http://www.nabble.com/Can%27t-log-in-with-admin-or-superadmin-tp15737463 p15737600.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 ___ 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
[xwiki-users] Can't log in with admin or superad min
Hello, I just upgraded the wiki and everything went fine. The problem is that I can't log in as an admin or as a superadmin. What happens is if the login was succesful I get redirected again to the main page and nothing happens. I am using MySQL and XWiki 1.2. Below is the Log file. There is already a post about the exact problem I have here http://www.nabble.com/Problem-with-login-to-a-new-wiki-installation-td13744619.html#a13744619 I change the configuration file and enabled the superadmin and I am sure also that the Admin user is in the DB. That's what's written in the log file java.io.IOException: Error processing http://www.xwiki.com/xwiki/bin/view/Main/BlogRss?xpage=rdf: Connection timed out: connect at com.xpn.xwiki.render.macro.rss.RSSMacro.execute(RSSMacro.java:101) at com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90) at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:92) at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:118) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:251) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:176) at com.xpn.xwiki.XWiki.include(XWiki.java:3206) at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1409) at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1375) 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.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.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.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:95) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:251) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:176) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:145) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:134) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:407) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) 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.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.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152) at com.xpn.xwiki.XWiki.parseTe
Re: [xwiki-users] Can't log in with admin or superad min
It working with 6.0.14 Man you rock! It's still weird although :) Original Message: Out of further interest.. Could you try that with Tomcat 6.0.14 instead? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hosam Hassan Sent: 28 February 2008 14:51 To: XWiki Users Subject: Re: [xwiki-users] Can't log in with admin or superadmin Tomcat 6.0.16 MySQL 5.0.51acommunity-nt Original Message: Out of interest, what version of Tomcat are you using? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hosamhassan Sent: 28 February 2008 14:32 To: users@xwiki.org Subject: Re: [xwiki-users] Can't log in with admin or superadmin Thats also a link to the exact problem I have http://pastebin.ca/921957 -- View this message in context: http://www.nabble.com/Can%27t-log-in-with-admin-or-superadmin-tp157374 63 p15737600.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 ___ 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 -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Cache optimization
Hello all, I am running Xwiki with Tomcat 6.0.14. I noticed using firebug that lots of the images are not cached. This really slows down loading the pages in the wiki. Same goes for some pages with lots of contents. How it's possible to specify the cache policy for the xwiki concerning some pages and images. Is it possible also to have a cache policy for the whole wiki. I read that tomcat doesn't have a cache policy so it depends on the browser more or less to chose what to cache and what not to. Any hits or ideas about that? Cheers ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Cache optimization
Thanks Vincent, Paul I give it a try and I hope it works Cheers and thanks again Original Message: On Mar 5, 2008, at 11:03 AM, Paul Libbrecht wrote: > Hassan, > > My quick and best solution was to use the proxy for that. > And I know mod_jk can also be used for that. > Anything that bears the URL /skins can be statically served. > > I'm still bitten by one image which indeed shows me this behaviour > and I find it very irritating. (just do several reload on http://i2geo.net/) > . > > I'm afraid XWiki gurus will answer us... "hey, it's all the fault of > Tomcat". No, my answer is this one actually: http://jira.xwiki.org/jira/browse/XWIKI-2022 The recommended way right now (while waiting for XWIKI-2022 to be finished) is to add an Apache web server in front of the tomcat and install the mod gzip and mod cache modules. Thanks -Vincent > Alternative solutions more than welcome! > I could not, yet, find a detailed list of all the "static URLs" for > XWiki, this would be more than welcome, I just have skins there yet. > > paul > > > > > Le 5 mars 08 à 10:40, Hosam Hassan a écrit : >> I am running Xwiki with Tomcat 6.0.14. I noticed using firebug that >> lots of the images are not cached. This really slows down loading >> the pages in the wiki. >> >> Same goes for some pages with lots of contents. How it's possible >> to specify the cache policy for the xwiki concerning some pages and >> images. Is it possible also to have a cache policy for the whole >> wiki. I read that tomcat doesn't have a cache policy so it depends >> on the browser more or less to chose what to cache and what not to. >> >> Any hits or ideas about that? >> > ___ > 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 -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Advanced attachments view
Hello all, I would like to know if its possible to have a more advanced way to display the attachements so not just a list of the attachments. I want it to be in folders or something that looks better in case i have large number of attachments. How can i do that?. Will I have to write a plugin for that? Cheers, Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Bulletin Board app
Hello all, I installed the Bulletin Board app but the text is messed up somehow so i get it like that WebHome bb_bb rss bb_currently 0 bb_categoriessize bb_deletethisbb bb_categoryâ bb_topicsâbb_lastmessageonâ bb_inreplytoâ bb_byâbb_actionsâ bb_addnewcategory How can I remove the bb_ from the header,..etc because its pretty annoying to have it like this. Which class should I edit or where is that located? Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Bulletin Board app
It works fine now. Thanks a lot Original Message: Hi Hosam, Sorry, my previous email messed up. Basically what happens is that you did not declare the translations file properly. To do so, please check the instructions at http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplicationDownloads#HHowToInstall If the original code bits still show up afterwards, please check the BBCode.Translations page has all of its translations filled in properly. Thanks, Guillaume On 06/03/2008, Guillaume Lerouge wrote: > > Hi Hosam, > > that's because you didn't properly declare the translations file. Please > check > > On 06/03/2008, Hosam Hassan wrote: > > > Hello all, > > > > I installed the Bulletin Board app but the text is messed up somehow so > > i get it like that > > > > WebHome bb_bb rss > > > > bb_currently 0 bb_categoriessize bb_deletethisbb > > > > bb_categoryâbb_topicsâ bb_lastmessageonâ bb_inreplytoâ > > bb_byâ bb_actionsâ > > > > bb_addnewcategory > > > > How can I remove the bb_ from the header,..etc because its pretty > > annoying to have it like this. > > > > Which class should I edit or where is that located? > > > > Cheers, > > > > > > Hosam > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > > -- > http://wikibc.blogspot.com/ > -- http://wikibc.blogspot.com/ -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] how to delete the logo and its link
Hello all, I am using the toucan skin as its much better and easier to change than the albatross. Anyway I just want to remove the Company logo and its link from the global header. >From where I can do that?. Many thanks Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to delete the logo and its link
I already checked and google for that before i post anything. I dont want to change the logo. I want to remove it totally with its like. if you delete the logo.png u still have some nasty link there Original Message: Hi Hosam, On Mar 10, 2008, at 3:19 PM, Hosam Hassan wrote: > Hello all, > > I am using the toucan skin as its much better and easier to change > than the albatross. Anyway I just want to remove the Company logo > and its link from the global header. > >> From where I can do that?. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to delete the logo and its link
Thanks dude. It's working now Original Message: On Mar 10, 2008, at 3:43 PM, Hosam Hassan wrote: > I already checked and google for that before i post anything. I dont > want to change the logo. I want to remove it totally with its like. > if you delete the logo.png u still have some nasty link there I read a bit too fast your question ;) You'll need to edit the global.vm file and remove this part: #set($logoname = $xwiki.getSkinPreference("logo", "logo.png")) #set($logo = $!prefdoc.getAttachment($logoname)) #if(!$logo) #set($logourl = $xwiki.getSkinFile($logoname)) #else #set($logourl = $prefdoc.getAttachmentURL($logo.filename, "download")) #end Thanks -Vincent > Original Message: > > Hi Hosam, > > On Mar 10, 2008, at 3:19 PM, Hosam Hassan wrote: > > > Hello all, > > > > I am using the toucan skin as its much better and easier to > change > > than the albatross. Anyway I just want to remove the Company > logo > > and its link from the global header. > > > >> From where I can do that?. > > See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins > > Thanks > -Vincent > > ___ > 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 ___ 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
[xwiki-users] Make the footer one line instead of multiple
Hello, I just want to have the footer to be on online instead of the multiple lines so first line is creator bla bla aligned right( I can do this from the style.css). Then the copyright i want it to be aligned left not right but in the CSS file its the same element so I have no idea how to do this. I am using the toucan skin and I am not a CSS guru just started learning the thing 3 days ago :). Cheers, Hosam<>___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to build a Site Map
Hello all, Is it possible to build a site map for xwiki and not graphical one like the freemind as the wiki get bigger its really annyoing using freemind. I want something like the navigation panel but in a page not in a panel Thanks in advance Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to build a Site Map
Hello Guillaume, I googled for it and yes exactly like this one but I get 'The requested document could not be found' on my wiki. Any idea why it's not supported in my xwiki. Many thanks Cheers, Hosam Original Message: Hi, Is it possible to build a site map for xwiki and not graphical one like the > freemind as the wiki get bigger its really annyoing using freemind. > > I want something like the navigation panel but in a page not in a panel Like, http:///xwiki/bin/view/Main/AllDocs ? Guillaume -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to build a Site Map
Thanks a lot Original Message: Hosam Hassan wrote: > It's working fine now thanks :) > There is no way to get it like that one instead of the table? > http://orientware.objectweb.org/xwiki/bin/view/XWiki/AllDocs > http://orientware.objectweb.org/xwiki/bin/view/XWiki/AllDocs?xpage=code -- 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
Re: [xwiki-users] How to build a Site Map
It's working fine now thanks :) There is no way to get it like that one instead of the table? http://orientware.objectweb.org/xwiki/bin/view/XWiki/AllDocs Original Message: Hi, I googled for it and yes exactly like this one but I get 'The requested > document could not be found' on my wiki. Any idea why it's not supported in > my xwiki. Did you import the default XAR available for download at : http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiEnterprise ? To retrieve the page, download the XAR, go to administration > import, add the file to the page, click on its name, uncheck all boxes but the one marked Main.AllDocs and import it. This will recreate the doc in your wiki. Guillaume -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Adding jump to the top of the page l ink
Hello all, I want to add a link beside the edit icon in each section to jump to the top of the page. Any idea which VM file have the page section I can't find it the contentview.vm holds the whole page and I can just add a jump to the top of the page link at the end of the page but I want it in each section. Any ideas? Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Adding jump to the top of the page l ink
Thanks alot for your reply but there is no simpler way to do this?. I want to control the style as well for that Top link maybe add an icon to it. If I know where is that Edit link I can simply add the Top link beside it. Cheers, Hosam Original Message: Hosam Hassan wrote: > Hello all, > > I want to add a link beside the edit icon in each section to jump to the top of the page. > > Any idea which VM file have the page section I can't find it the contentview.vm holds the whole page and I can just add a jump to the top of the page link at the end of the page but I want it in each section. > > Any ideas? > Look inside com.xpn.xwiki.render.filter.XWikiHeadingFilter Or, you can change radeox_markup_xwiki.properties with: filter.heading.print={2}{3} -- 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
[xwiki-users] Spelling check
Hello, Is there any way to intergrate a spelling checker with the wiki Editor?. Thanks in advance Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Spelling check
Hello Vincent, Thanks a lot for your reply but it have to be embedded in the wiki. I can't ask every user of the wiki to install the plugin for his browser. Is there anyway to to embed it in the wiki as a plugin or so? I can write the plugin myself if it won't take that long to do it Cheers, Hosam Original Message: On Mar 19, 2008, at 4:24 PM, Hosam Hassan wrote: > Hello, > > Is there any way to intergrate a spelling checker with the wiki > Editor?. You could just use your browser's plugins for this... For example if you install the google toolbar you get this for free. -Vincent ___ 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
[xwiki-users] Making the date property the current date as a default
Hello all, I am doing something similar to the TODO application here http://www.theserverside.com/tt/articles/article.tss?l=XWiki What I want to do is to have a submission date of the TODO which will be the current date so the field is disabled for the user and once he add a TODO the date will be the submission date. I installed already the JodaTimePlugin just I don't know how to make that default field. Thanks in advance Cheers, Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Synchronize two instances of XWiki E nterprise
The content will be the same yet the look and feel will be different. The best way to do is to have them both connected to the same database if you have a network between both computers. Cheers, Hosam Original Message: Hi, what is the best way to keep two instances (two different pc) synchronized. Will it be enough to copy only the database? Regards, Uwe -- View this message in context: http://www.nabble.com/Synchronize-two-instances-of-XWiki-Enterprise-tp16297082p16297082.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 -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] new skin example
Hello Riccardo, I was actually exactly like u a month ago and now I just finished my own skin:). I will try to give u some tips that might help you with the customization. First of all use the toucan skin as its very easy to customize its style. Download firebug http://www.getfirebug.com/ to use it with firefox. Using firebug you can simply using the mouse identify the location of each element in the CSS style file. After this you will need to change in the templates for the pages but I would say start and play around with firebug and try to change the style of the skin. Feel free to ask if u have any further questions. I know its painful in the beginning but its quiet easy after that. Cheers, Hosam Original Message: Hi Riccardo, riccardo grazioli wrote: > Hi, > I'm new to XWiki and Velocity too, > I don't understand how to set a new skin by the "Edit object" page. > > Can anyone help me to solve this issue? At the moment I'm trying to modify the Albatross skin by css... I know there is a better way to do this... but after I've read the guide I'm not able to do. > > I ask if someone can explain me by example... I do understand that it is not easy to understand how the whole thing work! Even because many features/structures are evolving in real time. But what is clear for me is that it is not a good idea to start by modifying the default skin. You will frequently, and easily, achieve results that you will want to conserve/use in your wiki. And it is by no means easy to make an update, which is usually needed to take advantage of new features, and keep track of the changes you have done in the default of base skins. Perhaps "Modifying a skin" in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins is a bit messy, but it is a perfect starting point. Please, what have you done and at where are you stuck? I am sure we could find the right way of doing the job and modifying this reference document if needed. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ 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
[xwiki-users] Sort contents on a wiki page
Hello all, I have a table for a list of abbreviations and I need to sort that table based on the first letter in each abbreviation. For example {table} Apple Banana Doner {table} When the user edits the table and add for example a new word with A. I want it ot be inserted in the right position. More or less I have some contents in a form of a list or a table and I want to sort them automatically after any edit or addition. Thanks in advance. Cheers Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Critical Login Error
Hello all, I get that error frequently while trying to login. Any idea whats the cause of that error?. Thanks in advance Cheers, Hosam Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'parseContent' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ [23,12] Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'isWatchedDocument' in class com.xpn.xwiki.plugin.watchlist.WatchListPluginApi threw exception java.lang.NullPointerException @ [117,44] A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 0 in 11: Uncaught exception Wrapped Exception: String index out of range: -1 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: String index out of range: -1 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164) 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:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Wrapped Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at java.lang.String.substring(Unknown Source) at com.xpn.xwiki.XWiki.getDocumentNameFromPath(XWiki.java:1118) at com.xpn.xwiki.XWiki.getDocumentName(XWiki.java:4005) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4035) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) 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:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coy
Re: [xwiki-users] Critical Login Error
1- http://localhost:8080/xwiki/bin 2- Sarah.Hassan ( username is irrelevant the problem happens with a couple of user names including the Admin account) 3- The page is irrelevant as well. It happens independant from which page I was viewing before trying to login. 4- I am using the toucan skin 1.1 and XWiki 1.3.2 I guess Actually if I type the URL http://localhost:8080/xwiki/bin I get the error Thanks message. Original Message: Hosam Hassan wrote: > Hello all, > > I get that error frequently while trying to login. Any idea whats the cause of that error?. Thanks in advance > > Cheers, > > Hosam > 1. What is the exact URL when you see this error? 2. What is the user name you are entering? 3. What was the page you were viewing before logging in? 4. What version are you using? -- 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
Re: [xwiki-users] Critical Login Error
A. http://localhost:8080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2Flocalhost%3A8080%2Fxwiki%2Fbin%2Fview%2FKnowledgeBase%2F B. href="/xwiki/bin/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2Flocalhost%3A8080%2Fxwiki%2Fbin%2Fview%2FKnowledgeBase%2F" There is something wrong with that I guess as it looks pretty weird C. This happens with Firefox or IE 6. This happens more often when I connect from another machine not from the localhost. D. Sometimes from the first time sometimes takes a couple of times to regenerate this. I keep press on Login it keep adding a new redirect. Many thanks Original Message: Hosam Hassan wrote: > 1- http://localhost:8080/xwiki/bin This is the problem, the URL is not valid. Next questions: A. What is the URL the Login link points to? Right click on it and select "Copy link location" B. On the login page, can you view the HTML source and look for an input named xredirect, and tell me what's the value in there? C. Try using another browser, see if it is not something the browser is doing wrong D. How often does this happen? > 2- Sarah.Hassan ( username is irrelevant the problem happens with a couple of user names including the Admin account) > 3- The page is irrelevant as well. It happens independant from which page I was viewing before trying to login. > 4- I am using the toucan skin 1.1 and XWiki 1.3.2 I guess > > Actually if I type the URL http://localhost:8080/xwiki/bin I get the error > > Thanks > > message. > > Original Message: -- 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
[xwiki-users] Redirect after login
Hello guys, I want to redirect after login to a specific space instead of getting redirected to the Main.Webhome. I want to redirect to KnowledgeBase.Webhome for example I tried changing in the login.vml in the albatross folder but no use. Where can i change this? Cheers and many thanks___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Error with the FAQs/NumberedSections page
Hello all, I recently moved my wiki from my local pc to the webserver. The problem is that in the /xwiki/bin/view/FAQs/NumberedSections in the wiki on the webserver the {code} #set($context.tocNumbered = true) #set($context.tocData = $tdoc.getTOC(2, 6, true)) {code} Is not working it's just displayed empty, While on my local pc its working fine. The database is the same in both and the wiki is the exact one. The only difference is that the web server version is running on tomcat 5 instead of tomcat 6 which I am running on my local pc. Is this the problem? Many thanks___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Redirect after login
Hello Vincent, Where can i pass the xredirect parameter in the URL? Cheers, Hosam Original Message: Hi, I think you can pass the xredirect parameter in the URL to redirect to the page you want. Right now users are redirected to the page they asked and not to Main.WebHome (unless they asked for that page of course ;)). Thanks -Vincent On May 16, 2008, at 4:23 PM, Hosam Hassan wrote: > Hello guys, > > I want to redirect after login to a specific space instead of > getting redirected to the Main.Webhome. I want to redirect to > KnowledgeBase.Webhome for example > > I tried changing in the login.vml in the albatross folder but no use. > > Where can i change this? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Redirect after login
Thats the part of the login in the Login.vm in the templates folder. What should i change here?. I am not quiet familiar with xredirect and html thats why its a little confusing for me. Thanks again Original Message: On May 16, 2008, at 4:36 PM, Hosam Hassan wrote: > Hello Vincent, > > Where can i pass the xredirect parameter in the URL? hmm... in the login.vm file. Try changing the one in templates/ -Vincent > Original Message: > > Hi, > > I think you can pass the xredirect parameter in the URL to > redirect to > the page you want. Right now users are redirected to the page > they > asked and not to Main.WebHome (unless they asked for that page > of > course ;)). > > Thanks > -Vincent > > On May 16, 2008, at 4:23 PM, Hosam Hassan wrote: > > > Hello guys, > > > > I want to redirect after login to a specific space instead of > > getting redirected to the Main.Webhome. I want to redirect to > > KnowledgeBase.Webhome for example > > > > I tried changing in the login.vml in the albatross folder > but no use. > > > > Where can i change this? > ___ > 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error with the FAQs/NumberedSections page
Hello, How is it possible to define programing rights for a page?. I just know how to give programming rights to the users not on the page itself. It is the same problem for all the pages nearly. Thanks again, Hosam Original Message: Hosam Hassan wrote: > Hello all, > > I recently moved my wiki from my local pc to the webserver. The problem is that in the /xwiki/bin/view/FAQs/NumberedSections in the wiki on the webserver the > > {code} > #set($context.tocNumbered = true) > #set($context.tocData = $tdoc.getTOC(2, 6, true)) > > {code} > > Is not working it's just displayed empty, While on my local pc its working fine. > The database is the same in both and the wiki is the exact one. > > The only difference is that the web server version is running on tomcat 5 instead of tomcat 6 which I am running on my local pc. Is this the problem? > The page does not have programming rights. -- 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
[xwiki-users] Java Heap Space Out Of Memory Except ion
Hello all, Java Heap Space Out Of Memory Exception ! I got that exception while trying to attach an xar file. Many thanks, Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Java Heap Space Out Of Memory Except ion
Thanks a lot Original Message: Have you tried googling about it or reading the doc? :) FYI the doc is at: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport Thanks -Vincent On May 20, 2008, at 4:51 PM, Hosam Hassan wrote: > Hello all, > > Java Heap Space Out Of Memory Exception ! > > I got that exception while trying to attach an xar file. > > Many thanks, > > Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] code problem
I just copied and pasted the xwiki folder when I was migrating I didn't even download anything. Original Message: Hosam Hassan wrote: > The tomcat it works with is 6.0.14 and the one which is messed up is 5.5.23 It shouldn't depend on the version of tomcat. Are you sure it is the same version of XWiki Enterprise on both servers? In older releases (I think before 1.1) the {code} allowed executing scripts. > Original Message: > > Hosam Hassan wrote: > > Hello, > > > > I have the problem that > > {code} > > #set($e = "Hello") > > {code} > > > > displays only the gray codebox, but not the code itself. > > The code is nevertheless not executed. So when I call $e it has not the value "Hello". > > > > I am running the same xwiki installation on two computers, one for testing (everything works fine) the other running. I search every file for possible changes but could not find one. The only difference between the two is the Tomcat version. > > > What version? > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- 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
[xwiki-users] XWIki SMTP
Hello guys, I need to send emails and notifcations from the XWiki. Problem is that xwiki can't configure password for SMTP user. This is impossible in my case to cancel the passsword for the SMTP server. Will I need to write my own plugin for that or its possible to do that in someway? Cheers, Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to keep the comments opened?
Hello guys, Is it possible to keep the comments for the page opened always. I mean I don't need to click on it to see the comments I want them always visible. I want this just to be in one specifc page not all the wiki. Many thanks in advance Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to keep the comments opened?
How Can I change the style of the page?. It looks to me like CSS code I guess. How Can I add it to the page?. Using the XWiki editor?, it didn't work ofcourse Thanks Original Message: You'll just have to edit the style of the page where you want to this.So, edit the page and put this at the end:#commentscontent .xwikititlewrapper {cursor: default;}#comments {display: block;} Quoting Hosam Hassan : Hello guys, Is it possible to keep the comments for the page opened always. Imean I don't need to click on it to see the comments I want themalways visible. I want this just to be in one specifc page not all thewiki. Many thanks in advance Cheers, Hosam Ar cieÅu, MihailsLinks:--[1] mailto:[EMAIL PROTECTED]___users mailing listusers@xwiki.orghttp://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to keep the comments opened?
I tried to change in the style.css and it works perfectly Just I dont know how to make a specific style for one page in the xwiki Original Message: You'll just have to edit the style of the page where you want to this.So, edit the page and put this at the end:#commentscontent .xwikititlewrapper {cursor: default;}#comments {display: block;} Quoting Hosam Hassan : Hello guys, Is it possible to keep the comments for the page opened always. Imean I don't need to click on it to see the comments I want themalways visible. I want this just to be in one specifc page not all thewiki. Many thanks in advance Cheers, Hosam Ar cieÅu, MihailsLinks:--[1] mailto:[EMAIL PROTECTED]___users mailing listusers@xwiki.orghttp://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to keep the comments opened?
okay i figured it out Add this and it works. Thanks man Original Message: You'll just have to edit the style of the page where you want to this.So, edit the page and put this at the end:#commentscontent .xwikititlewrapper {cursor: default;}#comments {display: block;} Quoting Hosam Hassan : Hello guys, Is it possible to keep the comments for the page opened always. Imean I don't need to click on it to see the comments I want themalways visible. I want this just to be in one specifc page not all thewiki. Many thanks in advance Cheers, Hosam Ar cieÅu, MihailsLinks:--[1] mailto:[EMAIL PROTECTED]___users mailing listusers@xwiki.orghttp://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Register_ email field generator sc ript
Hello All, I want to write a script to combine the first name and last name to generate the email automatically. For example first name is Bat Second is man then the email is [EMAIL PROTECTED] automatically. This is done already in the username field so I made a script exactly the same but with different name ofcourse and variables. Problem is that its working as long as I comment the script for generating the username. They never work together, I have to comment one so the other works. thats the code in register inline $msg.get("core.register.username") #set($prop = $class.password) $msg.get("core.register.password") $doc.displayEdit($prop, "register_", $obj) $msg.get("core.register.passwordRepeat") $doc.displayEdit($prop, "register2_", $obj) #set($prop = $class.email) $msg.get("core.register.email") in the xwiki.js in the albatross folder I added this function function prepareEmail(form) { var fname = form.register_first_name.value; var lname = form.register_last_name.value; var cxwikiemail = form.xwikiemail; if (fname != "") { fname = fname.substring(0,1).toUpperCase() + fname.substring(1); fname.replace(/ /g,""); } if (lname != "") { lname = lname.substring(0,1).toUpperCase() + lname.substring(1); lname.replace(/ /g,""); } if (cxwikiemail.value == "") { var eadr = fname+"."+lname+"@yahoo.com"; cxwikiemail.value = noaccent(eadr); } } Any idea why this is not working, i tried everything and no hope :( Many thanks in advance Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ no subject ]
Hello Guys, Can I get the code for that page? http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0 I want to do the same in my xwiki but I cant manage to find the code for that. Many thanks, Cheers, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Lucene search integration
Sorry for resending my message just I forgot to put a subject Hello Guys, Can I get the code for that page? http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0 I want to do the same in my xwiki but I cant manage to find the code for that. Is it possible also to customize that table I just want to show the pages and the scores. Many thanks, Cheers, Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ no subject ]
Hello Tiago, I copied and pasted the code in my wiki and I got lots of weird numbers. To be more accurate I need to have this exact page in my wiki http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch Maybe Vincent Can help :) Cheers, Hosam Original Message: Just add one parameter (viewer=code) http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y&viewer=code Regards, Tiago. On Thu, Jul 24, 2008 at 11:26 AM, Hosam Hassan wrote: > Hello Guys, > > Can I get the code for that page? > > http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0 > > I want to do the same in my xwiki but I cant manage to find the code for > that. > > Many thanks, > > Cheers, > > Hosam > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- Tiago Rinck Caveden http://caveden.multiply.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ no subject ]
I am really sorry, The page is already in the xwiki by default ofcourse. My problem now is that I get no results from the lucene search! Original Message: Hello Tiago, I copied and pasted the code in my wiki and I got lots of weird numbers. To be more accurate I need to have this exact page in my wiki http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch Maybe Vincent Can help :) Cheers, Hosam Original Message: Just add one parameter (viewer=code) http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y&viewer=code Regards, Tiago. On Thu, Jul 24, 2008 at 11:26 AM, Hosam Hassan wrote: > Hello Guys, > > Can I get the code for that page? > > http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0 > > I want to do the same in my xwiki but I cant manage to find the code for > that. > > Many thanks, > > Cheers, > > Hosam > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- Tiago Rinck Caveden http://caveden.multiply.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Lucene search integration
Yeah I managed to find it. Problem now that its not working. I search and nothing happens. I checked the configuration of the lucene and that the plugin is there and everything seems fine Original Message: LuceneSearch is already in the .xar package, maybe you forgot toimport it. Quoting Hosam Hassan : Sorry for resending my message just I forgotto put a subject Hello Guys, Can I get the code for that page?http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0 I want to do the same in my xwiki but I cant manage to find the codefor that. Is it possible also to customize that table I just want to show thepages and the scores. Many thanks, Cheers, Hosam Ar cieÅu, MihailsLinks:--[1] mailto:[EMAIL PROTECTED]___users mailing listusers@xwiki.orghttp://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to get the document name WITH sp aces
Hello Guys, I want to get the document name but WITH the spaces. I do it like that $doc.name but it prune the white spaces for some reason!. Any idea how to get the normal name of the document?. Many thanks, Hosam___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to get the document name WITH sp aces
Yes I know this already but for example if u want to create a new page called World cup The page will be called worldcup if u do a [$doc.name] Here the name of the link will be normal "World Cup" BUT if u do a $doc.name u will get worldcup. My problem is i want to get the normal name of the page which is displayed when u do a [$doc.name] Thanks Original Message: Hi, On Fri, Jul 25, 2008 at 10:42 AM, Hosam Hassan wrote: > Hello Guys, > > I want to get the document name but WITH the spaces. I do it like that $doc.name but it prune the white spaces for some reason!. Any idea how to get the normal name of the document?. $doc.space = Space $doc.name = PageName $doc.fullName = Space.PageName $doc.prefixedFullName = wikiname:Space.PageName See XWiki api for a complete list of available methods : http://platform.xwiki.org/xwiki/bin/view/DevGuide/API > > Many thanks, > > Hosam > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to get the document name WITH sp aces
.XWiki.saveDocument(XWiki.java:1018) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:120) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) Original Message: Hosam Hassan wrote: > Yes I know this already but for example if u want to create a new page called > > World cup > > The page will be called worldcup > > if u do a [$doc.name] Here the name of the link will be normal "World Cup" > > BUT if u do a $doc.name u will get worldcup. > > My problem is i want to get the normal name of the page which is displayed when u do a [$doc.name] > That is not the document name, but the document title. You can get it with $doc.displayTitle If you want to camelcase the document name, you can use: $doc.name.replaceAll('([a-z])([A-Z])', '$1 $2') -- 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
[xwiki-users] Exception in registeration when swit ching email verification On
Hello guys, When I try to register as a new user and the email verification option is 'Yes' I get an exception. The watch list is working fine and sending emails normally so the SMTP server connection is working, Just it doesn't work when I try to register a new user. Thats the exception I get. A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 10005 in 10: Could not login to mail server mailx1.dsmain.ds.corp port 25 error code 501 (501 5.5.4 Invalid Address ) com.xpn.xwiki.XWikiException: Error number 10005 in 10: Could not login to mail server mailx1.dsmain.ds.corp port 25 error code 501 (501 5.5.4 Invalid Address ) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2869) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2908) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2827) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2786) at com.xpn.xwiki.XWiki.createUser(XWiki.java:2736) at com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:41) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) Any ideas why this is happening? Cheers, Hosam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Exception in registeration when swit ching email
Yes the email of tha admin is working and it is sending notifications without any problems. There is no problem also in the user email. Any idea what can cause this? Original Message: Hi, Seems like sender or recipient email is badly formatted. Is the administrator email set in the wiki preferences ? The email you use for the newly created user correct ? JV. On Mon, Jul 28, 2008 at 2:06 PM, Hosam Hassan wrote: > Hello guys, > > When I try to register as a new user and the email verification option is 'Yes' I get an exception. The watch list is working fine and sending emails normally so the SMTP server connection is working, Just it doesn't work when I try to register a new user. Thats the exception I get. > > A problem occured while trying to service your request. Please contact the support if this happens again. > > Detailed information: > >Error number 10005 in 10: Could not login to mail server mailx1.dsmain.ds.corp port 25 error code 501 (501 5.5.4 Invalid Address > ) > com.xpn.xwiki.XWikiException: Error number 10005 in 10: Could not login to mail server mailx1.dsmain.ds.corp port 25 error code 501 (501 5.5.4 Invalid Address > ) >at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2869) >at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2908) >at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2827) >at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2786) >at com.xpn.xwiki.XWiki.createUser(XWiki.java:2736) >at com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:41) >at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) >at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) >at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) >at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) >at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) >at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) >at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) >at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) >at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) >at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) >at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) >at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) >at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) >at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) >at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) >at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) >at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) >at java.lang.Thread.run(Unknown Source) > > > Any ideas why this is happening? > > Cheers, > > Hosam > > ___ > 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 -- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users