IRC Archive for channel #xwiki on 25 June 2008
Last modified by Vincent Massol on 2012/10/18 18:30
xwikibot - (25/06/2008 07:22): AdminGuide.Skins was modified by xwiki:XWiki.squirrel (Added comment) - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
_steffen_ - (25/06/2008 09:54): Hello.
_steffen_ - (25/06/2008 09:54): I need help in setting up XWiki over SSL.
_steffen_ - (25/06/2008 09:56): XWiki is sometimes generating URLs with HTTP instead of HTTPS. If such a URL is loaded, the session get killed.
_steffen_ - (25/06/2008 09:58): I've found in the source code a code snippet, where I can set a 'secure' flag and then it will use https for the 'serverurl' (has something to do with virtual wikis). Can I set such a flag for one wiki (not using virtual wikis)?
vmassol - (25/06/2008 10:06): hi _steffen_
_steffen_ - (25/06/2008 10:07): vmassol: Hi.
vmassol - (25/06/2008 10:07): yes there are some issues with SSL. Let me try to find the jira issue we have about it (maybe you opened it?)
_steffen_ - (25/06/2008 10:08): Maybe you mean this one: http://jira.xwiki.org/jira/browse/XWIKI-227
_steffen_ - (25/06/2008 10:08): vmassol: The fix mentioned in the bug report isn't changing anything for me. Problem still exists.
vmassol - (25/06/2008 10:09): no there's another pb
_steffen_ - (25/06/2008 10:09): vmassol: Ok. If you find the bug report, please let me know. Maybe I can help fixing it...
vmassol - (25/06/2008 10:11): I asked someone who had the issue to create the jira issue but I can't find it
vmassol - (25/06/2008 10:11): maybe he hasn't created it
vmassol - (25/06/2008 10:12): _steffen_: if you could identify when exactly the pb happens
vmassol - (25/06/2008 10:12): and describe how to reproduce it
vmassol - (25/06/2008 10:12): that would be great
vmassol - (25/06/2008 10:12): (in a jira issue)
vmassol - (25/06/2008 10:12): I think one pb is on redirects
vmassol - (25/06/2008 10:12): when you're not logged in
vmassol - (25/06/2008 10:13): after you log in you're redriected but in http and not https
_steffen_ - (25/06/2008 10:13): vmassol: I've found another issue in jira (is already fixed), but there is this (at least for me) mysteriously 'secure' flag. I don't know how to set this flag.
_steffen_ - (25/06/2008 10:13): Back in a few minutes.
vmassol - (25/06/2008 10:14): _steffen_: you have the url?
_steffen_ - (25/06/2008 10:23): vmassol: http://jira.xwiki.org/jira/browse/XWIKI-2474
vmassol - (25/06/2008 10:24): _steffen_: yes but that's another one
vmassol - (25/06/2008 10:24): there's no secure flag
vmassol - (25/06/2008 10:24): this bug was fixed in 1.5M2
_steffen_ - (25/06/2008 10:24): vmassol: I think the 'wrong' redirects (http instead of https) are creating my problem.
vmassol - (25/06/2008 10:24): a few days ago
vmassol - (25/06/2008 10:25): _steffen_: if you could open a jira for this it would be great since I don't think we have one
_steffen_ - (25/06/2008 10:25): vmassol: This secure flag is mentioned in 'public URL getServerURL(String database, XWikiContext context) throws MalformedURLException' in file xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
_steffen_ - (25/06/2008 10:26): Line 4201
_steffen_ - (25/06/2008 10:26): Has something to do with XWiki.XWikiServerClass
_steffen_ - (25/06/2008 10:26): But I don't know, what this is for.
vmassol - (25/06/2008 10:26): ah you seemto know more than I do on this... ;)
vmassol - (25/06/2008 10:26): let me check
_steffen_ - (25/06/2008 10:27): vmassol: I'd like to help as best as I can to get my problem fixed.
vmassol - (25/06/2008 10:27): _steffen_: ok I've checked
vmassol - (25/06/2008 10:27): I don't thin this flag is used a tall
vmassol - (25/06/2008 10:27): it's for multiwikis and I think it's not used and was meant to signify if a given subwki is private or not
vmassol - (25/06/2008 10:28): ah no
vmassol - (25/06/2008 10:28): I'm wrong
vmassol - (25/06/2008 10:28): let me ask someone
_steffen_ - (25/06/2008 10:28): vmassol: Thanks.
vmassol - (25/06/2008 10:28): thomasmortagne: do you know what this flag is? Is it meant to signify that such a given subwiki is meant to accesssed using https?
vmassol - (25/06/2008 10:28): _steffen_: it's for multiwiki for sure
vmassol - (25/06/2008 10:28): is that what you have?
_steffen_ - (25/06/2008 10:29): If I'm hover the log-out link with my mouse, I'm seeing an xredirect without https. Have you meant this some time before?
vmassol - (25/06/2008 10:29): yes this is a problem
_steffen_ - (25/06/2008 10:29): vmassol: I'm not using multiwiki mode. But if this will be fixing my problem, I will try to switch.
vmassol - (25/06/2008 10:29): should be raised in a jira issue
vmassol - (25/06/2008 10:30): _steffen_: no no
_steffen_ - (25/06/2008 10:30): vmassol: Ok. Will open a issue.
vmassol - (25/06/2008 10:30): what I mean is that if you're not in multiwiki then the code you're showing me is not used
_steffen_ - (25/06/2008 10:30): vmassol: Ok.
_steffen_ - (25/06/2008 10:32): vmassol: For which project is this issue?
vmassol - (25/06/2008 10:32): XWiki Core
_steffen_ - (25/06/2008 10:32): Ok
_steffen_ - (25/06/2008 10:38): vmassol: Here is the jira issue: http://jira.xwiki.org/jira/browse/XWIKI-2502
_steffen_ - (25/06/2008 10:38): Please let me know, if you think, that there is information missing.
vmassol - (25/06/2008 10:38): cool thanks _steffen_
vmassol - (25/06/2008 10:39): now if you have a patch you can attach it to the jira issue... ;) otherwise someone will look into this but can't guarantee when. seems like important though
_steffen_ - (25/06/2008 10:39): vmassol: Is 1.5m2 released?
vmassol - (25/06/2008 10:39): yes
vmassol - (25/06/2008 10:39): almost
vmassol - (25/06/2008 10:39): the release process was started yesterday
vmassol - (25/06/2008 10:39): and will be finished today
_steffen_ - (25/06/2008 10:40): vmassol: Great. I will have a look, if this is fixing anything for me.
vmassol - (25/06/2008 10:40): ok cool
vmassol - (25/06/2008 10:40): thanks
_steffen_ - (25/06/2008 10:41): vmassol: But I think, that there are more problems with SSL than only this one. I will show you, just a second.
_steffen_ - (25/06/2008 10:42): vmassol: macros.vm:#set($onurl = "http://${request.serverName}${xwiki.getSkinFile('aimonline.gif')}")
_steffen_ - (25/06/2008 10:42): I don't know if this is in use, but if it is, there is more to fix than only wrong redirects...
vmassol - (25/06/2008 10:43): can you http:/rafb.net/paste it instead?
vmassol - (25/06/2008 10:43): (it didn't show properly here)
_steffen_ - (25/06/2008 10:44): Sure.
_steffen_ - (25/06/2008 10:45): vmassol: http://rafb.net/p/puVOzl64.html
_steffen_ - (25/06/2008 10:46): This is only for displaying im states, but at least, it is wrong, if XWiki is used entirely over SSL.
_steffen_ - (25/06/2008 10:46): The file where I have found this is macros.vm
vmassol - (25/06/2008 10:47): yes I know about this one actually
vmassol - (25/06/2008 10:47): I've never bothered to file a jira for it though... was lazy...
vmassol - (25/06/2008 10:48): since this is not a very used macro but yes you're right
vmassol - (25/06/2008 10:48): feel free to file a jira
_steffen_ - (25/06/2008 10:48): vmassol: I will do. :)
vmassol - (25/06/2008 10:48): I've done that same thing that you did actually
vmassol - (25/06/2008 10:48): which is search for "http" in all sources
_steffen_ - (25/06/2008 10:51): vmassol: I've also tried fixing it through setting the scheme to https in XWikiServletURLFactory.java instead of using getScheme(), but this hasn't changed anything.
_steffen_ - (25/06/2008 10:52): vmassol: But it hasn't changed something to fail, too :)
vmassol - (25/06/2008 10:52): _steffen_: the best to fix this is to start xwiki in debug mode
vmassol - (25/06/2008 10:52): then using an IDE do remote debugging and step in the code
vmassol - (25/06/2008 10:53): if you're itnerested there are instructions on http://dev.xwiki.org/
_steffen_ - (25/06/2008 10:53): vmassol: I've tried this with eclipse, but with no success. It's displaying the running threads but I can set no breakpoints or see variables. If I add my source directory, eclipse is crashing...
vmassol - (25/06/2008 10:54): worked fine for me in both IDEA and eclipse
vmassol - (25/06/2008 10:54): weird
vmassol - (25/06/2008 10:55): _steffen_: the entry point for this in xwiki is LoginAction
vmassol - (25/06/2008 10:55): it calls the login.vm velocity template
_steffen_ - (25/06/2008 10:55): vmassol: Maybe I'm doing something wrong. I'm checking out the source code of version 1.5m1 (the version I'm running) and import this code in eclipse as a maven project.
vmassol - (25/06/2008 10:55): sounds good
_steffen_ - (25/06/2008 10:56): Ok. But I don't know why eclipse is crashing if I start debug mode...
vmassol - (25/06/2008 10:56): _steffen_: btw did you see this tutorial: http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse ?
_steffen_ - (25/06/2008 10:56): Yes.
vmassol - (25/06/2008 10:56): here I was talking about remote debugging
vmassol - (25/06/2008 10:57): ie you run start_xwiki_debug.sh
vmassol - (25/06/2008 10:57): and then use your ide to connect to it
vmassol - (25/06/2008 10:57): (it = the jvm started by the shell script)
vmassol - (25/06/2008 10:57): the other solution (much harder) is to run xwiki inside eclipse
_steffen_ - (25/06/2008 10:58): Running XWiki in Eclipse using SSL is really difficult...
_steffen_ - (25/06/2008 11:00): vmassol: Are you sure, this is the right link? I can't find anything about remote debugging in this document.
vmassol - (25/06/2008 11:00): _steffen_: no it's not. this link is about installing xwiki sources in elcipse
vmassol - (25/06/2008 11:00): for debugging: http://dev.xwiki.org/xwiki/bin/view/Community/Debugging
vmassol - (25/06/2008 11:01): check the Remote Debugging section
_steffen_ - (25/06/2008 11:02): vmassol: I've passed the options to tomcat. The debug "session" is running on port 5005. I can connect to this.
_steffen_ - (25/06/2008 11:08): vmassol: I've deleted everything and start again. It will take some time to set all up again.
vmassol - (25/06/2008 11:09): _steffen_: ok
vmassol - (25/06/2008 11:09): I'll be here all day
_steffen_ - (25/06/2008 11:10): ok.
vmassol - (25/06/2008 11:14): _steffen_: one thing that would be great is if you can provide feedback on the new Admin UI that we've just released in 1.5M2
vmassol - (25/06/2008 11:15): i.e. whether you like or not, what you think should be improved if need be, etc
vmassol - (25/06/2008 11:15): since this is brand new we're looking for feedback
vmassol - (25/06/2008 11:15): we also have some time to adjust it for 1.5RC1
_steffen_ - (25/06/2008 11:25): vmassol: As soon as 1.5m2 is released and running, I will have a look at it and give feedback. Is there a place where this feedback should be placed?
vmassol - (25/06/2008 11:25): _steffen_: mailing list is best
thomasmortagne - (25/06/2008 11:36): vmassol: sorry was in a call
thomasmortagne - (25/06/2008 11:36): _steffen_: about "secure" http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWiki
xwikibot - (25/06/2008 11:36): XWiki.smartech was modified by XWiki.smartech (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/smartech
thomasmortagne - (25/06/2008 11:37): it is just used where you seen it I think: to decide to generate http or https links
thomasmortagne - (25/06/2008 11:38): _steffen_: for debugging in Eclipse did you looked at http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse ?
thomasmortagne - (25/06/2008 11:39): and especially at http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoots#HMyEclipsecan27tstopcrashing for your Eclipse crash
_steffen_ - (25/06/2008 11:48): thomasmortagne: Is there a "secure" flag in single wiki mode?
_steffen_ - (25/06/2008 11:48): thomasmortagne: Because XWiki is creating wrong URLs.
phirox - (25/06/2008 11:51): I renamed a page with a "/" in it, like x/test, now I cannot access it or rename it. Is there some way to solve this?
phirox - (25/06/2008 11:52): firefox does try to access it using url encoding(%2F) btw
thomasmortagne - (25/06/2008 11:52): _steffen_: no "secure" is only used in multiwiki mode I think
vmassol - (25/06/2008 11:53): phirox: I think you're stuck since this is a bug we have currently with / in page names. The solution is to delete if in the database but that's not easy and dangerous if you make a mistake
phirox - (25/06/2008 11:54): vmassol: I was afraid so, but I'll dive into the database then. thanks
_steffen_ - (25/06/2008 11:55): thomasmortagne: ok. So, using xwiki in multiwiki mode and setting up one wiki for usage and, if needed, one as a 'I'm just here and have nothing todo'-wiki could resolve my problem?
thomasmortagne - (25/06/2008 11:57): _steffen_: you don't even need the "'I'm just here and have nothing todo", you could simply set virtual=1 and configure a XWiki.XWikiServerXwiki with a XWiki.XWikiServerClass object enabling "secure" and externals URL should be correctly generated I think
thomasmortagne - (25/06/2008 11:58): but I'm not sure it's THE solution
_steffen_ - (25/06/2008 11:58): thomasmortagne: Well. I will try and report.
thomasmortagne - (25/06/2008 11:58): what I don't understand is that in non multiwiki mode generated URLs should be relative
_steffen_ - (25/06/2008 11:59): For sure, this isn't THE solution. The right way to go is, fixing URLs in XWiki. But as a workaround it's ok for me, if it's working.
thomasmortagne - (25/06/2008 11:59): yes sure
_steffen_ - (25/06/2008 11:59): thomasmortagne: Don't understand what you mean.
thomasmortagne - (25/06/2008 12:00): in non multiwiki mode most of URL in the "href" should be /xwiki/bin/view/Space/Page and not http://host/xwiki/bin/view/Space/Page
thomasmortagne - (25/06/2008 12:01): so I don't understand why XWiki generate wrong http URLs
thomasmortagne - (25/06/2008 12:01): the problem is more here I think
thomasmortagne - (25/06/2008 12:02): as this (general relative URLs) used to work
_steffen_ - (25/06/2008 12:02): thomasmortagne: Have a look at a bug report: http://jira.xwiki.org/jira/browse/XWIKI-2502
thomasmortagne - (25/06/2008 12:03): is it a particular case of the redirect URL ?
_steffen_ - (25/06/2008 12:04): I see such URLs only on xredirect's. The Sitemap-as-MindMap-thingie creates http://server.domain.tld:80/xwiki/...
thomasmortagne - (25/06/2008 12:04): _steffen_: anyway I seen you already discuss that in the mailing list/irc etc.. and there is a problem, I was just think in writing ;)
_steffen_ - (25/06/2008 12:06): thomasmortagne: I hope to find a fix/workaround for this soon, becaue all my users complain on problems using XWiki. Disabling SSL encryption is a no-go for us.
thomasmortagne - (25/06/2008 12:06): I understand
_steffen_ - (25/06/2008 12:06): So, hopefully multiwiki mode will work around this problem :)
thomasmortagne - (25/06/2008 12:07): yes I think it's possible unless redirect does not use URL factory
_steffen_ - (25/06/2008 12:08): but if redirect isn't working URL factory, there is a chance to fix it, AFAIK redirect should use URL factory to build URLs...
_steffen_ - (25/06/2008 12:09): At least this is my opinion :)
thomasmortagne - (25/06/2008 12:09): yes it should but I already seen some "hand made" URL in the past maybe some remains but I don't think so
_steffen_ - (25/06/2008 12:10): thomasmortagne: at least in macros.vm are URLs with hard-coded http in it. But these URLs have to do with instant messanger display state...
_steffen_ - (25/06/2008 12:11): a problem which is not relevant for me. But I will fill a jira issue in any case.
thomasmortagne - (25/06/2008 12:14): _steffen_: ok
_steffen_ - (25/06/2008 12:18): thomasmortagne: The link on the troubleshoots list has fixed my eclipse crashing problem. Thanks.
thomasmortagne - (25/06/2008 12:19): _steffen_: np
_steffen_ - (25/06/2008 12:20): I'm getting the following error in using WikiManager: Error number 4001 in 4: Error while parsing velocity page WikiManager.WebHome Wrapped Exception: Failed to evaluate content with id Web Home
xwikibot - (25/06/2008 12:25): Main.ReleaseNotes was modified by XWiki.jvdrean (Added XE 1.5M2) - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotes
jgraglia_ - (25/06/2008 12:25): Hi
xwikibot - (25/06/2008 12:31): Applications.AdminApplication was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/AdminApplication
_steffen_ - (25/06/2008 12:31): thomasmortagne: Do you have an idea for my problem with WikiManager?
xwikibot - (25/06/2008 12:32): Applications.AdminApplicationDownloads was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/AdminApplicationDownloads
xwikibot - (25/06/2008 12:32): Applications.MonitoringApplicationDownloads was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/MonitoringApplicationDownloads
xwikibot - (25/06/2008 12:32): Applications.AdminApplicationDownloads was modified by xwiki:XWiki.jvdrean (deleted document) - http://code.xwiki.org/xwiki/bin/view/Applications/AdminApplicationDownloads
xwikibot - (25/06/2008 12:33): Applications.MonitoringApplication was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/MonitoringApplication
xwikibot - (25/06/2008 12:33): Applications.AdminApplication was modified by xwiki:XWiki.jvdrean (deleted document) - http://code.xwiki.org/xwiki/bin/view/Applications/AdminApplication
xwikibot - (25/06/2008 12:37): Applications.AdministrationApplication was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication
xwikibot - (25/06/2008 12:38): Applications.AdministrationApplicationDownload was modified by xwiki:XWiki.jvdrean (Added object) - http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplicationDownload
xwikibot - (25/06/2008 12:38): Applications.AdministrationApplicationDownload was modified by xwiki:XWiki.jvdrean (Added object) - http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplicationDownload
xwikibot - (25/06/2008 12:39): Applications.AdministrationApplicationDownload was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplicationDownload
thomasmortagne - (25/06/2008 12:39): what do you call "WikiManager" ?
thomasmortagne - (25/06/2008 12:39): _steffen_>
xwikibot - (25/06/2008 12:39): Applications.AdministrationApplicationDownload was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplicationDownload
thomasmortagne - (25/06/2008 12:40): _steffen_: you don't need WikiMaager btw
thomasmortagne - (25/06/2008 12:40): just the XWiki.XWikiServerClass
thomasmortagne - (25/06/2008 12:40): and to add a XWiki.XWikiServerClass object in XWiki.XWikiServerXwiki document
thomasmortagne - (25/06/2008 12:41): I mean what do you call "using WikiManager" ?
thomasmortagne - (25/06/2008 12:42): in other words: in your case just import the XWiki.XWikiServerClass from WikiManager xar
thomasmortagne - (25/06/2008 12:42): go to XWikiXWikiServerXwiki
thomasmortagne - (25/06/2008 12:42): add a XWiki.XWikiServerClass object
thomasmortagne - (25/06/2008 12:43): enable the Secure field in object editor
thomasmortagne - (25/06/2008 12:43): also add the right domain in "Server" field
thomasmortagne - (25/06/2008 12:44): (in multiwki this field is use to determine what wiki to go to from the URL)
thomasmortagne - (25/06/2008 12:44): if you have more that one domain simple add more XWiki.XWikiServerClass objects
thomasmortagne - (25/06/2008 12:45): with different "Server" field values
thomasmortagne - (25/06/2008 12:45): you don't need to configure Secure for other objects that the first one
_steffen_ - (25/06/2008 12:50): thomasmortagne: WikiManager is a plugin I've downloaded from xwiki.org. I thought this is a plugin for managing virtual wikis.
thomasmortagne - (25/06/2008 12:52): _steffen_: yes I created it, I just wanted to know where did you hace your error in WikiManager
thomasmortagne - (25/06/2008 12:52): sorry I was not very clear
thomasmortagne - (25/06/2008 12:53): but as I know you don't need the whole WikiManager in your case
thomasmortagne - (25/06/2008 12:53): (which btw depends on ApplicationManager plugin)
_steffen_ - (25/06/2008 12:53): ApplicationManager is installed.
_steffen_ - (25/06/2008 12:54): thomasmortagne: https://xwiki.ics-ag.de/xwiki/bin/view/WikiManager/ this is the page I'm opening and there is this error displayed: Error number 4001 in 4: Error while parsing velocity page WikiManager.WebHome Wrapped Exception: Failed to evaluate content with id Web Home
xwikibot - (25/06/2008 12:54): Applications.AdministrationApplication was modified by xwiki:XWiki.jvdrean (Added screenshots) - http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication
thomasmortagne - (25/06/2008 12:54): do you have anything in the log
thomasmortagne - (25/06/2008 12:55): "Failed to evaluate content with id Web Home" is a generics XWiki error for "there is an error, I don't know what"
xwikibot - (25/06/2008 12:55): Main.ReleaseNotesXWikiEnterprise15M2 was modified by XWiki.jvdrean (Initial version) - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15M2
xwikibot - (25/06/2008 12:56): Main.ReleaseNotesXWikiEnterprise15M2 was modified by XWiki.jvdrean (Fixed typos) - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15M2
_steffen_ - (25/06/2008 12:56): Here is the log: http://rafb.net/p/8egrx057.html
thomasmortagne - (25/06/2008 12:57): Caused by: java.lang.NoClassDefFoundError: com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/DefaultXObjectDocument
thomasmortagne - (25/06/2008 12:57): this error look like ApplicationManager is not here
thomasmortagne - (25/06/2008 12:57): or it is not the right version
_steffen_ - (25/06/2008 12:58): I will check.
thomasmortagne - (25/06/2008 12:58): which btw is not well documented in WikiManager
thomasmortagne - (25/06/2008 12:58): I will do a pass for this
_steffen_ - (25/06/2008 12:58): ApplicationManager should be the same version as WikiManager, right?
thomasmortagne - (25/06/2008 12:58): not
_steffen_ - (25/06/2008 12:58): ?
thomasmortagne - (25/06/2008 12:59): generally the last version of WikiManager correcpond of the last ApplicationManager version
_steffen_ - (25/06/2008 12:59): Ok.
thomasmortagne - (25/06/2008 12:59): the two plugins are not synchronised
jgraglia_ - (25/06/2008 13:00): Hi, I need some help to understant a parse pb in an XML RPC code...
_steffen_ - (25/06/2008 13:01): thomasmortagne: I've installed WikiManager Application and WikiManager Plugin. This information I've found here in section "Wiki Manager": http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization
xwikibot - (25/06/2008 13:01): Plugins.LucenePluginDownloads was modified by xwiki:XWiki.jvdrean (Added object) - http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePluginDownloads
thomasmortagne - (25/06/2008 13:01): _steffen_: in this case WM 1.2 needs AM 1.3
_steffen_ - (25/06/2008 13:02): Oh. I think, I've found my error.
xwikibot - (25/06/2008 13:02): Plugins.LucenePluginDownloads was modified by xwiki:XWiki.jvdrean (Added 1.4 version) - http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePluginDownloads
thomasmortagne - (25/06/2008 13:02): yes but as you don't really want to manage a wiki farm you don't really need all this
_steffen_ - (25/06/2008 13:02): Now I've found a link on ApplicationManager Plugin.
xwikibot - (25/06/2008 13:02): Plugins.WatchlistPluginDownloads was modified by xwiki:XWiki.jvdrean (Added object) - http://code.xwiki.org/xwiki/bin/view/Plugins/WatchlistPluginDownloads
thomasmortagne - (25/06/2008 13:03): "Simply install Wiki Manager Plugin and Wiki Manager Application and follow instructions."
thomasmortagne - (25/06/2008 13:03): ok I'm fixing it :)
_steffen_ - (25/06/2008 13:03): thomasmortagne: I think this is easier to handle the setup. Maybe we will use this feature in the future
xwikibot - (25/06/2008 13:03): Plugins.WatchlistPluginDownloads was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Plugins/WatchlistPluginDownloads
thomasmortagne - (25/06/2008 13:03): ok
xwikibot - (25/06/2008 13:04): Skins.ToucanSkinDownloads was modified by xwiki:XWiki.jvdrean (Added object) - http://code.xwiki.org/xwiki/bin/view/Skins/ToucanSkinDownloads
xwikibot - (25/06/2008 13:05): AdminGuide.Virtualization was modified by xwiki:XWiki.ThomasMortagne - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization
xwikibot - (25/06/2008 13:05): Skins.ToucanSkinDownloads was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Skins/ToucanSkinDownloads
xwikibot - (25/06/2008 13:05): Skins.ToucanSkinDownloads was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Skins/ToucanSkinDownloads
_steffen_ - (25/06/2008 13:06): thomasmortagne: WikiManager is working now. Thanks.
xwikibot - (25/06/2008 13:06): Skins.AlbatrossSkinDownloads was modified by xwiki:XWiki.jvdrean (Added object) - http://code.xwiki.org/xwiki/bin/view/Skins/AlbatrossSkinDownloads
thomasmortagne - (25/06/2008 13:06): _steffen_: ok cool
xwikibot - (25/06/2008 13:06): Skins.AlbatrossSkinDownloads was modified by xwiki:XWiki.jvdrean - http://code.xwiki.org/xwiki/bin/view/Skins/AlbatrossSkinDownloads
jgraglia_ - (25/06/2008 13:12): I try to use RPC code to get the content of a page, but I get some parse errrors like " Failed to parse servers response: Failed to parse integer value: 20080625T12:17:24
jgraglia_ - (25/06/2008 13:12): "
jgraglia_ - (25/06/2008 13:12): I can login, and createSpace, but getpage failed
_steffen_ - (25/06/2008 13:12): jgraglia_: The value looks like a date and time and not like integer...
_steffen_ - (25/06/2008 13:13): thomasmortagne: I think there is a bug in WikiManager. If I'm trying to create a new wiki, WikiManager is asking for wikiname. If I enter a name of a wiki, which already exists, this is displayed. Every other name is shown as alreadyused...
thomasmortagne - (25/06/2008 13:15): _steffen: weird this works for me with the last version here
_steffen_ - (25/06/2008 13:15): thomasmortagne: I'm seeing this in firefox 3
thomasmortagne - (25/06/2008 13:15): using it too
thomasmortagne - (25/06/2008 13:16): let me think
_steffen_ - (25/06/2008 13:16): thomasmortagne: The Server sends a reply of value 'false'
thomasmortagne - (25/06/2008 13:16): you get WikiManager plugin 2 and application of the same version ?
_steffen_ - (25/06/2008 13:16): Will check.
thomasmortagne - (25/06/2008 13:17): (I measn WikiManager application nor Application Manager)
_steffen_ - (25/06/2008 13:17): WikiManager Application is 1.2
_steffen_ - (25/06/2008 13:17): How can I find out the version number of WikiManager plugin?
_steffen_ - (25/06/2008 13:18): Ah. Found it.
_steffen_ - (25/06/2008 13:18): 1.2 both
thomasmortagne - (25/06/2008 13:20): when you go to create new wiki you have message saying that empty wiki name is not allowed, right ?
thomasmortagne - (25/06/2008 13:20): then when you type anything you always get something about a wiki name already used ?
_steffen_ - (25/06/2008 13:21): thomasmortagne: Right.
_steffen_ - (25/06/2008 13:21): I'm getting alreadyused as long as this name does not exist. If it exist, I'm seeing used.
thomasmortagne - (25/06/2008 13:21): I don't understand how you can have this error, let me download XEM 1.2 release to test maybe something wrong append suring the release
thomasmortagne - (25/06/2008 13:22): which database do you use ?
thomasmortagne - (25/06/2008 13:22): this as been tested only on mysql I think
_steffen_ - (25/06/2008 13:23): ...it's mysql.
thomasmortagne - (25/06/2008 13:23): crap...
thomasmortagne - (25/06/2008 13:23): ho wait
thomasmortagne - (25/06/2008 13:23): what xwiki-core/XE version do you use ?
_steffen_ - (25/06/2008 13:24): 1.5m1
_steffen_ - (25/06/2008 13:24): I'm trying to find xwikiNameChanged js function. Where is it located?
thomasmortagne - (25/06/2008 13:24): so it's exactly the same configuration as myxwiki.org
_steffen_ - (25/06/2008 13:24): erhm... wikiNameChanged.
thomasmortagne - (25/06/2008 13:25): in the CreateNewWiki page itself
thomasmortagne - (25/06/2008 13:26): do you have any js error when you look with Firebug (if you have it)
thomasmortagne - (25/06/2008 13:26): ?
_steffen_ - (25/06/2008 13:26): Nope.
_steffen_ - (25/06/2008 13:26): Everythings good.
thomasmortagne - (25/06/2008 13:27): are you sure you are in virtual mode (never know ;)) ?
thomasmortagne - (25/06/2008 13:28): (WikiManager needs some warnings about that)
_steffen_ - (25/06/2008 13:28): If I'm not in virtual mode this will always return false, you think? I will have a look... Maybe I've changed it for testing again...
_steffen_ - (25/06/2008 13:29): Well... Yes. WikiManager needs some warnings about that :)
thomasmortagne - (25/06/2008 13:29): I'm adding a jira issue ;)
_steffen_ - (25/06/2008 13:30): Great.
_steffen_ - (25/06/2008 13:32): thomasmortagne: setting xwiki.virtual is bad. Now my wiki is not found anymore.
_steffen_ - (25/06/2008 13:32): Setting it back to zero value, it's working again..
thomasmortagne - (25/06/2008 13:33): if you acces your wiki with IP it will find it
thomasmortagne - (25/06/2008 13:34): the problem is that in virtual mode you need to specify where each domain name goes
_steffen_ - (25/06/2008 13:37): At first visit, I get this: http://rafb.net/p/LXZTLy33.html and on reload I'm getting redirected to .../ThisWikiDoesNotExist
thomasmortagne - (25/06/2008 13:41): using IP ?
_steffen_ - (25/06/2008 13:42): Yes, using IP.
thomasmortagne - (25/06/2008 13:42): do you have localhost/127.0.0.1 access ?
_steffen_ - (25/06/2008 13:43): yes.
thomasmortagne - (25/06/2008 13:43): does it works ?
_steffen_ - (25/06/2008 13:43): just a moment
thomasmortagne - (25/06/2008 13:43): you can also access it if your domain starts with www.
xwikibot - (25/06/2008 13:46): Main.Download was modified by XWiki.jvdrean (Added XE 1.5M2) - http://www.xwiki.org/xwiki/bin/view/Main/Download
thomasmortagne - (25/06/2008 13:48): btw there is a better documentation than "me in IRC" at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation for transform XE into XEM
_steffen_ - (25/06/2008 13:48): thomasmortagne: Thanks. If I'm getting this running, I will let you know.
thomasmortagne - (25/06/2008 13:49): _steffen_: ok
_steffen_ - (25/06/2008 13:49): Thank you for your help
thomasmortagne - (25/06/2008 13:50): _steffen_: np
xwikibot - (25/06/2008 13:50): Blog.XWikiEnterprise15M2Released was modified by XWiki.jvdrean - http://www.xwiki.org/xwiki/bin/view/Blog/XWikiEnterprise15M2Released
_steffen_ - (25/06/2008 14:23): thomasmortagne: Am I right, that the fix for supporting '.' in LDAP usernames is integrated in 1.5m2?
thomasmortagne - (25/06/2008 14:25): _steffen_: yes it should
_steffen_ - (25/06/2008 14:25): Good. One thing less to think about on a update :)
thomasmortagne - (25/06/2008 14:25): :)
asyd - (25/06/2008 14:59): heya!
xwikibot - (25/06/2008 15:18): Main.ReleaseNotesXWikiEnterprise15M2 was modified by XWiki.VincentMassol (Removed non-user focused issues) - http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15M2
xwikibot - (25/06/2008 15:39): Design.NewWysiwygEditorBasedOnGwt was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorBasedOnGwt
sachin - (25/06/2008 15:57): Hello everybody ...
ludobot - (25/06/2008 15:58): sachin: Hello everybody ...
sachin - (25/06/2008 15:59): i had a small question .. is there any api to create a document in a space .. I see a method in xwiki createDocument but it has no parameter to specify space and document name ..
ludobot - (25/06/2008 15:59): sachin: i had a small question .. is there any api to create a document in a space .. I see a method in xwiki createDocument but it has no parameter to specify space and document name ..
sachin - (25/06/2008 16:00): also the method returns an instance or Document and again in Document class there are no setter methods for name and space ..
ludobot - (25/06/2008 16:00): sachin: also the method returns an instance or Document and again in Document class there are no setter methods for name and space ..
sachin - (25/06/2008 16:00): so any idea how can I create a new document from a velocity code
ludobot - (25/06/2008 16:00): sachin: so any idea how can I create a new document from a velocity code
xwikibot - (25/06/2008 16:07): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (25/06/2008 16:08): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (25/06/2008 16:09): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (25/06/2008 16:12): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
amelentev - (25/06/2008 16:12): sachin, try #set($newdoc = $xwiki.getDocument("SpaceName.DocName")) and $newdoc.save()
xwikibot - (25/06/2008 16:13): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (25/06/2008 16:14): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (25/06/2008 16:14): DevGuide.API was modified by xwiki:XWiki.jvdrean (Added XE 1.5 M2 javadoc) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/API
sachin - (25/06/2008 16:15): amelentev: ok so if the doc name does not exist then it would create a new document in the space ..
xwikibot - (25/06/2008 16:15): DevGuide.API was modified by xwiki:XWiki.jvdrean (Added XE 1.5 M2 javadoc) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/API
sachin - (25/06/2008 16:15): is that correct ..
amelentev - (25/06/2008 16:16): yes
sachin - (25/06/2008 16:17): cool .. ill try that .. thanks ..
amelentev - (25/06/2008 16:19): sachin, you can use $newdoc.isNew() to be sure it is new :)
sachin - (25/06/2008 16:20): aha :)
sachin - (25/06/2008 16:29): can a document name contain wihtespaces ?
sachin - (25/06/2008 16:29): whitespaces
amelentev - (25/06/2008 16:32): yes
xwikibot - (25/06/2008 16:47): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
sachin - (25/06/2008 16:52): ok all worked fine .. thanks amelentev ..
xwikibot - (25/06/2008 17:07): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
asyd - (25/06/2008 17:16): just a little question about xwiki and groovy
asyd - (25/06/2008 17:17): I'm writing a class which do http requests
asyd - (25/06/2008 17:17): is the result will be cached ? or the class will be executed each time I read the page?
xwikibot - (25/06/2008 17:19): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
xwikibot - (25/06/2008 17:31): Design.NewWysiwygEditorInterface was modified by xwiki:XWiki.GuillaumeLerouge - http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
jvdrean - (25/06/2008 17:34): asyd: AFAIK only the bytecode generated from your script is cached
jvdrean - (25/06/2008 17:35): so the code will be executed on each request but not compiled
asyd - (25/06/2008 18:06): hmm ok
asyd - (25/06/2008 18:06): so I really need to take care about performances
jvdrean - (25/06/2008 18:14): asyd: rendered content of documents can be cached
jvdrean - (25/06/2008 18:15): by using $context.setCacheDuration(n) in page content
jvdrean - (25/06/2008 18:15): n is in second
asyd - (25/06/2008 18:15): ok, excellent
asyd - (25/06/2008 18:35): hmm how to create a groovyobject when the class need a parameter?
asyd - (25/06/2008 18:51): http://blog.asyd.net/?p=18 for french speaking people ;p
vmassol - (25/06/2008 18:53): asyd: nice!
vmassol - (25/06/2008 18:54): asyd: feel free to put this on code.xwiki.org if you want to share it with others xwiki users
jvdrean - (25/06/2008 19:11): asyd : I'm having a look at a project homepage on devel.asyd.net
jvdrean - (25/06/2008 19:12): just thinking that #set($showcomments = "no") #set($showattachments = "no") could be used there
jvelociter - (25/06/2008 19:26): sdumitriu: Hi
sdumitriu - (25/06/2008 19:26): Hi
jvelociter - (25/06/2008 19:26): re XPSM12, I have the code that does the migration in the plugin (virtual)init, now I should make it somehow version aware, right ?
sdumitriu - (25/06/2008 19:28): It's hard...
jvelociter - (25/06/2008 19:29): yeah... that's what I was telling myself :)
jvelociter - (25/06/2008 19:29): I could use a XWiki object to do this.. but it's a bit overkill I think
jvelociter - (25/06/2008 19:30): having runned at each startup does not cost that much
xwikibot - (25/06/2008 19:34): XWiki.nmayer was modified by XWiki.nmayer (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/nmayer
xwikibot - (25/06/2008 19:54): Community.HallOfFame was modified by xwiki:XWiki.amelentev (added Dušan Križan as contributor) - http://dev.xwiki.org/xwiki/bin/view/Community/HallOfFame
xwikibot - (25/06/2008 20:25): AdminGuide.Encoding was modified by xwiki:XWiki.Sergiu (Fix lowercase character in the Tomcat URIEncoding parameter) - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
xwikibot - (25/06/2008 20:27): AdminGuide.Encoding was modified by xwiki:XWiki.Sergiu (Emphasize that the AJP connector must also have the URIEncoding attribute) - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
xwikibot - (25/06/2008 20:28): AdminGuide.Encoding was modified by xwiki:XWiki.Sergiu (Wrong macro name...) - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
RenatoSilva - (25/06/2008 21:12): Why in Oracle's installation we need to do a "grant all to xwiki" if "create user xwiki" is already suppposed to do such a thing?
xwikibot - (25/06/2008 21:15): XWiki.XWikiCommittersGroup was modified by XWiki.VincentMassol - http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiCommittersGroup
xwikibot - (25/06/2008 21:16): XWiki.XWikiCommittersGroup was modified by XWiki.VincentMassol (Deleted object) - http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiCommittersGroup
xwikibot - (25/06/2008 21:16): XWiki.XWikiCommittersGroup was modified by XWiki.VincentMassol - http://www.xwiki.org/xwiki/bin/view/XWiki/XWikiCommittersGroup
xwikibot - (25/06/2008 21:35): Community.ReleaseProcess was modified by xwiki:XWiki.VincentMassol (Added installation on myxwiki.org to the process) - http://dev.xwiki.org/xwiki/bin/view/Community/ReleaseProcess
vmassol - (25/06/2008 21:55): RenatoSilva: not sure, try without and let us know if it works...
vmassol - (25/06/2008 21:56): we are quite familiar with hsqldb and mysql but less so with oracle so it's possible there are other ways...
xwikibot - (25/06/2008 21:57): XWiki.nelson777 was modified by XWiki.nelson777 (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/nelson777
xwikibot - (25/06/2008 22:12): Community.ReleaseProcess was modified by xwiki:XWiki.VincentMassol - http://dev.xwiki.org/xwiki/bin/view/Community/ReleaseProcess
RenatoSilva - (25/06/2008 22:37): vmassol: I think the person who wrote that tutorial should know enough before that
vmassol - (25/06/2008 22:39): RenatoSilva: your choice... all that is required is that the xwiki user has all rights on the schema/database
RenatoSilva - (25/06/2008 22:56): vmassol: of course. what's the point?
vmassol - (25/06/2008 22:56): RenatoSilva: point of?
RenatoSilva - (25/06/2008 22:57): vmassol: forget
vmassol - (25/06/2008 22:57): ok...
RenatoSilva - (25/06/2008 22:57): vmassol: the fact is that the person who wrote that article don't know about Oracle.
vmassol - (25/06/2008 22:58): RenatoSilva: ah cool, if you could fix it that would be great!
vmassol - (25/06/2008 22:58): thanks for your help!
vmassol - (25/06/2008 22:58): just edit the page and make it right (but make sure it works first of course ;))
vmassol - (25/06/2008 22:58): lots of oracle users have installed xwiki
vmassol - (25/06/2008 22:59): and you're the first one to say this
RenatoSilva - (25/06/2008 23:00): vmassol: I'm just a newbie. I won't change documentation. I don't know about Oracle, but a colleague of mine does. He told me that when you create a user it already has all privileges over its schema, so that you don't need to grant anything. Besides, he found that 'grant all to user' non-sense also because there's no 'on [object]' clause. Take notice on this :)
vmassol - (25/06/2008 23:01): I'd like to believe you but first I'd like confirmation that all works without the grant
vmassol - (25/06/2008 23:01): could you confirm?
vmassol - (25/06/2008 23:02): do you have a reference to the oracle documentation on this (that would help)?
vmassol - (25/06/2008 23:02): thanks
RenatoSilva - (25/06/2008 23:03): vmassol: we don't know what exactly grant all to xwiki means, but I guess it operates over the xwiki schema only doing what was already done with the creation of the user, so that the command is only a redundancy, this could be why it worked for all the other oracle users. The fact is that we are afraid this command to grat all privileges over the whole oracle instance, though I don't think so.
RenatoSilva - (25/06/2008 23:04): vmassol: I wikk confirm if it works withouth the command and then I'll tell you
vmassol - (25/06/2008 23:04): ok thanks
RenatoSilva - (25/06/2008 23:05): We're testing XWiki and MoinMoin and deciding between them.
vmassol - (25/06/2008 23:07): ok would be interested to hear about your criteria of choice and the result, even if you pick moinmoin
vmassol - (25/06/2008 23:07): feel free to ask questions on the list
RenatoSilva - (25/06/2008 23:07): vmassol: thank you