Hello,
The old server xwiki is down since 2 days, exemple : http://rcnthouare.xwiki.com
It's possible to reload this server...I know that there is no engagement of
service.
Thank you for your help
Joel
Hi guys,
I have some points that I don't understand in XWiki, which occur
somehow like bugs to me.
I just edited the WebHome article of the Main Space which came with
the default XWiki-Xar-File.
In that WebHome there are 2 sections defined, the first one being the
started by a Title1 format caption and the second one being started by
a Title2 format caption. First thing is, how can I get another section
with Title2 format in that page. I couldn't find any documentation on
this.
When editing the page in XWiki1.0 syntax I tried to add a section by
having a "1.2" prefix after the existing "1" and "1.1" section, but
that results in 1.2 being printed on the resulting page instead of a
Title2 headline and a new section. When I format Title2 using WYSIWYG,
I get HTML syntax in Wiki-Syntax instead of 1.2 (which didn't work
before). The result is, that the page has a new bold Title2 headline,
but still no new section (besides the syntax being strange - HTML).
Another point is, that I just reedited that page and now, after
saving, the first section, the one with the Title1 headline is no
longer editable. WebHome points to section 2 directly, though I still
see the content in the page.
Last point is: How can I get XWiki2.0 Syntax working? I enabled it in
xwiki.cfg, but that doesn't seem to have any effect.
I really hope, you can give me some hints on my troubles. BTW, I'm
using MSSQL 2000, if that could be involved in the problems.
Many thanx in advance.
Cheers,
Sebastian
Hi,
Just tried to convert my existing XE instance to XEM (application manager
1.5, wiki manager 1.6).
The existing wikis are displayed in the WikiManager.WebHome page. But when i
try to edit an existing wiki i get the following error:
A problem occured while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 3201 in 3: Exception while saving document
XWiki.XWikiServerHel
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
XWiki.HelmutLehner
]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiServerHel
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
XWiki.HelmutLehner
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
XWiki.HelmutLehner
]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
any help appreciated,
Thanks
hel.
--
View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2169510.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm currently working on a pilot install of Xwiki workspaces at our University and have installed Xwiki on a RHEL 5 server with tomcat5 and that seems all good and well. I've been working lately on getting ldap authentication setup and working and I can now successfully log into Workspaces using ldap credentials. However, once logged in using ldap I get the following message. " You cannot create a personal space since you are not registered on this wiki !" So I'm hoping that what I'm trying to do is possible because if not its pretty much a show stopper for our attempt with Xwiki. I'm using Xwiki Workspaces 1.1.1.
Hello,
I installed on my linux laptop the xwiki enterprise: i installed the war,
the xar, i added the plugins for the wiki-manager and application manager,
the both applications and the XAR to load XEM pages. Everything is ok and i
can do all i want in it with panels or logout.
Then i created a virtual wiki (without any template as none was suggested)
and in this virtual wiki i installed the xar from the wiki enterprise. In
this virtual wiki, if i want to log out i can't (i have to logout from the
main wiki) . Also i try to move the Search panel from right side to left
side then after a refresh, it's replaced by another panel (list of panels or
the panel called "Main") even if i recreate the search panel in a
SearchPanelBis. And now i can't do anything with panels i always have the
problem. I have to reload the XAR (and get the search panel on the right) if
i want to have it working
I can't find out why i have this problems on a virtual wiki and not on the
main one.
Thank you for your help
Christophe
Ubuntu 8.10
Linux kernel 2.6.27-9
Tomcat 6.0.18
Firefox 3.1beta2
XE 1.7.1.15366
Mysql 14.12 5.0.67
JVM 1.6.0_10-b33
Hi!
I've created some simple macros (for html otput), but they are not
loaded after I restart tomcat (5.5). Old macros work fine, but the new
are just rendered as a text.
Tomcat log contains one error, don't know if it's the reason macros
don't work:
--------------------------
INFO: Pausing Coyote HTTP/1.1 on http-8180
Jan 22, 2009 3:08:48 PM org.apache.catalina.connector.Connector
pause
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:209)
at
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
at
org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
at org.apache.jk.server.JkMain.pause(JkMain.java:681)
at
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
at
org.apache.catalina.connector.Connector.pause(Connector.java:1032)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
at
org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
--------------------------
Best regards, Mike
One of the things I've been asked to accomplish using XWiki is a single
question *survey* type section at the bottom of my FAQ pages. Something
like:
68% of 158 people found this information useful.
Was this information helpful? O Yes O No
[Submit]
You get the idea. Now, the problem is I'm not sure exactly how I'd
accomplish something like this. I know I can create a survey class and sheet
that will allow me to store the data and display it the way I want, but how
do I update the values when the person clicks submit? Would it just be an
update SQL statement, or would I update properties of an attached instance
of the survey class and then save the page? Any hints or examples would be
appreciated. I found the Polls application, but it only supports creating a
new poll and not updating values in an existing Poll, which is more like
what I am looking to do.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Adding-survey-question-and-details-to-page-template...…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Vincent,
thanks for your quick reply. Though I didn't find anything new on that
page, I discovered, that I have to always write 1.1 in XWiki1.0 Syntax
instead of increasing the number to 1.2. That wasn't intuitive for me
in the first place.
Also, XWiki2.0 Syntax seems to work now, though I asked myself, if it
is possible to convert existing Syntax 1.0 articles to 2.0 articles.
What I still don't get is "How to create sections" - or get an edit
icon at the top right at all. While the original WebHome and the
edited version of it has it for each section, new pages don't get such
an icon. I looked at the WebHome page and found, it is using the
XWiki.ArticleClass object. Unfortunately adding this object to a new
article doesn't resolve the issue. Any idea, what I might be doing
wrong?
Cheers
Sebastian
On Thu, Jan 22, 2009 at 11:34 AM, Vincent Massol <vincent(a)massol.net> wrote:
> Hi Sebastian,
>
> On Jan 22, 2009, at 11:27 AM, Sebastian Kannengiesser wrote:
>
>> Hi guys,
>>
>> I have some points that I don't understand in XWiki, which occur
>> somehow like bugs to me.
>>
>> I just edited the WebHome article of the Main Space which came with
>> the default XWiki-Xar-File.
>> In that WebHome there are 2 sections defined, the first one being the
>> started by a Title1 format caption and the second one being started by
>> a Title2 format caption. First thing is, how can I get another section
>> with Title2 format in that page. I couldn't find any documentation on
>> this.
>>
>> When editing the page in XWiki1.0 syntax I tried to add a section by
>> having a "1.2" prefix after the existing "1" and "1.1" section, but
>> that results in 1.2 being printed on the resulting page instead of a
>> Title2 headline and a new section. When I format Title2 using WYSIWYG,
>> I get HTML syntax in Wiki-Syntax instead of 1.2 (which didn't work
>> before). The result is, that the page has a new bold Title2 headline,
>> but still no new section (besides the syntax being strange - HTML).
>>
>> Another point is, that I just reedited that page and now, after
>> saving, the first section, the one with the Title1 headline is no
>> longer editable. WebHome points to section 2 directly, though I still
>> see the content in the page.
>>
>> Last point is: How can I get XWiki2.0 Syntax working? I enabled it in
>> xwiki.cfg, but that doesn't seem to have any effect.
>
> See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing
>
>> I really hope, you can give me some hints on my troubles. BTW, I'm
>> using MSSQL 2000, if that could be involved in the problems.
>>
>> Many thanx in advance.
>>
>> Cheers,
>> Sebastian
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
> Thanks
> -Vincent
> http://xwiki.com
> http://xwiki.org
> http://massol.net
>
>
>
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This makes me think I'm putting the file in the wrong place.
Thanks,
Brian Minton
Hi!
How can I edit inline form structure? For now, each inline form (Edit
-> Inline) is created as table and I, for example, want to change how
it's displayed.
Best regards, Mike
Hello,
I have faced a similar issue with the search panel having disappeared
both from the column and from the panel wizard. I tried changing all
the possible page layouts and every time i changed the layout i went
and checked the panel in the panel wizard. It just wasn't there!
The one thing that i distinctly remember i did before the panel
disappeared is that i changed the look & feel of the search box by
adding a different button and set a background image. In fact, i had
playing around with the skin for quite a while not just the panels.
Don't know if these two are related.
I had to scrap one of the instances of XWiki 1.7 final because of this
problem. I have managed to setup the whole thing again. However, i am
afraid i might just end into the same thing again.
I am running XWiki 1.7 final version on a tomcat 6 server with mysql 5
and the corresponding jdbc:mysql driver. This time, however, i've not
changed the skin or the css at all except for the logo at the top.
Thank you guys!!!
Message: 1
Date: Mon, 19 Jan 2009 17:05:18 +0800
From: "Harrison@Gmail" <huang.cong(a)gmail.com>
Subject: Re: [xwiki-users] the panel for "create" new page disappear
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID: <49744250.06876e0a.2557.ffff8fdb(a)mx.google.com>
Content-Type: text/plain; charset="gb2312"
Thank you very much. I managed that by entering it in the Url directly. But
your first suggestion doesn't work as I can't find "new page" panel under
the "tools". Only "search" panel is shown under "tools". Is it a xWiki bug?
Regards,
Harrison
Thanks AK,
It would be great if in futture it was more easily visible i.e. in the
profile.
My colleagues and I were also wondering if in future it was easier to add
users to groups - at the moment you have to type in the user name it seems
to add them to a user group. It would be better to be able to edit a user
and select their user group from a populated drop down list of user groups,
or in the user groups page to assign a user to a user group from a populated
drop down list of users.
And if anyone else knows how to get the Watchlist to work with Microsoft
Exchange we'd be grateful - thanks.
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Alexey Kamenchuk
Sent: 22 January 2009 08:22
To: XWiki Users
Subject: Re: [xwiki-users] Watchlist integration with Microsoft Exchange
server
Hi Richard,
To specify user email after user account has been created:
. Click on user name in right hand top corner
- Choose Edit Objects from Edit menu
- expand XWikiUsers section
- Find email field in there
HTH
AK
goldring, richard wrote:
> Hi,
>
> Does anyone know:
>
> * how to get the watch list to work with Microsoft Exchange server to send
> emails out to users?
> * how do you edit a users email address - it's not in their profile - you
> only seem able to set it when registering a user
>
> Thanks.
>
> Regards
>
> Richard
>
> Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
> is confidential. It may also be legally privileged. It is intended only
for
> the stated addressee(s) and access to it by any other person is
> unauthorised. If you are not an addressee, you must not disclose, copy,
> circulate or in any other way use or rely on the information contained in
> this e-mail. Such unauthorised use may be unlawful. We may monitor all
> e-mail communications through our networks. If you have received this
e-mail
> in error, please inform us immediately on sender's telephone number above
> and delete it and all copies from your system. We accept no responsibility
> for changes to any e-mail which occur after it has been sent. Attachments
> to this e-mail may contain software viruses which could damage your
system.
> We therefore recommend you virus-check all attachments before opening.
> Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
> Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
> 868273
> _______________________________________________
> 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
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
Does anyone know:
* how to get the watch list to work with Microsoft Exchange server to send
emails out to users?
* how do you edit a users email address - it's not in their profile - you
only seem able to set it when registering a user
Thanks.
Regards
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Is there a way to purge document revisions using Velocity or Groovy?
Someone can see actual and last revision by:
${doc.getVersion()}<br>
${doc.getPreviousDocument().getVersion()}<br>
The next is deleting the document with all revisions...
Don't try to purge with(!):
${doc.getPreviousDocument().delete()}
Thanks,
Rudolf
--
View this message in context: http://n2.nabble.com/Purge-Document-Versions-via-Script-tp2192579p2192579.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I am using XWiki 1.6 / 1.7 / 1.8 on a Tomcat 6, java 1.6 and XP. The task manager application causes some problems. Updating the IssueClass once (just change for the date fields the display formats) leads to the error below. The “visible” error: No “Reporter” / “Assignee” is visible within the lists / sheets.
Any ideas?
Thanks
mb
org.hibernate.QueryException: expecting ''', found '<EOF>' [select prop1.value||' from com.xpn.xwiki.objects.BaseObject as obj, com.xpn.xwiki.objects.StringProperty as prop1, com.xpn.xwiki.objects.StringProperty as prop2, com.xpn.xwiki.objects.IntegerProperty as prop where obj.className='XWiki.XWikiUsers' and obj.id=prop1.id.id and prop1.id.name='first_name' and obj.id=prop2.id.id and prop2.id.name='last_name' and obj.id=prop.id.id and prop.id.name='active' and prop.value=1 and obj.name='XWiki.mb']
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:204)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
…
Michael Beetz | Professional Services | Infor | Mobil: +49 (172) 7481 131 | michael.beetz(a)infor.com | Fax: +49 (211) 20563 200 | Infor Global Solutions Hannover GmbH | Postanschrift: Max-Planck-Strasse 15 c, 40699 Erkrath | Geschäftsführer: Wolfgang Kobek, Jochen Kasper, Greg Giangiordano | Sitz der Gesellschaft: Günther‑Wagner‑Allee 19, 30177 Hannover | Amtsgericht Hannover, HRB 0513
Produktives Anlagenmanagement und umweltfreundliche Logistikprozesse:
Testen Sie die Energieeffizienz und Umweltorientierung in Ihrem Unternehmen mit dem Infor Green Assessment <http://emea.infor.com/green/de/?cid=EMEA-CE-DE-EAM-0808-FY09-GOING-GREEN-OB…>
P Before printing, think about the environment
Hi,
I have noticed that in the Lucene Search substrings are not found.
E.g. The word 'Wallpapers' is on a page.
When I search for 'wallpaper', 0 is found. The same when I search for
'wall'.
When I search for 'wall*' or 'wallpaper*', the page is found. But this
is not very inuitive for the user. The user would never think about
using an asterisk.
Can this behavior be changed?
Thanks
Reto
I need to be able to support the following items with my xwiki implementation
and I'm looking for someone to verify that xwiki has the ability (I
understand there will be customization needed) to support these items:
1) provide view options such as
a) most frequently viewed
b) recently added FAQs
c) last modified by date
I know the stats module supports gathering these types of information but
can a regular page be created that would allow content to be displayed
ordered by one or more of these?
2) application shall be able to provide related information when viewing
FAQs
Is there a way to track/create relationships between items when there is
only a template used for displaying content. In other words, these aren't
unique documents.
3) provide a “key word” search based on the text of the questions and
answers stored in the database.
I'd imagine I will need to use the Lucene Search in order to get the most
flexible solution but can a search query just specific pieces of text stored
in the database. For example the question and answer fields of FAQ objects.
4) provide a “key word” search based on categories of FAQs.
In this case categories are not separated into spaces. Within the
application topics are separated into spaces, but within a given space there
will be multiple categories/topics.
5) provide the ability to track submitted questions by User
I know you can track changes, but is there a relatively easy mechanism to
see who originally created a given question.document?
6) store feedback related to FAQ’s. For example, store response to “Was the
answer helpful?”
Would creating a simple "Was this information helpful?" type tracker that
would display in each page be a matter of adding some properties to the
display object? How would the choice be recorded? Is there an event for
saving this type of information for a user that has only "View" permissions?
7) must be able to generate reports related to the answers provided by
customers.
I'm guessing if the database schema is updated to be accurate it will
probably be easier to create reports based on the information stored in the
database. Are there any plans to build any sort of reporting capabilities
into xwiki?
These are the big items that I've found I need to support. I'm trying to get
an idea about the level of work involved in implementing them so any help or
guidance would be greatly appreciated.
Thanks in advance!
.:. Kevin
--
View this message in context: http://n2.nabble.com/xwiki-features-out-of-the-box...-tp2187025p2187025.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Several guys were creating pages around the same time in XE and everything
was working. All of sudden, I noticed that I can't create new page anymore
because the panel of creating the new page disappeared. It appeared that no
one can create new page as this panel just disappeared. Can anyone help me
how to solve this issue?
We are using the XE 1.7-milestone-1.13758.
Harrison
Why can't I do something like:
#set($tRule = "")
#set($idx = $tRule.indexOf(','))
$idx ## Outputs -1
$idx+1 ## Outputs -1+1
I've tried using the $number tool but it doesn't work, if I do:
$number.format($idx)
It outputs $number.format($idx).
What am I missing?
.:. Kevin
--
View this message in context: http://n2.nabble.com/Strangeness-with-numbers...-tp2168613p2168613.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
just a quick question? Do you think it will be difficult to migrate
from a MSSQL database to a MySQL database. I have to use MSSQL for
now, but might have the chance to switch from Micro$oft to Unix/Linux
later and it would be very critical to do the mentioned database
switch then. Any experiences or opinions around? Thanx guys.
Cheers
Sebastian
I'm trying to set up my registration email (the XWiki Instance is running on
my localhost) but the problem i'm having is that the when a user registers
they recieve the following email:
Subject: Validate your account on $wikiname
Body:
Hello test test,
This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.
In order to activate your account, please follow this link:
$xwiki.getDocument("XWiki.AccountValidation").getExternalURL("view",
"validkey=${validkey}&xwikiname=${xwikiname}")
How do I stop the variable names from appearing and get the actual data to
display?
Thanks
--
View this message in context: http://n2.nabble.com/Registration-Email-Error-tp2151197p2151197.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Using the example @:
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments
I am able to remove all of the sections at the bottom of pages, Comments,
Attachments, History and Information. Now what I would like to do is show
some of these items conditionally based on the users permissions.
Would I do this via the "Custom Display" option in the class editor?
How would I access the properties within the class? Something like:
#if($hasAdmin || $hasSpaceAdmin)
showcomments = "yes"
#else
showcomments = "no"
#end
Would I use a #set directive to set the property or is there something else
I need to do in order to set this value? Is this even the right place for
this type of action?
Thanks in advance!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Conditionally-hiding-content..-tp2147464p2147464.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
First milestone of the XWiki Enterprise 1.8 version.
Main changes:
* Syntax API to convert a document from one syntax to another +
first beta of the XWiki 1.0 syntax to XWiki 2.0 syntax.
* New Office Importer.
* REST API
* Make it easier to disable footer information (comments, history, etc)
* New blog
Important bug fixes:
* Errornous rendering of links to page anchors
* If a macro fail it breaks the whole rendering process
Note that general goals for XWiki Enterprise 1.8 are:
* Office Importer
* New Blog
* REST API
* Finish new rendering/syntax
* Finish new WYSIWYG
* French XE
* MediaWiki import
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18M1
Thanks, The XWiki dev team
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 alredy 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 usualy spend hours
looking through Volocity scripts.
Ajdin Brandic
Coventry University
--------------------------------------------------------
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.
Hello,
I stumbled across XWiki two days ago on my search for a good Wiki. I am
amazed by the features XWiki has and I decided to use it for my Project.
I would like to build a Plugin for Grails that integrates the XWiki
plattform. However, I am not sure how to integrate it in the best way. I
am interested in the Core features: Wiki Syntax, Version Control, Rights
Management, Attachments and the Wysiwyg editor. I checked out the core
package and build it (which worked without problems) but I am not sure
on how to integrate it into a grails app now. I could not find a
tutorial on how to use the core packages without the rest of the
framework. There are some resources on how to do it with XMLRPC, but for
apps running on the same server I doubt that that would be the best way
of doing it.
So please send me infos (eq: how to configure it, which classes to use
etc), I would appreciate it...if I succeed I will post the Plugin for
Grails as soon as I am done.
Thanks,
Philipp Wassibauer
Hello:
I am relatively new to xwiki.
I'm running version 1.7. Occassionally, I will make changes to a wiki page
it seems to sort of flicker and all of a sudden I'm looking at a version of the
page from many versions back. In other words I am losing data. I'm trying to
diagnose the problem.
Could it be the type of data I'm entering?
It seems to happen when I'm using the wysiwyg editor?
Is this happening to other users?
Any ideas?
Thanks
Lee
Hi!
Is it possible to import a Visio diagram (with links) into XWiki page? I mean the
functionality like in Sharepoint: you save the diagram as a web page and then import
it.
Best regards, Mike
Hi guys,
can anyone tell me, what this might be about when trying to loging via
Ldap on Active directory?
---snip--
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:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--snap--
my ldap is configured as follows:
--snip--
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=dc50546
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=ou=benutzer,dc=ruv,dc=de
xwiki.authentication.ldap.bind_DN=benutzer\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.password_field=userPassword
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.mode_group_sync=always
xwiki.authentication.ldap.trylocal=0
xwiki.authentication.ldap.ssl=0
xwiki.authentication.ldap.ssl.keystore=
--snap--
Cheers and many thanx for suggestions in advance...
Sebastian
PS: the users to be authenticated are all able to bind to the AD, so I
figured the ldap configuration to be right so. Nethertheless this
NullPointerException comes up. I'm using XWiki 1.7 war in Apache
Tomcat 6.0.18 at the moment, as I think switching to Jboss later, once
this whole stuff works shouldn't be too hard.
I have a class in one of my spaces that has instances of itself attached. Eg.
MySpace
MySpace.TopicsClass
MySpace.TopicsClass[0]
MySpace.TopicsClass[1]
How can I get the class from the space? I've tried:
#set ($hql = ", BaseObject as obj where obj.name = doc.fullName and
obj.className = 'FranchiseTax.TopicsClass' and doc.space='FranchiseTax'")
#set($topics = $xwiki.searchDocuments($hql))
Topics comes back with one item, which I can see by displaying
$topics.get(0) and it prints out MySpace.TopicsClass. So it appears to have
returned a string name of the document, however when I try:
#set($topicObj = $xwiki.getDocument($topics.get(0)))
Nothing is set into $topicObj. Do I have to do something different if the
thing I am trying to get is a class and not a document? Once I have the
class how do I get the collection of associated objects?
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Get-class-from-space-and-retrieve-list-of-attached-obj…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear all,
I am a bit lost with hql requests.
What I would like to do is find all the objects of Space.MyClass (even
if there are more than one object on a page).
I tried to play with
#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Space.MyClass'")
and then
#foreach ($item in $xwiki.searchDocuments($sql))
to display the results.
But the only thing i can get is the documents.
Is there a searchObjects method or something like that ?
Any hint or solution ?
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
I have the following code stolen directly from the Blog Categories app:
$doc.getURL( Add New Topic
Is there an "objectdelete" action for getURL. This is probably in the code
but I don't have the sources and it's not in the API docs.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Generate-Url-to-delete-attached-object..-tp2163415p216…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have the following code in one of my pages and it does what I am expecting
however I'd like to try and generalize it some.
#set ($hql = ", BaseObject as obj where obj.name = doc.fullName and
obj.className = 'CPA_FAQs.FAQClass' and doc.space='MySpace'")
#set($recentDocs = $xwiki.searchDocuments($hql, 5, 0))
#if($recentDocs.size() > 0)
<ol>
#foreach($entry in $recentDocs)
#set($faqDoc = $xwiki.getDocument('MySpace', $entry))
<li>[$faqDoc.question>$faqDoc.fullName]</li>
#end
</ol>
#else
#info($noFAQs)
#end
In this example is $entry an instance of com.xpn.xwiki.api.Object? If so, is
there a way to get the space from it without doing
$xwiki.getDocument('MySpace', $entry)? I would like to generalize that
statement so I can re-use the code for any documents in any space as opposed
to having to hard-code the space.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Working-with-query-results...-tp2162883p2162883.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am using this query:
#set($hql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Space1.MyClass' and
obj.name<>'${doc.space}.${class}ClassTemplate' and doc.space='MySpace'")
to return a list of documents from a different space and I am trying to now
create a view link to the document. I have tried several combinations using
getUrl() but nothing seems to work. Here's some of the code I've tried:
<ol>
#foreach($faq in $recentlyCreated)
#set($doc = $xwiki.getDocument('FranchiseTax', $faq))
<li>[$doc.question>$doc.getUrl("view")]</li>
#end
</ol>
What am I missing?
Thanks in Advance!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Linking-to-documents-in-different-spaces-tp2156815p215…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi again,
If I create a class similar to the one in the FAQ tutorial but add one or
more new properties to define a space and category could I use this class
and associated design sheet and template to create FAQ documents for more
than one space?
Is it possible to programatically determine what space a document should be
created in when it is saved?
Are there any simple examples of how something like this would be done? I've
gone through just about every piece of documentation but the development
process is still unclear.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Using-one-Class-and-Template-for-creating-documents-in…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
I'm very enthusiastic about getting everything out of the XWiki
environment I'm about to set up for my company. As a matter of fact,
right now I'm thinking about the best solution for getting Kerberos
authentication/authorization to work as all 12000 employees are
already part of the company's Active Directory.
I've read the XWiki article about Auth issues and am now thinking
about what would be the best/easiest/strongest solution.
The solution mentioned in the Wiki wants to use Apache Webserver mit
mod_auth_kerb. As for now, I did not succeed in building a working
mod_auth_kerb module for Win32, which somehow disencourages me to
follow this suggestion. Anyway I wonder, whether I would only be able
to authenticate users or whether there would be a way to have XWikis
builtin auth features cooperate with the Kerberos mechanism. The I
just came across "josso" which seems to a framework which can be
deployed into a JBoss Application Server and work as an authentication
gateway to any josso-enabled applications running on JBoss. Is XWiki
capable of doing this? And the question about XWikis auth mechanism
from before remains. Any other suggestions and hints for such are
scenario from you guys are highly appreciated , since the whole
AD/Kerberos/JBoss stuff is rather new to me. Again, many thanx in
advance for any potential reply on this, it's really important to me.
Cheers,
Sebastian
Hi xwiki-users,
I'm trying to create a plugin to dynamically create a download link for a SH
or BAT file, and am wondering if I could get some ideas from people on the
list. What I'm trying to do is the following:
{{shell-script name="fixed_income.sh" display="true" type="sh"}}
#!/bin/sh
# Startup the bond server
${APP_DIR}/fi/ust/bond_server -conf=fi_ust_prod.xml&
# Startup the pricing server
${APP_DIR}/fi/ust/pricing_server -conf=fi_ust_prod.xml -region=ny&
# Startup the risk analysis tool
${APP_DIR}/fi/ust/risk_analysis -days=365&
{{/shell-script}}
I don't want the server to actually "execute" this (that's easy to do), but
rather to dynamically create an output stream and pipe it to the user's
browser. The user will then be able to save the fixed_income.sh file in
his/her own local directory to execute it.
I know this can be easily done with attachments, but I want to be able to
display the contents of this file on the wiki (possibly in a <div> that's
initially hidden), and also be able to edit this file "on the fly" without
having to create locally/save locally/upload every time (kind of like a
temporary attachment which disappears together with the {{shell-script /}}
tag). I could also just create another servlet that takes in a single
base64 encoded parameter to reconstruct the shell script, but that's not a
clean solution imho. Any other way (perhaps via Javascript) of doing this
cleanly within Xwiki space? Thanks in advance (and also for another
successful release :-D)!
Hi folks, i've heard that in xwiki 1.7 it is possible to link to headlines
in other xwiki documents. is this
information correct?
i am trying to figure this out. the only way i found, is to manually attach
an anchor to a headline and append this
"#<anchorname>" at the end of the link to the file.
is there any change in 1.7 of an comfortable way to do this?
in the doc i found this: "anchor: An optional anchor name pointing to an
anchor defined in the referenced link. Note
that in XWiki anchors are automatically created for titles. Example:
"TableOfContentAnchor"."
unfortunately there are no anchors automatically created for titels (btw toc
isn't working, is this a hint what causes
this?) I use a fresh new xwiki war deployed to a tomcat (using an old xwiki
database 1.1.2.5797 with mysql)
best regards
To achieve this I would create an xwiki class "shellscript" that contains a single field, named "shcode" which is pure text. Then I would create velocity script that dispalys the page or downloads the code based on some http servlet $request parameters.
I would not try to "dig out" the shell code from the wiki page.
Note that you can access the servlet request as well as response object so you can make downloading just anything, not only text/html.
Regards
Peter
Verhás Péter
+36(30)9306805
peter(a)verhas.com
Hi all,
First, I'm a total wiki newb. I've been tasked with evaluating xwiki for use
by the state agency I work for in order to determine whether or not xwiki
can meet our needs as a means to share information both internally and
externally. From my initial poking around it looks like xwiki will be fairly
easy to work with once I've had the opportunity to wrap my head around some
of the seemingly less documented pieces like the Object model and
development process.
My first task is to replace a set of existing FAQs that have been done with
static HTML files. I've worked through the FAQ tutorial but my needs are a
bit more extensive and I'm not sure exactly how to modify the example to
meet these needs. Here are the main requirements I'm needing to address:
1) Support for Categories and Sub-Categories for questions. Used for
displaying questions grouped by sub-category within each of the main
Categories.
Would this just be a matter of adding a category property to my FAQ class?
How would I then access the full list of Categories from the main space in
order to link to each set of FAQs?
2) Within each Category (I figured I'd create each main category as a new
Space) support for specifying certain users who can add new Questions and
Answers.
I think I kind of have an idea on how to do this using the user/group
frameworks. I just wanted to get an idea of whether this sort of restriction
is doable within the existing rights system.
3) Creation of global template for creating/editing and viewing FAQ entries.
This is similar to the FAQ tutorial with a main difference being the ability
to specify an existing sub-category or to create a new sub-category for the
main category the user has permission to create questions/answers for.
4) Main space that acts as a sort of jumping off point for the FAQs.
Contains links to all of the main FAQ categories and possibly some general
information about submitting new questions and such.
I figured I would create a main space and have the re-usable objects defined
in it and then have a single page that acts as the entry point to the FAQs.
Are there docs for the xwiki object model? How can I find out what
properties and methods are available on xwiki objects? Are there docs that
explain how to use velocity scripting to do custom queries to retrieve the
data to be displayed in a given page?
-----
Does this all seem doable in the xwiki system? Does it make sense to develop
each major category of FAQ as a Space within the wiki? I'm doing this mainly
because of the editing restrictions, is it necessary? Can someone provide a
general idea of how I might go about creating this FAQ system that allows
questions to be categorized and then fetched/displayed by
Category/Sub-Category?!?
Thanks!!
Kevin Cummings
--
View this message in context: http://n2.nabble.com/New-xwiki-user-looking-for-some-guidance...-tp2146187p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm using XWEM 1.3 RC1 (based on XE 1.5).
I have now time to update our wikis, but I don't see recent updates of
Enterprise Manager. Is there any reason ?
Gaëtan
The XWiki development team is pleased to announce the release of XWiki
Eclipse 1.2 RC1.
Go grab it at http://xeclipse.xwiki.org
XWiki Eclipse 1.2 RC1 introduces several bug fixes and major
improvements such as syntax highlighting and completion, support for
objects and translations and much more.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEclipse12RC1
Thanks
-The XWiki dev team
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7.1. This is a bugfix and minor enhancements release
following XE 1.7.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
WYSIWYG and Rendering 2.0 Improvements :
* You can now upload and insert image in your documents from the WYSIWYG
* You can create tables and manage them (row/columns addition and
deletion) from the WYSIWYG.
* Added support for explicit line breaks (\\) in XWiki Syntax 2.0
Important bug fixes:
* XWIKI-2988: The way to synchronize several LDAP groups with the
same XWiki group is wrong
* XWIKI-3024: XWiki authenticator load
xwiki.authentication..createuser in place of
xwiki.authentication.createuser from xwiki.cfg file
* XWIKI-3023: Timeout when trying to connect to Penrose LDAP server
* XWIKI-3010: By default the size of "ldap_group_mapping" field in
XWikiPreferences is too short
* Many WYSIWYG bugs fixed
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise171
Thanks
-The XWiki dev team
Dear Friends,
This is my first ever email to the XWiki Team. Please forgive me if i
have inadvertently misused this mailing list since my understanding is
that this mailing list is to be used for posting XWiki related
technical questions and requests.
My organization would like to build Question Answer styled tree
structure in the wiki page itself. This is for the helpdesk staff who
will follow a tree based navigation while troubleshooting our client's
issues.
Eg.
Are you able to log into the system?
Yes
No
This is not related to my issue
Clicking on Yes, No or "This is not...." options would open up a tree
right beneath them with some more questions and answers.
I was able to create a navigation system based on simple html pages
using Matt Kruse's mktree.js and mktree.css plugin which can be found
on his website. However, as the number of pages grew it became evident
that a simple html editor would not be sufficient to create all those
trees.
I checked the wiki code for the XWikiTreeView on the index page.
However, that is a system that fetches documents in the space and then
presents them in tree view. My requirement is to have all the "leaves"
and nodes of a tree on the same page (probably using <li> and <ul>
tags pretty much the way Matt Kruse does). It would be a great
addition to this beautiful and highly efficient wiki that you have
created. And every helpdesk staff that i have interacted with would
like to have a tree styled navigation apart from the wiki that they
can access.
Friends, i know that wiki follows a flat format and what I am
requesting is a structured navigation. But XWiki is so much more than
just a wiki and I would reallly appreciate if anyone could suggest me
how to go about doing this.
Thank you for your time and patience.
-Dilipkumar J
Mumbai, India
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
> *************************************
>
I've posted a snippet:
http://code.xwiki.org/xwiki/bin/view/Snippets/GenericXMLapiSnippet
Which adds a very simple XML API to a site. This API allows other sites to
programmaticaly query the XWiki site, and display data from it in any form
they choose.
You can see an example here:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML
I came across two problems in the process of writing this. One is general,
and onw specific to my site - and fatal.
the first problem is that is seems like this API can deliver protected data
to a non-registered user. To avoid this on my site, I restricted it not to
show classes under the XWiki space. Shouldn't this be blocked at a lower
level?
The second problem was that I have some fields (propoerties) in some of the
classes which I'm not using. Since I can't delete them, I decided to change
the name to ".unused" and filter. However, once I did this it seems to have
completly crashed the class at hand. I can't even look at the Class in the
ClassEditor to delete the latest versions and go back to the latest good
one.
Here is the corrupted class:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass
Any ideas?
___________________________
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
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..
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
Hi xwiki-users,
In XWikiAuthServiceImpl.java, I see the following lines:
Line 521:
String createuser = getParam("auth_createuser", context);
Line 500~517:
protected String getParam(String name, XWikiContext context)
{
String param = "";
try {
param = context.getWiki().getXWikiPreference(name, context);
} catch (Exception e) {
}
if (param == null || "".equals(param)) {
try {
param =
context.getWiki().Param("xwiki.authentication." +
StringUtils.replace(name, "auth_", "."));
} catch (Exception e) {
}
}
if (param == null) {
param = "";
}
return param;
}
Which requires me to create a key called
"xwiki.authentication..createuser" in the config - which is strange...
Unless there are any side effects, would it be possible to request
the StringUtils.replace() removed? Thanks again for a great release!
Hello,
I am trying to use Penrose LDAP virtual server
(http://docs.safehaus.org/display/PENROSE/Home) as an LDAP source to
manage authentification of my xwiki instance.
The connection to the server works fine but when xwiki tries to search
for my user, it stops with the following exception :
2008-12-01 10:06:38,921
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19]
DEBUG ldap.XWikiLDAPUtils - Searching for the user in LDAP:
user:nca base: query:(uid=nca) uid:uid
2008-12-01 10:06:39,921
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19]
DEBUG ldap.XWikiLDAPConnection - LDAP Search failed
LDAPException: Client request timed out (85) LDAP Timeout
at com.novell.ldap.Message$Timeout.run(Unknown Source)
2008-12-01 10:06:39,921
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
After searching in the xwiki source code, I found there is a timeout of
1s for a search query to execute (in XWikiLDAPConnection line 292). It
may explains the error I imagine.
Is it possible to make this timeout defined via a configuration key in
xwiki.cfg ?
Another point related to xwiki LDAP logs : I don't like very much to
have the password sent to xwiki writen clearly in the log file when LDAP
debug is activated. Is it possible to have stars instead of the real
value of the password ?
If someone can do these modifications to the code, I will be pleased to
test them.
I would like to test it by myself but, currently, I did not manage to
build xwiki with maven after checking out the source.
Thank you for your help.
Nicolas CAZOTTES
hello,
it is posible to use filter in xwiki user search in ldap? i want to use
activeAccount atribute when it is TRUE - user have access to xiwki, when
it is FALSE user don't have it..
Thx for help and greetings,
Bart
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
> > My 1.6 Xwiki install has started eating all my CPU when I try to go to
> > any "dynamic page" like Blogs or What's New. Regular static pages work
> > fine. Eventually, tomcat times out the connection to the rendered
page.
> > I upgraded to 1.7 but the behavior is still the same.
> Make sure you don't allow robots to browse the PDF exports, as the
> export process takes a lot of computation power. See
>
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HRobotstxt
> (and in general read all the performance tips on that page).
This is an internal corporate wiki and it only blows up when I try to go
to "dynamic pages" as I mentioned above. There are no robots involved
in any way.
> > Attached is the Xwiki.log, which doesn't seem to have much other
than an
> > NPE which I doubt is the cause. Also included is a thread dump in the
> > catalina.out.
> Note that our mailing list does not accept attachments, and it is a bad
> practice to post large attachments to public mailing list. The best
> thing to do is to use a public text sharing tool, like
> http://pastebin.com/ or http://rafb.net/paste/
I would hardly consider an 8 K attachment to be "large". The thread
dump alone is too big to really put on pastebin but nonetheless:
Xwiki.log: http://terracotta.pastebin.com/m3733cc04
Catalina.out: http://terracotta.pastebin.com/m8eaf221
I think "TP-Processor12" looks pretty suspect here.
> > At the very least this could be a denial of service attack because I'm
> > sure it
> > must be because of some entry someone made.
> Unlikely.
Well, the version of Xwiki hadn't changed, nor tomcat, nor java. One
day it's been running for months without issue and the next it is eating
CPU every time I try to look at What's New or Blogs. What should I be
looking at besides users posting?
I've opened XE-351 to track the issue.
Thanks for the help,
-Dave
My 1.6 Xwiki install has started eating all my CPU when I try to go to
any "dynamic page" like Blogs or What's New. Regular static pages work
fine. Eventually, tomcat times out the connection to the rendered page.
I upgraded to 1.7 but the behavior is still the same.
Attached is the Xwiki.log, which doesn't seem to have much other than an
NPE which I doubt is the cause. Also included is a thread dump in the
catalina.out.
At the very least this could be a denial of service attack because I'm
sure it
must be because of some entry someone made.
Help!?
-Dave
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml
Hello everyone,
We have XWiki set up to authenticate users against our Active Directory
using XWiki's LDAP lookup feature. It works beautifully for our main
office.
However, we have several other offices, and they would like to use XWiki
as well. The problem is that these users are in different domains, and
use different AD domain controllers, which means we have to query those
LDAP backends separately. It looks to me like XWiki only supports
querying of one domain controller at a time.
As a workaround until a more permanent solution can be found, I am
creating local user accounts on XWiki for these people and allowing
fallback authentication against the local database. Of course, this setup
will be problematic in the future with regard to password policy, so I'd
really like to get LDAP functional for them as well.
Any suggestions?
Thanks-- we're really liking XWiki here.
Dan
Hi,
XWiki and mssql doesn't seem to work. I found an hibernate file for mssql in
1.7 (seems to be there by default since 1.5.? (not 1.5 but 1.5.2 didn't look
at 1.5.1)). But i can't get the system running (MSSQL Server 2000, jtds
Driver 1.2.1).
Log for 1.7:
"11:50:45,687 [http://localhost/xwiki17/bin/view/Main/] [http-80-1] ERROR
impl.SessionFactoryImpl - Error in named query: getAllDocuments
org.hibernate.QueryException: could not resolve property: hidden of:
com.xpn.xwiki.doc.XWikiDocument [
select doc.fullName from com.xpn.xwiki.doc.XWikiDocument as doc where
(doc.hidden <> 1 or doc.hidden is null)
]
at
org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:44)
at
org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:38)
at
org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1362)
at
org.hibernate.hql.ast.tree.FromElementType.getPropertyType(FromElementType.java:279)
at
org.hibernate.hql.ast.tree.FromElement.getPropertyType(FromElement.java:386)
at org.hibernate.hql.ast.tree.DotNode.getDataType(DotNode.java:567)
at org.hibernate.hql.ast.tree.DotNode.prepareLhs(DotNode.java:241)
at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:188)
at
org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:94)
at
org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:90)
at org.hibernate.hql.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:728)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1216)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4041)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3549)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1762)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1712)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:776)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:577)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
at
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
at
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
at
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at
org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:402)
at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:352)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:165)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:562)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1038)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1082)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:63)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:994)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:726)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
11:50:45,718 [] [http-80-1] WARN action.RequestProcessor -
Unhandled Exception thrown: class com.xpn.xwiki.XWikiException
"
Log for 1.5.2:
"11:55:36,875 [http://localhost/xwiki15/bin/view/Main/] [http-80-1] ERROR
store.XWikiHibernateBaseStore - Failed updating schema while executing
query [create table xwikiattrecyclebin (XDA_ID numeric(19,0) identity not
null, XDA_DOCID numeric(19,0) not null, XDA_FILENAME varchar(255) not null,
XDA_DATE datetime not null, XDA_DOC_NAME varchar(255) null, XDA_DELETER
varchar(255) null, XDA_XML varchar(max) not null, primary key (XDA_ID),
unique (XDA_DOCID, XDA_FILENAME, XDA_DATE))]
java.sql.SQLException: Zeile 1: Falsche Syntax in der Nähe von 'max'.
at
net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:367)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631)
at
net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)
at
net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546)
at
net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:723)
at
net.sourceforge.jtds.jdbc.JtdsStatement.executeUpdate(JtdsStatement.java:1163)
at
net.sourceforge.jtds.jdbc.JtdsStatement.executeUpdate(JtdsStatement.java:1116)
at
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:451)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:310)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:258)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:520)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:995)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1038)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:63)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:980)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:714)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:652)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:312)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:383)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
11:55:36,906 [http://localhost/xwiki15/bin/view/Main/] [http-80-1] WARN
util.JDBCExceptionReporter - SQL Error: 208, SQLState: 42S02
11:55:36,906 [http://localhost/xwiki15/bin/view/Main/] [http-80-1] ERROR
util.JDBCExceptionReporter - Ungültiger Objektname 'xwikidbversion'.
11:55:36,937 [] [http-80-1] WARN action.RequestProcessor -
Unhandled Exception thrown: class com.xpn.xwiki.XWikiException"
Does anyone have a running system for mssql with xwiki > 1.3.2
Thanks
hel.
--
View this message in context: http://n2.nabble.com/xwiki-mssql-tp1672414p1672414.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
hello,
I have a question about ldap posixGroups and xwiki groups.
it is posible synchronize ldap groups to xwiki dynamically? for example
when i will add group to ldap then it will created in xwiki?
I know about opition:
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
#
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
#
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
..but after created ldap group i need to add new group to xwiki.cfg file
and restart xwiki app.. this is not useful solution. :( Anybody know
other solution?
thx for help and greets!
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
I'm using XWiki Enterprise version 1.6.1.13621. I was following the
instructions in the FAQ to forbid registration (
http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIForbidRegistration, which
seems to be out-of-date for my version BTW) and noticed some strange
behavior. I don't want anyone to self-register so I denied access in the
"Register" column of the "Rights" admin page for all groups. I logged out
and noticed the register link was still on the page. I tried registering a
fake user and it worked. After playing around for a while I figured out
that I had to actually grant Register access for the XWikiAdminGroup group
to get the Register link to disappear. If I deny Register access or just
leave it blank for the XWikiAdminGroup group the Register link is present
and works. This is backwards to me. Without looking at the code it seems
like a logical error somewhere. Could someone tell me whether I'm
understanding this process correctly or not?
--
Nick Watts
blog: thewonggei.wordpress.com
Hi,
is there a documentation for the existing property types of a class
available?
I found the tutorial about creating a class but no discription of the
property types.
As i understand it deleting a property of a class is not possible. Is this
feature planned?
Thanks
Helmut
--
View this message in context: http://n2.nabble.com/Documentation-Class-Propertys-tp1655023p1655023.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
This seems to crop up a lot i.e. overwriting existing admin pages, etc.
Couldn't there be a flag associated with admin type pages to prevent them
getting wrongly overwritten when copying content from an older version of
xwiki to a newer version of xwiki, but enabling existing user acounts and
page content to be copied over?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Chad Gorshing
Sent: 17 December 2008 21:45
To: users(a)xwiki.org
Subject: [xwiki-users] Importing the default xar
Greetings,
I have an installation of xwiki enterprise which was on 1.2 and I have just
completed the upgrade to 1.7.
The steps I performed for the upgrade are as follows (I'm going to leave out
steps which I feel are not pertinent to my question):
1 created MySQL schema and applied user rights
2 stood up the new wiki and pointed it to the MySQL DB
3 imported xwiki-enterprise-wiki-1.7.xar in the new wiki
4 exported all content from the old wiki (1.2) to a xar
5 I had to break up the xar into a few chucks so the import would work
6 imported _all_ content along with history into the new wiki
I was then able to log in and everything seemed fine.
My question is did I overwrite anything the xwiki-enterprise-wiki-1.7.xar
provides? I am wondering if by doing step 6 that I overrode things that I
should not have, I imported everything even the Xwiki items.
If I did overwrite some items, would it be best to re-import
xwiki-enterprise-wiki-1.7.xar and be more selective on what to import?
Regards,
Chad
_________________________________________________________________
Suspicious message? There’s an alert for that.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad2_
122008
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender’s telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Greetings,
I have an installation of xwiki enterprise which was on 1.2 and I have just completed the upgrade to 1.7.
The steps I performed for the upgrade are as follows (I'm going to leave out steps which I feel are not pertinent to my question):
1 created MySQL schema and applied user rights
2 stood up the new wiki and pointed it to the MySQL DB
3 imported xwiki-enterprise-wiki-1.7.xar in the new wiki
4 exported all content from the old wiki (1.2) to a xar
5 I had to break up the xar into a few chucks so the import would work
6 imported _all_ content along with history into the new wiki
I was then able to log in and everything seemed fine.
My question is did I overwrite anything the xwiki-enterprise-wiki-1.7.xar provides? I am wondering if by doing step 6 that I overrode things that I should not have, I imported everything even the Xwiki items.
If I did overwrite some items, would it be best to re-import xwiki-enterprise-wiki-1.7.xar and be more selective on what to import?
Regards,
Chad
_________________________________________________________________
Suspicious message? There’s an alert for that.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad2…
Hi,
I'm using XWiki Enterprise v1.7 under Windows 2003 and Oracle Database
I set up 2 AD groups that map to the same XWiki group :
xwiki.authentication.ldap.group_mapping=XWiki.MyXWikiGroup=cn=ADGroup1,ou=Site,dc=company,dc=comI\
XWiki.MyGroup=cn=ADGroup2,ou=Site,dc=company,dc=com
Users that belong to MyXWikiGroup are able to EDIT a space, all others can't.
As long as a user from ADGroup2 is logged and visit the space, user's
permissions can't stop swapping from "able to edit" and "not able to
edit" the space.
I took a look on the group changes history and it seems that a change
is performed 10 times a minute. After one hour of connection the
history reached the version number 700+
I search through the mailing-list archives but I didn't see any things similar.
Any ideas ?
David
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.6.2 and XWiki Enterprise Manager 1.4.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This are the last bug fixes version before deleting the 1.6 branch.
Changes from XE 1.6.0:
* XWIKI-2790 - Jboss cache load configuration in the wrong place
* XWIKI-2821 - Older document revisions have the wrong contentUpdateDate
* XWIKI-2835 - New object may not have their wiki (database) sets,
and defaults is not applied
* XWIKI-2836 - Property validation does not report classname in context
* XWIKI-2852 - The old LDAP authenticator is still used by default
in some cases
* XWIKI-2905 - XWiki#parseGroovyFromPage(page, jarPage) is not
loading jars from jarPage
Changes from XEM 1.4:
* XAWM-91 - When wiki template don't have pretty name it shows
empty string in wiki creation template list
For more information see the respective releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise162
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM141
Thanks
-The XWiki dev team
Hi,
We want to change the results from the search so that the page title is
returned rather than the page / space name .
is it possible to configure the columns in the search results table so that
title is included and page name is excluded.
And also is it possible to change the sort order of the search results?
regards,
rob.
Seems when you upgrade from 1.4.1 to 1.6.1 then you need to resave all pages
that have "restricted" calls in them? For example, I use .search() in some
of my pages, but after upgrading the xwiki they won't work until I resave
the pages.
On upgrading, I did not import the XWiki.Admin user (this caused problems
the first time I upgraded so I avoid that now).
I have about 200-250 pages in this state.
Can this be done in one sweep, or can it be turned off?
--
View this message in context: http://n2.nabble.com/Upgrade-from-1.4-to-1.6.1-and-need-to-resave-all-scrip…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm currently trying to measure XWIKI against some business requirements; our
business are basically looking for a simple WIKI that we can use to store
corporate/enterprise knowledge in a single place and make available to the
public via our websites and internally to our customer service agents.
For a little more background to the requirements, the business is a
financial institution that provides loan products in different countries.
Each country currently has their own website (served on different domains,
with no obvious links to others), customers can apply for financial products
and administer their accounts through the sites, the terminology used to
describe the products is the same regardless of the country, however the
business rules e.g. application process, interest rates is/can be different.
The business want to expose the content deemed as publicly available through
a FAQ/WIKI section on each website, however they don't wish other countries
content to be displayed on that website.
Our customer service agents should be able to search the entire WIKI when
dealing with customers phone enquiries, they also wish there to be more
internal information available to the agents.
I'm struggling to think of a way to achieve this using XWIKI and would be
grateful of any advice.
Thanks in advance
Graham
--
View this message in context: http://n2.nabble.com/advice-on-wiki-structure-tp1641524p1641524.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is there a way to install extra applications to xwiki workspaces.
I have it running under tomcat as a war and followed all the instructions.
However, I would like to install some of the applications in the dev zone,
but I can't, I don't see how?
Any pointers?
--
Luis F. Majano
Computer Engineer
http://www.luismajano.comhttp://www.coldboxframework.com
Hi,
#set($countQuery ="select count(doc) from XWikiDocument as doc where
doc.creator='$context.user'")
will give me the number of documents created by a user.
The question; can I also count the number of documents ever created by
the user (including deleted documents)
I would like to use the resulting number to create a unique document
name
somenying like
#set($part1 = $username)
#set($part2 = "_doc")
#set($part3 = $docCount)
#set($aboutToCreate = $part1+$part2+$part3)
where doccount would be doccount of every created document by user
(including deleted) + 1
Gerritjan
Hi,
Does anybody have experience on how to show in a public user page
- a list of users of a certain group with links to a page that will
show some details per user: (like Name(s), phone, e-mail and photo)
What is the best way to layout such a card, create a stylesheet with
<div>'s?
Gerritjan