Hi all,
I have configured xwiki with LDAP authentication and kerberos SSO.
When I use a browser without automatic Kerberos SSO, I get a keberos login page. When I fill in username and password manually it works great.
But when I set the browser to use automatic logon, I get the xwiki login page! (at least in FireFox, IE says “cannot show page”)
I get the same results when I manually login with “username@DOMAIN” and “password”. So I think the domain part is used in the automatic logon. (and is the actual problem…)
I see there is java code that strips the @DOMAIN part from the username. But I have no idea how or where to implement this. I hope some can help me!
Mark
Hello,
I've been using the Tabs Macro [1], and have some feedback on it.
First a very positive because I really like that macro ;-)
But ... :
- in extension page [1], it is said that it's not compatible with 4.x,
though I use it without any issue on a 4.4.1 instance.
- only issue I have (already with XE 3.x) is that several empty lines are
added BEFORE the tabs.
The empty lines consist of 5 lines of :
<div class="wikimodel-emptyline"></div>
To fix the issue, I updated the Macro.TabsMacro macro code, there was a
misplaced empty line in it:
///// BEGIN //////
{{velocity}}
$xwiki.jsx.use("Macro.TabsMacro")
#set ($tabsSortedMapString = $context.macro.params.idsToLabels)
## split incoming string into 2 velocity arrays
#set ($tabMapEntriesStringArray = $tabsSortedMapString.split(','))
#set( $tabIdsArray = [])
#set( $tabNamesArray = [])
#foreach($tabEntryString in $tabMapEntriesStringArray )
#if ("$!tabEntryString" == "" )
## ignore null or empty (see
http://wiki.apache.org/velocity/CheckingForNull)
#else
#set ($tabEntryArray = $tabEntryString.trim().split('='))
#if ($tabEntryArray.size()!=2)
{{error}}Parameter $tabEntryString is not a valid key=value
pair in the provided map: $tabsSortedMapString{{/error}}
#else
#set ($addResult =
$tabIdsArray.add($tabEntryArray.get(0).trim()))
#set ($addResult =
$tabNamesArray.add($tabEntryArray.get(1).trim()))
#end
(*)
#end
#end
## generate tabs (**)
{{html}}
<div class="floatcontainer">
///// END /////
I had to remove line marked with (*), and add 2 empty lines right after
(**). This result in having only 1 empty line added before the tabs, which
is not perfect but better.
As I didn't find a JIRA project for this macro, I'm posting it here ...
BR,
Jeremie
[1] http://extensions.xwiki.org/xwiki/bin/view/Extension/Tabs+Macro
Hi, I'm setting up a community research project focussing on histories
of activism in New Zealand. we are unfunded and not for profit. I
would like to try co-ordinating the community and share everyones
research through a wiki, can I have a a wiki hosted on your community
farm please.
User name: Melissalaing
Site name: Dissenting-Histories
Thanks
Melissa Laing
melissa(a)melissalaing.com
www.melissalaing.comwww.universitywithoutconditions.ac.nz
Hi!
Try to check MySQL limitations (max_allowed_packet) and/or web server in front of Tomcat (if present). Hope it helps.
Вторник, 5 марта 2013, 16:38 -03:00 от Marcelo Vaz <vaz.marcelo(a)gmail.com>:
>Folks,
>
>Has anyone faced the same issue?
>
>My config:
>Mysql 5.1
>Tomcat6
>XEM WAR package 4.5.1 installed manually
>File system storage enabled on installation, so no need to port from
>database storage.
>XWikiPreferences max upload size changed to 1Gb (1073741824 bytes).
>
>Details of the issue:
>It doesn't matter if I try to attach on the main wiki on any
>workspace. The result is the same:
>The upload progress to around 1Mb. After retring for 1 or 2 times the
>following error message is displayed:
>"An error occured while uploading <file>..."
>
>Here my xwiki.cfg (without the comments to make it short):
>xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1, xhtml/1.0,
>html/4.01, plain/1.0, docbook/4.4
>xwiki.encoding=UTF-8
>xwiki.section.edit=1
>xwiki.section.depth=2
>xwiki.backlinks=1
>xwiki.tags=1
>xwiki.store.attachment.hint=file
>xwiki.store.attachment.versioning.hint=file
>xwiki.store.attachment.recyclebin.hint=file
>xwiki.store.cache=0
>xwiki.store.migration=0
>xwiki.store.migration.databases=all
>xwiki.virtual=1
>xwiki.virtual.redirect= http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
>xwiki.inactiveuser.allowedpages=
>xwiki.authentication.validationKey=totototototototototototototototo
>xwiki.authentication.encryptionKey=titititititititititititititititi
>xwiki.authentication.cookiedomains=
>xwiki.authentication.logoutpage=(/|/[^/]+/|/wiki/[^/]+/)logout/*
>xwiki.authentication.unauthorized_code=200
>xwiki.editcomment=1
>xwiki.editcomment.mandatory=0
>xwiki.authentication.ldap.server=127.0.0.1
>xwiki.authentication.ldap.port=389
>xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
>xwiki.authentication.ldap.bind_pass={1}
>xwiki.authentication.ldap.base_DN=
>xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
>xwiki.authentication.ldap.update_user=1
>xwiki.authentication.ldap.trylocal=1
>xwiki.defaultskin=colibri
>xwiki.defaultbaseskin=colibri
>xwiki.title.compatibility=1
>xwiki.plugins=\
> com.xpn.xwiki.monitor.api.MonitorPlugin,\
> com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\
> com.xpn.xwiki.plugin.feed.FeedPlugin,\
> com.xpn.xwiki.plugin.google.GooglePlugin,\
> com.xpn.xwiki.plugin.mail.MailPlugin,\
> com.xpn.xwiki.plugin.packaging.PackagePlugin,\
> com.xpn.xwiki.plugin.svg.SVGPlugin,\
> com.xpn.xwiki.plugin.charts.ChartingPlugin,\
> com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
> com.xpn.xwiki.plugin.image.ImagePlugin,\
> com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
> com.xpn.xwiki.plugin.lucene.LucenePlugin,\
> com.xpn.xwiki.plugin.diff.DiffPlugin,\
> com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
> com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
> com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
> com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
> com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
> com.xpn.xwiki.plugin.tag.TagPlugin
>xwiki.stats.default=0
>xwiki.plugin.image.cache.capacity=30
>_______________________________________________
>users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry
Has anyone xwiki 4.5 with kerberos SSO working?
-----Oorspronkelijk bericht-----
Van: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Namens Mark Jas
Verzonden: dinsdag 5 maart 2013 16:35
Aan: users(a)xwiki.org
Onderwerp: [xwiki-users] kerberos SSO -> strip domainname from username
Hi all,
I have configured xwiki with LDAP authentication and kerberos SSO.
When I use a browser without automatic Kerberos SSO, I get a keberos login page. When I fill in username and password manually it works great.
But when I set the browser to use automatic logon, I get the xwiki login page! (at least in FireFox, IE says "cannot show page")
I get the same results when I manually login with "username@DOMAIN" and "password". So I think the domain part is used in the automatic logon. (and is the actual problem...)
I see there is java code that strips the @DOMAIN part from the username. But I have no idea how or where to implement this. I hope some can help me!
Mark
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi everybody,
I have a problem with the breadcrumb feature. When I create a new page and
fill it with images or when I let it create through the import of an office
document, then, after saving it, it appears as an orphaned page and I can do
nothing to change it. After hitting the breadcrumb button in the editor the
correct tree appears, but after saving the page it is still an orphaned
page. This happens for me on XWiki Versions 3.0 and 4.3.1.
I reproduced it by creating a link to a new page. Then i clicked on the
link, which had the little questionmark, and added an image. After that I
saved it and even though the correct tree was shown while editting the page
it was saved as an orphaned page.
When I first write something on the empty page and save it and open the page
again in the editor and add an image and save it again the correct tree is
shown.
So my question is how can I "repair" the incorrect trees.
Regards,
Robert
--
View this message in context: http://xwiki.475771.n2.nabble.com/Newly-created-pages-with-attachments-are-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
How is posible to add new docextra tab with custom content on it (not global
- only for some pages)? For example, if I have some page with configured
content - I want to display this page as a new docextra tab.
I know, that it is possible to manage presentation of docextra tabs.
According to
http://www.xwiki.org/xwiki/bin/view/FAQ/How+to+control+order+of+tabs+at+bot…
I can write
#set ($docextras = [])
#set ($discard = $docextras.add(['Comments', 'comments',
$msg.get('docextra.comments'),
$doc.getObjects('XWiki.XWikiComments').size(), 'commentsinline.vm',
$msg.get('core.shortcuts.view.comments')]))
#set ($discard = $docextras.add(['Attachments', 'attachments',
$msg.get('docextra.attachments'), $doc.getAttachmentList().size(),
"attachmentsinline.vm$!{sortAttachmentsBy}",
$msg.get('core.shortcuts.view.attachments')]))
#set ($discard = $docextras.add(['History', 'history',
$msg.get('docextra.history'), -1, 'historyinline.vm',
$msg.get('core.shortcuts.view.history')]))
#set ($discard = $docextras.add(['Information', 'information',
$msg.get('docextra.information'), -1, 'informationinline.vm',
$msg.get('core.shortcuts.view.information')]))
Of course, I can add new tab, but if I trying like this (defined my page in
place of vm tempalate):
#set ($discard = $docextras.add(['test', 'test', $msg.get('test.info'), -1,
'MySpace.MyPage', $msg.get('test.info.shortcuts')]))
new tab created, but without any content ... MySpace.MyPage - contains
content which I want to show in additional tab.
How is possible to do it?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/custom-content-as-a-new-docextra-tabs-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Folks,
Has anyone faced the same issue?
My config:
Mysql 5.1
Tomcat6
XEM WAR package 4.5.1 installed manually
File system storage enabled on installation, so no need to port from
database storage.
XWikiPreferences max upload size changed to 1Gb (1073741824 bytes).
Details of the issue:
It doesn't matter if I try to attach on the main wiki on any
workspace. The result is the same:
The upload progress to around 1Mb. After retring for 1 or 2 times the
following error message is displayed:
"An error occured while uploading <file>..."
Here my xwiki.cfg (without the comments to make it short):
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1, xhtml/1.0,
html/4.01, plain/1.0, docbook/4.4
xwiki.encoding=UTF-8
xwiki.section.edit=1
xwiki.section.depth=2
xwiki.backlinks=1
xwiki.tags=1
xwiki.store.attachment.hint=file
xwiki.store.attachment.versioning.hint=file
xwiki.store.attachment.recyclebin.hint=file
xwiki.store.cache=0
xwiki.store.migration=0
xwiki.store.migration.databases=all
xwiki.virtual=1
xwiki.virtual.redirect=http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
xwiki.inactiveuser.allowedpages=
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=
xwiki.authentication.logoutpage=(/|/[^/]+/|/wiki/[^/]+/)logout/*
xwiki.authentication.unauthorized_code=200
xwiki.editcomment=1
xwiki.editcomment.mandatory=0
xwiki.authentication.ldap.server=127.0.0.1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.trylocal=1
xwiki.defaultskin=colibri
xwiki.defaultbaseskin=colibri
xwiki.title.compatibility=1
xwiki.plugins=\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
com.xpn.xwiki.plugin.tag.TagPlugin
xwiki.stats.default=0
xwiki.plugin.image.cache.capacity=30
Hi everyone!
I have just tried this fantastic wiki using the Windows EXE (v4.5) and I
have to say I'm impressed.
LDAP config just works out of the box and as stated in the config page:
*Ldap **Enable or not LDAP authentication for this wiki. If enabled and
configured properly, a local user will be created whenever a LDAP user
visit this wiki for the first time.*
What I really need is to manually disable local user creation from LDAP. I
don't want anybody in the company to create a new user ;)
I know I can restrict by LDAP groups but almost all users are in the same
cn (I'm not the one who made it!).
Do anyone has found a workaround for this? I haven't found any "disable
ldap user creation" option.
Thanks in advance!
Hello XWiki community,
does anyone know of a little add-on we could use that it's possible to guess the bandwidth each of the users?
I am supposing that a simple filter could do the trick.
This would allow us to choose the best representation for delivering a movie depending on it.
thanks in advance
Paul
Hello!
Maybe somebody can help me. I need to call "share by email" viewer with
predefined recipients list.
I easy can call share by email:
[[Share>>$doc.getExternalURL("view", "viewer=share")]]. Link created, and
when I click on it - I get share by email page. I need to send list of email
recipients "inside" my link ... How I can do it?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Share-by-email-feature-with-predefined-re…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello! I have school project where i need to make a page where used could
input some information (name, surname etc...) + be able to upload doc/pdf
files. So i wanted to make a file upload option so i googled it.
I have found this page:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/HTML5Upload
My code looks like:
{{html}}
<form action="" enctype="mutipart/form-data" method="post">
<input type="file" name="file" id="my_upload" />
</form>
{{/html}}
The problem is that i can sleect file to upload, progress bar appears, but
then nothing happens (see attachment image). Could you help me to resolve
this issue?
<http://xwiki.475771.n2.nabble.com/file/n7583955/Untitled-1.png>
--
View this message in context: http://xwiki.475771.n2.nabble.com/HTML5-File-Upload-tp7583955.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
XWiki 3.5.1
I installed manually Space Explorer Panel Application from
http://extensions.xwiki.org/xwiki/bin/view/Extension/Space+Explorer+Panel+A…
On attempt to make it running I receive Alarm Window with following warning:
"Server returned TRANSPORT_ERROR with no error message."
And "Loading" inside panel still turning.
Any idea how to make it running?
Kind regards,
Dmitry
Hi,
a web crawler keeps deleting documents in our Wiki. Meanwhile we have a robots.txt, but it seems to ignore that.
In the global rights the unregistered user is explicitely denied edit, delete and admin rights. Nowhere are such rights set to allowed. What are we missing?
The deleted documents do not turn up in XWiki/DeletedDocuments. Is there any way to restore the deleted documents?
This is an absolute desaster atm, any hints greatly appreciated!
Cheers,
Olaf
Hi all,
A problem I've had for a long time, but never tried to fixed ... (with XE
3.5, but maybe since previous versions also)
I have an XClass with a field of type "List of Users".
I create objects from this class, and the pick list is ok, and lists users
defined in my wiki ... Except me.
So I tried to check some things about my profile page (but it seems ok).
If I go to Admin/Groups, I am properly listed in XWikiAllGroup.
If I go to Admin/Users, then ... I'm not there (well, my profile).
I don't know what could explain that ... I know I should migrate to 4.x,
but meanwhile, it's a bit annoying ;-)
BR,
Jeremie
Hi Marius
Thanks for your reply
I tried this for several times,it looks not work,and the error is the same
I have pushed the error message to the download page before I use the mail list http://enterprise.xwiki.org/xwiki/bin/view/Main/Download
Best Regards !
Nicky meng
TEL: 0086-21-61431188-2160 Ext: 833-2160
-----邮件原件-----
发件人: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] 代表 Marius Dumitru Florea
发送时间: 2013年2月20日 17:51
收件人: XWiki Users
主题: Re: [xwiki-users] xwiki 4.5 installing error
On Wed, Feb 20, 2013 at 10:11 AM, <nicky.meng(a)mic.com.tw> wrote:
>
>
> Hi Guys:
>
>
>
> I have a problem on installing xwiki,can you give me some advices?
>
>
>
> I tried to install xwiki
>
> when I put xwiki-enterprise-web-4.5.war in tomcat
I don't know exactly the cause for this particular issue, but my
advice is to rename the war to "xwiki.war" so that the application
context is "xwiki" instead of "xwiki-enterprise-web-4.5".
Hope this helps,
Marius
>
> Table has generated,but it has an error like below when I access it, is there any thing wrong in my configration?
>
> I found its ok for postsql and mysql,it has this error on oracle....
>
> Waiting for you reply,thanks..
>
>
>
>
>
>
>
> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> ________________________________
>
> type Exception report
>
> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights
>
> Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
>
> Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
>
> Wrapped Exception: null
>
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights
>
> Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
>
> Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
>
> Wrapped Exception: null
>
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:418)
>
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights
>
> Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
>
> Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
>
> Wrapped Exception: null
>
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:719)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
>
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
>
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>
> com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
>
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
>
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
>
> Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
>
> Wrapped Exception: null
>
> com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:253)
>
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:519)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
>
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
>
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>
> com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
>
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
>
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
>
> Wrapped Exception: null
>
> com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:203)
>
> com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:179)
>
> com.xpn.xwiki.doc.XWikiDocumentArchive.makePatch(XWikiDocumentArchive.java:139)
>
> com.xpn.xwiki.doc.XWikiDocumentArchive.updateArchive(XWikiDocumentArchive.java:254)
>
> com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:247)
>
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:519)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
>
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
>
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>
> com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
>
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
>
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> root cause
>
> java.lang.NullPointerException
>
> java.io.StringReader.<init>(StringReader.java:33)
>
> org.suigeneris.jrcs.util.ToString.stringToArray(ToString.java:66)
>
> com.xpn.xwiki.doc.rcs.XWikiPatchUtils.getDiff(XWikiPatchUtils.java:62)
>
> com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:199)
>
> com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:179)
>
> com.xpn.xwiki.doc.XWikiDocumentArchive.makePatch(XWikiDocumentArchive.java:139)
>
> com.xpn.xwiki.doc.XWikiDocumentArchive.updateArchive(XWikiDocumentArchive.java:254)
>
> com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:247)
>
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:519)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
>
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
>
> com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
>
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
>
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>
> com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
>
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
>
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
>
>
>
>
> Best Regards !
>
>
>
> Nicky meng
>
>
>
> TEL: 0086-21-61431188-2160 Ext: 833-2160
>
>
>
>
> This email message and all attachments transmitted with it are intended solely for the use of the intended recipient(s) and may contain legally privileged and confidential information. If you are not the intended recipient of this email, you are hereby notified that any disclosure, dissemination, distribution, copying, or other use of this message, its attachments or any information contained therein is strictly prohibited. If you have received this email in error, please contact the sender immediately and please delete it and any attachments from your system. Computer viruses can be transmitted via email. The sender accepts no liability for any damage caused by any virus transmitted by this email. Thank you.
>
> _______________________________________________
> 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
Now that I've got XWiki up and running, how can I configure Tomcat or whatever so that it's available at the root on port 80 instead of wiki.example.com:8080/xwiki?
Thanks,
Andrew
I am having problems installing and configuring XWiki on a fresh install of Ubuntu 12.04. I am using the package method described in this tutorial: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
I have tried 3 different packages now and each of them result in different errors (all of them database configuration related).
xwiki-enterprise-tomcat7-mysql
xwiki-enterprise-tomcat7-psql
xwiki-enterprise-tomcat6-psql
I think there is either a missing step, or the package is not setting the configuration properly. I have used the dbconfig installer to set the passwords for mysql root and xwiki user, so I don't know what else to try other than another package, or configure manually.
Can anyone confirm this bug and/or provide a solution?
Thanks,
Andrew Havens
Hi Guys:
I have a problem on installing xwiki,can you give me some advices?
I tried to install xwiki
when I put xwiki-enterprise-web-4.5.war in tomcat
Table has generated,but it has an error like below when I access it, is there any thing wrong in my configration?
I found its ok for postsql and mysql,it has this error on oracle....
Waiting for you reply,thanks..
HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
________________________________
type Exception report
message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights
Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
Wrapped Exception: null
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights
Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
Wrapped Exception: null
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:418)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights
Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
Wrapped Exception: null
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:719)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception while updating archive XWiki.XWikiRights
Wrapped Exception: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
Wrapped Exception: null
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:253)
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:519)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
com.xpn.xwiki.XWikiException: Error number 13027 in 13: Failed to create diff for doc XWiki.XWikiRights
Wrapped Exception: null
com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:203)
com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:179)
com.xpn.xwiki.doc.XWikiDocumentArchive.makePatch(XWikiDocumentArchive.java:139)
com.xpn.xwiki.doc.XWikiDocumentArchive.updateArchive(XWikiDocumentArchive.java:254)
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:247)
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:519)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
java.lang.NullPointerException
java.io.StringReader.<init>(StringReader.java:33)
org.suigeneris.jrcs.util.ToString.stringToArray(ToString.java:66)
com.xpn.xwiki.doc.rcs.XWikiPatchUtils.getDiff(XWikiPatchUtils.java:62)
com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:199)
com.xpn.xwiki.doc.rcs.XWikiPatch.setDiffVersion(XWikiPatch.java:179)
com.xpn.xwiki.doc.XWikiDocumentArchive.makePatch(XWikiDocumentArchive.java:139)
com.xpn.xwiki.doc.XWikiDocumentArchive.updateArchive(XWikiDocumentArchive.java:254)
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:247)
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:519)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1318)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1313)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:831)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:398)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
Best Regards !
Nicky meng
TEL: 0086-21-61431188-2160 Ext: 833-2160
This email message and all attachments transmitted with it are intended solely for the use of the intended recipient(s) and may contain legally privileged and confidential information. If you are not the intended recipient of this email, you are hereby notified that any disclosure, dissemination, distribution, copying, or other use of this message, its attachments or any information contained therein is strictly prohibited. If you have received this email in error, please contact the sender immediately and please delete it and any attachments from your system. Computer viruses can be transmitted via email. The sender accepts no liability for any damage caused by any virus transmitted by this email. Thank you.
Hello
I noticed that the $msg object's "get" method is being used to retrieve text labels. How can I add keys to the resource bundle? I'm running Xwiki Enterprise 4.5.
Thank you.
Naoufel Chbihi
Technical Specialist | Spécialiste technique
Mainframe Operating System Technology | Technologie du système d'exploitation des ordinateurs centraux
Service Management & Delivery (SM&D) | Gestion et prestation des services (GPS)
Information Technology Services Branch (ITSB) | Direction générale des services d'infotechnologie (DGSIT)
Shared Services Canada | Services partagés Canada
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, ON K1A 0P7
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chbihi(a)ssc.gc.ca | naoufel.chbihi(a)spc.gc.ca
Hello,
I'm trying to customize a live table: I want on the webhome of each space to
display all pages of that space.
I sorted out that ${doc.space} returns the space for the current page, so
I've added
'extraParams' : '&space=${doc.space}',
in my livetable but it returns no documents.
What can be the correct syntaxe to dynamicaly filter page in a livetable for
the current Space ?
thanks for your help,
--
View this message in context: http://xwiki.475771.n2.nabble.com/Unable-to-dynamicaly-filter-LiveTable-on-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello
I upgraded Xwiki Enterprise from 4.5-milestone-1 to 4.5 today. When I click on the "Add new group" button in the "Administration: Groups" page, the resulting page contains a lot of empty space that preceeds the actual page. So, I have to scroll down a lot to actually see the page (including the header). Also, the "Create new group" field and the related buttons appear before the page header. I think that I had noticed this in 4.5-M1 also. Other pages are being displayed properly so far, but I'm not sure whether this is the only page on which this is happening. I have noticed this in Internet Explorer 8 and Firefox 18.0.2.
Is anyone else experiencing this problem?
Thank you.
Naoufel Chbihi
Technical Specialist | Spécialiste technique
Mainframe Operating System Technology | Technologie du système d'exploitation des ordinateurs centraux
Service Management & Delivery (SM&D) | Gestion et prestation des services (GPS)
Information Technology Services Branch (ITSB) | Direction générale des services d'infotechnologie (DGSIT)
Shared Services Canada | Services partagés Canada
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, ON K1A 0P7
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chbihi(a)ssc.gc.ca | naoufel.chbihi(a)spc.gc.ca
Good Morning All,
I was wondering if there was a way to display a Paragraph that only a set
group can see within a document that is set to be viewed by everybody.
I have tried to use the include and display Macros that link to a document
that has had there access rights restricted, but when I visit the page on a
user who doesn't have access they see *"Failed to execute the [include]
macro"*
Any Suggestions?
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Displaying-restricted-content-on-a-Docume…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey everyone I am new to XWiki and the forum...hopefully someone can help me
out here.
*Issue:* How can I create a table on a wiki page that is based on an
imported Excel sheet? The import was done with the Office Importer to a new
page in a pre-created space.
*Goal:* My goal here is to import my Excel spreadsheet that has product
information on multiple sheets. Then I would like to create a product/model
page that will link back to the imported spreadsheet and dynamically create
a table for only the model I choose.
*Example:*
I have a spreadsheet called ProductX.xls. In that spreadsheet is a tab (or
sheet) for each model of Product X. Let's assume I have Model 1, 2, and 3.
Each model sheet has specific information for that model (manufacturer,
power, cooling, etc.)
Now I want to create a main page or space in my wiki called Product X. On
that page I will create links for Models 1, 2, and 3. When the user clicks
on one of the models it takes them to a page with a table of just the sheet
(from the imported excel file) for that particular model.
What I have done so far is to use the Excel Plugin and add a macro to the
page. This does almost what I want, but I don't want to have to edit a
spreadsheet every time I need to make changes. I want select users to be
able to edit the imported spreadsheet directly in the wiki without the need
to download the excel sheet, make changes, and re-upload. This is where the
imported Excel sheet comes in. When I do the importer, it actually puts it
in a page and each sheet is editable. Perfect!, but I cannot figure out how
to build another table based on these imported sheets on a new page.
Sorry for the long winded post, but I am really lost at this point on how I
can accomplish this or if it is even possible. Thanks in advance for any
help you may be able to offer.
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-create-a-table-from-Office-Importe…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm quite happy with LDAP auth, but a possible use case has arisen where
two factor auth (token or similar) would be required.
Does anyone have any experiences with any two factor authentication methods
for xwiki.
Cheers
The XWiki development team is proud to announce the availability of XWiki 4.5.
This version brings improvements and stabilization to the Extension Manager and Distribution Wizards. It also adds the ability to internationalize applications created with the App Within Minutes tool, and continues the improvements of the new experimental Solr search integration. This is the last release of the XWiki 4.x cycle.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki45
Thanks
-The XWiki dev team
Hello,
Since I've migrated to 4.4.1, I've been receiving notification for these documents (about once per day):
XWiki
Wiki Component XWiki Class
Wiki Component Dependency XWiki Class
Wiki Component Implements Interface XWiki Class
Wiki Component Method XWiki Class
Translation Document Class
UI Extension Class
There is no author and no update in the notification
It's really disturbing for standard users who received that too.
There's something to do to avoid that?
Thank you
ncg
I've just downloaded XWiki Enterprise to set up a development wiki for a
small development team
I want to change the home page that a user sees when they connect to the
wiki so that it is more relevant to my company. I've tried to edit the page
to remove the Activity list, Messages etc, but I don't seem to be aboe to do
so.
Ideally I'd like that home page to be completely blank so I can start from
scratch.
Can anyone give me a hint as to how I can achieve this?
I upgraded from 4.3 by upgrading (replacing the 4.3 .war contents with the
4.4.1.war contents) /webapps
When I restarted tomcat, and connected, it then ran the automated extension
upgrader
When I look in the extension manager, I see 51 extensions, ~half of which
are version 4.3
If I try to uninstall any of the 4.3 versions, they show the 4.4.1 version
as a dependency.
I'm confused...
I've got a bunch of objects with date fields in. When I view the page
in edit objects mode, the dates are displayed with no timezone
information. If I change the timezone in my preferences pane, it
doesn't change the time that's displayed at all.
I would expect that if there's no timezone information displayed against
a time, then it must be showing me the time converted into my configured
timezone. But apparently not. I'm not sure what those times actually
mean now.
If changing the timezone doesn't affect how times are displayed, what
does it affect?
This is version 4.4.1, by the way.
Using the FAQ Application
(http://extensions.xwiki.org/xwiki/bin/view/Extension/FAQ+Application), I
cannot seem to figure out how (or if it is possible) to set up multiple FAQ
Spaces. When I install this application, it creates a couple of spaces FAQ
and FAQCode - with FAQ being the actual "FAQ Space." What I need to create
is a General FAQ for the site and for the company, and another that deals
with just Technology. So I would have "General FAQ" and "Technology FAQ"
for example.
Any thoughts on how to do this?
Thanks for any assistance!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Multiple-FAQ-Spaces-Pages-tp7583099.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
To all,
My users are driving me crazy...allthough I have stated several times that
they must NOT use any special characters in the pagename (URL), they still
create pages with special characters. I also don't like any spaces in the
URL (which are replaced by a "+")...
Is there a way to parse the pagename before it's created and remove any
special characters?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Special-characters-in-pagename-URL-tp7582…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I had a dream ;-) to share my personnal notes and geek tips through a wiki
rather than on text files stored on my hard drive. I started to write
tutorials on a cloud wiki(1) but I discovered that cloud wiki does not allow
guest comments and runs an old version of xwiki(2).
I have discovered later that it's possible to run a full wiki if we gently
ask on this mailing list. Please find below my wiki request.
- My xwiki.org's user name: xrichard
- Description of the Wiki: first level tutorials on Windows, Android, Ubuntu
and maybe more
- Server Name for this new wiki: tutos
I hope a kind admin will create this wiki for me on the "XWiki Community
farm". Thanks in advance ;-).
Notes:
1. my test Wiki (sorry it's in french): http://tuto.cloud.xwiki.com
2. limitations on cloud xwiki, see discussion here:
http://xwiki.475771.n2.nabble.com/Guest-access-on-wiki-hosted-on-cloud-xwik…
--
View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7583032.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
In the XWiki existing great technology - custom EventListeners, which can
execute, for example, on 'save page' event some script.
Existing some nice examples of using this technology:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Title+Post+Processing+…http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+Object+with+Con…
But, in the past, problem was, that your EventListeners cannot automatically
start (for example if application server restarted). I know right now only
one 'trick' - right a scheduler job, which every 5 minutes restarts
EventListener. Here -
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
existing example of such job, but:
1) this is like a 'trick' - not a normal solution
2) existing troubles of writing such jobs for not qualified users (like me
:) )
My question - at this moment, at the end of 4.x cycle, existing more
comfortable solution of this problem?
If not - do you have (this is question for developers) plans for the future
to give for the users some instrument which can do it easy?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/EventListener-automatic-start-is-it-possi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
i have a form that is trying to update xwiki object. For whatever reason, it's not updating. Here is the groovy code. The nearly same code but with "newObject" instead of "getObject" properly create new entries. I can't find out how to tell xwiki that the object has changed and need to be updated in database.
if (request.update !=null){
println ("update mode");
obj = doc.getObject('Configuration.NewsClass',request.doEdit.toInteger())
println "$obj " // Here i get "com.xpn.xwiki.api.Object@69506371"
obj.set("linkfr",request.linkfr)
obj.set("titlefr",request.titlefr)
obj.set("linknl",request.linknl)
obj.set("titlenl",request.titlenl)
obj.set("publication",new java.util.Date().parse("dd/MM/yyyy HH:mm",request.publication))
println obj.get("linkfr"); // Correclty outputs the new value
doc.save("update news entries") // This properly appear in history
println "Saved "+request.doEdit // It says "Saved 53" for example
Regards,
David Delbecq
Our xWiki server is very slow
Our server is running on TomCat version 6
The database is a Windows 2003 MySQL it has 4GB Ram and 2 processors
Does anybody know a solution?
--
View this message in context: http://xwiki.475771.n2.nabble.com/xWiki-server-is-slow-tp7583722.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks, Eduard. I discovered that setting the " xwiki.authentication.useip=0 " corrected the issue I was seeing with the constant login requests on each click.
I did check, and the xwiki-platform-workspace-api-4.3-rc-1.jar file does not exists in the WEB-INF/lib directory. However, I tried to add it for its functionality, and it broke the entire deployment. Xwiki would not longer load with numerous "ClassNotFound" exceptions. I removed the JAR and pulled out the workspacemanager directory and the site started functioning again.
So - my original issue was solved with the xwiki.authentication.useip setting.
I appreciate your suggestion, and I'll look deeper into what functionality I may be missing without the WorkSpaceManager plugin.
- Casey
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Eduard Moraru
Sent: Tuesday, February 05, 2013 7:27 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 4.3 will not maintain logged in status of users
Hi Casey,
> Failed to lookup script service for role hint [workspace]
I`m not sure about your login problem, but this log messages suggests that the workspace jar is missing for some reason. Please have a look in your "webapps/xwiki/WEB-INF/lib" folder and see if the file "xwiki-platform-workspace-api-4.3-rc-1.jar" exists. If not, please add it from the default installation zip/war or download it [1] individually.
Hope this helps,
Eduard
----------
[1]
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-workspace…
On Tue, Jan 29, 2013 at 12:31 AM, Lineberry, Casey < Casey.Lineberry(a)verizonwireless.com> wrote:
> I apologize if this issue is somewhere out in this user list, the web
> or on xwiki.org docs, but I am unable to find anything out there on it.
>
> We're using XWIki 4.3-rc-1 running under Tomcat 7.0.32 on Red Hat 5.7
> 64-bit.
>
> Everything was working fine. Then, all of a sudden, all users are
> prompted to login after every click. It's now impossible to import or
> export any content. Editing is impossible.
>
> In the catalina.out from tomcat, we see the following over and over again:
>
> 2013-01-28 14:11:04,531 [
> https://epswiki.sdc.vzwcorp.com/xwiki/bin/login/XWiki/XWikiLogin?srid=BOeR3…]
> DEBUG o.x.c.ExecutionContext - Getting undefined property
> localization.bundles from execution context.
> 2013-01-28 14:11:04,534 [
> https://epswiki.sdc.vzwcorp.com/xwiki/bin/login/XWiki/XWikiLogin?srid=
> BOeR3uZn&xredirect=%2Fxwiki%2Fbin%2Fexport%2FXWiki%2FXWikiPreferences%
> 3Feditor%3Dglobaladmin%26section%3DExport%26srid%3DBOeR3uZn]
> DEBUG .s.DefaultScriptServiceManager - Failed to lookup script service
> for role hint [workspace]
> org.xwiki.component.manager.ComponentLookupException: Can't find
> descriptor for the component [role = [interface
> org.xwiki.script.service.ScriptService] hint = [workspace]]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentInsta
> nce(EmbeddableComponentManager.java:355)
> ~[xwiki-commons-legacy-component-default-4.3-rc-1.jar:na]
>
> I am unable to find anything that can point me to where our
> configuration has gotten hosed.
>
> We are configured to use LDAP authentication against an MS Active
> Directory domain. As stated earlier - that has been working fine -
> and this just started happening.
>
> Any direction in how we can get this corrected would be greatly
> appreciated.
>
> Thanks,
>
> Casey
>
>
> _______________________________________________
> 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
I apologize if this issue is somewhere out in this user list, the web or on xwiki.org docs, but I am unable to find anything out there on it.
We're using XWIki 4.3-rc-1 running under Tomcat 7.0.32 on Red Hat 5.7 64-bit.
Everything was working fine. Then, all of a sudden, all users are prompted to login after every click. It's now impossible to import or export any content. Editing is impossible.
In the catalina.out from tomcat, we see the following over and over again:
2013-01-28 14:11:04,531 [https://epswiki.sdc.vzwcorp.com/xwiki/bin/login/XWiki/XWikiLogin?srid=BOeR3…] DEBUG o.x.c.ExecutionContext - Getting undefined property localization.bundles from execution context.
2013-01-28 14:11:04,534 [https://epswiki.sdc.vzwcorp.com/xwiki/bin/login/XWiki/XWikiLogin?srid=BOeR3…] DEBUG .s.DefaultScriptServiceManager - Failed to lookup script service for role hint [workspace]
org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [interface org.xwiki.script.service.ScriptService] hint = [workspace]]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:355) ~[xwiki-commons-legacy-component-default-4.3-rc-1.jar:na]
I am unable to find anything that can point me to where our configuration has gotten hosed.
We are configured to use LDAP authentication against an MS Active Directory domain. As stated earlier - that has been working fine - and this just started happening.
Any direction in how we can get this corrected would be greatly appreciated.
Thanks,
Casey
Hi all,
We are using LDAP and I want to grant a specific user ONLY view-rights (on
the entire wiki)
As far as I can see, I can't just grant him "view-only" rights to the wiki,
because the space-rights will grant the user edit rights (the user is also
in the XWikiAllUsers group).
Do I need to apply "view-only" rights for that specific user on every space
in the wiki?
If that's the case, how do I handle the fact when an "admin"-user creates a
new space? (where the specific user should have "view-only" rights by
default?) That's kind of dangerous, don't you think?
Or am I missing something?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Grant-only-View-Rights-to-a-specific-user…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
We just introduced XWIKI in our company and I have noticed that there are
quite a few problems with links.
Among other we have solutions, customers, faq, wiki users...
It would be nice have a complete xref of which page references which other
page, so we can see (among other):
- which customer uses which solutions.
- which wiki user was responsible for which project...
My idea was to use links for this purpose, but I notices the following
problems:
- If the link is contained in a macros like {{warn}}[[target]]{{/warn}},
the backreference is not reported on the target page .
- If the link is contained in an object like {{include
document="FAQCode.FAQSheet"/}}, the backreference is not reported on the
target page.
- If I rename the target page, the links are broken in the two cases
above.
I have screenshots documenting my tests
Have I missed something in XWIKI? Is there another way to solve my
problem?
@XWIKI developper: do you have a schedule to correct this?
Claude
Hello,
using the search tools in Xwiki, i notice that some documents appear several times in search results. Why does lucene gives duplicate results and how to avoid this? Do i need to reindex or so?
Best regards,
David Delbecq
Hi Everyone,
I was just trying to upgrade from 3.0.1 to 4.4. as I figured I can't save XWikiPreferences anymore:
13:07:17,307 [http://0x64plusxwiki.local.0x64plus.de:8080/xwiki/bin/saveandcontinue/XWiki…] [http://0x64plusxwiki.local.0x64plus.de:8080/xwiki/bin/save/XWiki/XWikiPrefe…] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.IntegerProperty#<?xml version="1.0" encoding="UTF-8"?>
<showcomments></showcomments>
]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
…
Is there any way to fix this?
Or force the save of my current XWikiPreferences?
Thanks in advance,
Florian
Hi,
I read about a parameter "quality" which sets the quality of resized
pictures. I want to improve the quality esp. of the Profile pics.
Where do i configure this?
thanks
Ole
Hello
I'm using XWiki Enterprise 4.4 and I'm customizing the XWiki skin by using the Colibri skin a as a base. Looking through the menuview.vm Velocity template, I found out that the #xwikitopmenuentry macro is being used generate the HTML for the "ADD", "XWIKI", "Space" and "Page" menus. I have added a "Macros" attribute to the XWikiSkins class, created a copy of macros.vm into the /xwiki/skins/myskin/templates, and set the "Macros" attribute to #renderTemplate('templates/macros.vm'). I then wrote a new Velocity macro inside this file (called "#xwikitopmenuentry2") and modified the menuview.vm file to call #xwikitopmenuentry2 but I still see the old code being generated. So, it doesn't seem that I'm doing this the right way. Any idea how I can do this?
Thank you.
Naoufel Chbihi
Technical Specialist | Spécialiste technique
Mainframe Operating System Technology | Technologie du système d'exploitation des ordinateurs centraux
Service Management & Delivery (SM&D) | Gestion et prestation des services (GPS)
Information Technology Services Branch (ITSB) | Direction générale des services d'infotechnologie (DGSIT)
Shared Services Canada | Services partagés Canada
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, ON K1A 0P7
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chbihi(a)ssc.gc.ca | naoufel.chbihi(a)spc.gc.ca
Http headers i gave comes form a 4.1.2 xwiki running on a plain (default configuration) jboss 7
----- Mail original -----
De: "Sergiu Dumitriu" <sergiu(a)xwiki.com>
À: "XWiki Users" <users(a)xwiki.org>
Envoyé: Jeudi 31 Janvier 2013 18:53:32
Objet: Re: [xwiki-users] Caching resources
On 01/31/2013 12:31 PM, David Delbecq wrote:
> Hello,
>
> i would like to active cachin on /xwiki/bin/skin/resources/* as, obviously, skin doesn't change often :)
> As you can see, by default, xwiki forbid caching... What do i need to change for this caching?
>
Nope, that's not the default behavior. XWiki does rely on caching, and
if you go to
http://playground.xwiki.org/xwiki/bin/skin/resources/js/scriptaculous/effec…
you'll see that the resource is cached.
>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Pragma: No-cache
^ These don't come from XWiki, I guess that Tomcat's configuration is
the one that adds the Pragma: No-cache header.
> Cache-Control: public
> Expires: Sat, 02 Mar 2013 17:22:25 GMT
> Last-Modified: Tue, 26 Jun 2012 10:06:58 GMT
^ These come from XWiki, and they do enable caching.
> Content-Type: text/javascript;charset=UTF-8
> Content-Language: en
> Content-Length: 25003
> Date: Thu, 31 Jan 2013 17:22:25 GMT
Hm, except maybe if you're using a very old version of XWiki. What
version are you currently using?
--
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello!
We are currently discussing the possibilities on how to configure our
system for the following scenarios:
We have multiple XWiki instances for several users. Since the users
want to have full admin rights we cannot use the xwiki farm. For
security reasons we are deploying each instance into a virtual machine
(KVM) with its own Tomcat and Database.
Using this kind of setup seems to be most secure and flexible in terms
of miss configured tomcat installations, SQL-injections and
file-system (on purpose or by mistake) access though scripting. The
obvious down side is the huge overhead which comes with the
virtualization.
So I was wondering what kind of setups you are using. Can I deploy the
application into some kind of tomcat-chroot-environment? What kind of
database setup is possible? Is it possible to restrict access to a
certain database on an application bases (much like you can restrict
access based on the connecting ip-address). The Database has the be
PostgreSQL.
I appreciate all kind of inputs. Cheers,
Stephanie.
Has anyone seen the severe errors below in their Tomcat catalina.log file after shutting Tomcat down?
Does anyone know what to do about it? It causes problems when restarting the XWiki web application.
Thanks in advance for your help.
Mike
[mschaffner@ebo-elab01 logs]$ ../bin/version.sh
Using CATALINA_BASE: /usr/share/apache-tomcat-7.0.35
Using CATALINA_HOME: /usr/share/apache-tomcat-7.0.35
Using CATALINA_TMPDIR: /usr/share/apache-tomcat-7.0.35/temp
Using JRE_HOME: /usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre
Using CLASSPATH: /usr/share/apache-tomcat-7.0.35/bin/bootstrap.jar:/usr/share/apache-tomcat-7.0.35/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.35
Server built: Jan 10 2013 10:52:49
Server number: 7.0.35.0
OS Name: Linux
OS Version: 2.6.43.8-1.fc15.x86_64
Architecture: amd64
JVM Version: 1.6.0_22-b22
JVM Vendor: Sun Microsystems Inc.
[mschaffner@ebo-elab01 logs]$ cat catalina.out
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jan 31, 2013 2:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:13:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1064 ms
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Jan 31, 2013 2:13:02 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/examples
Jan 31, 2013 2:13:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/ROOT
Jan 31, 2013 2:13:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/xwiki
2013-01-31 14:13:16,811 [localhost-startStop-1] WARN o.x.e.i.ServletEnvironment - No permanent directory configured. Using temporary directory [/usr/share/apache-tomcat-7.0.35/temp].
2013-01-31 14:13:20,955 [localhost-startStop-1] INFO istributionInitializerListener - Distribution up to date
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/host-manager
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/manager
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.35/webapps/docs
Jan 31, 2013 2:13:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:13:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18581 ms
Jan 31, 2013 2:17:50 PM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:17:50 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [com.google.inject.internal.util.$Finalizer] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Core extension repository updater] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Job Manager daemon thread] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Distribution initialization] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [Timer-440] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [New I/O client boss #441] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [New I/O client worker #441-1] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [AsyncHttpClient-Callback] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named [AsyncHttpClient-Reaper] but has failed to stop it. This is very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [com.google.inject.internal.InjectorImpl$1] (value [com.google.inject.internal.InjectorImpl$1@19290b6f]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@55adb150]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@7e542721]) and a value of type [java.util.WeakHashMap] (value [{class org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionAuthor=java.lang.ref.WeakReference@544a43d2, class java.util.ArrayList=java.lang.ref.WeakReference@57aabb39, class org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionDependency=java.lang.ref.WeakReference@9e9c826, class org.xwiki.extension.repository.xwiki.model.jaxb.License=java.lang.ref.WeakReference@53533bdf, class org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionVersion=java.lang.ref.WeakReference@7d7fd835}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value [com.ning.http.client.providers.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@2e24655f]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [org.sonatype.guice.bean.inject.BeanInjector$1] (value [org.sonatype.guice.bean.inject.BeanInjector$1@577b57a3]) and a value of type [boolean[]] (value [[Z@62b6bb33]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [org.jboss.netty.util.CharsetUtil$1] (value [org.jboss.netty.util.CharsetUtil$1@4abc43e6]) and a value of type [java.util.IdentityHashMap] (value [{US-ASCII=sun.nio.cs.US_ASCII$Encoder@591686f7}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@55f6efd2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@46faf015]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4a8171b]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@3784f000]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@78a8ac79]) and a value of type [java.util.Stack] (value [[org.xwiki.logging.event.LogQueueListener@9d379d2]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4a8171b]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@1ae2cf08]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean] (value [com.ning.http.client.providers.netty.NettyAsyncHttpProvider$ThreadLocalBoolean@2e24655f]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@20862402]) and a value of type [org.infinispan.context.SingleKeyNonTxInvocationContext] (value [SingleKeyNonTxInvocationContext{flags=null}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
[mschaffner@ebo-elab01 logs]$
Hello,
i would like to active cachin on /xwiki/bin/skin/resources/* as, obviously, skin doesn't change often :)
As you can see, by default, xwiki forbid caching... What do i need to change for this caching?
Thank you.
-----------
GET /xwiki/bin/skin/resources/js/scriptaculous/effects.js HTTP/1.1
Host: *********
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
Accept: */*
Accept-Language: fr-be,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: **********
Cookie: JSESSIONID=*********.undefined; language=en; gh.i=%7B%7D; AJS.conglomerate.cookie=||||||||||||||||||||||||||||||upm.tab=install
If-Modified-Since: Tue, 26 Jun 2012 10:06:58 GMT
Authorization: Basic ZGVsYmQ6c2VpcmprMjA0NA==
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: public
Expires: Sat, 02 Mar 2013 17:22:25 GMT
Last-Modified: Tue, 26 Jun 2012 10:06:58 GMT
Content-Type: text/javascript;charset=UTF-8
Content-Language: en
Content-Length: 25003
Date: Thu, 31 Jan 2013 17:22:25 GMT
String.prototype.parseColor=function(){var a="#";
if(this.slice(0,4)=="rgb("){var c=this.slice(4,this.length-1).split(",");
-----------
David Delbecq
Good Afternoon All,
I am currently having issues with the search suggest feature of Xwiki, the
problem I am having is that links to attachments are showing in the
"document content" part of the drop down of this feature which I need to be
excluded.
I have disabled Attachment name and Attachment Content from from
SearchSuggestConfig and even tried excluded attachments by using "__INPUT__*
NOT type:attachment" & "__INPUT__* NOT .doc" from document content.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Search-Suggest-Issues-tp7583632.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Since the migration from 4.1.3 to 4.4, there are "too many open files" alerts in Tomcat (release 5.5).
I changed limit from 1024 (default value) to 4096 but the problem is not solved.
It seems there are many open files used by lucene :
Total tomcat open files :
>/usr/sbin/lsof |grep java | wc -l
3318
Lucene open files :
>/usr/sbin/lsof |grep java | grep "/xem/data" | wc -l
2524
Lucene "deleted" open files :
>/usr/sbin/lsof |grep java | grep "/xem/data" | grep deleted | wc -l
1663
This behavior is new with 4.4. There is a known problem with Lucene ?
Thank you
Ncg
Hi all,
i get this error message on install Xwiki-Enterprise UI 4.5M1
any help here ?
thanks and best regards
Stefan
-#-#-#-#-
Tried to remove non-existing property [job.extension.plan] from execution
context.
Failed to create install plan: Left side ($argument.size()) of '>' operation
has null value at /templates/extension.vm[line 861, column 32]
class org.xwiki.extension.InstallException: Failed to create install plan:
Left side ($argument.size()) of '>' operation has null value at
/templates/extension.vm[line 861, column 32] at
org.xwiki.extension.job.internal.InstallJob.start(InstallJob.java:112) at
org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:155) at
java.lang.Thread.run(Thread.java:679)
#-#-#-#-
--
View this message in context: http://xwiki.475771.n2.nabble.com/upgrade-error-from-4-4-1-to-4-5M1-tp75836…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greetings Xwiki Gurus,
I've been trying to get our installation authenticating with LDAP and am having no luck. We are running XWiki 4.3 in Tomcat 7.0.34 on Windows Server 2008 R2 Standard. I have installed the LDAP Application Extension and tried configuring it both through the web interface and xwiki.config with no success. Every time I attempt to login I receive an Invalid Credentials error (stack trace below,) and the LDAP section from xwiki.config file is below that. I've tried a number of different values for the server, bind DN, and the base DN, but nothing works. Any suggestions are greatly appreciated? Is there any additional logging that I can add for more information?
Thanks,
Barry
2013-01-30 10:12:55,825 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentica
tion
2013-01-30 10:12:55,825 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is nul
l. We don't try to authenticate, it probably means the user is in non logged mod
e.
2013-01-30 10:12:55,825 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentica
tion
2013-01-30 10:12:55,840 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [gro
upofnames, groupwisedistributionlist, dynamicgroup, dynamicgroupaux, groupofuniq
uenames, group]
2013-01-30 10:12:55,840 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields:
[member, uniquemember]
2013-01-30 10:12:55,857 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP serve
r [ldap.nov.com:389]
2013-01-30 10:12:55,868 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server w
ith credentials login=[cn=papeb,dc=nov,dc=com]
2013-01-30 10:12:55,928 [http://usa-111b4s1.nov.com:8080/xwiki/bin/loginsubmit/X
Wiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authenticatio
n failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind fai
led with LDAPException.
Wrapped Exception: Invalid Credentials
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnectio
n.java:184) ~[xwiki-platform-legacy-oldcore-4.4.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnectio
n.java:113) ~[xwiki-platform-legacy-oldcore-4.4.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticat
eInContext(XWikiLDAPAuthServiceImpl.java:305) [xwiki-platform-legacy-oldcore-4.4
.jar:na]
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=ldap.nov.com
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
xwiki.authentication.ldap.bind_DN= cn={0},dc=nov,dc=com
xwiki.authentication.ldap.bind_pass={1}
#-# The Base DN used in LDAP searches
xwiki.authentication.ldap.base_DN=dc=nov,dc=com
#-# LDAP query to search the user in the LDAP database (in case a static admin user is provided in
#-# xwiki.authentication.ldap.bind_DN)
#-# {0} is replaced with the user uid field name and {1} with the user name
#-# The default is ({0}={1})
# xwiki.authentication.ldap.user_search_fmt=({0}={1})
#-# 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=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# Only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# Specifies the LDAP attribute containing the identifier to be used as the XWiki name
#-# The default is cn
# xwiki.authentication.ldap.UID_attr=sAMAccountName
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
# xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the members. Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the XWiki user object (xwiki-attribute=ldap-attribute)
#xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# On every login update the mapped attributes from LDAP to XWiki otherwise this happens only once when the XWiki
#-# account is created.
#-# - 0: only when creating user
#-# - 1: at each authentication
#-# The default is 0
#xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Maps XWiki groups to LDAP groups, separator is "|". The following kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the group object)
#-# * [Since 3.3M1] LDAP organization units (users/subgroups are sub object of the provided organization unit)
#-# * [Since 3.3M1] LDAP filter (users/groups are object found in a search with the provided filter),
#-# | character in the filter need to be escaped with backslash (\).
#-#
#-# Here is an example:
# xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=domain,c=com|\
# XWiki.LDAPUsers=ou=groups,o=domain,c=com|\
# XWiki.Organisation=(cn=testers)
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Time in s after which the list of members in a group is refreshed from LDAP
#-# The default is 21600 (6 hours)
# xwiki.authentication.ldap.groupcache_expiration=21600
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first created
#-# - always: synchronize on every login
#-# The default is always
# xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# If ldap authentication fails for any reason, try XWiki DB authentication with the same credentials
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap.trylocal=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# - 0: normal
#-# - 1: SSL
#-# The default is 0
# xwiki.authentication.ldap.ssl=0
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#-# The default is com.sun.net.ssl.internal.ssl.Provider
# xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
#-# Bypass standard LDAP bind validation by doing a direct password comparison.
#-# If you don't know what you do, don't use that. It's covering very rare and bad use cases.
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
# xwiki.authentication.ldap.validate_password=0
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used "when xwiki.authentication.ldap.validate_password"
#-# is set to 1
# xwiki.authentication.ldap.password_field=userPassword
#-# [Since 4.3M1, XWikiLDAPAuthServiceImpl]
#-# The maximum number of milliseconds the client waits for any operation under these constraints to complete.
#-# The default is 1000
# xwiki.authentication.ldap.timeout=1000
Hello,
could someone please help me with the following error:
16.01.2013 12:36:11 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet [action] in context with path
[/xwiki] threw exception [com.xpn.xwiki.XWikiException: Error number 3 in 0:
Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[xwiki:XWiki.TagClass]
Wrapped Exception: Error number 3301 in 3: Exception while switching to
database xwiki
Wrapped Exception: Database xwiki needs migration(s), it could not be safely
used!] with root cause
com.xpn.xwiki.store.migration.MigrationRequiredException: Database xwiki
needs migration(s), it could not be safely used!
at
com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:442)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:678)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:853)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:785)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:749)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1404)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1447)
at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:824)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:794)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:735)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:394)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:483)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1684)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I've tried everything I found so far, but nothing changed the outcome.
With best regards
Robert
--
View this message in context: http://xwiki.475771.n2.nabble.com/Failed-migration-from-3-0-to-4-3-1-tp7583…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello
I have created a custom CSS file (/xwiki/skins/myskin/css/mystyle.css) and I created a Velocity template to reference this css file (/xwiki/skins/myskin/templates/customcss.vm). Inside the Velocity template, I have the line
<link rel="stylesheet" href="$xwiki.getSkinFile('css/mystyle.css')"/>
and it works fine.
Now I want to able to use the $theme variable inside my CSS file to use attributes like $theme.pageBackgroundColor and $theme.textColor;. However, I can't seem to get the theme variable to be passed into the CSS file. All references to these attributes return a null value inside the CSS file.
In the customcss.vm file, I added the line $theme.menuLinkColor for debugging purposes and it returns a non-null value. So, I know that the value of this variable is available within the Velocity template.
Does anyone know how I can do this?
Thank you.
Naoufel Chbihi
Technical Specialist | Spécialiste technique
Mainframe Operating System Technology | Technologie du système d'exploitation des ordinateurs centraux
Service Management & Delivery (SM&D) | Gestion et prestation des services (GPS)
Information Technology Services Branch (ITSB) | Direction générale des services d'infotechnologie (DGSIT)
Shared Services Canada | Services partagés Canada
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, ON K1A 0P7
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chbihi(a)ssc.gc.ca | naoufel.chbihi(a)spc.gc.ca
Hello,
My name is Klemen and I would like to request for xwiki hosting. Me and 3
other users would like to start using xwiki enterprise, because we are
working on a non-profit student project and this tool would be very useful
for handling organisation and management for the whole project. In few
words, main goal is to connect students from different faculties and
provide a base of students where people can connect for projects or setting
up start-ups. We think it would expand entrepreneurial possibilities in
Slovenia.
Thank you very much and have a nice day,
Klemen
Hi Admin,
I am a college student working on a project for which I need
to put a wiki as a discussion forum. XWIKI seems a good option to me and I
want to try it for few weeks or couple of months before actually deploying
on college server. This wiki will be used as a discussion forum as well as
an intranet networking platform for my college.
Kindly allow me to host it on xwiki domain for few weeks. That
would do a lot of help to me. My details are as follows:
email-ID: dedicado007(a)gmail.com
XWiki username: prashantsachan
servername: prashant (although anything would do the job)
Regards,
Prashant Sachan
Hi list,
how can i restrict in xwiki a "List of users" property to a single
username so that in inline editing mode only one username can be entered?
Regards
Richard
Hi,
I want to display the last blog in another website.
I suspect I can use the rest interface, but have to idea how to query it.
Any help appreciated.
Thanks,
Stefan.
Hi,
currently I'm a bit clueless. When I use for example:
[[image:XWikiLogo.png||width="50" height="50"]] the image is only resized
with the attribute style but not transfered resized. When I inspect the
image via chrome the "natural size" is still the original size.
The html result:
</xwiki/wiki/example.com/download/Sandbox/WebHome/XWikiLogo.png?width=50&height=50>
We are using XWiki 4.4 (XEM)
The document is saved with XWiki Syntax 2.1 (I tried 2.0 also)
in the xwiki.properties I set explicitly
rendering.imageDimensionsIncludedInImageURL = true (but this should be the
default)
Is there a wiki wise way to override the behaviour incidentally?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Images-not-resized-server-side-with-query…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I want one of my pages to make a post to another site and insert the
results into its page. Right now I've got a JavaScriptExtension that
looks like:
function doquery() {
new Ajax.Request('http://mat.exon.name/test.php', {
method:'post',
parameters:{
'arg' : document.getElementById('thearg').value,
},
});
return false;
}
I find that this does an OPTIONS request, but not the intended POST. If
I change the URL to a local page, the POST goes through as intended. Am
I tripping up over some kind of XSS defense, and is there some way to
turn it off?
Hello again!
I would like to make a xwiki-instance accessible off-line. I tried to
export everything as HTML with rather bad results as the navigation
and the scripting isn't exported. So the idea was to somehow export
xwiki to some standalone version. Has anyone ever done something like
this and wouldn't mind sharing his/her inside thoughts?
Thanks for your help,
Stephanie
The XWiki instance where the community can translate the keys for XWiki enterprise is very difficult to use.
Would it be possible to select the keys based on extensions/modules
Example:
1) If I would like to check which keys of the BLOG application are translated in dutch? And which are still not translated?
2) Look at keys for the top-menu bar in XWiki
To look at a alphabetical list of more then 5000 key's is a bit overestimating the stamina of potential translators
Gerritjan Koekkoek
Hi,
I would like to change access rights for a given page. Regarding to:
http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement
it should be possible with "Hover over "Edit" and click on "Access
Rights":". Unfortunately I don't have any drop down menu next to an
"Edit" link. I can just click Edit, but I don't see any rights
management options there. My account has an Admin rights in my wiki.
Has it been changed since a version described in a documentation? I'm
using XWiki 4.4.
Marcin
Hello,
I'm getting an error after upgrading xwiki from 4.3.1 to 4.4.1 using Debian
packages :
Error number 4001 in 4: Error while parsing velocity page
/templates/distribution.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/distribution.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page /templates/distribution.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/distribution.vm]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content with id [/templates/distribution.vm]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
... 41 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'get' in class com.xpn.xwiki.web.XWikiMessageTool
threw exception java.lang.IllegalArgumentException: unknown format type:
choix at /templates/distribution.vm[line 58, column 14]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
... 43 more
Caused by: java.lang.IllegalArgumentException: unknown format type: choix
at java.text.MessageFormat.makeFormat(MessageFormat.java:1459)
at java.text.MessageFormat.applyPattern(MessageFormat.java:475)
at java.text.MessageFormat.<init>(MessageFormat.java:367)
at java.text.MessageFormat.format(MessageFormat.java:828)
at
org.xwiki.localization.messagetool.internal.MessageFormatTranslationMessage.render(MessageFormatTranslationMessage.java:74)
at
org.xwiki.localization.internal.AbstractTranslation.render(AbstractTranslation.java:111)
at com.xpn.xwiki.web.XWikiMessageTool.get(XWikiMessageTool.java:214)
at com.xpn.xwiki.web.XWikiMessageTool.get(XWikiMessageTool.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 66 more
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'get' in class com.xpn.xwiki.web.XWikiMessageTool threw exception
java.lang.IllegalArgumentException: unknown format type: choix at
/templates/distribution.vm[line 58, column 14]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.IllegalArgumentException: unknown format type: choix
at java.text.MessageFormat.makeFormat(MessageFormat.java:1459)
at java.text.MessageFormat.applyPattern(MessageFormat.java:475)
at java.text.MessageFormat.<init>(MessageFormat.java:367)
at java.text.MessageFormat.format(MessageFormat.java:828)
at
org.xwiki.localization.messagetool.internal.MessageFormatTranslationMessage.render(MessageFormatTranslationMessage.java:74)
at
org.xwiki.localization.internal.AbstractTranslation.render(AbstractTranslation.java:111)
at com.xpn.xwiki.web.XWikiMessageTool.get(XWikiMessageTool.java:214)
at com.xpn.xwiki.web.XWikiMessageTool.get(XWikiMessageTool.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 66 more
I checked the release notes, they suggest to delete the Lucene folder in
data, which I did and restarted my server, but same error... In the FAQ this
error is only said to happen with new installation, and to check
configuration. But this not my case and configuration is fine...
Thanks in advance for your help
Have a nice evening
--
View this message in context: http://xwiki.475771.n2.nabble.com/Error-after-migration-from-4-3-1-to-4-4-1…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users,
I could not find in the XWiki documentation a hint of the supported
languages for the code macro.
I wrote a small script in a XWiki page that read out of pygment (the
technology behind the code macro) all supported languages with language
name, files extension and mimetype.
See:
http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages
Richard
Hi all,
I've got a problem after having migrating to 4.4.
I use a few livetables in different workspaces displaying their users ; it
worked well until now.
But the avatar are now oversized when displayed in livetables, ie. it looks
that it's the photo in its actual size which is displayed...
I precise that I tried to upload new avatars; I also verified that this
happened in all my workspaces.
I was previously in 4.2.
Anybody can help?
Thanks by advance,
Nicolas
Hi,
I'm trying to set up XWiki in a network with a PostgreSQL database that
uses kerberos for authentication.
I know it is possible to control the authentication mechanism used by
the JDBC driver using login.conf. For example, the following simple
program accesses a postgresql database:
import java.sql.*;
import java.util.*;
import org.postgresql.Driver;
class Test {
public static void main(String... args) throws Exception {
Properties props = new Properties();
props.setProperty("loglevel", "2");
props.setProperty("user", "xwiki");
props.setProperty("ssl", "true");
Connection conn =
DriverManager.getConnection("jdbc:postgresql://db.example.com:5432/xwiki",
props);
}
}
It can be made to use a kerberos keytab by passing
-Djava.security.auth.login.config=login.conf, with the following
login.conf file:
pgjdbc {
com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true
keyTab=xwiki.keytab principal=xwiki storeKey=true doNotPrompt=true;
};
(pgjdbc is apparently the default application name for the postgresql
driver)
I want to do something similar with the xwiki installation (running
inside tomcat 7).
1) Is there some reason this cannot be done?
2) What is the application name I need to give in login.conf for this to
work properly?
Thanks,
Eric
Hi,
I've realised that for my project it would be ideal if users had the
ability to change their login names. You know the kind of thing, you
register on the site as crazygirlLOL and then your boss shows up and you
want to be renamed as maryc.
I've had a look around and can't see that XWiki supports this. I bet
it'd be a pain to implement, changing all the history and group
memberships and permissions and whatnot. But if there's nothing out of
the box it looks like I'll have to write this feature myself.
Any suggestions?
P.S., I saw a reference in one of the macros to allowing user pages to
exist in spaces other than XWiki in the future. That would be useful
too, and probably touches much of the same code.
Hello
I'm running Xwiki Enterprise 4.4 on Apache Tomca 6 and I'm trying to create a custom skin for a space that I defined in the default wiki but nothing is changing. I tried following the steps provided in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HChangingtheSkina… (and specifying "toucan" as the skin) but nothing happened. I also tried the procedure described in http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins under "How to override a Skin" sections A, B, C, D and F.1 but I didn't see any changes.
Could someone please tell me how I can create a custom skin? I don't mind doing it either through web interface or by editing files directly on the server.
Thank you.
Naoufel Chbihi
Technical Specialist | Spécialiste technique
Mainframe Operating System Technology | Technologie du système d'exploitation des ordinateurs centraux
Service Management & Delivery (SM&D) | Gestion et prestation des services (GPS)
Information Technology Services Branch (ITSB) | Direction générale des services d'infotechnologie (DGSIT)
Shared Services Canada | Services partagés Canada
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, ON K1A 0P7
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chbihi(a)ssc.gc.ca | naoufel.chbihi(a)spc.gc.ca
Hello all!
I would like to kindly ask for a wiki space for our interest group.
We want to develop free hardware and software for home automation.
Unfortunately several key developers only speak little English,
so the wiki would be mostly in German. I hope this is no problem.
My xwiki user name is StefanT
Prefered server name: selfbus
Thanks in advance,
Stefan
I tested the macro of Google Map. It work fine ;); For the moment, I'm able
only to add one position tag on the map.
Here is an exemple taken from then tuto in Macro Page : {{map location="10,
rue Pernety, France"}}{{/map}}
Is it possible de add several postion tags on google map using this Macro?
I tried the following code, but it display 2 maps, which isn't useful.
{{map location="10, rue Pernety, France"}}{{/map}}
{{map location="20, rue Pernety, France"}}{{/map}}
Thanks again for your help.
have nice evening.
Youcef
Hi devs and users,
It looks like the Korean translation is broken in several places. While
most translations are OK, some are just random ISO-8859-1 characters,
probably a bad encoding setting when the file was initially imported
into l10n.xwiki.org. Could someone look at the translations and at least
remove the broken ones?
Anybody can remove broken translations from
http://l10n.xwiki.org/xwiki/bin/XE/XWikiCoreResources?action=viewall&langua…
If they look like 스페이스 블로그 (스페이스 내 포스트 모음) they're good.
If they look like 등록 정보 이름은 이 네이밍 they're bad.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hello,
I installed the last vesion of XWiki.
I choose Panel configuration which allow to have three colomns (few panels
on right and left, and in the middle the "main page")
Is it possible de allow only the main page PUBLIC (access for guests), and
disable VIEW of panels on right and left? I want that guest VIEW only the
main page, but not the other panels?
I tried all kind of configuations ! I could put main page accessible for
GUEST users, but both panels in right and left are visible for GUESTS.
Thanks so much.
Sincerely yours.
Hi all,
i have here latest X wiki Version with libreoffice-headless (Centos 6.2).
Xwiki can start OpenOffice Server local successful.
However, i cannot import a document.
I get always this error messages.
Thanks for any help
Stefan
#.#.#.#.
WARNUNG: Parameters: Invalid chunk '' ignored.
013-01-18 10:50:54,950
[http://wiki.felten-group.com:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
ERROR .s.OfficeImporterScriptService - Error while converting document
[ETC_CF_Card_Problem.docx] into html.
org.xwiki.officeimporter.OfficeImporterException: Error while converting
document [ETC_CF_Card_Problem.docx] into html.
Caused by: org.xwiki.officeimporter.openoffice.OpenOfficeConverterException:
Error while performing conversion.
aused by: org.artofsolving.jodconverter.office.OfficeException: could not
load document: ETC_CF_Card_Problem.docx
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
unsupported one.
--
View this message in context: http://xwiki.475771.n2.nabble.com/OfficeImporterScriptService-Error-while-c…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I'm trying to write a page to return some LiveTable results. I'm
finding that $query.count() is returning -1 instead of the actual number
of results. Can anyone tell me why?
{{velocity}}
#set($query = $services.query.xwql("from
doc.object(Invitation.InvitationMailClass) as inv"))
#set($invitations = $query.execute())
#foreach($invite in $invitations)
* $invite
#end
Number of results is: $query.count()
{{/velocity}}
...gives results:
Invitation.InvitationMessages
Invitation.InvitationMessages
Number of results is: -1
I was expecting the number of results to be "2". I'm trying to make
sense of the documentation here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
...but it doesn't seem to have much description of the API, and I can't
see anything on maven.xwiki.org either.
Thanks,
Matthew Exon
Hi,
I'm trying to upgrade from XWiki 3.1 to 4.4, but I'm having problems
with the data migration process.
It all goes well up until R40000XWIKI6990, which fails due to a
duplicate key (see below, full Tomcat log also attached). It also fails
with safemode enabled.
ERROR o.h.u.JDBCExceptionReporter - ERROR: duplicate key value
violates unique constraint "xwikidoc_pkey"
I've tried running SQL commands from XWIKI-8129 [1] jira issue too, but
it doesn't apply any modification in my case. So it doesn't make any
difference.
Older version of XWiki in-between also fail.
The system set up is:
Fedora 14 (x86_64)
Java 1.6.0_20 -- OpenJDK Runtime Environment (IcedTea6 1.9.10)
Tomcat 6
PostgreSQL 8.4.9
XWiki 3.1 (upgraded from 2.2.1 and with no configuration options changes)
Any idea of how to solve this problem?
Thanks,
Àlex
[1] http://jira.xwiki.org/browse/XWIKI-8129
Hi!
At the http://l10n.xwiki.org/xwiki/bin/view/L10N/Search I was trying to search some phrases not translated in some macroses, which one can find in WYSIWYG editor.
The problem is, there are no translations for some macroses, e.g.: Success Message, Display, Comment, Cashes and some others.
I used to search via original text field, e.g. "Display other pages into the current page.". No results found. Is it possible to translate all these macroses somehow?
Kind regards,
Dmitry
Hi Marius,
Thanks for your response, the get action works very well for rendering the
target link as a part of my current page if the target link is originally
for view action, now I need to edit this content, which is only a part of
the page, I only need to edit this part, I tried to use get action to get
the dom portion of the edit action content and render it for this area in
the page, but it does not work, with get, I can only get the dom for view
html content, not edit html content, for example, for this url:
http://mydomain/xwiki/bin/edit/blog/Bering+Land+Bridge
if I use http://mydomain/xwiki/bin/get/blog/Bering+Land+Bridge, I will get
the content for view action of this:
http://mydomain/xwiki/bin/view/blog/Bering+Land+Bridge, not the content for
the edit action, I like to display the edit inline form for this area so
users can edit this part and keep the other parts of the page unchanged.
Any suggestions?
Thanks very much for your thoughtful help.
David
On Sat, Dec 15, 2012 at 5:29 AM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> On Sat, Dec 15, 2012 at 5:53 AM, Geo Du <dddu88(a)gmail.com> wrote:
> > Hi Marius,
> >
> > This works, but my problem is that I have a xwiki page, I have a link on
> > this page, when I click on this link, a javascript function is called,
> with
> > the call, I want to include a new xwiki page at the bottom of the current
> > page without reloading the current old content (like appending a new
> page to
> > the current page without change of the old content), the new appended
> > content could be in edit or view mode.
> > My question is the approach you have here is to use display macro, how to
> > trigger this macro inside javascript code? also how to avoid reloading
> the
> > old content when appending new content? since in the old page I have some
> > search results listed, I do not want to lose it and make users have to
> > search again.
>
> You cannot (directly) use the display macro in JavaScript code because
> they belong to two different worlds. The display macro is executed on
> the server side long before the JavaScript is executed on the client
> side, in the browser. What you have to do is to catch the click event
> on the link, make an AJAX (
> http://prototypejs.org/doc/latest/ajax/Ajax/index.html ) call to
> retrieve the target of that link (another wiki page I assume) and
> append it to the DOM document. In order to retrieve only the rendered
> content of the target page, without the page header, footer, panels,
> etc, you can use the 'get' action, e.g. /xwiki/bin/get/Sandbox/WebHome
> .
>
> Hope this helps,
> Marius
>
> >
> >
> > Thanks for your help.
> > David
> >
> > On Mon, Nov 5, 2012 at 3:33 AM, Marius Dumitru Florea
> > <mariusdumitru.florea(a)xwiki.com> wrote:
> >>
> >> The display macro works for me as you would expect. For instance, if I
> >> create a page with this content:
> >>
> >> ----------8<----------
> >> {{velocity}}
> >> Current action: $xcontext.action
> >> {{/velocity}}
> >>
> >> {{display reference="Blog.BlogIntroduction"/}}
> >> ---------->8----------
> >>
> >> in view mode I can see the blog post preceded by "Current action:
> >> view" and in "Inline Form" edit mode I can edit the blog post, which
> >> is preceded by "Current action: edit".
> >>
> >> Hope this helps,
> >> Marius
> >>
> >> On Fri, Nov 2, 2012 at 10:18 PM, Geo Du <dddu88(a)gmail.com> wrote:
> >> > Hi Marius,
> >> >
> >> > Thanks for your response, it works when I use display macro to include
> >> > the
> >> > testpage into the other page, but I need also to include (display) the
> >> > page
> >> > with inline mode inside the other page, since user can click the edit
> >> > pencil
> >> > button on the right corner of the testpage to edit it, right now the
> >> > edit
> >> > button will lead to the testpage in inline mode but the testpage is
> not
> >> > inside the other page which originally include(display) the testpage.
> >> >
> >> > So how to include or display a page with inline mode into another
> page?
> >> >
> >> > Thanks for your help.
> >> >
> >> > David
> >> >
> >> > On Fri, Nov 2, 2012 at 3:06 AM, Marius Dumitru Florea
> >> > <mariusdumitru.florea(a)xwiki.com> wrote:
> >> >>
> >> >> On Thu, Nov 1, 2012 at 10:51 PM, Geo Du <dddu88(a)gmail.com> wrote:
> >> >> >
> >> >> > Hi All,
> >> >> >
> >> >> > I want to include one page into another page in terms of content
> >> >> > instead
> >> >> > of
> >> >> > velocity code, for example, the Blog.WebHome is a page without
> >> >> > velocity
> >> >> > code if you choose Edit->Wiki, but it has Blog.BlogClass if you
> >> >> > select
> >> >> > Edit->Objects, from Blog.WebHome page, I can create a new post with
> >> >> > tile
> >> >> > testpage, now the Blog.testpage is the new page created that I need
> >> >> > to
> >> >> > include into another page, this testpage has no velocity code from
> >> >> > Edit_>Wiki. so how to include that page into a different page?
> >> >> >
> >> >>
> >> >> > I tried: include Macro, includeInContext Macro, includeTopic Macro,
> >> >> > none
> >> >> > of
> >> >> > them displays the testpage for me, any idea?
> >> >>
> >> >> "display" is the key. You want to display not to include. See
> >> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro .
> >> >>
> >> >> Hope this helps,
> >> >> Marius
> >> >>
> >> >> >
> >> >> > Thanks very much for your help.
> >> >> >
> >> >> > David
> >> >> > _______________________________________________
> >> >> > devs mailing list
> >> >> > devs(a)xwiki.org
> >> >> > http://lists.xwiki.org/mailman/listinfo/devs
> >> >> _______________________________________________
> >> >> devs mailing list
> >> >> devs(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/devs
> >> >
> >> >
> >
> >
>
Currently i wonder if it's possible to convert a XEM Wiki Farm to a simple XE
instance and select one of the subwikis as the new base for the instance?
My naive try wasn't successful: Set db.virtual = 1, change db name in
hibernate.cfg.xml to one of the subwikis.
Currenty I'm thinking about the long migration way. Export all needed Spaces
and Documents from the target subwiki and disable the virtual mode. Then
drop all tables in the main database and start with a new fresh instance to
import the packaged pages.
First way will be fast, last a bit painful and error-prone.
Greetings
Jan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Converting-XEM-to-XE-with-specific-subwik…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear all,
For internal reasons, we want to completely disable watchlist notifications
on our *sandbox* instance. (We only want them on our *live* instance.) We
want to do this centrally, as it is not feasible to ask each user to
individually turn off their watchlist notifications on the sandbox.
As described in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigur…,
we cleared all fields in the Administration:Email section and saved the
changes. However, e-mails are still being sent out -- the only change I see
is that the From: address changed to the default address,
mailer(a)xwiki.localdomain.com.
Can anyone tell us how to centrally disable notification e-mails?
Thanks, Lisa
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-do-you-DISABLE-all-watchlist-notifica…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, WYSIWYG editor experts!
Tomcat 7 + Nginx + brand new XEM 4.3.1 as ROOT application.
XWike works fine with short URLs according to manual http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs .
Even WYSIWYG editor works fine until you want to insert macro, image or link. In the Iframe there is an error instead of dialog options.
For example, clicking on Macro->Insert Macro gives following:
404 <html> <head><title> 404 Not Found </title></head> <body bgcolor="white"> <center><h1> 404 Not Found </h1></center> <hr><center>nginx/1.1.19</center> </body> </html>
Looks like some scripts can not locate something in /skins and /resources, but now I can't even guess where to look at and what to search.
Is it a bug and I should jira it OR this is expected behaviour and I miss something in short URLs settings?
How should it be fixed?
Config files settings:
1. xwiki.cfg:
xwiki.virtual.usepath=0
xwiki.showviewaction=0
xwiki.defaultservletpath=
2. web.xml. Following was added:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
3. nginx:
location /skins/ {
root /var/lib/tomcat7/webapps/ROOT;
}
location /resources/ {
root /var/lib/tomcat7/webapps/ROOT;
}
Kind regards,
Dmitry
P.S. If one wants to see it live, I'll give an access, please write me in private.
Hello all, we've recently launched a new wiki and have been forced to switch
to Database Search because of an odd problem with Lucene. We have multiple
spaces, and when using Lucene, selecting a space from the drop-down list
does NOT return the expected (filtered) results. We still get results from
multiple spaces. Lucene seems to be prioritizing 'weight' over our selection
of a specific space.
We do not have this same problem with Database Search, which filters
correctly every time. Of course, we'd prefer to use Lucene because of the
strong query syntax and weighting.
I have searched forums for days and cannot seem to find someone who has had
the same issue. I feel like it's something simple ... will someone PLEASE
help?
Thank you much!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Lucene-Search-does-not-correctly-filter-b…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Afternoon All,
Just a quick question, Does the ratings plugin work in Internet Explorer. As
its working when I test it in chrome and firefox but not IE8 & 9
Thanks
Carl
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Plugin-tp7583349.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I just moved a xwiki i hosted from home to myxwiki.org and am finding a lot of things are different. Is it possible to get the open office server to work on the virtual wikis?
Thanks,
Regan
Hi,
I updated the virtual wiki http://scservicesub.myxwiki.org with the xwiki-enterprise-ui-all-4.4-rc-1 and now the Activity stream on the dashboard doesn't show anything. I am wondering if I need someone with programming rights to do the import?
I am used to running our wiki and now moving it to the virtual system and so many things seem to be hard to do....
Thanks,
Regan
Hi there,
I'm trying to install a new version of xwiki enterprise manager (4.4).
E set up an emtpy user in my oracle 10g xe with dba role. There the database
user should have no problems to create tables or anyting else.
When I start xwiki I get a long chain of exceptions in the browser and in
the logs.
It seams to me, that xwiki tries to update the Version number in the db
before creating the requiered table for it. (loadXWikiDoc->
initializeEmptyDB-> setDBVersionToDatabase-> "Table or View does not exist")
I tried with the "xwiki.store.migration" flag in xwiki.cfg on/off with the
same result.
I carefully read the installion documentation but I did not find any hint
how to initialize a new database schema.
Could you please help me out? I would appriciate any help.
Thank you,
Matthias
Here's the root exception.
java.sql.SQLSyntaxErrorException: ORA-00942: Table or View does not exist
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:20
5)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.
java:1008)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:1307)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedSta
tement.java:3449)
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
ment.java:3530)
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePrepar
edStatementWrapper.java:1350)
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delegating
PreparedStatement.java:105)
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delegating
PreparedStatement.java:105)
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delegating
PreparedStatement.java:105)
org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101)
org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.
java:423)
org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.ja
va:283)
org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1288)
org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117)
com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager$3.doIn
Hibernate(HibernateDataMigrationManager.java:161)
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.
java:1229)
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseS
tore.java:1315)
com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.setDBV
ersionToDatabase(HibernateDataMigrationManager.java:156)
com.xpn.xwiki.store.migration.AbstractDataMigrationManager.setDBVersion(Abst
ractDataMigrationManager.java:365)
com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initia
lizeEmptyDB(HibernateDataMigrationManager.java:141)
com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(Abstrac
tDataMigrationManager.java:341)
com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(Abs
tractDataMigrationManager.java:401)
com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseSt
ore.java:665)
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateB
aseStore.java:840)
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateB
aseStore.java:772)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.jav
a:750)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1404)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1447)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:824)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:794)
com.xpn.xwiki.XWiki.<init>(XWiki.java:735)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:394)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:483)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.j
ava:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:111)
I'm trying to upgrade to 4.4 from 2.3. I added xwiki.store.migration=1 and #
xwiki.store.migration.databases=all to the xwiki.cfg in the 4.4 installation
and started it and no upgrade or migration happens. Obviously I'm doing
something wrong. What's the best way to get upgraded? Currently I have 2.3
and 4.4 installed. Thanks for any help.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Upgrading-from-XWiki-Enterprise-2-3-to-4-…
Sent from the XWiki- Users mailing list archive at Nabble.com.