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 <[email protected]> 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/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
> [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, 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 [[email protected]]
>> Sent: 03/30/2009 04:04 PM ZE2
>> To: XWiki Users <[email protected]>
>> 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
>> <[email protected]> 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
>> > [email protected]
>> > http://lists.xwiki.org/mailman/listinfo/users
>> >
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> [email protected]
>> 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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to