Re: [xwiki-users] How to keep jetty running?
Hi jeremy, This is not xwiki specific, but probably Linux related. I am assuming that becaus of using ssh. you sould try either at the end of the line or bg at the begining, both are the same for running anything im background. nuhup may also help Alain [EMAIL PROTECTED] escreveu: Hi, As I explained it in several messages, I'm trying to use XWiki on a remote server. We're accessing it with a ssh connection (using Putty). First, I tried to install the war manually and it seems that I succeed but we couldn't access to the XWiki page although Tomcat seems to work fine. I couldn't find anybody able to help me on this matter and I needed XWiki to be installed so I choose to install the standalone version. But there's a little problem. XWiki is working just fine but we have to start jetty with a command on our putty terminal and if we shut the window where the commad has been entered, we shut down jetty... so we can't access XWiki anymore if the window isn't open Is there a way to keep Jetty running without having to keep the terminal window open? That said, I must say that I've been surprised by the difficulty to install XWiki with both method (especially the first one). Even with a good tutorial about how to install xwiki manually on a Debian Etch 4.02 we still had a problem. And with the standalone version, although it works just fine, there still is this little problem with Jetty (But I hope somebody will be able to help with this). It's been difficult to find help all over the web. Don't you think all the problems that we can't get should be put in one place? It would avoid for someone trying to install xwiki to spend hours looking at N sites and N pages to find only one information. I hope I'll get to fix my problems and I'll be happy to share it afterwards for people facing the same issues. It would be really easier if all the installation problems like this (exception, etc...) were listed on a unique page leading to the right solution rather than having to look to multiples threads, forums, blogs and websites But that's just my opinion. I hope someone will be able to help me with Jetty. Thank you for your time and the help you'll give me. Regards, Jeremy Amode. This message was sent using IMP, the Internet Messaging Program. ___ 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] wysiwyg
Vincent Massol escreveu: This is a known limitation and the new WYSIWYG editor we're working on will not have this limitation. Do you have any kind os estimation of how long the wisiwig might take? Not precisely, but is it more like one month or one year? Thanks for all, Alain ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Video Macro not working ?
I am having a similar problem, will it wor if I roll back to 1.1.2 editor as suggested by Sergiu Dumitriuin 06/27? Alain Vincent Massol escreveu: Hi James, This is probably because of our flaky WYSIWYG editor. In the version you have it's escaping the special characters as xml entities thus making the URL fail... This is a known bug and we're working hard on a brand new WYSIWYG editor based on GWT that will not have all the deficiencies of the current editor. Right now all I can suggest is to not use the WYSIWYG editor and use the wiki editor one as much as possible. I know it's a good answer but we're a bit stuck, whenever we make changes to the current editor it breaks it in other places; it's really too hard to maintain (hence our decisions to rewrite it - a first version should be out in September). Sorry about that. Thanks -Vincent On Jul 1, 2008, at 3:57 PM, James Weir wrote: That seems to work now. interesting though, when I add an http URL the first time it works fine; however if I re-edit the page then the httpURL gets interpreted by the Wiki and corrupts the link, for example if I add this: #video('http://www.dailymotion.com/video/x5yyb9_sarkozy-en-off-sur-france-3_news') save the page and then later I re-edit the page the http link is saved as: #video('http://www.dailymotion.com/video/ x5yyb9#95;sarkozy#45;en#45;off#45;sur#45;france#45;3#95;news') and an error is thrown: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutorialBuild com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Tutorials.SAFTutorialBuild Wrapped Exception: Failed to evaluate content with id SAFTutorial Build http://demo.usharesoft.com:8080/xwiki/bin/view/Tutorials/SAFTutorialBuild at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231) at com .xpn .xwiki .render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com .xpn .xwiki .render .DefaultXWikiRenderingEngine .renderText(DefaultXWikiRenderingEngine.java:252) 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: 423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) ... partial exception, the rest has been removed at java.lang.reflect.Method.invoke(Method.java:597) I know there is a notion of {pre} that stops xwiki interpeting parts of the page to stop this, however I was suprised that xwiki did this in a macro. How can I stop this happening ? I have a more generic question; if you wish to use a widget in html as part of the wiki, what is the best way to go about this ? Do you have to create your own Macro ? or is there a way to tell xWkki to parse a block as html ? Thanks James Vincent Massol wrote: Hi James, The person who wrote the installation tutorial was wrong. The way it was described doesn't work. I've updated the instructions. See http://code.xwiki.org/xwiki/bin/view/Macros/VideoMacroDownloads Thanks -Vincent On Jul 1, 2008, at 12:05 PM, James Weir wrote: Hi, I have been trying to use the video macro [1] without much success. I followed the instructions to upload and import the xar file into my xwiki. The import was successful. I then add the macro into the Velocity macros: Administration: Preferences-Advanced-Velocity Macro Pages I added: Marcos.Video, I was then hoping to embed a video into my xwiki. Unfortunately all I see is the text of the macro rather than the video, For example: #video('http://www.youtube.com/v/NEV2TnDUA-Ehl=en'); Any ideas on why this is not working ? Thanks James ___ 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] Macro and Table of Contents
Hi, I want to seuup a page with the TOC in a box on the right. But the lines bellow the titles are overwriting the TOC and I get this result: http://suporte.cosmodata.info/xwiki/bin/view/Sandbox/TesteAlain01 I tested with Windows/Linux and Explorer7/Firefox/Opera. There is an image of what happens in the same page. I set the page to editable without login, just in case it would help. Maybe I am even using the wrong Macro -I did this:-- 1 Teste de Lista tipo Conteúdo #startfloatingbox() #toc( true) #endfloatingbox() 1.1 Manual do Usuário 1.1.1 teste Este é o manual ... 1.1.1 Adendimento de Eventos Recebidos - Please help, Alain ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Macro and Table of Contents
Hi Vincent, The Jira page is a bit confusing for newcommers, I have to make 2 choices before inserting the issue. Can you please tell me where I should insert that issue? As for the bug, What is the closest alternative to what I want? (I am a bit open minded on that :) ) Or is theere any kind of workaround for that? Thanks, Alain Vincent Massol escreveu: Hi Alain, It's a bug, please open a jira issue at http://jira.xwiki.org Thanks -Vincent On May 22, 2008, at 7:45 PM, Alain M. wrote: Hi, I want to seuup a page with the TOC in a box on the right. But the lines bellow the titles are overwriting the TOC and I get this result: http://suporte.cosmodata.info/xwiki/bin/view/Sandbox/TesteAlain01 I tested with Windows/Linux and Explorer7/Firefox/Opera. There is an image of what happens in the same page. I set the page to editable without login, just in case it would help. Maybe I am even using the wrong Macro -I did this:-- 1 Teste de Lista tipo Conteúdo #startfloatingbox() #toc( true) #endfloatingbox() 1.1 Manual do Usuário 1.1.1 teste Este é o manual ... 1.1.1 Adendimento de Eventos Recebidos - Please help, Alain ___ 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 safe is xwiki?
Multiple answer: Jerome Velociter escreveu: Is XWiki prone to the same kind of problem? I'm wondering what kind of answer you can expect here : We won't say XWiki is perfectly secured, because there are no such things as perfectly secured systems in the nature yet ; On the other side, if we hypoteticly had known unresolved security issues, we would not tell about them here either, because, well they are unresolved security issues that could be exploited on running servers. You have a point here :) but then I can be reasonably tranquil that security issues are taken care of... Ronald Parris escreveu: I run a web hosting service. 99% of the applications deployed are JAVA based. 1% of the applications are PHP based. HOWEVER 99% of all application related security issues we deal with are related to PHP. Ok, that is a reassuring information -- [Ricardo Rodriguez] Your EPEC Network ICT Team escreveu: you are comparing two different things. PHP can not be one term of the comparison. You can compare PHP with Java; or XWiki with MediaWiki (the first running on a Java servlet container, the second running on PHP. Form Ronald's answer above, I can see that Java is reasonably safe as a platform. I was not comparing PHP and XWiki, just giving an example ao security issue... From all your answers, I feel safe enough about using XWiki. Thanks to all, Alain Hope this helps, Jerome. Thanks, Alain Sergiu Dumitriu escreveu: Hi Alain, There are 2 security areas when talking about XWiki: the security of the underlying system, and the security of the wiki itself. The first one depends a lot on the security of the container (Tomcat, for example), and I think that most containers are pretty safe to use, as a lot of websites are built on the Java technology. One important aspect is the security model of the JVM; you can leave the container without a security manager, which allows an application to do anything (well, anything the user owning the java process can do on the system), or enable the security manager which allows an application to do only what you tell it to. While enabling the security manager is the safest thing to do, we didn't quite experiment with this, so we can't provide a good policy file that will allow XWiki to run, you will have to write it yourself; there is a minimal file which allows XWiki to start under the security manager, but it isn't tested on more than viewing a page (see http://jira.xwiki.org/jira/browse/XWIKI-348). If you want to play around with this policy file until you determine the minimum safe set of rules, then you won't have anything to worry about on the system security. The second part is a bit trickier, as it depends a lot on how you manage users and their rights. If you only grant view and edit rights to people you trust, then there shouldn't be any risks. If you open the wiki for public registration and public editing, then you will have the problem any wiki has: anyone can alter the data. This is where the administrator(s) are needed: managing users and their roles/rights. A pretty good thing is that XWiki has versioning, so you can always revert a document to a previous version, and a recycle bin, so you can recover deleted documents. Regarding rights, there is a major issue: XWiki has something called the Programming right, something that allows users to go beyond simple editing, as it allows a user to write scripts that can alter all the data in the wiki, or even scripts that can do anything a java program can do (even access the filesystem and send data over the network). This is where the security manager I talked about above is useful, as it restricts what such a script can do on the system. Now, this is something you should take extra care about: it is not a problem unless you make it one. Never let this right be used in the wiki, it is not intended to be granted to normal users but to your super administrators, who know how and when to use this access right. This means that you should only use the default Admin account to setup the wiki, then create a normal user for day-to-day editing. So, as a conclusion, XWiki CAN be safe, and it CAN be unsafe, it is only a matter of proper configuration. It does not contain anything inherently unsafe, it is built on a safe platform, with the dangerous things (programming right) locked up by default. Alain M. wrote: Please, can anyone help me on this matter?? I have waited some time but didn't get an answer. This is important, any information will help --- If I install xwiki in a VPS, and leave it running, with a firewall that leaves open only the port that xwiki is using, Could it be atacked by a hacker to gain access to the server? Do I need some extra protection? Is there a security tutorial? ___ users mailing list users@xwiki.org http
[xwiki-users] How safe is xwiki?
Please, can anyone help me on this matter?? I have waited some time but didn't get an answer. This is important, any information will help --- If I install xwiki in a VPS, and leave it running, with a firewall that leaves open only the port that xwiki is using, Could it be atacked by a hacker to gain access to the server? Do I need some extra protection? Is there a security tutorial? thanks Alain ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Install question
I need to install XKiki on an internet hosting account on Linux. I don't know anything of Java... I installed xwiki-enterprise-hsqldb-1.3.2.zip and it worked just fine. As far as I undesrtand, this runs with the database in memory. Can I just change that instalation so that I have the database in the disk? I do not expect to have a big database, but I need to make online backups :) Is there a reason why I should not try that? I have no Java experience and it can be a lot to learn just to make the install... Thanks, Alain ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users