What would be the best way to generate pages using xwiki? We have a site we
are documenting and want to generate a series of standard pages for each
different page. Does anyone have examples?
regards,
rob
Hi
I am trying to be able to edit attachments through the webdav extension.
I found the WebDAV.XWikiUI.V1.PATCH and applyed it to xwiki version 1.7
But am not able to get the right url repencented in
javascript:davEdit($xwiki.getDavURL($doc, $attach)); but hte output is not
translated.
The link is displayed like this
javascript:davEdit($xwiki.getDavURL($doc, $attach)) and not as show at the
test page:
http://91.121.237.216/xwiki/bin/view/WebDAV/#Attachments
eg
javascript:davEdit('http://91.121.237.216/xwiki/webdav/spaces/WebDAV/WebHome/gradient.jpg');
Can you give me any pointers ?
Thanks in advance
Karsten
One of my main concerns with XWiki has been the difficulty in getting a
reasonably priced Java hosting service. Ideally, I want a service provider
that gives me the web server stack, but spares me the admin headache. This
may be just what I need:
http://www.cloudfoundry.com/
"Cloud Foundry provides automated, outsourced data center management for
Java applications. It eliminates the expense and distraction of building and
operating your own data center for your production applications and QA
environments. And, with no long term contracts, you simply use Cloud Foundry
for as long as you need. "
"With just a few clicks of the mouse, you deploy your application to a
load-balanced cluster running on Amazon EC2. Cloud Foundry monitors and
manages your applications and automatically handles auto-scaling and
failover. We insulate you from the messy details of using the cloud and
leave you free to focus on your business."
"Cloud Foundry supports the Apache, Tomcat and MySQL stack. It configures
MySQL for master/slave replication and uses Apache to load balance across
one or more Tomcat servers."
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi Everyone,
We have a very old version of xwiki installed on a linuxbox, by a previous
admin who installed it manually with mysql and tomcat. I've installed the
latest version of xwiki (1.7) onto another box using the standalone
installer, and I'm trying to import all the xwiki pages from the old box to
the new one. From what I've read, the standalone installer uses its own
hypersonic sql, and I'm having trouble figuring out if and how I can import
the old files to the new one. Is there a way to consolidate a mysql dump to
a hypersonic database? I've also tried exporting the XAR file from the old
xwiki and importing into the new one through the web interface, but I'm
getting a max_uploadsize error (I've already tried changing the limit in the
Preference class editor, but it still gives me the same error).
I've been stuck a while, and I feel like I've run out of options. Does
anyone have any suggestions?
Thanks,
James
On Sat, Jan 3, 2009 at 10:07 AM, manuel da silva <m.dasilva(a)albia.fr> wrote:
> I use postgresql.
See http://jira.xwiki.org/jira/browse/XWIKI-1960
>
> ________________________________
>
> De: users-bounces(a)xwiki.org de la part de Thomas Mortagne
> Date: sam. 03/01/2009 01:04
> À: XWiki Users
> Objet : Re: [xwiki-users] Create a new wiki error : CREATE DATABASE...
>
>
>
> On Wed, Dec 31, 2008 at 4:04 PM, manuel da silva <m.dasilva(a)albia.fr> wrote:
>> Hello
>> I'm a new user of xwiki and i try to create a new wiki with the manager.
>> But I have a problem...
>> though I put in "Wiki identifier" field I have the following message :
>> "A database with this identifier already exists"
>>
>> When I "force" creation, I have the following message in logs :
>> 2008-12-31 15:42:20,357
>> [http://127.0.0.1:8080/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname
>> =test&forcewikiname=on&XWiki.XWikiServerClass_0_wikiprettyname=Test&XWik
>> i.XWikiServerClass_0_description=&XWiki.XWikiServerClass_0_server=test.l
>> ocaldomain.com&XWiki.XWikiServerClass_0_owner=XWiki.Admin&XWiki.XWikiSer
>> verClass_0_owner=&readersgroups=xwiki%3AXWiki.XWikiAdminGroup&readersgro
>> ups=xwiki%3AXWiki.XWikiAllGroup&writersgroups=xwiki%3AXWiki.XWikiAdminGr
>> oup&adminsgroups=xwiki%3AXWiki.XWikiAdminGroup&stepbystep=0&doc=1&action
>> create=Cr%E9er] [http-8080-1] WARN wikimanager.WikiManager -
>> Wiki [test] creation failed: wiki database creation threw exception
>> com.xpn.xwiki.XWikiException: Error number 3401 in 3: Exception while
>> create wiki database test
>> Wrapped Exception: ERROR: CREATE DATABASE cannot run inside a
>> transaction block
>> at
>> com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.j
>> ava:243)
>> at
>> com.xpn.xwiki.store.XWikiCacheStore.createWiki(XWikiCacheStore.java:542)
>> at
>> com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiDatabase(WikiMana
>> ger.java:610)
>> at
>> com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.j
>> ava:503)
>> at
>> com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(Wiki
>> ManagerPluginApi.java:192)
>> ...
>>
>> Someone know how can I solv that???
>
> Which database engine are you using ?
>
> Currently XEM only fully supports MySQL and Oracle RDBMS. See
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation
>
>>
>> Thanks for help
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
Thomas Mortagne
Hi!
Using XWiki 1.6.1.13621 for some time without any problems. Today, I
can't delete a page (which contains just few lines of text) or add /
delete an attachment (4.3mb) with Java Heap Space error (see below).
XWiki max upload size = ~32mb
MySQL max_allowed_packet = 64M
In tomcat5.5, java max heap size = 128M.
Any help?
-----
Error number 11014 in 11: Out Of Memory Exception
com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory
Exception
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2738)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2716)
at
com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
----
Best regards, Mike
My XWiki has recently been hit by spam. I found a discussion of this issue
on:
http://markmail.org/message/yq6kbwyxznk7nezd
However, since my XWiki is on the farm, I don't have programming rights.
Luckily, the spam was localized to specific pages, so I edited those, added
the code below, ran in and deleted to code:
#set($comments = $doc.getComments())
#foreach($comment in $comments)
$doc.removeObject($comment)
#end
$doc.save()
But I was thinking, would it be worth adding some generic spam control? Or
at least bulk comment control?
e.g.:
* integrate http://sourceforge.net/projects/akismet-java/
* support captcha for user registration / anonymous comments
* provide an interface in the admin area for selecting multiple comments &
deleting them with one button
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi,
i am using xwiki 1.7 and if I edit some document, xwiki change xwd_hidden
in database to 1. So my problem is, i have some custom panels where i run
some sql queries. The documents with this bit is invisible now. How can I
change it ? I mean I want them visible. Can I add input type in wiki editor
(like <input type=hidden name=hidden value=0) or it is nessecary to rewrite
my queries?
Thanks for help
Jan
Dear all,
i am playing with the calendar to do what i thought was quite simple,
but i am stuck. Some explanations :
I am trying to put the calendar table on my wiki home page, without the
event list or the add event form.
What i have done is :
- add a section between calendar and event list on XWiki.CalendarEvent
- use code to retrieve only the first section of this document and
render it :
#set( $doc1=$xwiki.getDocument("XWiki.CalendarSheet").getDocument())
#set ($content = $doc1.getContentOfSection(1))
#set( $doc2=$xwiki.getDocument("Main.EventCalendar"))
$xwiki.renderText($content, $doc2)
It's nice, i have my calendar table rendered, but no sign of my events.
I tried to change the $doc2 variable to see if it was a context problem
or something but nothing worked out.
Am i missing something ?
Thanks in advance
Jean
I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some
problems logging in when using IE 7. I'm putting in what I know is a valid
username and password, but after submitting the login form I am brought back
to the login screen. I found a closed issue in Jira that may be the same
problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211). I
have never had a problem with Firefox or Safari, only IE. Something to add
to the mix though is that I was able to login with IE from within the LAN
where XWiki is installed using my work laptop. If I try to login with IE on
the same laptop, but across the Internet, the login fails. Does anyone have
any insight into this problem?
--
Nick Watts
blog: thewonggei.wordpress.com
Is it normal that the blog listing page
(http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10
seconds if I have only one word per title/content and in 25-30 seconds
if I am using some more detailed articles?
I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes).
Is there any solution to achieve faster performance?
Thanks
m.
Hi,
How to remote the trailing "?" for new pages ? I found out how to
change the style in the css file but I didn't see anything about the
trailing "?" that I want to remove.
Thanks
Dave
Hello
I'm a new user of xwiki and i try to create a new wiki with the manager.
But I have a problem...
though I put in "Wiki identifier" field I have the following message :
"A database with this identifier already exists"
When I "force" creation, I have the following message in logs :
2008-12-31 15:42:20,357
[http://127.0.0.1:8080/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname
=test&forcewikiname=on&XWiki.XWikiServerClass_0_wikiprettyname=Test&XWik
i.XWikiServerClass_0_description=&XWiki.XWikiServerClass_0_server=test.l
ocaldomain.com&XWiki.XWikiServerClass_0_owner=XWiki.Admin&XWiki.XWikiSer
verClass_0_owner=&readersgroups=xwiki%3AXWiki.XWikiAdminGroup&readersgro
ups=xwiki%3AXWiki.XWikiAllGroup&writersgroups=xwiki%3AXWiki.XWikiAdminGr
oup&adminsgroups=xwiki%3AXWiki.XWikiAdminGroup&stepbystep=0&doc=1&action
create=Cr%E9er] [http-8080-1] WARN wikimanager.WikiManager -
Wiki [test] creation failed: wiki database creation threw exception
com.xpn.xwiki.XWikiException: Error number 3401 in 3: Exception while
create wiki database test
Wrapped Exception: ERROR: CREATE DATABASE cannot run inside a
transaction block
at
com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.j
ava:243)
at
com.xpn.xwiki.store.XWikiCacheStore.createWiki(XWikiCacheStore.java:542)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiDatabase(WikiMana
ger.java:610)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.j
ava:503)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(Wiki
ManagerPluginApi.java:192)
...
Someone know how can I solv that???
Thanks for help
After I stop the XWiki service. All the pages that I added are deleted. I
can't even log in again. And i have to re-register and start all over.
It's like everything is being refreshed when the service is stopped. Whats
going on?
--
View this message in context: http://n2.nabble.com/XWiki-is-deleting-my-pages-tp1942010p1942010.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks Guillaume,
You're right - I don't. I suspected that might be the issue, but hoped
there's a way around it. Shall I send someone the list of pages that needs
to be saved with programming rights? Or is there a way I can programming
obtain rights for myself?
Also, I think there may be another issue - the code that sets privileges on
the pages is common to several sections, so I refactored it into a script
page I include in the classSheets for various classes:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/DesObjClas…
I'm worried that the macros on this page are not evaluated when a new page /
object is created.
I have a feeling that the right way to go about this is by adding some
helper classes in Java, rather than hacking it in Velocity. But again, I do
not have the privileges to do that. If other people find this issue
relevant, I'm happy to contribute my time towards a generic, stable
solution.
A reminder: the core of the problem is that I want to allow users to create
objects (and respective pages) in a space, and to have ownership over those
objects / pages, but without giving them overall edit rights on the space.
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
------------------------------
> From: "Guillaume Lerouge" <guillaume(a)xwiki.com>
> Subject: Re: [xwiki-users] chicken & egg / catch 21 problem
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <1c35d2320812291005l5bbdccfnd9e75af1778cfc3e(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Dec 29, 2008 at 6:59 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
>
> > Yishay Mor wrote:
> > >
> > > Ideally, I would like to either:
> > > * have a separate"create" column in the rights editor, which will allow
> > > users to create a new object and give them edit rights over it.
> > > * have a script attached to the current create form which would do the
> > same.
> > > Currently that doesn't work unless the user invoking the form already
> has
> > > edit rights.
> > >
> >
> > Hint: saveWithProgrammingRights
> >
>
> You'll probably need to help him sicne I'm not sure Yishay is an Admin on
> the master wiki on myxwiki.org, thus he probably cannto save the page with
> programming rights, can he Sergiu ?
>
> Guillaume
>
>
>
In several sections of our XWiki site, we want to use the following
workflow:1. any registered user can create a new object.
2. upon creation, the user will be taken to a form for editing the new
object.
3. the user who created the object will be able to assign co-editors.
The problem is, I don't want to give all users edit rights to the whole
section. I have a form for creating a new object, but if I don't give edit
rights on the whole space to all registered users, the form results in a
"you are not allowed to edit this page". If I do, then users will be able to
edit others' pages, or mess up the space structure. I'm not worried
about malice, I just want to protect users from their own mistakes, and
avoid spam.
Ideally, I would like to either:
* have a separate"create" column in the rights editor, which will allow
users to create a new object and give them edit rights over it.
* have a script attached to the current create form which would do the same.
Currently that doesn't work unless the user invoking the form already has
edit rights.
See example here:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi all,
Just to keep the list posted about some XWiki side-relations. This topic
was brought into the list by Jeremie Bousquet one year ago. Simile
Timeline, and related projects (http://simile.mit.edu/), is getting
better as XWiki is, thus to bring them together could be of major
interest for both sides!
Cheers,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi there,
I would like to ask for a wiki creation under the name of
"copino.myxwiki.org"
We are a group of people who are just in the process of founding a
organic-regional-fair cooperative and we would like to use the wiki as
our main knowledge management tool.
My username at myxwiki.org is ThomasBecker
Thank you and greetings,
Thomas
<http://www.stuttgart-open-fair.de>
--
Thomas Becker
Farrenstr. 5
70186 Stuttgart
Germany
tel/fax +49 711 467157
Hi
I'm playing with tags and noticed something odd. I've added tags to a
few pages but when I go to "xwiki/bin/view/Main/Tags" I always get
message "No documents have been tagged yet. To tag a document, edit it
and enter the tags ...".
I've searched all the posts but found only one person having the same
problem in April 2008 but no one answered.
In the end I found the problem in the page itself
##set($sql = "select distinct elements(prop.list) from BaseObject as
obj, DBStringListProperty as prop where obj.className='XWiki.TagClass'
and obj.id=prop.id.id and prop.id.name='tags'")
Note at the end " and prop.id.name='tags' " should be " and
prop.name='tags' "
Example:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags
There are some tags added already but none displayed.
Also is there a list of all Hibernate Object names that relate to
database tables (ie. DBStringListProperty = xwikilistitems or
LargeStringProperty = xwikilargestrings). I am trying to work with
xwiki but its documentation is patchy and sometimes out of date so I try
to find info in the database to understand xwiki structure but get stuck
when I want to get some info out using HQL. I usually spend hours
looking through Velocity scripts.
I have not fixed this on
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
>
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
>
> Yishay Mor wrote:
> > That's what I thought. But have a look at:
> > http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor
> > vs.
> >
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpa…
>
> The problem is not that the user profile is not readable, but that the
> sheet that displays the profile is protected. This is a false
> protection, as the user profile is readable, it simply isn't displayed.
> What you can get in your XML respects the access rights.
I thought that might be the case. This is the default setting on the XWiki
farm. Perhaps it is a bit misleading? Also, how do I change access rights on
all XWiki.XWikiUser objects to fix this?
> >>> Here is the corrupted class:
> >>>
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass
> >> I've never seen that :) Something is indeed deeply broken since the
> >> rendering is failing to display but I don't know why.
>
Yes, that is the problem. And any action you want to perform requires that
the document is first loaded, which fails. The only way around this is a
direct database change (which I just did, now the class displays fine). I
created http://jira.xwiki.org/jira/browse/XWIKI-3026 to remember this issue,
and it will need to be solved some time later.
Thanks! you saved me.
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
2008/12/19 <users-request(a)xwiki.org>
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Re: Can't log on in Internet Explorer (Esbach, Brandon)
> 2. Re: Can't log on in Internet Explorer (Mike A.)
> 3. Re: ldap + xwiki.authentication.ldap.user_group (Thomas Mortagne)
> 4. Re: generic XML API snippet, and SOS (Sergiu Dumitriu)
> 5. Re: Can't log on in Internet Explorer (Sergiu Dumitriu)
> 6. Re: Can't log on in Internet Explorer (Nick Watts)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 19 Dec 2008 08:18:41 -0500
> From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
> Subject: Re: [xwiki-users] Can't log on in Internet Explorer
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <
> B7266B04487707449A3919731A7DBA7810EF1D77(a)us358mx02.tycoelectronics.net>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Any cookie restrictions setup on the IE options?
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Nick Watts
> Sent: 19 December 2008 12:15
> To: XWiki Users
> Subject: [xwiki-users] Can't log on in Internet Explorer
>
> I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some
> problems logging in when using IE 7. I'm putting in what I know is a
> valid username and password, but after submitting the login form I am
> brought back to the login screen. I found a closed issue in Jira that
> may be the same problem I'm running into
> (http://jira.xwiki.org/jira/browse/XWIKI-2211). I have never had a
> problem with Firefox or Safari, only IE. Something to add to the mix
> though is that I was able to login with IE from within the LAN where
> XWiki is installed using my work laptop. If I try to login with IE on
> the same laptop, but across the Internet, the login fails. Does anyone
> have any insight into this problem?
>
> --
> Nick Watts
> blog: thewonggei.wordpress.com
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 19 Dec 2008 15:23:10 +0200
> From: "Mike A." <_muxa(a)inbox.lv>
> Subject: Re: [xwiki-users] Can't log on in Internet Explorer
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <1229692990.494ba03ea8d55(a)www.inbox.lv>
> Content-Type: text/plain; charset=UTF-8
>
> In xwiki.cfg, have you specified the login name name (bind_dn) as
> domainusername (in xwiki.cfg it would be domain\{0})?
> Firefox can authentificate using only username, but IE needs to
> specify domain also.
> Quoting Nick Watts : I have XWiki 1.6.1.13621 installed on Tomcat
> 6.0.18. I am having some
> problems logging in when using IE 7. I'm putting in what I know is
> a valid
> username and password, but after submitting the login form I am
> brought back
> to the login screen. I found a closed issue in Jira that may be the
> same
> problem I'm running into
> (http://jira.xwiki.org/jira/browse/XWIKI-2211). I
> have never had a problem with Firefox or Safari, only IE. Something
> to add
> to the mix though is that I was able to login with IE from within
> the LAN
> where XWiki is installed using my work laptop. If I try to login
> with IE on
> the same laptop, but across the Internet, the login fails. Does
> anyone have
> any insight into this problem?
> --
> Nick Watts
> blog: thewonggei.wordpress.com
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> Best regards, Mike
>
> Links:
> ------
> [1] mailto:nick.a.watts@gmail.com
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 19 Dec 2008 14:35:35 +0100
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] ldap + xwiki.authentication.ldap.user_group
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c0812190535s5dcc337cvf19a1f69e59b9588(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Fixed now.
>
> It was a wrong log in fact:
>
> if (LOG.isDebugEnabled()) {
> LOG.debug("LDAP authentication succeed with principal [" +
> principal.getName() + "]");
> }
>
> was executed even when the auth failed meaning that the principal was
> null in this case.
>
> On Wed, Dec 17, 2008 at 2:58 PM, Bart?omiej Radziszewski
> <br(a)debian.linux.pl> wrote:
> > Thomas Mortagne wrote:
> >> Hi,
> >>
> >> 2008/12/17 Bart?omiej Radziszewski <br(a)debian.linux.pl>:
> >>
> >>> hello,
> >>>
> >>>
> >>> I want to add access to xwiki only for users from special posixGroup in
> >>> ldap. So I have added option:
> >>>
> >>>
> >>> #-# only members of the following group will be verified in the LDAP
> >>> #-# otherwise only users that are found after searching starting from
> >>> the base_DN
> >>> xwiki.authentication.ldap.user_group=cn=xwiki,ou=services,dc=xxx,dc=com
> >>>
> >>>
> >>>
> >>> all works fine but in logs i get exeption when i dont have some user in
> >>> this group:
> >>>
> >>> com.xpn.xwiki.XWikiException: Error number 8001 in 8: LDAP user
> usertest
> >>> does not belong to LDAP group cn=xwiki,ou=services,dc=xxx,dc=com.
> >>> at
> >>>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:328)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:198)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
> >>> at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
> >>> at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586)
> >>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572)
> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >>> at
> >>>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >>> at
> >>>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >>> at
> >>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >>> at
> >>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >>> java.lang.NullPointerException
> >>> at
> >>>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:157)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
> >>> at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578)
> >>> at
> >>>
> com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
> >>> at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586)
> >>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572)
> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >>> at
> >>>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >>> at
> >>>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >>> at
> >>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >>> at
> >>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >>> at
> >>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> >>> at
> >>>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
> >>> at
> com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
> >>> at
> >>>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
> >>> at
> >>>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
> >>> at
> >>>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
> >>> at
> >>>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> >>> at
> >>>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
> >>> at
> >>>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> >>> at
> >>>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
> >>> at
> >>>
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
> >>> at
> >>>
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >>> at
> >>>
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> >>> at
> >>>
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> >>> at
> >>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> >>> at
> >>>
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> >>> at
> >>>
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >>> at
> >>>
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >>> at org.mortbay.jetty.Server.handle(Server.java:324)
> >>> at
> >>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
> >>> at
> >>>
> org.mortbay.jetty.ajp.Ajp13Connection.access$2900(Ajp13Connection.java:44)
> >>> at
> >>>
> org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.content(Ajp13Connection.java:249)
> >>> at
> org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:602)
> >>> at
> >>> org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:157)
> >>> at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
> >>> at
> >>>
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> >>> at
> >>>
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
> >>>
> >>>
> >>> Probably this NullPointer this is bug..
> >>>
> >>
> >> Yes even if all is working well NullPointer should never append. Which
> >> version of XWiki Core/XE are you using ?
> >>
> > xwiki version 1.7, and core i have from snapshot -11.12.2008
> >> Thanks for the report.
> >>
> >>
> >>> Thx and greetings,
> >>>
> >>> --
> >>> Bart?omiej Radziszewski
> >>> mobile: +48 509 561 540
> >>> e-mail: br(a)debian.linux.pl
> >>> JID: br(a)debian.linux.pl
> >>> ICQ: #305569725
> >>>
> >>>
> >>> _______________________________________________
> >>> users mailing list
> >>> users(a)xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Bart?omiej Radziszewski
> > mobile: +48 509 561 540
> > e-mail: br(a)debian.linux.pl
> > JID: br(a)debian.linux.pl
> > ICQ: #305569725
> >
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Thomas Mortagne
>
> ------------------------------
>
> Message: 4
> Date: Fri, 19 Dec 2008 14:50:19 +0100
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] generic XML API snippet, and SOS
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <494BA69B.4020905(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Yishay Mor wrote:
> >> the first problem is that is seems like this API can deliver protected
> >> data
> >>
> >> It's already blocked by the permission system and for password fields
> you
> >> shouldn't be able to see the value.
> >
> >
> > That's what I thought. But have a look at:
> > http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor
> > vs.
> >
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpa…
>
> The problem is not that the user profile is not readable, but that the
> sheet that displays the profile is protected. This is a false
> protection, as the user profile is readable, it simply isn't displayed.
> What you can get in your XML respects the access rights.
>
> >>> Here is the corrupted class:
> >>>
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass
> >> I've never seen that :) Something is indeed deeply broken since the
> >> rendering is failing to display but I don't know why.
> >
> >
> > The problem started when I renamed a property to ".unused". I thought I
> > could then add something like:
> > #if (!"$propertyName.startsWith("."))
> > to hide unused properties.
> > I think what happened is this:
> > The class definition is stored (or processed) in XML, and having a
> property
> > name starting with '.' confuses the parser.
>
> Yes, that is the problem. And any action you want to perform requires
> that the document is first loaded, which fails. The only way around this
> is a direct database change (which I just did, now the class displays
> fine). I created http://jira.xwiki.org/jira/browse/XWIKI-3026 to
> remember this issue, and it will need to be solved some time later.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 19 Dec 2008 15:03:51 +0100
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] Can't log on in Internet Explorer
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <494BA9C7.2050802(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Nick Watts wrote:
> > I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some
> > problems logging in when using IE 7. I'm putting in what I know is a
> valid
> > username and password, but after submitting the login form I am brought
> back
> > to the login screen. I found a closed issue in Jira that may be the same
> > problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211).
> I
> > have never had a problem with Firefox or Safari, only IE. Something to
> add
> > to the mix though is that I was able to login with IE from within the LAN
> > where XWiki is installed using my work laptop. If I try to login with IE
> on
> > the same laptop, but across the Internet, the login fails. Does anyone
> have
> > any insight into this problem?
> >
>
> This is most likely a cookie problem. Try cleaning cookies first, and
> see if you can login afterwards.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 19 Dec 2008 10:10:20 -0500
> From: "Nick Watts" <nick.a.watts(a)gmail.com>
> Subject: Re: [xwiki-users] Can't log on in Internet Explorer
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <72a1e8420812190710p8b2f96el2dcde81d2f8897f4(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I tried cleaning out my cookies and the problem persisted. I also tried
> adding my site to my list of trusted sites which didn't work either. I
> even
> took the security all the way to low for trusted sites with no change.
>
> On Fri, Dec 19, 2008 at 9:03 AM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
>
> > Nick Watts wrote:
> > > I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some
> > > problems logging in when using IE 7. I'm putting in what I know is a
> > valid
> > > username and password, but after submitting the login form I am brought
> > back
> > > to the login screen. I found a closed issue in Jira that may be the
> same
> > > problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211
> ).
> > I
> > > have never had a problem with Firefox or Safari, only IE. Something to
> > add
> > > to the mix though is that I was able to login with IE from within the
> LAN
> > > where XWiki is installed using my work laptop. If I try to login with
> IE
> > on
> > > the same laptop, but across the Internet, the login fails. Does anyone
> > have
> > > any insight into this problem?
> > >
> >
> > This is most likely a cookie problem. Try cleaning cookies first, and
> > see if you can login afterwards.
> > --
> > Sergiu Dumitriu
> > http://purl.org/net/sergiu/
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Nick Watts
> blog: thewonggei.wordpress.com
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 17, Issue 33
> *************************************
>