[xwiki-users] Help deploying xwiki under jboss/mysql/linux
Greetings fellow earthlings, I am hoping some generous soul can help me here, I am a thin-client app noob, but (IMHO) not a complete muppet. What I have is a brand new Linux (Ubuntu 6.06 server distro) server, Jboss 4.4.2.GA, mysql 5.0.22, xwiki 1.1.2, java-1.5.0-sun-1.5.0.13. My goal is an xwiki based site for the service and support department of the company I work for. I have installed xwiki on my local PC using the stanalone distro, all good. Now I want to get a server running so I can start to show the interested parties how it might work and get some feedback on the thing. I have followed the instructions on the xwiki and jboss sites pretty faithfully (multiple times) and can't seem to get xwiki to deploy under jboss. I have set mysql user and priviledges, downloaded the connector, modified hibernate.cfg.xml blah, blah. I can see the jboss default pages (at http://myserver.mydomain:8080/) when I start the jboss server, but no xwiki at http://myserver.mydomain:8080/xwiki I get http 404. I haven't got to the stage of importing the default enterprise database yet. Can someone help by first suggesting where I should start looking. I have had a look in the server.log and boot.log but they all seem like gobbly-gook to me. I won't post here as the server log is huge, 5MB, but I can filter it to something sensible if only I knew what to look for. Hoping someone can point me in the right direction, Thanks in advance, Dean Applications Engineer Rinstrum Pty. Ltd Products, support and applications at www.rinstrum.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help deploying xwiki under jboss/mysql/linux
Hopefully I haven't caused any work for anyone as I have found the solution to the problem. The instructions on the xwiki admin page may need an update/clarification. The answer is to name the directory you expand the .war into with a .war extension as per; http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment I renamed the directory from; $JBOSS_HOME/server/default/deploy/xwiki To; $JBOSS_HOME/server/default/deploy/xwiki.war And hooray, http://myserver.mydomain:8080/xwiki is alive! Also I don't have a massive server.log and 85% processor usage on the server anymore either. I will add this to the FAQ on the xwiki site, might help someone. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Sellers Sent: Friday, 11 January 2008 11:52 AM To: users@xwiki.org Subject: [xwiki-users] Help deploying xwiki under jboss/mysql/linux Greetings fellow earthlings, I am hoping some generous soul can help me here, I am a thin-client app noob, but (IMHO) not a complete muppet. What I have is a brand new Linux (Ubuntu 6.06 server distro) server, Jboss 4.4.2.GA, mysql 5.0.22, xwiki 1.1.2, java-1.5.0-sun-1.5.0.13. My goal is an xwiki based site for the service and support department of the company I work for. I have installed xwiki on my local PC using the stanalone distro, all good. Now I want to get a server running so I can start to show the interested parties how it might work and get some feedback on the thing. I have followed the instructions on the xwiki and jboss sites pretty faithfully (multiple times) and can't seem to get xwiki to deploy under jboss. I have set mysql user and priviledges, downloaded the connector, modified hibernate.cfg.xml blah, blah. I can see the jboss default pages (at http://myserver.mydomain:8080/) when I start the jboss server, but no xwiki at http://myserver.mydomain:8080/xwiki I get http 404. I haven't got to the stage of importing the default enterprise database yet. Can someone help by first suggesting where I should start looking. I have had a look in the server.log and boot.log but they all seem like gobbly-gook to me. I won't post here as the server log is huge, 5MB, but I can filter it to something sensible if only I knew what to look for. Hoping someone can point me in the right direction, Thanks in advance, Dean Applications Engineer Rinstrum Pty. Ltd Products, support and applications at www.rinstrum.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Blog categories in 1.2rc3 broken?
Greetings fellow xwiki'ers, I have just installed 1.2rc3 with the default database under linux/mysql/jboss, all is now working a treat! If anyone thinks it is worthwhile I can post a how-to but the instructions in the xwiki uide are pretty spot on now. One issue though, the blog categories seem a little screwy, there are three News, Personal and Other but they don't display very well in the breadcrumbs, or the category editor in the Admin centre. Can anyone point at why this might be happening? I don't mind fixing it as it helps me understand how it works, but pointer as to what/why would be appreciated. To reproduce start from a fresh 1.2rc3 enterprise .war and import the .xar go to Admin-Categories and you will see what I mean, hopefully. I have done two seperate server builds and the get the same behaviour, both jboss/mysql, I haven't tried the standalone jetty install though. I am investigating xwiki as an exercise really, I do plan to deploy it as a public/private site once I have worked it out and re-skinned it. Thoughts, comments, he? TIA, Dean. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Blog categories in 1.2rc3 broken?
k, straight to the source, oh well it's about time I moved on from the ANSI C world :-) let the learning curve begin, at least now I have something else to get in trouble for 'wasting' my spare time on. I assume on the xwiki site there are guides for setting up an IDE(eclipse?), downloading and building the source. From: [EMAIL PROTECTED] on behalf of Vincent Massol Sent: Mon 14/01/2008 11:00 PM To: XWiki Users Subject: Re: [xwiki-users] Blog categories in 1.2rc3 broken? Hi Dean, On Jan 14, 2008, at 1:41 PM, Dean Sellers wrote: Greetings fellow xwiki'ers, I have just installed 1.2rc3 with the default database under linux/mysql/jboss, all is now working a treat! If anyone thinks it is worthwhile I can post a how-to but the instructions in the xwiki uide are pretty spot on now. cool One issue though, the blog categories seem a little screwy, there are three News, Personal and Other but they don't display very well in the breadcrumbs, or the category editor in the Admin centre. Can anyone point at why this might be happening? I don't mind fixing it as it helps me understand how it works, but pointer as to what/why would be appreciated. Yes it's been somewhat buggy in the display for some time now. I didn't get the chance to look into it so any help here would be most welcome :) The page that doesn't render nice is: http://localhost:8080/xwiki/bin/view/Blog/Categories This page includes the http://localhost:8080/xwiki/bin/edit/XWiki/CategorySheet page which uses the form macro. It seems the form macro has some problems. It's as if it generated code using the {table} macro but that later doesn't get rendered. Thus you should probably check the FormMacro.java source. Thanks -Vincent To reproduce start from a fresh 1.2rc3 enterprise .war and import the .xar go to Admin-Categories and you will see what I mean, hopefully. I have done two seperate server builds and the get the same behaviour, both jboss/mysql, I haven't tried the standalone jetty install though. I am investigating xwiki as an exercise really, I do plan to deploy it as a public/private site once I have worked it out and re-skinned it. Thoughts, comments, he? TIA, Dean. -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean. winmail.dat___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Firefox and IE file link problem
not really an XWiki bug, but try this; http://kb.mozillazine.org/Links_to_local_pages_don't_work#Firefox_1.5.2C _SeaMonkey_1.0_and_newer Dean Sellers Applications Engineer Rinstrum Pty. Ltd P: +61 7 3216 7166 F: +61 7 3216 6211 mailto:remove[EMAIL PROTECTED] mailto:remove[EMAIL PROTECTED] Products, support and applications at www.rinstrum.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arin Morfopoulos Sent: Friday, 22 February 2008 3:50 PM To: users@xwiki.org Subject: [xwiki-users] Firefox and IE file link problem Hi All, Although the documentation states that [file linkfile:///C:/test.txt] should provide a file link, when you click on such a link in IE or firefox nothing happens. No error, no response. With IE you can at least right click the link and Save Target As, but not in Firefox. I can verify that the link to test.txt is correct by writing a simple html file that contains only a href=file:///C:/test.txtClick here for text.txt/a. That simple html file works fine- click the link and you get a test.txt. Has anyone else seen this behavior? I am using Firefox 2.0.0.12, and IE 6.0, and Xwiki 1.2.2 on windows. Connect and share in new ways with Windows Live. Get it now! http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_01 2008 -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tags in XWki Watch
Hi Everyone, I could find a use for tag 'editing', I don't think it is a strange as it seems. Consider the following for instance; I have an application where users (we will call them employees) can publish documents relating to a certain subject, or group of subjects. They are product and application based. Other users (lets call them customers) can then watch the subjects that concern them to be made aware of updates/bug fixes/application notes etc... I would like the employees to be able to choose from a predefined list of tags, that someone would have to be able to edit. This keeps the tags consistent and avoids the inevitable case/spelling/mistypes that could result in orphaned tags. I guess that this is not the pure intended use of tagging I know but I can se how it would be very useful, at least to me :-) Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 [EMAIL PROTECTED] 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, 15 April 2008 9:47 PM To: XWiki Users Subject: Re: [xwiki-users] Tags in XWki Watch Hi Xavier, editing the list of tags is a quite strange concept because by definition a list of tags generated by a community of users, so it makes almost no sense editing the list itself. The means to edit a list of tags are to edit the content that generates it, i.e. the articles from which the list is generated. Just click the tag to change so that you filter out all articles tags with that tag and edit the tags of the articles in order to remove / change the undesired tag. There is no 'bulk tag' or 'bulk change' for the moment in watch and I'm not really sure this could be used for tag editing or tag removing. Have fun, Anca Luca Hi there, how can I edit the list of tags in XWiki Watch? I have twice the same word, once with a capital letter, once without it, and I'd like to straighten this ... Thanks, Xavier ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6
Well, I am completely confused. I have exactly the same problem; UBUNTU/JBOSS/XEM1.6 I had a default setup of XE working, deleted it and then did exactly the same things except using XEM 1.6 and allowing all privs on the MYSQL database. If I swap to the deployment of XE, works fine. It doesn't seem to matter how I hit the server with XEM running, IP address, fully qualified name, name with www., name with xwiki. I still get no wiki exists. Something happens, as the empty database gets populated with tables, but that seems to be it. The xwiki.log seems to have a lot of entries relating to lucene errors, but none of that makes sense either. These seem to start with sonething like: java.io.FileNotFoundException: /home/jboss/jboss-4.2.2.GA/server/xwikisvr/work/jboss.web/localhost/xwik i/lucene/segments_2 (No such file or directory) This file doesn't exist, but the rights to create it if needed do. There is a segments_1 created in this location I have a question? 'add the right hosts to the main wiki's descriptor', what? And how? Would it be possible to explain a little better, I just don't get what you mean, and I have seached xwiki.org and in the group but cannot seem to find anything that makes sense. I just want to load the default .xar and get started creating a couple of wikis. Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 dean.sell...@rinstrum.com 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of dross-sm...@reviewjournal.com Sent: Tuesday, 31 March 2009 12:09 AM To: XWiki Users Subject: Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6 Canel that... Should've been to intranet01 instead of localhost - Original Message - From: Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 03/30/2009 04:04 PM ZE2 To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6 Hi , On Mon, Mar 30, 2009 at 15:12, Martijn Ras martijn@gmail.com wrote: Hello, I'm trying to set up XEM on a new machine. I put the XEM WAR file under the webapps folder of my tomcat installation. Created the MySQL database, just like i used to do with the XE installations I performed so far, and set the rights as specified in the installation section of the AdminGuide. After starting tomcat the database was created and everything else looked fine. However, whatever i do everything is redirected to the page http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist By default XEM access a wiki based on it's host (see http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for more details). If it's not listed in one of the wikis descriptors, it can't find it. That said when no descriptor can be found the following rules are applied: * if the host is an IP (127.0.0.1, 85.65.12.36, etc.) XWiki select the main wiki * else, if the first part of the host name (what is before the first point) is www XWiki select the main wiki * else, if the first part of the host name match a wiki identifier XWiki select this wiki at the end if it still can't find anything he send you to the configured URL indicating that the wiki you are trying to reach does not exists (by default it's http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist in xwiki.cfg file). So, two solutions for you here: - clean way: access the main wiki with the ip if you can or with a host starting with www. (like www.xwiki.org) or xwiki. and add the right hosts to the main wiki's descriptor - set xwiki.virtual=0 in xwiki.cfg and restore it to 1 when you correctly configured the main wiki descriptor (Just added it to http://manager.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL) I'm probably overlooking something really simple, anyways, can one of you please enlighten me on how to get the XEM XAR loaded? Mazzel, Martijn. ___ 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 -- This message was scanned by ESVA and is believed to be clean. Click here to report this message as spam. http://mailscanner.cooperreeves.com.au/cgi-bin/learn-msg.cgi?i d=2514E27DF3.A5F28 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6
Thanks a lot Tomas, this has cleared things up a lot. First let me congratulate you and the team/community for an excellent product, I am looking forward to using it in our company and once I understand things I hope I can provide some useful contributions. I have got my mini-farm working now, except I still can only select the main admin wiki using the IP address. It is running inside a private network, I have added entries in the DNS to point to the server IP address and these resolve correctly when I ping them, or nslookup. Entries are (A) main.mydomain.local - 192.168.x.x (CNAME) projects.mydomain.local - main.mydomain.local The setup I have is; 1. Main wiki Domain names: 'localhost', 'main.mydomain.local' 2. Template Domain names: 'templatexe.template.local' 3. Project management wiki: 'projects.mydomain.local' When I hit http://projects/xwiki I get the projects wiki, excellent! When I hit http:/main/xwiki I get the redirect The only way to get to main is http://192.168.x.x/xwiki at the moment this is OK I guess but I would like to understand why this happens as it might point to something else wrong. Also since the installation the main wiki has links for 'Calendar' and 'Photo Albums' but these have a '?' and the pages don't exist. Is this normal, or does it point to something else wrong? Any ideas? Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 dean.sell...@rinstrum.com 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: Tuesday, 7 April 2009 8:00 PM To: XWiki Users Subject: Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6 I just added more documentation on http://manager.xwiki.org/xwiki/bin/view/AdminGuide/ To summarize your use case: - look at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki to learn how XWiki goes form URL to the right wiki - look at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiDescriptor for general documentation on wiki descriptors - look at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiAliases documentation to learn how to add/remove/edit aliases On Sat, Apr 4, 2009 at 06:02, Dean Sellers dean.sell...@rinstrum.com wrote: Well, I am completely confused. I have exactly the same problem; UBUNTU/JBOSS/XEM1.6 I had a default setup of XE working, deleted it and then did exactly the same things except using XEM 1.6 and allowing all privs on the MYSQL database. If I swap to the deployment of XE, works fine. It doesn't seem to matter how I hit the server with XEM running, IP address, fully qualified name, name with www., name with xwiki. I still get no wiki exists. Something happens, as the empty database gets populated with tables, but that seems to be it. The xwiki.log seems to have a lot of entries relating to lucene errors, but none of that makes sense either. These seem to start with sonething like: java.io.FileNotFoundException: /home/jboss/jboss-4.2.2.GA/server/xwikisvr/work/jboss.web/loca lhost/xwik i/lucene/segments_2 (No such file or directory) This file doesn't exist, but the rights to create it if needed do. There is a segments_1 created in this location I have a question? 'add the right hosts to the main wiki's descriptor', what? And how? Would it be possible to explain a little better, I just don't get what you mean, and I have seached xwiki.org and in the group but cannot seem to find anything that makes sense. I just want to load the default .xar and get started creating a couple of wikis. Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 dean.sell...@rinstrum.com 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of dross-sm...@reviewjournal.com Sent: Tuesday, 31 March 2009 12:09 AM To: XWiki Users Subject: Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6 Canel that... Should've been to intranet01 instead of localhost - Original Message - From: Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 03/30/2009 04:04 PM ZE2 To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6 Hi , On Mon, Mar 30, 2009 at 15:12, Martijn Ras martijn@gmail.com wrote: Hello, I'm trying to set up XEM on a new machine. I put the XEM WAR file under the webapps folder of my tomcat installation. Created the MySQL database, just like i used to do with the XE installations I performed so far, and set the rights as specified in the installation section of the AdminGuide. After starting
Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6
Hi Sergiu, The setup I have is; 1. Main wiki Domain names: 'localhost', 'main.mydomain.local', 'main' 2. Template Domain names: 'templatexe.template.local' 3. Project management wiki: 'projects.mydomain.local' Can you try to add an alias with only main for the main wiki? The domain name is expected to match exactly the requested URL, but you're asking for main, while the configuration indicates main.mydomain.local. Done, and it works. So; main/xwiki - works main.mydomain.local/xwiki - works projects/xwiki - works projects.mydomain.local/xwiki - works I guess the only question I have is why there is only one alias for projects (projects.mydomain.local) and both the FQDN and the short version work. For the main however only an exact match of alias' work. Is this a bug? Only an annoyance really though, it just threw me off that it worked for a sub-wiki but not for the main one. Thanks for all your help! The calendar and photo album applications were retired, you should remove those links. Ok, that's easy Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 dean.sell...@rinstrum.com 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Date picker example code on Xwiki.org
Hi everybody, I have added a bit of example code on the date picker application page on xwiki.org, hopefully someone will find it useful. http://code.xwiki.org/xwiki/bin/view/Applications/DatePickerApplication Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 dean.sell...@rinstrum.com 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] {pre} tags break {code} macro on Xwiki.org
Hi again, In making an edit on xwiki.org I noticed some strange behaviour and I am hoping someone can help me solve it, or at least explain it. What I wanted to do was post an example that involved some javascript with a literal array inside, like: dateFormat : {pre}[[dd,mm,],/]{/pre} So to include this in the page you would use {code} dateFormat : {pre}[[dd,mm,],/]{/pre} {code} It appears though the the {pre} tags break the {code} macro, is there a workaround or something I am missing here? Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 dean.sell...@rinstrum.com 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users