I'm considering replicating XWiki across multiple Tomcat instances, and load
balancing them with Apache. Has anyone ever attempted this? I found
assorted messages on this forum from ~2005 indicating that XWiki wasn't
"clusterable", because there were some caches that needed synchronizing,
etc. Is this still the case?
Thanks
Ben
Hi all,
If I wrote this in a wiki page:
{code}code1{code}
some text
{code}code2{code}
When the page is displayed, there aren't two code section, but only one,
and the "some text" is included in the code section.
I'm using it in the wrong way?
Thanks,
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
> Hi,
>
> To generate attachment link you can use :
>
> {attach:settings.xml}
>
> 2007/11/16, pentaho(a)fsck.ch <pentaho(a)fsck.ch>:
>> Hi
>>
>> I have attached a file named settings.xml and I now want to link to it.
>> How do I do that?
>>
>> [settings.xml] doesn't work, neither does [settings\.xml]
Cool, then the wysiwyg editor needs to be fixed, as [settings.xml] is what
it generated when I used it to create a link to an attached file.
> Cool, then the wysiwyg editor needs to be fixed, as [settings.xml] is what
> it generated when I used it to create a link to an attached file.
To be precise, I clicked on the little chain icon and used the link dialog
to upload the attachment. For half of my attachments, this didn't work.
Either the attachment wasn't uploaded, or the created link didn't work.
Hi
I have attached a file named settings.xml and I now want to link to it.
How do I do that?
[settings.xml] doesn't work, neither does [settings\.xml]
Thanks,
Tobias
Good morning.
I've configured XWiki 1.1.1 on WebSphere, with LDAP (AD) as my
authentication service. I imported the provided XAR file.
>From what I can tell, I have LDAP configured properly. But when I go
to log in, I get this message:
You are not allowed to view this document or perform this action.
I log in as the superadmin, and see that my user shows up in Users and
has been added to the XWikiAllGroup three times (not sure why three
times).
In the xwiki.log, I've turned the debug on for LDAP, and see this
message at the bottom "Accept user even without account".
What is wrong? Does the user need to have an account on the system
before LDAP will work? How do I get it to not add the user to the
XWikiAllGroup three times on each login?
Patrick
Here is the excerpt from xwiki.cfg:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=DCTWDPUS02.us.dci.discovery.com
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=us,dc=dci,dc=discovery,dc=com
xwiki.authentication.ldap.bind_DN=US\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
Here is the output in the xwiki.log file. It's a subset. If you need
more, I can post it.
08:21:53,610 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- User authenticated successfully
08:21:53,623 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Finding user pgardell
08:21:53,652 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Ready to create user from LDAP
08:21:53,665 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Ready to create user from LDAP with field
name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
08:21:53,767 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field name
08:21:53,780 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field last_name
08:21:53,793 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field last_name
08:21:53,809 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field first_name
08:21:53,822 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field first_name
08:21:53,835 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field fullname
08:21:53,848 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field fullname
08:21:53,861 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field mail
08:21:53,874 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field ldap_dn
08:21:53,890 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field ldap_dn
08:21:54,084 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Looking for user again pgardell
08:21:54,091 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Finding user pgardell
08:21:54,659 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Accept user even without account
Hi,
Thanks for your replies. But I am running the Wiki in Firefox and yes I do allow cookies.
I tried to install the 1.12 stable release, with same result.
Does anyone else have suggestions, or a pointer to a database population script or...
Cheers
/Thorbjørn
Message: 3
Date: Wed, 14 Nov 2007 12:32:23 +0100 (CET)
From: pentaho(a)fsck.ch
Subject:
To: "XWiki Users" <users(a)xwiki.org>
Message-ID: <29413.62.2.233.2.1195039943.squirrel(a)secure.socket.ch>
Content-Type: text/plain;charset=iso-8859-1
Another thing to look out for is to allow cookies. Gets me every time.
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
Hi,
When I try to access "http://127.0.0.1:8080/xwiki/bin/view/Main/WebHome"
page i get this error:
HTTP Status 404 - /xwiki/bin/view/Main/WebHome
The requested resource (/xwiki/bin/view/Main/WebHome) is not available.
Can you give me some help to solve this problem?
Thanks!
Loris
I noticed that XWiki uses SecurityFilter. I have a Tomcat configuration
that already has a JAAS realm setup with a custom JAAS module. It doesn't
seem like the SecurityFilter configuration will really work with this - I'd
probably have to implement a custom XWikiAuthService that talks to the JAAS
implementation directly, which sort of defeats the purpose of having Tomcat
manage that for me.
Has anyone attempted something similar? would it be a lot of work for me to
modify the source to use the container security instead of SecurityFilter?
Thanks
Ben
In XWiki.Results, I replaced the line
#if ($xwiki.hasAccessLevel("view", $context.user,
"${context.database}:${item}"))
with
#if ($xwiki.hasAccessLevel("view", context.user,
"${item.getWeb()}.${item.getName()}"))
and everything works.
I have no idea what the 3rd parameter in the first line means, I just
looked at what type $item has and then changed the line according to the
lucene plugin api.
So, as LuceneSearch is not the only one using XWiki.Results, this probably
breaks things, as $item not always is a lucene.SearchResult.
Any better idea to fix this? What else than WebSearch uses XWiki.Results?
Can somebody comment on this?
Thanks,
Tobias