*UserName:* DarkAgent
*Reason for request:* I am part of a small not-for-profit modification team
for the Skyrim Creation Kit engine. After some debate, we have come to the
conclusion your wiki software would be best suited to our needs.
Part of the process of working on a project such as this involves
complicated procedures and methods of model import, export, unit
conversions, and various related details to the production. would like to
consolidate this information into a wiki page. You can see our moddb entry
here: http://www.moddb.com/mods/the-westeros-project and our forum page
here: http://forums.thewesterosproject.com/index.php
*Server Name:* WesterosProject
Thank you for your time.
yours,
*- DarkAgent*
*
*
(Westeros Project Admin Team)
========================
Thanks for your reply. I have reinstalled the ratings extension multiple
times, but with no effect.
Maybe the problem is the container restarting. If I restart the xwiki
container I´m getting a Apache/Tomcat error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
So I need to restart the whole Tomcat to get my XWiki working again. Could
this be the problem?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Application-not-working-tp7379389…
Sent from the XWiki- Users mailing list archive at Nabble.com.
hi guys,
theres a way to use the XWiki authentication/session on a external website?
example: i have a website with all the documentation of my project and i
want that only users registered on XWiki can acess it, theres a way to
integrate it?
Thanks in advance and sorry for my poor english
--
View this message in context: http://xwiki.475771.n2.nabble.com/Integrating-the-XWiki-authentication-on-a…
Sent from the XWiki- Users mailing list archive at Nabble.com.
If I search my XWiki, but there's no match...I would expect XWiki to return a
message to me like:
"Your search for 'SEARCH_STRING' did not return any matches" (or something
like that)
Right now, there's no message at all...and my users are thinking that
nothing has happened.
Is there a setting which controls this?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Searching-nothing-found-tp7581659.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of
XWiki Enterprise 4.2.
This is the third release of the 4.x cycle. This release brings
extension manager improvements including an experimental install/upgrade
wizard, new field types (emails, lists of pages, and computed fields),
new macros (JIRA and content macros), macros improvements (chart and
documents macros), as well as many other new features and improvements.
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/ReleaseNotesXWiki42
Thanks
-The XWiki dev team
Hi Everyone
I am looking for a best way possible to embed complex Elements on the
header of LiveTable component for filtering data, Example using Date
Picker to filter data or a selected with a given Options, anyone have
materials for that purpose.
Thanks
Hi guys,
FYI I've just sent the following email for proposing a "wiki" devroom for FOSDEM 2013
(see https://fosdem.org/2013/call_for_devrooms.html):
------ start here -------
Hi guys,
Several members of the XWiki community (on behalf of other wiki communities too) would like to kindly ask for a devroom at FOSDEM. Here are the details:
* Devroom name:
What's next for Wikis?
* Description:
Wiki systems have been proven as an effective way for organizing information and for encouraging and improving collaboration. Wikipedia is among one of the most obvious examples, but wikis have provided solutions in different contexts such education, e-democracy and also in the enterprise domain.
By gathering together the experts in open source wiki systems, the goal of this devroom is to start a discussion between the different wiki communities about the next features and ideas they're all working on, with the intent of cross-pollination and synergies between wikis.
The topics can also be broadened to discuss what makes wikis different from other collaboration tools today.
* Project URLs:
In addition to XWiki (we can have 5-10 persons from the XWiki community), we've contacted the MediaWiki and Foswiki communities and they've both agreed to participate to this devroom already.
- http://xwiki.org
- http://foswiki.org/
- http://www.mediawiki.org/
- http://dokuwiki.org/
- http://moinmo.in/
- any other open source wiki community interested in participating, the more the merrier!
* Preferred day:
Saturday
* Why should FOSDEM accept this proposal?
Because FOSDEM is one of the few conferences in the world where people from various wiki open source communities can meet! And because wikis are still a hot topic but they need to reinvent themselves to not lose steam vs all the other types of collaboration tools out there today and a global discussion with the open souce wiki actors on this topic would help a lot.
Thanks a lot
-Vincent Massol
http://about.me/vmassol
XWiki open source committer
------ end here -------
I'll let you know if our devroom is accepted.
Thanks
-Vincent
Hi guys,
The next steps I've repeated over and over again and I'm still having the
same issues: - I installed xwiki-enterprise-web-4.1.4.war in tomcat6.0.35,
then imported xwiki-enterprise-ui-all-4.1.4.xar and configured
hibernate.cfg.xml to point it to a mysql 5.0.95 brand new database - I
logged in with with admin/admin - I created a new page called Test - I
edited Main.WebHome and tried to add a link to page "Test" through WYSIWYG
"Link" button - A new dialog appeared, "My recent changes" tab is empty,
"All pages" tab when clicked shows a message "Loading data..." and a
"loading" icon, which never goes away and never finds anything, I searched
for "Test" in "Search" tab, and it doesn't display anything. The same thing
happens if I create a new space and try to find it in WebHome. I looked in
the catalina.out log, there is no message about this issue, I'm back where
I started, I'm lost, I have no clue of what can be the problem, it doesn't
show any error or debugging information related.
Mi box is a centos5 and I installed xwiki in the ROOT folder of tomcat
webapps, i changed tomcat's default port too
Please help me, I'm lost here
Regards
Hi guys,
For those of you who might be interested, I created a platform branch
that contains a demo of how XWiki's WYSIWYG Editor can be used outside
XWiki. The editor uses the rendering module and the component manager,
but they can be removed also if you want to use only the client side
(JavaScript code). See
https://github.com/xwiki/xwiki-platform/tree/feature-wysiwyg-standalone/xwi…
. If you want to try it, you need to build the WYSIWYG Editor modules
(use -Pdev for a quick build) and deploy the standalone war in a
servlet container of your choice.
Hope this helps,
Marius
Hi,
I've 2 proposals of improvement for the next release of the (excellent)
Fullcalendar application :
- Create a localization file for all strings (months, days,
...)
- In the macro, consider that a param is possible for json
document.
As workaround, I replaced the line :
events: "${json}?xpage=plain&outputSyntax=plain&classname=$!
by
events:
"${json}"+($json.indexOf("?")?"&":"?")+"xpage=plain&outputSyntax=plain&c
lassname=$!
It's not perfect, but works better in my case.
Thank you
Nicolas
Hi,
I've tried to install (with extension manager) FullCalendar Application
in XWiki 4.1.3.
The installation crashed (because of a column value too small in
xwikilargestrings table), so I tried to install again with the .xar.
It's impossible to import Calendar.JQuery. I've the error message :
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
encoding="UTF-8"?>
<code></code>
]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEnt
ityPersister.java:1950)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2594)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(Ab
stractEntityPersister.java:2494)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2821)
...
Any idea to resolve this problem ?
Thank you
Best regards
Nicolas
Hi, Caty,
IMHO, users would appreciate all kind of these hints and customization in step-by-step "manual".
I had an occasion with a very short time to implement "XWiki.org-styled" horizontal menu: I installed it, - it didn't work. :-(
I gave up and installed "non-XWiki.org-styled menu" instead and it worked fine "from scratch".
Editing xml file - fine, but looks not so obvious for less experienced users :-)
Kind Regards,
Dmitry
Fri, 21 Sep 2012 13:30:20 +0300 от "Ecaterina Moraru (Valica)" <valicac(a)gmail.com>:
>
>
>
>
>Well you said you managed to put the Menu in all your wikis. How did you do
>
that?
>
>
What you find in the archive is:
>
- WebPreferences.xml page: this sets the skin "xwiki:XWikiOrgCode.Skin" as
>
the active skin. The wiki mark "xwiki:" means that the skin is located on
>
your main wiki
>
>
- Skin.xml page: it's a standard skin file, with the addition that it has
>
the header.vm field overwritten and adds a reference to
>
"xwiki:XWikiOrgCode.MenuMacro". Having again the "xwiki:" marks means that
>
this uses the file from the main wiki. One quick fix for your problem is
>
instead of "xwiki:XWikiOrgCode.MenuMacro" put
>
"{your_subwiki_name}:XWikiOrgCode.MenuMacro" or even simpler
>
"XWikiOrgCode.MenuMacro". This means that the path is no longer absolute,
>
but relative to your subwiki. Make sure you duplicate on your subwiki the
>
"XWikiOrgCode.MenuMacro" page and add any contextual content you want in
>
it.
>
>
- MenuMacro.xml page that contains the content of the menu.
>
>
The case described up means that for each subwiki you have you create a
>
separate MenuMacro page. The subwikis can share the same skin, or have
>
separate skins for each subwikis.
>
>
The other solution I mentioned is going in MenuMacro.xml and writting
>
conditions (if, else, context.database, etc.) .
>
>
Thanks,
>
Caty
>
>
On Thu, Sep 20, 2012 at 3:58 PM, niko dangl <niko.dangl(a)gmail.com> wrote:
>
>
> oh i thought i could just import the menu tu each wiki and have an
>
> independet menu.
>
>
>
> but one more silly question how can i manage different menu pages for each
>
> wiki?
>
>
>
> thanks and regards,
>
> niko
>
>
>
> 2012/9/20 Ecaterina Moraru (Valica) <valicac(a)gmail.com>:
>
> > Well you edit the menu by editing the page where the menu is defined.
>
> > If you put the menu on all your subwikis is normal that the links are the
>
> > same for each wiki, because they all link to the same page (and in a page
>
> > the content in static).
>
> >
>
> > If you want different content for your sub wikis: you can write
>
> conditions
>
> > to display other links depending on your location, or you could have
>
> > different menu pages for each sub wiki.
>
> >
>
> > Thanks,
>
> > Caty
>
> >
>
> > On Thu, Sep 20, 2012 at 2:40 PM, niko dangl <niko.dangl(a)gmail.com>
>
> wrote:
>
> >
>
> >> I managed to get the Menu in all my Wikis but there is something i dont
>
> >> get.
>
> >>
>
> >> How can i edit the entries? I mean i know how to edit the Menu but its
>
> >> always for the main wiki and i cant change it for each wiki..
>
> >> Maybe its just not possible or i dont know how to do it.
>
> >>
>
> >> could anyone please help?
>
> >> thanks and kind regards
>
> >>
>
> >> 2012/9/13 niko dangl <niko.dangl(a)gmail.com>:
>
> >> > Hi Caty,
>
> >> >
>
> >> > i get the same result when i check
>
> >> http://jira.xwiki.org/browse/XWIKI-7016
>
> >> >
>
> >> > I'm using xwiki 4.2 M2 and got this in the log.
>
> >> >
>
> >> > 2012-09-13 17:08:02,270
>
> >> > [
>
> >>
>
> http://192.168.10.24:8080/just/wiki/template.junese.de/view/Dashboard/WebHo…
>
> >> ]
>
> >> > WARN c.x.x.XWiki - Exception Including Topic
>
> >> > xwiki:XWikiOrgCode.MenuMacro
>
> >> > com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this
>
> >> > document is denied: XWikiOrgCode.MenuMacro
>
> >> >
>
> >> > not sure if its just a problem with access rights or something else
>
> >> > but i checked that for like two hours now and dont get it :(
>
> >> >
>
> >> > 2012/9/13 Ecaterina Moraru (Valica) <valicac(a)gmail.com>:
>
> >> >> Maybe is this bug http://jira.xwiki.org/browse/XWIKI-7016
>
> >> >> What version are you using?
>
> >> >>
>
> >> >> Thanks,
>
> >> >> Caty
>
> >> >>
>
> >> >> On Thu, Sep 13, 2012 at 2:32 PM, niko dangl <niko.dangl(a)gmail.com>
>
> >> wrote:
>
> >> >>
>
> >> >>> hm it seems i didnt really fix it :(
>
> >> >>> now if i login as normal user i get the message "Topic
>
> >> >>> xwiki:XWikiOrgCode.MenuMacro does not exist".
>
> >> >>>
>
> >> >>> after removing the blank it was working but i was logged in as
>
> >> >>> "global" user for installation and after switching to a normal user
>
> >> >>> for the subwiki it doesnt work anymore!
>
> >> >>> i guess its something within the rights but dont know where.
>
> >> >>>
>
> >> >>> also asked google but only found an irc archive.
>
> >> >>>
>
> >> >>> maybe you could help me in this case.
>
> >> >>>
>
> >> >>> thanks and regards,
>
> >> >>> Niko
>
> >> >>>
>
> >> >>> 2012/9/13 Ecaterina Moraru (Valica) <valicac(a)gmail.com>:
>
> >> >>> > I'm glad you fixed it.
>
> >> >>> >
>
> >> >>> > Thanks,
>
> >> >>> > Caty
>
> >> >>> >
>
> >> >>> > On Thu, Sep 13, 2012 at 1:16 PM, niko dangl <niko.dangl(a)gmail.com
>
> >
>
> >> >>> wrote:
>
> >> >>> >
>
> >> >>> >> Ok thats kinda embarrassing and i really feel stupid right now..
>
> >> >>> >> Had a blank right next to the XWikiOrgCode.Skin and now its
>
> >> working..
>
> >> >>> >> but thanks anyway.
>
> >> >>> >>
>
> >> >>> >> regards,
>
> >> >>> >> niko
>
> >> >>> >>
>
> >> >>> >> 2012/9/13 niko dangl <niko.dangl(a)gmail.com>:
>
> >> >>> >> > Hi everyone,
>
> >> >>> >> >
>
> >> >>> >> > i just created my own farm and try to build a template wiki
>
> which
>
> >> i
>
> >> >>> >> > can use for upcoming wikis.
>
> >> >>> >> > now i got some problems with the configuration.
>
> >> >>> >> >
>
> >> >>> >> > after searching for a menu bar like on xwiki.org i found the
>
> >> >>> extension
>
> >> >>> >> > which is what i was looking for.
>
> >> >>> >> >
>
> >> >>> >>
>
> >> >>>
>
> >>
>
> http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wi…
>
> >> >>> >> >
>
> >> >>> >> > if i go to the main wiki i can use this menu and it works..but
>
> on
>
> >> my
>
> >> >>> >> > subwiki it wont work..
>
> >> >>> >> >
>
> >> >>> >> > hopefully someone is more experienced in running a farm and
>
> culd
>
> >> help
>
> >> >>> me
>
> >> >>> >> out.
>
> >> >>> >> > i dont really know where to start now because i checked the
>
> >> rights and
>
> >> >>> >> > i think its fine.
>
> >> >>> >> >
>
> >> >>> >> > thanks so far and regards
>
> >> >>> >> > Niko
>
> >> >>> >> _______________________________________________
>
> >> >>> >> 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
>
> >> >>> _______________________________________________
>
> >> >>> 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
>
> >> _______________________________________________
>
> >> 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
>
> _______________________________________________
>
> 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
>
Kind regards,
Dmitry
Hi
I tried to build Xwiki platform from source but I could not get success,
I followed tutorial on this page
http://dev.xwiki.org/xwiki/bin/view/Community/Building but I could not get
away from the this Error
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project xwiki-platform-configuration-default:
Compilation failure: Compilation failure:
[ERROR] bootstrap class path not set in conjunction with -source 1.6
.....
Thanks
I have XWiki 4.1.3 installed as a debian package, OS - Linux Mint Debian
Edition (fully compatible to original Debian). When I checked system
updates, updates manager give me list of system packages for updates,
including and XWiki debian packages (give me 4.1.4).
I am not a specialist in a linux stategy of updating (simple user) and for
this reason - question:
Is it possible to use standart OS package updates manager to update XWiki?
Maybe need some additional steps or actions?
Before this, I was using Xwiki in a Windows platform and made updates
manually (compare files one by one).
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Understanding-XWiki-upgrading-process-ins…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Can someboy show me what I should to to disable/disallow the creation of new
spaces by regular users? (So only an Admin can create a new space)
Should I only allow "Edit"-rights on wiki-level to the AdminGroup?
Please advice! (I hate it when I disallow acces-rights for the admin...been
there, done that! :-( )
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disallow-creation-of-new-spaces-tp7581547…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is it possible to use the LightBox Macro "inside" the livetable of
AppWithinMinutes?
Right now the livetable is only opening the picture in a new webbrowser
window...only the "page" itself uses the LightBox Macro correctly. (I have
used a LongText field and insert the LightBox Macro when I add a new entry
in the AppWithinMinutes)
I think it would be very cool to show pictures from the livetable with the
LightBox Macro!
--
View this message in context: http://xwiki.475771.n2.nabble.com/AppWithinMinutes-Show-picture-with-LightB…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
When I add the XHTML language as the default, and try to create a new page,
the following window displays:
<http://xwiki.475771.n2.nabble.com/file/n7581493/xwiki_error.jpg>
The contents oif stacktrace are:
Error number 4001 in 4: Error while parsing velocity page
/templates/xwikivars.vm Wrapped Exception: Failed to evaluate content with
id [/templates/xwikivars.vm]
Error number 4001 in 4: Error while parsing velocity page
/templates/xwikivars.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/xwikivars.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page /templates/xwikivars.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/xwikivars.vm]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
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.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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content with id [/templates/xwikivars.vm]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:243)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
... 66 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getDisplayTitle' in class com.xpn.xwiki.api.Document
threw exception java.lang.NullPointerException at
/templates/xwikivars.vm[line 100, column 67]
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)
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.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:330)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
... 68 more
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7491)
at
com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6063)
at
com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:80)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1173)
at com.xpn.xwiki.api.Document.getDisplayTitle(Document.java:313)
at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142)
at
org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539)
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)
... 83 more
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getDisplayTitle' in class com.xpn.xwiki.api.Document threw
exception java.lang.NullPointerException at /templates/xwikivars.vm[line
100, column 67]
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)
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.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:330)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
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.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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7491)
at
com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6063)
at
com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:80)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1173)
at com.xpn.xwiki.api.Document.getDisplayTitle(Document.java:313)
at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142)
at
org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539)
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)
... 83 more
I have searched the forums, can anybody help me to make this Wiki working
with XHTML?
Thanks!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-XHTML-support-in-XWIKI-4-2-M…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello guys
first sorry for my english wich is not as good as i would ;)
I'm a newbee on xwiki (but i know html), in fact i'm an end-user and i
can only acces to the wysiwyg and the source on the xwiki pages (not the
admin) BUT i need to use a CSS on some one.
I try to put my css file as an attached file of my xwiki page, and using
this command-line on the source code:
{{velocity}}
$xwiki.ssfx.use('bin/download/Space_test/testcss/csstable.css', true)
{{/velocity}}
or this one:
{{velocity}}
$xwiki.ssx.use('csstable.css')
{{/velocity}}
but it always looking for the file "csstable" in the directory
skin/albatross or ssx.
Is there any solution that's make the file "csstable.css" loading into
the right directory (even if it's an external link to another server) or
any other workaround (in fact, i've got several tables on my xwiki page,
and i don't want to use, each time, the source code to edit the css of
each td)?! I know that it will be more usefull if the admin of the xwiki
could change this css, but i'm not sure he would like.
Thanks for your help
regards
Jerome
Hello,
Since XWiki support user accounts, enabling visitors to create an account
and sign in to the site, Can you tell me if It's possible with a little bit
of effort track the activity of logged users? This can include recording
activities such as what pages were visited as well as what actions were
performed. May be it is possible implementing a plugin with Velocity or
extracting the data from database. Have any idea how to do it?
Thanks!!
--
*Ezequiel Scott**
*
ezequielscott(a)gmail.com
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.2 Release Candidate 1.
This is the first and hopefully final release candidate of the 4.2 release
cycle. Being a release candidate, this release contains bugfixes and
polishing, most of them focused on the new distribution wizard.
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/ReleaseNotesXWikiEnterpris…
Thanks
-The XWiki dev team
Can someone please confirm that I understand user rights properly?
I have a wiki in which I have loaded all of our custom pages into a space
called "1". We use LDAP, so every user is automatically added to the
XWikiAllGroup. We have a small team that wants to utilize secured pages,
so I created a group called GroupA. I then went through and added team
members to GroupA (without removing them from XWikiAllGroup).
At the wiki level, I have granted both groups "view" access, but blocked
everything else.
At the "1" space level, I have granted both groups "edit" and "delete"
rights
Now, in that space, there are some pages that we only want GroupA to see.
I thought it was simple - I could just go into each page, block
XWikiAllGroup from view/edit/delete, and grant view/edit/delete access to
GroupA. Apparently that is not true - the fact that they are still in
XWikiAllGroup prevents them from viewing those pages, since that group is
blocked? I expected the fact that they are part of GroupA and GroupA is
authorized, they would be authorized.
If that is true, what is the solution to this? What is the simplest way to
secure a page from everyone except the members of GroupA? If I remove
GroupA members from XWikiAllGroup, that seems to cause other issues with
skins and such.
Any suggestions?
Thanks!
- Matt L.
Is it possible to create collapsable sections on a wiki-page? (collapsable
just like the panels you can add to your wiki).
I think it would be realy cool to have this feature. People can just
collapse sections and "browse" quicker to the information they seek on a
large wiki-page.
WDYT?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Collapsable-sections-on-a-wiki-page-tp758…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I wonder if they are some specific recommendations, in addition to
what's described in [1] and [2] ?
My particular use-case, is to know if there is such a rule as to
create one maven module for one xwiki component, or if several
components can be grouped in the same maven module.
Detailed description: for the xwiki-contrib-mailarchive-api, I started
from a monolithic class (@Component), then I started splitting it up
in several classes. While each of these sub-groups could be considered
components (highly related to the mail archive use-case, ie not
particularly re-usable), for now their life-cycle is managed by the
main Component (ie if one of them needs a query manager, it is not
injected by xwiki framework, but provided to it by the main
Component).
Would it be recommended to move to a whole component architecture, and
make all these sub-components Components managed by xwiki framework ?
Are there any limitations (perfs...) to do it that way ?
I'm pretty sure it's obvious to xwiki devs, but I prefer to ask.
Br,
Jeremie
[1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
[2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module
Hi everyone,
i just created my own farm and try to build a template wiki which i
can use for upcoming wikis.
now i got some problems with the configuration.
after searching for a menu bar like on xwiki.org i found the extension
which is what i was looking for.
http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wi…
if i go to the main wiki i can use this menu and it works..but on my
subwiki it wont work..
hopefully someone is more experienced in running a farm and culd help me out.
i dont really know where to start now because i checked the rights and
i think its fine.
thanks so far and regards
Niko
Hi All,
Two WYSIWYG editors were included in XWiki -- tinyMCE and GWT-based.
I understand that
1. tinyMCE was used at the very beginning, and later GWT-based was
used to replace tinyMEC because tinyMCE was buggy, and its performance
was not good (at the time)
2. the version for tinyMCE included in XWiki 4.1.4 is 2.0.6.1 released
on 2006-05-04 ( I checked the code ), and the latest version is 3.5.7
release on 2012-09-20.
My questions are:
1. have any one revisit later release of tinyMCE, since lots have
changed over the 6 years?
2. for the GWT-based WYSIWYG solution, is it developed by XWiki? and
is there a way that i can get WYSIWYG related codes only, and
integrate it into one of our internal project?
Thank you very much!
Ray
Hi, Andreas,
See below,
Tue, 18 Sep 2012 15:36:15 +0200 от Thomas Mortagne <thomas.mortagne(a)xwiki.com>:
>On Tue, Sep 18, 2012 at 2:20 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> Hi Dmitry,
>
>
>
> Thanks for your inputs! See below.
>
>
>
> On Sep 18, 2012, at 2:10 PM, Dmitry Bakbardin <haru_mamburu(a)mail.ru> wrote:
>
>
>
>> Hi, Vincent,
>
>>
>
>> My 10 coins to the suggested topic :-)
>
>>
>
>> 1. New Access Rights management system. There are a lot of weak points already known. Probably, it's time to review this.
>
>
>
> Have you been able to play with it already? Would be great to provide feedback and details. I'm sure Denis would love some feedback.
>
>
Andreas too ;)
>
>
Do you actually know there is a new right management system ? It's not
>
clear in your question if you talk about introducing a new right
>
management system or using more the new one.I mean situations like
http://jira.xwiki.org/browse/XWIKI-2184 and
http://jira.xwiki.org/browse/XWIKI-6987
Probably I missed something in the roadmap and release notes, but I didn't see it fixed. And these reports were not the only "bugs" found as far as I remember mailing lists conversations. All of them required brand new system and Vincent said, that these changes are planned after comprehensive discussion and voting in futher releases. So, I mean BRAND NEW system that acts as expected, e.g. user with edit rights is in the "god mode" as to the page. I expect edit rights means edit page, but not access rights change. Access rights looks more admin function. And so on. IMHO it worth discussion.
>
>
>
>
>> 2. Second level XWiki virtualization http://jira.xwiki.org/browse/XEM-207
>
>>
>
>> 3. Add WYSIWYG's editor logic while adding the link Space -> Page -> Anchor on the page http://jira.xwiki.org/browse/XWIKI-4084
>
>>
>
>> and the same in XEM Environment: Workspace/Virtual Wiki -> Space -> Page -> Anchor
>
>> http://jira.xwiki.org/browse/XWIKI-7483
>
>>
>
>> 4. WebDAV access to deleted attachments http://jira.xwiki.org/browse/XWIKI-6989
>
>
>
> So you're using XWiki WebDAV feature ATM?
>
>
>
>> 5. Rebuild Translation System and add possibility to translate not only page content, but objects' content (and field names) also.
>
>
>
> Just on this point, we're planning to work on this in XE 4.3 in the coming month.
>
>
Except for the object content translation part which has more to do
>
with the model and is not going to change very soon. Note that fields
>
names are already translatable, for this you can use the id <class
>
full name>_<field name> like in "Blog.BlogClass_title" for the title
>
field name of a blog object.
>Looks disaster for me :-)
Let's overview simple usecase:
- I buld FAQ (or something like it) in English with Application within minutes
- I want to make it multilingual. Looks like I'm stuck by default: "not going to change very soon" :-(
- I see the only "human-friendly" option to modify default scripting, produce templates for each language, then build pages like <PageName>_<Language> and load required page depending on requested language. I didn't make it like this yet, but if it is "not going to change very soon", I'd consider this way as an option to make application running in multilanguage environment. I understand, that this is not the best solution, but as far as I understand XWiki - it should work.
>
>
>
>> 6. Evolve filestorage system from "experimental" to all-kind-production-ready and make it more or less comprehensive:
>
>> - for example, add possibility of XWiki clustering and automatic attachments synchronization while FS is on.
>
>> - to configure path to store attachments for each XWiki/virtual wiki/workspace/space separetly.
>
>> - fix current bugs (like http://jira.xwiki.org/browse/XWIKI-6917) and probably add some other fatures :-)
>
>
>
> Yeah I also think we need Caleb to work a bit on this so that we could call it production-ready ;)
>
>
>
>> 7. Smooth upgrade system (to make it look more like linux upgrades): upgrade AND KEEP all XWiki customization with minimal manual config files comparison and reediting of customized pages inside XWiki.
>
>
>
> Yep, we're working on this one (XAR upgrades). You should see some first version with XE 4.2 when it's released next week. Next step is to tackle WAR and config file upgrades indeed.
>
>
Note that for the server side (WAR and configuration) you have the
>
Debian package (see
>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT)
>
that can help a lot since apt/dpkg is taking care of configuration
>
file comparison/merging. But that's only for Debian based system of
>
course.
>
>
For the XAR part as Vincent said we are working on it and you get a
>
first version of an install/upgrade Wyzard for it in the coming 4.2.Thanks a lot. I was going to set up new server soon. Migration to Debian looks fine for me in this case. :-)
Looking forward to 4.2. It would be "admin-rescue" release :-))))
>
>
>
>
>> 8. Add Space -> Subspace -> Page logic to XWiki hierarchy to build "trees" instead of "horizontal" set of spaces.
>
>>
>
>> 9. Extend TOC macro to logic: ...wiki1:Space1.Page1, wiki2:Space2.Page2... to include TOCs of separate pages inside current TOC.
>
>>
>
>> 10. XWiki Native support for mobile users (Skins, ColorThemes for all kind of mobile users bundled with XE/XEM)
>
>
>
> Ludovic has a pull request for improving mobile skin support for XE 4.3 but probably not to the extent you're interesting in at the moment.
>
>
>
> Thanks, keep the ideas coming. No promise that they'll be implemented but the more people who want the same thing the more weight it has. And developers are reading this!
>
> -Vincent
>
>
>
>> Hope it helps :-)
>
>>
>
>> Kind Regards,
>
>>
>
>> Dmitry
>
>>
>
>>
>
>> Tue, 18 Sep 2012 08:58:04 +0200 от Vincent Massol <vincent(a)massol.net>:
>
>>>
>
>>>
>
>>>
>
>>
>
>>
>
>>>
>
>>
>
>>
>
>>
>
>>> Dear XWiki lovers ;),
>
>>>
>
>>>
>
>> We're getting close to the end of the 4.x cycle which is about to be finished with XWiki 4.5 around end of January and we need to start brainstorming about the 5.x cycle (1 year duration from Feb 2013 to Jan 2014).
>
>>>
>
>>>
>
>> * 3.x was about "Building Apps and Distributing them" (priority 1) and "Polishing"
>
>>>
>
>> * 4.x was about "Ease of use" (priority 1) and "Quality"
>
>>>
>
>>>
>
>> So what would you like to see in the coming year?
>
>>>
>
>>>
>
>> You can suggest both general themes and specific items.
>
>>>
>
>>>
>
>> Thanks
>
>>>
>
>> -Vincent
>
>>>
>
>>>
>
>>
>
>>
>
>>
>
>>
>
>> Kind regards,
>
>>
>
>> Dmitry
>
>> WebDAV access to deleted attachments
>
>
>
> _______________________________________________
>
> users mailing list
>
> users(a)xwiki.org
>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
--
>
Thomas Mortagne
>
Thank you for good news and excellent work.
Kind regards,
Dmitry
Hi.
I'm trying to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Appli…
. It works almost fine, but I cannot find out how to create document
structure exactly as I need.
I've created three pages in Sandbox (T1, T2 and T3) with the following
content (xwiki source):
T1:
= T1-1 =
T2:
= T1-2 =
T3:
= T1-3 =
(T1 stands for "Title1" heading).
Each one of them has 'Sandbox.WebHome' as their parent.
When I create Multipage export (html or pdf), then in resulting document
heading levels are being changed. This is HTML output:
<h1 id="HT1-1"><span>T1-1</span></h1><h4 id="child_1543277317"><span>T2</span></h4><h5 id="HT1-2"><span>T1-2</span></h5><h4 id="child_1543277318"><span>T3</span></h4><h5 id="HT1-3"><span>T1-3</span></h5>
Is there any way to keep the original heading levels intact?
TIA,
R.
Hi,
I'm trying tom igrate an xwiki installation at version 2.4 to the latest
debian package (4.1.4).
This is on Tomcat 7 and Mysql 5.5 with Oracle Java 6 update 34.
I get the following error:
2012-09-17 18:03:32,895 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Running migration [R40000XWIKI6990] with version [40000]
2012-09-17 18:03:33,014 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 document IDs to be converted.
2012-09-17 18:03:33,144 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 object IDs to be converted.
2012-09-17 18:03:33,260 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 3 custom mapped classes to be processed.
2012-09-17 18:03:34,517 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 14750 document statistics IDs to be converted.
2012-09-17 18:03:34,535 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 83 referer statistics IDs to be converted.
2012-09-17 18:03:34,852 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 36076 visit statistics IDs to be converted.
2012-09-17 18:03:34,897 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document IDs to convert, skipping.
2012-09-17 18:03:34,897 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No object IDs to convert, skipping.
2012-09-17 18:03:34,898 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Converting 14750 document statistics IDs in 1 tables...
2012-09-17 18:03:38,742 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1062, SQLState: 23000
2012-09-17 18:03:38,742 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] ERROR o.h.u.JDBCExceptionReporter - Duplicate entry '5441591690732251370' for key 'PRIMARY'
2012-09-17 18:03:38,856 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration R40000XWIKI6990 failed
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:111) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:621) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:546) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:493) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:421) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:666) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:813) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:746) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:736) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1438) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1481) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2215) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2247) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1114) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:790) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.<init>(XWiki.java:738) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:399) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:486) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [tomcat-servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [tomcat-servlet-api-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) [tomcat-coyote-7.0.28.jar:7.0.28]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) [tomcat-coyote-7.0.28.jar:7.0.28]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote-7.0.28.jar:7.0.28]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_34]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_34]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_34]
Caused by: com.xpn.xwiki.XWikiException: Error number 3005 in 3: R40000XWIKI6990 migration failed
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute native bulk manipulation query
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1299) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 61 common frames omitted
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute native bulk manipulation query
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1214) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1322) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1286) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 62 common frames omitted
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute native bulk manipulation query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:219) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractBulkIdConversionHibernateCallback.executeSqlIdUpdate(R40000XWIKI6990DataMigration.java:531) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$7.doBulkIdUpdate(R40000XWIKI6990DataMigration.java:1294) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractBulkIdConversionHibernateCallback.doUpdate(R40000XWIKI6990DataMigration.java:356) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractUpdateHibernateCallback.doInHibernate(R40000XWIKI6990DataMigration.java:218) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1208) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 64 common frames omitted
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '5441591690732251370' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_34]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_34]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_34]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ~[na:1.6.0_34]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.Util.getInstance(Util.java:386) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318) ~[mysql-connector-java-5.1.16.jar:na]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
... 71 common frames omitted
How can I proceed with the migration ?
Should I try to migrate from 2.4 to another version first ?
Philippe
Dear XWiki lovers ;),
We're getting close to the end of the 4.x cycle which is about to be finished with XWiki 4.5 around end of January and we need to start brainstorming about the 5.x cycle (1 year duration from Feb 2013 to Jan 2014).
* 3.x was about "Building Apps and Distributing them" (priority 1) and "Polishing"
* 4.x was about "Ease of use" (priority 1) and "Quality"
So what would you like to see in the coming year?
You can suggest both general themes and specific items.
Thanks
-Vincent
Hello,
>What happens on Preview? Do you see the modified content or the
>original one? What happens on Save & Continue? You can check with
>Firebug (or any other similar tool) if the modified content is
>submitted (check the POST parameters) and if the AJAX request is send
>to the right place (check request URL).
>Note that the edit buttons should behave the same in WYSIWYG and Wiki
>edit modes. Check that the wiki edit mode works fine.
Preview and Save&Continue just redirect me to the original content (without
any change). The Edit mode had the same result, changes weren't saved (and
wasn't able to preview them).
Thanks for your response.
Sergio Carrasco
Hi!
>>>>>> I had the same problem until set "Prevent unregistered users from editing pages, regardless of the page or space rights" on.
Try this one. It helped me. :-)
Kind Regards,
Dmitry
Mon, 17 Sep 2012 02:05:16 -0400 от Ashtar Communications <ashtarcommunications(a)gmail.com>:
>
>
>
>
>I've monitored the wiki for the last 3 days, and the problem is
>
recurring about once every 24 hours. Each time I have run a cache
>
flush to no effect. The only solution I have is to re-enter the
>
missing data each time, which doesn't seem like a sustainable option.
>
>
If anyone could shed light on this or suggest a fix, I would appreciate it.
>
>
Since I can't seem to get rid of the problem, would it be better to
>
downgrade, or to backup the wiki and then try a from-scratch install
>
of 4.2m3? I'm not seeing similar behavior on my development server,
>
only the production machine...
>
>
thanks for all the help,
>
>
aaron
>
>
On Fri, Sep 14, 2012 at 12:28 PM, Ashtar Communications
>
<ashtarcommunications(a)gmail.com> wrote:
>
> I ran a flush on the cache immediately after the problem recurred, and
>
> the settings were not restored.
>
>
>
> Any other ideas?
>
>
>
> Thanks,
>
>
>
> aaron
>
>
>
> On Wed, Sep 12, 2012 at 12:46 AM, Ashtar Communications
>
> <ashtarcommunications(a)gmail.com> wrote:
>
>> Vincent,
>
>>
>
>> Thanks for the help. Answers below:
>
>>
>
>>>> Email -- Admin Email and SMTP server. The rest of the settings are maintained.
>
>>>
>
>>> What other setting remains that is not the default value?
>
>>
>
>> On the Email page, the Port, Server Username, and Server Password
>
>> always stay - only the Admin Email and SMTP server are cleared out.
>
>>
>
>>>> Page Elements - All panel settings, reverting to zero displayed
>
>>>> panels. Metadata visibility settings are maintained
>
>>>
>
>>> You modified those and they remain? If so the problem is not a cache issue that resets XWikiPreferences.
>
>>
>
>> I modified the panel settings to display two panels on the left, and
>
>> no panels on the right. When the bug occurs, The "show left/right
>
>> panel?" settings are set to "--" and the "Panels to Display" are
>
>> blank.
>
>>
>
>> The frequency of occurrence has dropped in the last day - at first it
>
>> was happening every 15-20 minutes, and today it went most of the day
>
>> with no apparent problems. The next time it occurs I will try to flush
>
>> the cache and see if that sheds any light...
>
>>
>
>> thanks,
>
>>
>
>> aaron
>
>>
>
>>
>
>>> One thing you can test to ensure this:
>
>>> When the problem happens do a flush cache in a wiki page:
>
>>>
>
>>> {{velocity}}
>
>>> $xwiki.flushCache()
>
>>> {{/velocity}}
>
>>>
>
>>> And then verify if your settings are back.
>
>>>
>
>>> Thanks
>
>>> -Vincent
>
>>>
>
>>>> Registration - Use Email Verification, Active Authentication Check,
>
>>>> Validation Email Content, Confirmation Email Content. Everything else
>
>>>> is maintained.
>
>>>> Several entire Spaces - the wiki has a large number of spaces (~150).
>
>>>> They seem to be getting deleted at random. I will leave the page for
>
>>>> an hour, come back, and the link to the space homepage will have the
>
>>>> "question mark" icon next to it. The space will no longer appear in
>
>>>> the spaces list on the Dashboard.
>
>>>>
>
>>>> Any other ideas? I'm ready to downgrade back to 3.x - this only
>
>>>> started happening with a fresh install of 4.2 and it's obviously a
>
>>>> serious problem...
>
>>>>
>
>>>> thanks,
>
>>>>
>
>>>> aaron
>
>>>>
>
>>>>
>
>>>> On Sun, Sep 9, 2012 at 3:17 AM, Vincent Massol <vincent(a)massol.net> wrote:
>
>>>>>
>
>>>>> On Sep 9, 2012, at 8:11 AM, Dmitry Bakbardin <haru_mamburu(a)mail.ru> wrote:
>
>>>>>
>
>>>>>> +1 vote
>
>>>>>> I had the same problem until set "Prevent unregistered users from editing pages, regardless of the page or space rights" on.
>
>>>>>> But I don't know still if it is a bug or a feature :-)
>
>>>>>
>
>>>>> It's a bug… Fixed in 4.2M3, see http://jira.xwiki.org/jira/browse/XWIKI-8160
>
>>>>>
>
>>>>> -Vincent
>
>>>>>
>
>>>>>> Kind regards,
>
>>>>>>
>
>>>>>> Dmitry
>
>>>>>>
>
>>>>>>
>
>>>>>> Sun, 9 Sep 2012 01:52:12 -0400 от Ashtar Communications <ashtarcommunications(a)gmail.com>:
>
>>>>>>>
>
>>>>>>>
>
>>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>> Hi,
>
>>>>>>>
>
>>>>>>>
>
>>>>>> It seems that my wiki is spontaneously resetting several configuration
>
>>>>>>>
>
>>>>>> settings, most notably the registration, email, and layout settings. I
>
>>>>>>>
>
>>>>>> enter information like the email server, address, and port, which
>
>>>>>>>
>
>>>>>> panels to display in the sidebar, or whether to require email
>
>>>>>>>
>
>>>>>> verification. After a few hours, I return to the site to find that the
>
>>>>>>>
>
>>>>>> panels are turned off, email registration is turned off and the boxes
>
>>>>>>>
>
>>>>>> for formatting verification emails, etc are blank, and half of the
>
>>>>>>>
>
>>>>>> email settings are cleared. There may also be other configuration
>
>>>>>>>
>
>>>>>> options being reset that I haven't found yet.
>
>>>>>>>
>
>>>>>>>
>
>>>>>> I am the only administrative user on the wiki. It's also definitely
>
>>>>>>>
>
>>>>>> not due to vandalism - exactly the same settings disappear every time,
>
>>>>>>>
>
>>>>>> and it has now repeated itself 4 times in the last 24 hours.
>
>>>>>>>
>
>>>>>>>
>
>>>>>> I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly
>
>>>>>>>
>
>>>>>> appreciated...
>
>>>>>>>
>
>>>>>>>
>
>>>>>> thanks,
>
>>>>>>>
>
>>>>>>>
>
>>>>>> Aaron
>
>>>>>>>
>
>>>>>> _______________________________________________
>
>>>>>>>
>
>>>>>> 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
>
>>>>>
>
>>>>> _______________________________________________
>
>>>>> 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
>
>>>
>
>>> _______________________________________________
>
>>> 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
>
Kind regards,
Dmitry
Hello,
I'm using this method
https://network.xwiki.com/xwiki/bin/view/DocXE41En/CustomizeExportLookAn
dFeel#HOverridetheCSSrules to modifiy the pdf-export using the request
parameter '?pdftemplate=PDFClassTemplate' to leave the standard export
untouched.
But now the fo transformation code, which is stored in the textarea
'xhtmlxsl' is too long to be safed in the database.
Has anybody any advice what would be the quickest and easiest way to
work around?
Many thanks in advance. Regards,
Josef Haimerl
Hi,
I'm interested in building a new wiki at myxwiki.org. We'd like to use this
wiki as a way of documenting and sharing (and updating) information about
community life on and around the campus of Xing Wei College (in Shanghai,
China), a new, private liberal-arts college.
my username: smchadwell
servername: xwc
Many thanks,
Sean
+1 vote
I had the same problem until set "Prevent unregistered users from editing pages, regardless of the page or space rights" on.
But I don't know still if it is a bug or a feature :-)
Kind regards,
Dmitry
Sun, 9 Sep 2012 01:52:12 -0400 от Ashtar Communications <ashtarcommunications(a)gmail.com>:
>
>
>
>
>Hi,
>
>
It seems that my wiki is spontaneously resetting several configuration
>
settings, most notably the registration, email, and layout settings. I
>
enter information like the email server, address, and port, which
>
panels to display in the sidebar, or whether to require email
>
verification. After a few hours, I return to the site to find that the
>
panels are turned off, email registration is turned off and the boxes
>
for formatting verification emails, etc are blank, and half of the
>
email settings are cleared. There may also be other configuration
>
options being reset that I haven't found yet.
>
>
I am the only administrative user on the wiki. It's also definitely
>
not due to vandalism - exactly the same settings disappear every time,
>
and it has now repeated itself 4 times in the last 24 hours.
>
>
I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly
>
appreciated...
>
>
thanks,
>
>
Aaron
>
_______________________________________________
>
users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
>
Hi all,
I am trying to get a wiki page to display the tables in my DB2 database
(on an AIX system, not an OS/400). I'm confused about how to configure
Groovy to make the connection, though. I went here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Execute+SQL
So far, I have come up with this syntax:
{{groovy}}
import groovy.sql.Sql
sql = Sql.newInstance( 'jdbc:db2://AAA:BBB/CCC', 'DDD', 'EEE',
'com.ibm.db2.jcc.DB2Driver' )
sql.eachRow( 'list tables' )
{{/groovy}}
AAA = server name
BBB = port
CCC = database name
DDD = user
EEE = password
This syntax doesn't work - it results in "ClassNotFoundException" errors.
First question: do I have the syntax right?
Second question: I assume I have to provide Groovy some DB2 zip/jar file,
but where should that file be placed in my Tomcat/MySQL installation?
Third question: I know I will have to manipulate the query result so that
the output will have wiki elements (like clickable links). Does anyone
have any examples of how they displayed their results, preferably with
tables and links?
Thanks!
Hello everybody,
we have problems when our users want to save special characters like the polish "Ż" (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a xwiki page. We are currently using Xwiki .. Milestone with an mysql database. And as far as I can ascertain, all parameters are set to UTF-8. The mysql tables seem to be also UTF-8 encoded. But we are still getting this error here:
Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.hibernate.HibernateException: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:924)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:688)
... 56 more
Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2541)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2494)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2821)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:917)
... 57 more
Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 73 more
Caused by: java.sql.SQLException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1976)
... 79 more
Wrapped Exception:
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2541)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2494)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2821)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:917)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:688)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 73 more
Caused by: java.sql.SQLException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1976)
... 79 more
Hi,
I had the problem than when editing a page accessing the wiki through an
authentication server, the WYSIWYG editor wouldn't appear.
I tried the solution u gave me, applying this fix:
https://github.com/xwiki/xwiki-platform/commit/5f5e49ded1bb3c61ead93a21cd62…
And with that fix, the editor appeared again, so the error was related with
that.
The new problem was, that when saving changes, any change is saved. The
page remains as if never edited (so i had to remove that fix). There are
not any logs so i can't figure out the problem.
Any other clue?
Thanks
Hi,
our Wiki is running on a WebSphere Application Server 6.0
We're using the remote observer configuration to avoid caching problems
between our server instances.
The problem is, when a server instance is restarted, if the Wiki is not
stopped at that time, sometimes gives us this problem:
[9/6/12 0:50:34:567 CEST] 0000002e ThreadMonitor W WSVR0605W: Thread
"server.startup : 1" (00000025) has been active for 662151 milliseconds and
may be hung. There is/are 1 thread(s) in total in the server that may be
hung.
at sun.misc.Unsafe.park(Native Method)
at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2014)
at org.jgroups.util.Promise.doWait(Promise.java:117)
at org.jgroups.util.Promise._getResultWithTimeout(Promise.java:73)
at org.jgroups.util.Promise.getResultWithTimeout(Promise.java:42)
at org.jgroups.util.Promise.getResult(Promise.java:104)
at
org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(ClientGmsImpl.java:142)
at
org.jgroups.protocols.pbcast.ClientGmsImpl.join(ClientGmsImpl.java:38)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:924)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:836)
at org.jgroups.JChannel.downcall(JChannel.java:1652)
at org.jgroups.JChannel.connect(JChannel.java:417)
at org.jgroups.JChannel.connect(JChannel.java:380)
at
org.xwiki.observation.remote.internal.jgroups.JGroupsNetworkAdapter.startChannel(JGroupsNetworkAdapter.java:111)
at
And the server instance cannot be started.
On controlled restarts, we can avoid this by having the wiki stopped at
the time the server instance restart. But on unexpected restarts, the wiki
blocks our server instance.
Is there any way to avoid this problem??
Thanks a lot in advance
Sergio Carrasco
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.2 Milestone 3. This is the third and final milestone of the
XWiki Enterprise 4.2 version. This release brings new and improved UIs for
file upload, logging configuration, an applications panel and the
experimental install/upgrade wizard. For developers this release introduces
many features: a new file upload widget, minor improvements of the
attachment picker and documents macros, the ability to add skin extensions
located in JAR files, a new field (mime-type) to index attachments by, an
extension of the xar format and an experimental UI extension mechanism.
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/ReleaseNotesXWikiEnterprise
42M3
Thanks
-The XWiki dev team
Also this error I came up with the track. The problem was that I was trying to import the file into a wiki running on MySql where xwiki.objects.LargeStringProperty has a length of about 65k, but the content in my textarea xhtml2xsl is over 170k. While importing the PDFTemplate I caused a lost reference in the DB, which destroyed the document's name for infinity. So I had to delete the lost reference in the db.
Have you any advice how I could configure my DB to not destroy something and get the PDFTemplate running?
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> Auftrag von Haimerl, Josef
> Gesendet: Donnerstag, 13. September 2012 09:24
> An: users(a)xwiki.org
> Betreff: [xwiki-users] PDFClass - PDFTemplate
>
> For a custom PDF export I'm using a PDFTemplate based on the PDFClass as
> described here
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOver
> r
> idetheCSSrules
>
> I overwrote the xhtml2xsl transformation. Everything worked fine in the test
> environment, but when importing the xar with the relevant files into the
> productive system I got following exception:
>
> (I already got this exception, the problem was an invalid byte sequence
> which was easy to solve)
>
> (already tried to create the document manually -> same error)
>
>
>
> 2012-09-12 15:05:35,470 ERROR
> [http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?section=Im
> port] c.x.x.p.p.Package [Package.java:767] Failed to save document
> Code.PDFTemplate
>
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
> saving document xwiki: Code.PDFTemplate
>
> Wrapped Exception: Failed to commit or rollback transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 7
> 4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 6
> 7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
> r
> ocessor.java:431) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 236) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> [struts-1.2.9.jar:1.2.9]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> [javax.servlet.jar:na]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [javax.servlet.jar:na]
>
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
> 39) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:343) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
> er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
> 68) [xwiki-platform-webdav-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
> doFilter(SavedRequestRestorerFilter.java:217)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
> doFilter(SetCharacterEncodingFilter.java:109)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alv
> e.java:279) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> v
> e.java:175) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
> :655) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
> 95) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> [web-glue.jar:3.1.1]
>
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
> n
> LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :162) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
> a
> :330) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 31) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
> p
> per.java:174) [kernel.jar:3.1.1]
>
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter
> .java:225) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoc
> olChain.java:137) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:1
> 04) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:9
> 0) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79
> ) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask
> .java:54) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.jav
> a:59) [grizzly-framework.jar:1.9.36]
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
> l
> .java:532) [grizzly-utils.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.ja
> va:513) [grizzly-utils.jar:1.9.36]
>
> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
>
> Caused by: org.hibernate.HibernateException: Failed to commit or rollback
> transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> ... 58 common frames omitted
>
> Caused by: org.hibernate.StaleObjectStateException: Row was updated or
> deleted by another transaction (or unsaved-value mapping was incorrect):
> [com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
> encoding="UTF-8"?>
>
>
>
> <xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
>
>
>
>
>
> Many thanks in advance! Regards,
>
>
>
> Josef
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Obviously even if the other files of the xar import are going through, there is something wrong with all of them.
First the code of all imported files doesn't work, but when I put an enter somewhere in and save, they do.
Other files can't even be edited, the source is greyed out in xwiki editor. I deleted the file, created it and put the source-code with copy & paste manually in and it works.
What could be the reason for this?
I already checked for invalid bytes, persistent utf8 encoding, etc.
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> Auftrag von Haimerl, Josef
> Gesendet: Donnerstag, 13. September 2012 09:24
> An: users(a)xwiki.org
> Betreff: [xwiki-users] PDFClass - PDFTemplate
>
> For a custom PDF export I'm using a PDFTemplate based on the PDFClass as
> described here
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOver
> r
> idetheCSSrules
>
> I overwrote the xhtml2xsl transformation. Everything worked fine in the test
> environment, but when importing the xar with the relevant files into the
> productive system I got following exception:
>
> (I already got this exception, the problem was an invalid byte sequence
> which was easy to solve)
>
> (already tried to create the document manually -> same error)
>
>
>
> 2012-09-12 15:05:35,470 ERROR
> [http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?section=Im
> port] c.x.x.p.p.Package [Package.java:767] Failed to save document
> Code.PDFTemplate
>
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
> saving document xwiki: Code.PDFTemplate
>
> Wrapped Exception: Failed to commit or rollback transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 7
> 4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 6
> 7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
> r
> ocessor.java:431) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 236) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> [struts-1.2.9.jar:1.2.9]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> [javax.servlet.jar:na]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [javax.servlet.jar:na]
>
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
> 39) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:343) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
> er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
> 68) [xwiki-platform-webdav-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
> doFilter(SavedRequestRestorerFilter.java:217)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
> doFilter(SetCharacterEncodingFilter.java:109)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alv
> e.java:279) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> v
> e.java:175) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
> :655) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
> 95) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> [web-glue.jar:3.1.1]
>
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
> n
> LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :162) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
> a
> :330) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 31) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
> p
> per.java:174) [kernel.jar:3.1.1]
>
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter
> .java:225) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoc
> olChain.java:137) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:1
> 04) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:9
> 0) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79
> ) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask
> .java:54) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.jav
> a:59) [grizzly-framework.jar:1.9.36]
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
> l
> .java:532) [grizzly-utils.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.ja
> va:513) [grizzly-utils.jar:1.9.36]
>
> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
>
> Caused by: org.hibernate.HibernateException: Failed to commit or rollback
> transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> ... 58 common frames omitted
>
> Caused by: org.hibernate.StaleObjectStateException: Row was updated or
> deleted by another transaction (or unsaved-value mapping was incorrect):
> [com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
> encoding="UTF-8"?>
>
>
>
> <xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
>
>
>
>
>
> Many thanks in advance! Regards,
>
>
>
> Josef
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
For a custom PDF export I'm using a PDFTemplate based on the PDFClass as
described here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOverr
idetheCSSrules
I overwrote the xhtml2xsl transformation. Everything worked fine in the
test environment, but when importing the xar with the relevant files
into the productive system I got following exception:
(I already got this exception, the problem was an invalid byte sequence
which was easy to solve)
(already tried to create the document manually -> same error)
2012-09-12 15:05:35,470 ERROR
[http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?section=Im
port] c.x.x.p.p.Package [Package.java:767] Failed to save document
Code.PDFTemplate
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document xwiki: Code.PDFTemplate
Wrapped Exception: Failed to commit or rollback transaction. Root cause
[]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:17
4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:16
7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431) [struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236) [struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
[struts-1.2.9.jar:1.2.9]
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[javax.servlet.jar:na]
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[javax.servlet.jar:na]
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
39) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:343) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68) [xwiki-platform-webdav-server-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
doFilter(SavedRequestRestorerFilter.java:217)
[xwiki-platform-container-servlet-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
doFilter(SetCharacterEncodingFilter.java:109)
[xwiki-platform-container-servlet-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:279) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:655) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
95) [web-core.jar:3.1.1]
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
[web-glue.jar:3.1.1]
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESession
LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:162) [web-core.jar:3.1.1]
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java
:330) [web-core.jar:3.1.1]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
31) [web-core.jar:3.1.1]
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMap
per.java:174) [kernel.jar:3.1.1]
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
[grizzly-http.jar:1.9.36]
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
[grizzly-http.jar:1.9.36]
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
[grizzly-http.jar:1.9.36]
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter
.java:225) [grizzly-http.jar:1.9.36]
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoc
olChain.java:137) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:1
04) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:9
0) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79
) [grizzly-http.jar:1.9.36]
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask
.java:54) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.jav
a:59) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
[grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool
.java:532) [grizzly-utils.jar:1.9.36]
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.ja
va:513) [grizzly-utils.jar:1.9.36]
at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
Caused by: org.hibernate.HibernateException: Failed to commit or
rollback transaction. Root cause []
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
... 58 common frames omitted
Caused by: org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
encoding="UTF-8"?>
<xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
Many thanks in advance! Regards,
Josef
Hello,
i'm using (% id="tableid" class="sortable filterable doOddEven
xwikidatatable")(% class="sortHeader" %) to create a dynamic sortable
table. Tried a lot with css modifications to set a fixed table-layout,
but i did not get that far.
In my despair also tried following code, but then the filter function
disappears.
(% id="tableid" class="sortable filterable doOddEven xwikidatatable" %)
(% class="sortHeader" style="width:100%"%)|= Column1|= Column2|=
Column3|= Column4|= Column5
{{html clean="false" wiki="true"}}<col style="width:114px"><col
style="width:114px"><col style="width:114px"><col
style="width:114px"><col style="width:114px"><col
style="width:28px">{{/html}}
Anybody any hints?
Many thanks in advance! Regards,
Josef Haimerl
I installed xwiki via devian-package. All is working, but I want to configure
xwiki as root webapp. I am not a specialist in this (configuring tomcat) ...
How I can do this especially in situation, when was used debian package
(with not standart path-s). For example, xwiki app didn't placed in
tomcat/webapps ...
I founded file \etc\xwiki\xwiki-tomcat.xml with this content:
<Context path="/xwiki" docBase="/usr/lib/xwiki"
debug="0" privileged="true" allowLinking="true" crossContext="true">
<Resources className="org.apache.naming.resources.FileDirContext"
allowLinking="true" />
</Context>
I tried to change path="/xwiki" with path="/" or path="/ROOT" - but no any
changes in a realty (of course after restarting tomcat) - xwiki opened with
path localhost://8080/xwiki ...
Maybe need another modifications?
--
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/xwiki-as-root-webapp-tp7581242.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi.
I installed tomcat7 and xwiki on a Ubuntu 12.04 following the
instructions from here: [1]. All is working great, but I noticed in
the catalina.out log a small warning:
WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug'
to '0' did not find a matching property.
1. http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
I looked in /etc/tomcat7/Catalina/localhost/xwiki.xml and the
"<Context" definition contains the debug="0" atribute, which,
according to the tomcat7's (and tomcat6's for that matter)
documentation does not exist for this tag [2], [3].
2. http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
3. http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
After I removed debug="0" from the context definition, I didn't got
that warning anymore.
I think you should take this into consideration for the future update
of the packages.
Regards,
--
Fita Adrian
I have one e-learning tutorial for my application created through
articulate storyline. My question is is there any
way i can include the e-learning application with in wiki page? I did not
came across any kind of this utility.
upgrading from 3.5 on tomcat6 with mysql and LDAP auth against AD
OS is Ubuntu 10.0.4
only "customisation" was in hibernate.cfg.xml for database and
xwiki.cfg for LDAP and lucene path
backed up database
downloaded and unzipped new war file
stopped tomcat
moved webapps/xwiki to a backup location
put the new xwiki in webapps/xwiki
edited hibernate.cfg.xml: xwiki.cfg and xwiki.properties to match previous
removed the LDAP config apart from
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
started up tomcat
logged in as local admin
imported new admin.xar
imported all of it, (well I'd upgraded this install quite a few times
and wanted a "clean sheet")
changed admin user password
changed rights to prevent unregistered users
imported the new ldap.xar
go to setup LDAP
get error "LDAP service is not available. Please verify your installation."
logout as local admin
login as superadmin and get same errror
documentation here
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
links to here http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAut…
which doesn't have anything specific
google searches for the error don't have anything remotely useful
all pages are in place and database looks good, but the lack of LDAP
auth is a bit of a pain
any suggestions, or should I go back to 3.5 and upgrade to 4.1.1
without the LDAP .xar ?
Cheers
Arne
Hi,
It seems that my wiki is spontaneously resetting several configuration
settings, most notably the registration, email, and layout settings. I
enter information like the email server, address, and port, which
panels to display in the sidebar, or whether to require email
verification. After a few hours, I return to the site to find that the
panels are turned off, email registration is turned off and the boxes
for formatting verification emails, etc are blank, and half of the
email settings are cleared. There may also be other configuration
options being reset that I haven't found yet.
I am the only administrative user on the wiki. It's also definitely
not due to vandalism - exactly the same settings disappear every time,
and it has now repeated itself 4 times in the last 24 hours.
I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly
appreciated...
thanks,
Aaron
Dear XWiki users,
When I try to migrate the database from the version 3.5.1 to the version
4.0, i get the following error message:
HTTP ERROR 500
Problem accessing /xwiki/bin/view/Main/. Reason:
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
Caused by:
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
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:413)
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-upgrade-from-3-5-1-to-4-0-failing-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
When I try to migrate the database from the version 3.5.1 to the version 4.0,
i get the following error message:
HTTP ERROR 500
Problem accessing /xwiki/bin/view/Main/. Reason:
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
Caused by:
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
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:413)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-from-3-5-1-to-4-0-is-failing-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I am uploading files using File upload plugin in Xwiki on the server
side, On the client I need to use my own HTML/Js code to show a progress
bar.
Is there any way to get upload progress state from the File Upload
Plugin in Xwiki ?
Thanks
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.1.4.
This is probably the last bugfix release for the 4.1 series. It provides 30
bug fixes, mainly in the Extension Manager, including important fixes for
extensions that provide components or script services (see XCOMMONS-231
andXCOMMONS-232). It also improves the large data migration introduced in
4.0, in particular to support MS-SQL, and fixes an important issue that
cause the migration of annotations to be unintentionally skipped.
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/ReleaseNotesXWikiEnterpris…
Thanks
-The XWiki dev team
Hi. I have an Xwiki Enterprise 3.4 installation and I'm studying the
integration with LDAP.
I managed to configure the authentication, I created the users and
mapped the groups with the LDAP server.
But I noticed that the performance dropped dramatically when using
LDAP auth, in comparison with local users, specifically it takes
around 10 seconds to access a page (down from <3sec).
So, I started monitoring the traffic between the xwiki machine and the
LDAP machine with tshark and I noticed that every time I click a link
in xwiki, there is a lot of traffic with LDAP. Is there some way to
improve this behaviour (I really don't understand why xwiki needs to
talk with the LDAP server on every page request...)? I see that this
is not a new issue [1], [2]. I also tried setting
xwiki.authentication.always=0 in xwiki.cfg but I didn't notice any
change (it being set to 0 by default already...). Would upgrading to
the latest stable version improve the situation?
1. http://lists.xwiki.org/pipermail/users/2011-April/019745.html
2. http://jira.xwiki.org/browse/XWIKI-2516
Thanks for your time.
--
Fita Adrian
Hi,
I have a few sites for various open source projects:
http://www.lumicall.orghttp://www.opentelecoms.orghttp://www.dynalogin.org
They currently run on drupal7. I've never been a big fan of PHP though,
and as a Java developer, I'm tempted to migrate them to XWiki or Magnolia.
Can anyone make any comment on this choice?
Also, can anyone comment on how an open source/community site can get
skins for WWiki, similar to the many free skins/themes available for drupal?
I've previously run XWiki in a company (back in 2007) and I imagine it
has changed a lot since then....
Regards,
Daniel
I installed XWiki from deb-package. No any changes, only I switched to the
filesystem attachment store, and also, I changed upload_maxsize for 1GB
limit.
All is fine, speed of uploading attachments is great! But when I try to
upload attachment with size more than 200mb (aprox.) - I get an error:
Caused by:
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:
Processing of multipart/form-data request failed. No space left on device
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:250)
... 41 common frames omitted
This problem exists only with one attachment file size is more than 200MB,
but I can attach many and many files with 180MB each of them...
Also no any problem with disk storage - all mount points have free space
(new machine).
Can somebody help with this problem?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Uploading-big-attachments-issue-tp7581155…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm runnig Wiki 4.1.3 (Ubuntu 12.04) with a wiki content migrated from
Xwiki 3.1. I use postgreSQL 9.1
I'd like to create a xar backup of this migrated content so :
- I connect using the Admin user
- Go to wiki administration
- Content -> Export (
http://localhost:8080/xwiki/bin/export/XWiki/XWikiPreferences?editor=global…
)
and xwiki shows a blank page with top menu, logo and footer. The Export
form is not shown and no administration menu on right. Tomcat output shows
no error except :
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.Util.getArrayList] in unknown namespace@794,35
Any idea ?
The import page is displayed correctly, but that's not what I want to do.
Regards.
Hi,
I'm wondering if it's possible to use the "Import External Content"
tool (triggered by the "paste" button in the WYSIWYG editor) without
loading the entire WYSIWYG editor.
Here's what I'd like to accomplish:
User is filling out an HTML form which includes a standard HTML textarea.
User presses a button, the "Import External Content" popup appears.
User pastes data from the clipboard (very likely from Microsoft Word),
and clicks Import
The wiki-syntax output from the importer is put into the textarea
Any ideas?
Thanks much,
Aaron
Hi,
I am a user of myxwiki (http://crindau.myxwiki.org [1]) and
tried to edit a page (adding a link to a page I was about to create). On
clicking on "SAVE & VIEW" I got the following:
Detailed information:
Error number 3201 in 3: Exception while saving document
crindau:Diary.August 2012
Wrapped Exception: Error number 13012 in 3:
Exception while saving links
Wrapped Exception: Error number 13013 in 3:
Exception while deleting links
Wrapped Exception:
null
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception
while saving document crindau:Diary.August 2012
Wrapped Exception: Error
number 13012 in 3: Exception while saving links
Wrapped Exception: Error
number 13013 in 3: Exception while deleting links
Wrapped Exception:
null
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1392)
at
com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at
com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by:
com.xpn.xwiki.XWikiException: Error number 13012 in 3: Exception while
saving links
Wrapped Exception: Error number 13013 in 3: Exception while
deleting links
Wrapped Exception: null
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1869)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:684)
... 59 more
Caused by: com.xpn.xwiki.XWikiException: Error number 13013
in 3: Exception while deleting links
Wrapped Exception: null
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteLinks(XWikiHibernateStore.java:1944)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1854)
... 60 more
Caused by: java.lang.NullPointerException
Wrapped
Exception:
com.xpn.xwiki.XWikiException: Error number 13013 in 3:
Exception while deleting links
Wrapped Exception: null
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteLinks(XWikiHibernateStore.java:1944)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1854)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:684)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1392)
at
com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at
com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by:
java.lang.NullPointerException
Wrapped
Exception:
java.lang.NullPointerException
Can anyone
advice?
Thanks,
Jonathan
Links:
------
[1]
http://crindau.myxwiki.org/
>Date: Mon, 20 Aug 2012 11:43:10 +0300
>From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
>To: XWiki Users <users(a)xwiki.org>
>Subject: Re: [xwiki-users] WYSIWYG editor + Authentication server
>Message-ID:
> <CALZcbBa7=RTJq6hiUm0K0hBzKOF96Kc3zVNRHGgAgQogGWqzKw(a)mail.gmail.com
>
>Content-Type: text/plain; charset=ISO-8859-1
>What version of XWiki Enterprise are you using? My first guess is that
>http://jira.xwiki.org/browse/XWIKI-7565 is causing your problem.
>Hope this helps,
>Marius
We're using version 3.0. Should we update to version 4.0 to solve this
issue?
Thanks in advance
Hi I
run a not for profit civil rights issue website directed towards
repealing bike helmet laws in australia
http://bicycleaustralia.org/fight.php
and a facebook page also
http://www.facebook.com/pages/Repeal-Mandatory-Bicycle-Helmet-Laws/29970874…
And wanted to do a wiki with an faq and other information for people who
are interested to help repeal bicycle helmet laws.
The domain prefix would be
bicycleaustralia.myxwiki.org
my username on myxwiki.org is
stephenhumble
my username on the xwiki user mail list is steveo
Hope you can help by hosting this service for me -
I was considering my own private wiki but your wiki farm seems made for
this.
Dear all,
I discovered an unexpected behaviour in my installation of "XWIKI
ENTERPRISE 4.2.2".
I have in space Main a set of "public" pages meaning that can be viewed by
un-registerd users and a set of "private" pages that needs to be logged-in
to view them. I achieved such a configuration by (starting from the initial
configuration) denying View permission for un-registered users at wiki
level (hence by default the wiki is private) and granting explicitly, for
each page I want to be public, the View permission for un-registered users.
Now, I want to export the space Main in html format. Following the guide at
[1], I'm using this URL:
http://<SERVER>/xwiki/bin/export/Main/<PAGE>?format=html&pages=Main.%25
If PAGE=MyPrivatePage (a private page) and I'm not logged-in, the browser
redirects me to the login page. Correct.
If PAGE=MyPublicPage (a public page) and I'm not logged-in the export
works. Then opening the zip archive returned, I found that it contains also
private pages!
In the matter of facts, as un-registered user I did an export of the entire
space starting from a page viewable by unregistered users and I obtained in
the zip ALL pages including pages that I cannot normally view from the
browser!
For what I understood, xwiki checks access rights for PAGE, but if allowed,
then the export includes all pages regardless whether the user that is
requesting the export can view those pages or not.
Maybe I just set permissions in the wrong way. Can someone give me a hint
on this?
Thank you very much,
Gabriele
[1] http://platform.xwiki.org/xwiki/bin/view/Features/Exports
Hi all,
I have a major problem here, as we have around 10 Spaces filled with many
pages and now we need to rename some spaces. We'd like to move the sub pages
in these spaces too. Finally, a space should have a new name, and all pages
below should be referenced to the new space name correctly (including those
backlinks at the top).
I can't believe this isn't possible :-(
http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space doesn't
help obviously.
Thanks in advance for any help
Information:
XWiki 3.5 standalone
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-3-5-Renaming-Spaces-including-sub-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
i'm trying to create the official 4.1.3 stable build by building from
source code. but couldn't find the correct source code revision for
official 4.1.3 stable
Source code location: https://github.com/xwiki/xwiki-platform
branch: stable-4.1.x
Actually, i was trying to find a branch or tag that contains
stable-4.1.3, stable-4.1.x is the closest thing i can find in github
The content of jar file are very different between what i built from
4.1.x and what was distribued in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip
For example:
the jar file name of oldcore is called
xwiki-platform-legacy-oldcore-4.1.3.jar in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip, and it has compatibility sub
folder
the name is called xwiki-platform-oldcore-4.1-SNAPSHOT.jar, when
compiled from stable-4.1.x, and it does have compatibility sub
folder. this is just one of the differences
Thank you very much
Ray
I am trying to upgrade from 3.0 rc1 to something more current. I have
tried to go from 3.0 -> 3.5 and from 3.0 -> 4.1.3 both times I lost the
ability to see my user rights and my document index.
I was just trying to upgrade the core components so I was not importing the
default xar, although I did try that too following the precautions not to
import Preferences and Rights pages.
Do I need to go sequentially through all versions or is there a suggestion
on how I may accomplish this? My wiki currently is not that big but we are
getting prepared to rollout to larger audience and I would like to upgrade
before.
Thanks for any advice,
Bob
Hello all,
I just start using xwiki and as every beginers I am stuck on seting up
a tiny detail.
My problem is the following: I would like the tab informations on
every page to be the default selected tab.
I try to look at the forum, and other related pages concerning xwiki
configuration and all I founded is how to disable tabs but not modify
the basic selected tab.
I sure it is simple, but I don not know where to add the modification.
Thanks for the help.
Best regards
Joseph-André GUARAGNA
Hello,
after setting up the basic xwiki(4.3.1)/db stuff i went on and installed some of the features from the xar file.
Afterwards I was asked to authenticate, but every page I tried to load just never ended loading. After restarting tomcat and waiting for some minutes I was able to reach both the Main page as well as the Login page and successfully logged in as Admin. Now the pages won't load again.
Is that a known problem? Any ideas on what i could try to get the system running again?
Thilo
Vincent, you're a star! It's working fine now; many thanks! =)
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: 24 August 2012 16:38
To: XWiki Users
Subject: Re: [xwiki-users] Form content size problem
Hi Ian,
On Aug 23, 2012, at 2:15 PM, Higginson Ian (WIRRAL PCT) <ian.higginson(a)nhs.net> wrote:
> Hi,
>
> I'm having trouble getting the Jetty database to allow me to put content in that's bigger than 20kb. I've modified the start_xwiki.bat file (pasted below) but it still comes up saying I have the same content size limitation. Have I done anything wrong in the file below? I'm using jetty-7.4.5.v20110725
I think I know the problem... :)
See http://wiki.eclipse.org/Jetty/Howto/Configure_Form_Size
Basically the system param name is org.eclipse.jetty.server.Request.maxFormContentSize for Jetty7 and no longer org.mortbay.jetty.Request.maxFormContentSize
Since we've changed that a while again you have probably kept an older start_xwiki.bat file
Thanks
-Vincent
> Many thanks!
> Ian.
>
> @echo off
> REM -------------------------------------------------------------------------
> REM See the NOTICE file distributed with this work for additional
> REM information regarding copyright ownership.
> REM
> REM This is free software; you can redistribute it and/or modify it
> REM under the terms of the GNU Lesser General Public License as
> REM published by the Free Software Foundation; either version 2.1 of
> REM the License, or (at your option) any later version.
> REM
> REM This software is distributed in the hope that it will be useful,
> REM but WITHOUT ANY WARRANTY; without even the implied warranty of
> REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> REM Lesser General Public License for more details.
> REM
> REM You should have received a copy of the GNU Lesser General Public
> REM License along with this software; if not, write to the Free
> REM Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> REM 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> REM -------------------------------------------------------------------------
>
> set JETTY_HOME=jetty
> set JETTY_PORT=8080
> set XWIKI_OPTS=-Xmx512m -XX:MaxPermSize=128m
>
> REM Ensure the logs directory exists as otherwise Jetty reports an error
> if not exist %JETTY_HOME%\logs mkdir %JETTY_HOME%\logs
>
> REM Ensure the work directory exists so that Jetty uses it for its temporary files.
> if not exist %JETTY_HOME%\work mkdir %JETTY_HOME%\work
>
> REM Ensure the data directory exists so that XWiki can use it for storing permanent data.
> if not exist data mkdir data
>
> REM Specify port on which HTTP requests will be handled
> set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.port=%JETTY_PORT%
>
> REM Specify Jetty's home directory
> set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.home=%JETTY_HOME%
>
> REM Specify port and key to stop a running Jetty instance
> set XWIKI_OPTS=%XWIKI_OPTS% -DSTOP.KEY=xwiki -DSTOP.PORT=8079
>
> REM Specify the encoding to use
> set XWIKI_OPTS=%XWIKI_OPTS% -Dfile.encoding=UTF8
>
> REM In order to avoid getting a "java.lang.IllegalStateException: Form too large" error
> REM when editing large page in XWiki we need to tell Jetty to allow for large content
> REM since by default it only allows for 20K. We do this by passing the
> REM org.mortbay.http.HttpRequest.maxFormContentSize property.
> REM Note that setting this value too high can leave your server vulnerable to denial of
> REM service attacks.
> set XWIKI_OPTS=%XWIKI_OPTS% -Dorg.mortbay.jetty.Request.maxFormContentSize=4000000
>
> java %XWIKI_OPTS% %2 %3 %4 %5 %6 %7 %8 %9 -jar %JETTY_HOME%/start.jar
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
2012/8/28 <users-request(a)xwiki.org>:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. custom athentication issues. (Bob Egolf)
> 2. Start point to update the XWiki Editor in XWiki
> (Boudjelda Mohamed Said)
> 3. Re: Start point to update the XWiki Editor in XWiki
> (Marius Dumitru Florea)
> 4. selected the informations tab as default on every pages
> (Joseph-Andre Guaragna)
> 5. Re: selected the informations tab as default on every pages
> (Vincent Massol)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Aug 2012 08:20:48 -0400
> From: Bob Egolf <egolfb(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] custom athentication issues.
> Message-ID:
> <CAMH_rHihMREAZtjy890af7Z1ETp9QiWU4xQ6X3aEvKhEbsKkPg(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Good morning,
>
> This is a duplicate post of one I sent to the devs list in case this is a
> better place for the question.
>
> I am writing a custom authentication class following notes from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
> and the sample given in
> http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle…
>
>
> The class is written and I can see the Remote Authentication is called and
> returns just fine and my method returns a new XWikiUser
>
> however, in my logs I see the checkAuth being fired twice, once with the
> j_username = entered username... but the second time it is fired set to null
> and is always returning a login failure.
>
> Here is my checkAuth method:
> public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
>
> log.debug("ARFSSOAuthServiceImpl.checkAuth");
>
> String user = getRemoteUser(context);
>
> if (user==null || user.equals("")){
> log.error("SSOAuthServiceImpl: User cannot be authenticated
> (REMOTE_USER is null)");
> // TODO: redirect login.
> return null;
> }else{
> log.warn("ARFSSOAuthServiceImpl: User " + user + " has been authenticated");
> this.createUser(user, context);
> user = "XWiki." + user;
> }
> log.warn("SSOAuthServiceImpl: authentication successful context.setUser " +
> user);
> context.setUser(user);
> return new XWikiUser(user);
>
> }
>
>
> Here is the log from a single post of the credentials:
> 2012-08-25 11:11:30,285 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - sso Auth check auth before super
> 2012-08-25 11:11:30,287 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - request j_username = testuser
> 2012-08-25 11:11:30,287 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - request j_password = testpwd
> 2012-08-25 11:11:30,287 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - processLogin j_username = testuser
> 2012-08-25 11:11:30,288 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - processLogin j_password = testpwd
> 2012-08-25 11:11:30,289 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> net.ARFHttpClient - ARFHttpClient post request to:
> http://localhost.com/test.php
> 2012-08-25 11:11:30,417 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> net.ARFHttpClient - ARFHttpClient response string:
> status=0|firstname=Test|lastname=User
> 2012-08-25 11:11:30,418 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - processLogin... webresponse status = 0
> 2012-08-25 11:11:30,421 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - convertARFResponseToUsername token =
> TestUser
> 2012-08-25 11:11:30,421 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl: User TestUser has
> been authenticated
> 2012-08-25 11:11:30,422 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl.createUser: User
> TestUser before find.
> 2012-08-25 11:11:30,427 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl.createUser:
> XwikiUser XWiki.TestUser after find.
> 2012-08-25 11:11:30,427 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: authentication
> successful context.setUser XWiki.TestUser
> 2012-08-25 11:11:31,080 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFSSOAuthServiceImpl - sso Auth check auth before super
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFSSOAuthServiceImpl - request j_username = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFSSOAuthServiceImpl - request j_password = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFWebAuthenticator - processLogin j_username = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFWebAuthenticator - processLogin j_password = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN net.ARFHttpClient - ARFHttpClient post request to:
> http://localhost.com/test.php
> 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN net.ARFHttpClient - ARFHttpClient response string:
> status=100
> 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFWebAuthenticator - processLogin... webresponse status
> = 100
> 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> ERROR sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: User cannot be
> authenticated (REMOTE_USER is null)
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFSSOAuthServiceImpl - sso Auth check auth before super
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFSSOAuthServiceImpl - request j_username = null
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFSSOAuthServiceImpl - request j_password = null
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFWebAuthenticator - processLogin j_username = null
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFWebAuthenticator - processLogin j_password = null
> 2012-08-25 11:11:31,811 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN net.ARFHttpClient - ARFHttpClient post request to:
> http://localhost.com/test.php
> 2012-08-25 11:11:31,877 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN net.ARFHttpClient - ARFHttpClient response string:
> status=100
> 2012-08-25 11:11:31,878 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFWebAuthenticator - processLogin... webresponse status
> = 100
> 2012-08-25 11:11:31,878 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> ERROR sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: User cannot be
> authenticated (REMOTE_USER is null)
> 2012-08-25 11:11:32,041 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN internal.DefaultVelocityEngine - Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33
>
>
>
> Any help is appreciated,
> Bob
>
> XWiki Version: XWiki Enterprise 3.0-rc-1.35909
>
> Do I need to upgrade to get this functionality?
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Aug 2012 23:48:53 +0100
> From: Boudjelda Mohamed Said <bmscomp(a)gmail.com>
> To: users(a)xwiki.org
> Subject: [xwiki-users] Start point to update the XWiki Editor in XWiki
> Message-ID:
> <CAO60PA2Q-sj0cz715D+JwrMQdveOJCGqtnDb77dSwSVE4WxWtQ(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Every one
> I need to update XWiki Editor , but I cannot find a starting point for
> that, how shall I do it, just to enable the tabulation coz when I press tab
> key the focus is changed to the save buttons
>
> Thanks
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 28 Aug 2012 08:55:11 +0300
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Start point to update the XWiki Editor in
> XWiki
> Message-ID:
> <CALZcbBaK3ZG6MFQpX+S9bUEogHUp8RCt=VGWHDFXPqPYaK2qsw(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I suppose you are referring to the WYSIWYG editor and by "update" you
> mean taking the editor from a newer version of XWiki Enterprise and
> using it on an older version. Is that so? Then it might not work
> because the newer version of the editor requires sometimes newer APIs
> that are provided only by the newer version of XWiki Enterprise.
> Anyway, are you sure the tab issue is fixed in the newer version? I
> see http://jira.xwiki.org/browse/XWIKI-6123 is still open, for Chrome,
> and I didn't commit any fix for it. So unless the browser behaviour
> has changed, in which case you don't need to upgrade the editor, the
> problem should still be present in the last version of XWiki
> Enterprise.
>
> But for the record, upgrading the WYSIWYG editor code has two steps:
> * upgrade the WYSIWYG editor jars in WEB-INF/lib (xwiki-platform-wysiwyg-*)
> * replace the resources/js/xwiki/wysiwyg/xwe folder (delete and copy
> the new one)
>
> Hope this helps,
> Marius
>
> On Tue, Aug 28, 2012 at 1:48 AM, Boudjelda Mohamed Said
> <bmscomp(a)gmail.com> wrote:
>> Hi Every one
>> I need to update XWiki Editor , but I cannot find a starting point for
>> that, how shall I do it, just to enable the tabulation coz when I press tab
>> key the focus is changed to the save buttons
>>
>> Thanks
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 28 Aug 2012 09:10:41 +0200
> From: Joseph-Andre Guaragna <joseph-andre(a)rdmo.com>
> To: users(a)xwiki.org
> Subject: [xwiki-users] selected the informations tab as default on
> every pages
> Message-ID:
> <CAMGKkWU4E9Fc84V887PPvLnQHVmzyERx_o=Z5WELNQh63xgx7g(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> I just start using xwiki and as every beginers I am stuck on seting up
> a tiny detail.
>
> My problem is the following: I would like the tab informations on
> every page to be the default selected tab.
> I try to look at the forum, and other related pages concerning xwiki
> configuration and all I founded is how to disable tabs but not modify
> the basic selected tab.
>
> I sure it is simple, but I don not know where to add the modification.
> Thanks for the help.
>
>
> Best regards
>
> Joseph-Andr? GUARAGNA
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 28 Aug 2012 09:37:50 +0200
> From: Vincent Massol <vincent(a)massol.net>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] selected the informations tab as default on
> every pages
> Message-ID: <4B705ED4-6CD0-4FEC-8F32-7B86BEB6F6EF(a)massol.net>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi Joseph-Andr?,
>
> On Aug 28, 2012, at 9:10 AM, Joseph-Andre Guaragna <joseph-andre(a)rdmo.com> wrote:
>
>> Hello all,
>>
>> I just start using xwiki and as every beginers I am stuck on seting up
>> a tiny detail.
>>
>> My problem is the following: I would like the tab informations on
>> every page to be the default selected tab.
>> I try to look at the forum, and other related pages concerning xwiki
>> configuration and all I founded is how to disable tabs but not modify
>> the basic selected tab.
>>
>> I sure it is simple, but I don not know where to add the modification.
>> Thanks for the help.
>
> It's not that simple because we don't have a configuration option to set which tab is the selected one by default.
>
> Thus ATM I think you'll need to edit docextra.vm and make some changes there, but I'm not sure what to change exactly. Maybe others can help.
>
> Thanks
> -Vincent
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 61, Issue 37
> *************************************
thanks for the help I ll have look
Hi Every one
I need to update XWiki Editor , but I cannot find a starting point for
that, how shall I do it, just to enable the tabulation coz when I press tab
key the focus is changed to the save buttons
Thanks
Hi Every body
I have to create an application upon XWiki, I have a this model , Person
-> Contact (Person is a Contact ) and Also Customer - > Contact , How can I
make such implementation using XWiki Classes
Thank You
Hi,
I'm having trouble getting the Jetty database to allow me to put content in that's bigger than 20kb. I've modified the start_xwiki.bat file (pasted below) but it still comes up saying I have the same content size limitation. Have I done anything wrong in the file below? I'm using jetty-7.4.5.v20110725
Many thanks!
Ian.
@echo off
REM -------------------------------------------------------------------------
REM See the NOTICE file distributed with this work for additional
REM information regarding copyright ownership.
REM
REM This is free software; you can redistribute it and/or modify it
REM under the terms of the GNU Lesser General Public License as
REM published by the Free Software Foundation; either version 2.1 of
REM the License, or (at your option) any later version.
REM
REM This software is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
REM Lesser General Public License for more details.
REM
REM You should have received a copy of the GNU Lesser General Public
REM License along with this software; if not, write to the Free
REM Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
REM 02110-1301 USA, or see the FSF site: http://www.fsf.org.
REM -------------------------------------------------------------------------
set JETTY_HOME=jetty
set JETTY_PORT=8080
set XWIKI_OPTS=-Xmx512m -XX:MaxPermSize=128m
REM Ensure the logs directory exists as otherwise Jetty reports an error
if not exist %JETTY_HOME%\logs mkdir %JETTY_HOME%\logs
REM Ensure the work directory exists so that Jetty uses it for its temporary files.
if not exist %JETTY_HOME%\work mkdir %JETTY_HOME%\work
REM Ensure the data directory exists so that XWiki can use it for storing permanent data.
if not exist data mkdir data
REM Specify port on which HTTP requests will be handled
set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.port=%JETTY_PORT%
REM Specify Jetty's home directory
set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.home=%JETTY_HOME%
REM Specify port and key to stop a running Jetty instance
set XWIKI_OPTS=%XWIKI_OPTS% -DSTOP.KEY=xwiki -DSTOP.PORT=8079
REM Specify the encoding to use
set XWIKI_OPTS=%XWIKI_OPTS% -Dfile.encoding=UTF8
REM In order to avoid getting a "java.lang.IllegalStateException: Form too large" error
REM when editing large page in XWiki we need to tell Jetty to allow for large content
REM since by default it only allows for 20K. We do this by passing the
REM org.mortbay.http.HttpRequest.maxFormContentSize property.
REM Note that setting this value too high can leave your server vulnerable to denial of
REM service attacks.
set XWIKI_OPTS=%XWIKI_OPTS% -Dorg.mortbay.jetty.Request.maxFormContentSize=4000000
java %XWIKI_OPTS% %2 %3 %4 %5 %6 %7 %8 %9 -jar %JETTY_HOME%/start.jar
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
Hi,
when using Meeting Manager Macro I can not add Participants. Whatever you
insert in the Participant field "No Result" will be displayed.
When checking MeetingParticipantSuggest I get following error :
/This page contains the following errors:
error on line 329 at column 6: XML declaration allowed only at the start of
the document
Below is a rendering of the page up to the first error./
Anybody who encountered similar Problems?
BR Paul
--
View this message in context: http://xwiki.475771.n2.nabble.com/Meeting-Manager-Participant-Problem-tp758…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki-Community!
First I have no access to the server side of my XWiki-Installation, but I
want to change the skin.
I imported a skin via XAR-File.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Lyrebird+Skin
Then I have a new space with three pages.
And what now?
What do I need to change in Administration/Presentation?
Do I need to add a new Page and add a Skin-Object to it?
I do not know how to proceed.
Thanx for all help
Peter
--
View this message in context: http://xwiki.475771.n2.nabble.com/HOW-TO-SET-IMPORTED-SKIN-tp7581004.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am interested in how others are making annoucements on their XWiki.
For example: let's say that there's maintenance scheduled to the network,
and that certain drives are unavailable for some period of time. Or that
email is unavailable for a certain period of time?
Right now, we are using email as our main method of communication, but I
would like to eliminate email saying "We are out of water from 10:00 till
13:00"...last friday!!! Everybody is busy reading email about things which
happened at some time in the past :-)
How can that announcement be made "visible" on the mainpage of our XWiki?
We could just edit the XWiki mainpage, show the annoucement and remove it
afterwards (but that's not so sophisticated)
What other options are available?
I was thinking about the Blog Application, where the annoucement will be
made. Annoucements could be a seperate category in the Blog. The XWiki
mainpage should only show Blog entries of a specific category. Best thing
would be if we could "publish" the Blog entry at a certain time (this is
possible), and "unpublish" the Blog entry after the maintenance has been
completed (not yet possible in an automated fashion, but you can "hide" a
blog entry by hand).
So, what methods do you guys using?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Show-announcement-on-XWiki-tp7580979.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Question: how to save user data across multiple requests, we are
trying to customize XWiki Enterprise VERSION 4.1.3
Tried: xcontext.put(key, value) , but doesn't work. it only saves
data within the same request .
Any suggestion is highly appreciated.
Thanks,
Ray
Hi
We have Xwiki installed in our servers, and we found this problem.
When we access to our wiki throught our authentication server (running IBM
Tivoli Access Manager) the WYSIWYG editor doesn't work. Everytime we select
it, it opens the 'Source' editor instead.
But if we enter our Wiki directly (without the authentication server) the
WYSIWYG editor works fine.
Is there any special requeriment to use an authentication server with Xwiki?
Thanks in advance.
Sergio Carrasco
I am in information technology. I'm interested in learning more and
experimenting with wiki in general and xwiki particularly. Please consider
my request for xwiki community farm. Thank you.
I am trying to configure PlantUML to work with local Graphviz server.
My environment - Linux Mint Debian (last stable), MySQL, Tomcat, XWiki
4.1.3.
XWiki installed from standart xwiki deb-packages. No any customization on OS
or XWiki. Empty base (only installed standart wiki-pages).
According to PlantUML macros installation guide, I installed Graphviz, and
deleted path to external graphviz server. Also I added GRAPHVIZ_DOT to
system variable (added export GRAPHVIZ_DOT="/usr/bin/dot" to /etc/profile).
But when I opening test page
http://localhost:8080/xwiki/bin/view/XWiki/PlantUMLMacro
I have got an error:
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version ...
java.io.FileNotDoundExeption: testdottmp42.dot (Permission denied)
...
I checked - dot executable exists in /usr/bin/. Also I checked environment
variables with comand env - all is ok, GRAPHVIZ_DOT variable exists and give
correct path.
Also, I tried to give full permissions for /usr/bin/ and dot executable -
any user/group can read / write / execute it. Also I tried to change tomcat
parameters: TOMCAT6_USER=root and TOMCAT6_GROUP=root for the starting tomcat
as root (it is not good for security reason but for testing is ok).
As a result - same situation, same error.
What is the problem and how I is possible correct it?
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/PlandUML-configuration-issue-tp7580944.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Everyone,
I am currently working with Xwiki v1.4.1 and I want to convert its syntax
to xhtml. I have looked at this page
http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted and it has a
few points.
1) Is this possible with large chunk of Xwiki v1.4.1 data?
2) Just before the description on how to use Maven, it says; "Note that not
only you need the JARs mentioned above but you also need all the transitive
dependencies required by those JARs." Where do I get these transitive
dependencies?
3) Which of the approaches as described in the link (Using Maven or Using
the XWiki Rendering Standalone JAR) is easy to use?
4) Are there more documentation like a tutorial on using these 2 approaches
other that the one on this link?
Thanks,
--
Victor Eberechi
IBM Software Developer
I'd like to request a new wiki. At USF we're evaluating an instance of the OneBusAway open-source transit software system in Tampa, and OneBusAway requires an XWiki host for the content of the website pages. We'd like to host that content on MyXWiki.org.
My Xwiki username is sjbarbeau.
I'd like to request the server name of onebusawaytampa.myxwiki.org.
Thanks,
Sean
Sean J. Barbeau, Ph.D.
Principal Mobile Software Architect for R&D
Center for Urban Transportation Research
University of South Florida
4202 E. Fowler Avenue, CUT100 | Tampa, FL 33620-5375
813.974.7208 | 813.974.5168 (fax) | barbeau(a)cutr.usf.edu<mailto:barbeau@cutr.usf.edu> | QR Code<http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=L&choe=UTF-8&chl…>
USF Location-Aware Information Systems Lab<http://www.locationaware.usf.edu/> - http://www.locationaware.usf.edu/
Subscribe<http://lists.cutr.usf.edu/read/all_forums/subscribe?name=locationaware> to USF's Location-Aware Information Systems listserve to be notified by email of new research reports, industry news, etc. and to discuss location-aware technology issues and experiences.
HI all,
I actually found this a bit funny:
At the bottom of search results is an RSS link, to a page like:
http://www.xwiki.org/xwiki/bin/view/Main/Search?xpage=plain&text=fail
It looks like valid RSS code, but why doesn't it work? It isn't the
code, it's a <pre> formatted piece of html, where all xml elements are
actually escaped.
So you see:
<?xml version="1.0" encoding="ISO-8859-1"?>
But it actually is:
<pre><?xml version="1.0" encoding="ISO-8859-1"?>
I can't think of something I did wrong on this or on my own install,
so I'll create an issue in JIRA unless someone stops me in the next
few hours.
All other RSS feeds appear to be working just fine.
Cheers, Joris
Havent been able to find any lessons learned on how to convert from Ubuntu
deployment to Windows.
Is it trivial?
Any gotchas I need to know about?
Any recommendations/guides?
>From 3.2 to current version also.
We are on XWiki 4.0
We want to remove an attachment (71.7Mb) from a page, but we get an Internal
Server Error (displayed in red at the bottom of the wiki page)!
How can I delete that (large) attachment?
--
View this message in context: http://xwiki.475771.n2.nabble.com/BUG-Can-t-delete-large-attachment-tp75808…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Drool, I'll be watching this string and looking for that app :)
Philip Wright
Reports Analyst
ACS: BPS
Office: 503-907-1501 ext 3714
Cell: 503-891-4920
Philip.wright(a)acs-inc.com
Affiliated Computer Services, Inc
Affiliated Computer Services, Inc (ACS) Proprietary and Confidential
Information
This document (or any part thereof) may not be disseminated outside of ACS
in either electronic or physical form without specific authorization of the
office of the ACS Chief Information Security Officer. The information
included in this document represents no commitment by ACS to any other
party. The policies and standards described do not consider any country law
or other directive outside of the United States.
P Please consider the environment before printing this email
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Guillaume Lerouge
Sent: Tuesday, July 01, 2008 2:39 PM
To: XWiki Users
Subject: Re: [xwiki-users] Brainstorming XWiki Favorites
By the way, 2 additional ideas :
- You could add a static list property (with [1,2,3,4,5] as allowed
values) to rank the importance / interest of favorites and display them
according to their ranking on the page (thru a hql sort query)
- Don't forget to add your application on http://code.xwiki.org/ once a
first working version is out ;-)
Guillaume
On Tue, Jul 1, 2008 at 11:32 PM, Mike Oliver <moliver(a)corenttech.com> wrote:
>
> Good ideas, I followed the ToDo example and created a Favorites space
> to store the documents but agree better to store them by user. I
> guess I can get it working in the ToDo model first and then move the
> location of the documents and change the filter accordingly.
>
> Our messages passed on the wires where Posted my first pass.
>
> Ollie
>
>
> Guillaume Lerouge wrote:
> >
> > Indeed. I'd still advise looking at how the watchlist feature is
> > implemented since it somehow manages to store user preferences in
> > their profiles and you're going to need that feature in your
> > implementation I guess...
> >
> > Not sure whether there's been any recent discussion on creating
> > easy-to)use user profiles extension points - though this kind of use
> > cases (as well
> as
> > a
> > bunch of others) show they're needed. I think there is a way to
> > access them right now without changing the UserClassSheet (maybe by
> > adding new kind
> of
> > objects to user profile pages...)
> >
> > Re your implementation, I'd advise having the list of favorited
> > pages stored in one (or many) objects attached to the user profile
> > page of the current user and writing a panel taking the currently
> > logged user UserName as a parameter, retrieving the data from those
> > favorite objects stored on his user page and displaying their values
> > in the panel ...
> >
> > Guillaume
> >
> >
> >
> >> Ollie
> >>
> >> Guillaume Lerouge wrote:
> >> >
> >> > Hi Mike,
> >> >
> >> >
> >> >> Can I filter on the user that created the record of the
> >> >> favorites
> >> class?
> >> >>
> >> >
> >> > Sure... But why don't you have your users use the Watchlist
> >> > feature
> >> that
> >> > basically already is XWiki's favorites system for individual users ?
> >> >
> >> > Cf
> >> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplicat
> >> ion
> >> > ,
> >> > it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >> >
> >> > You might still want to add that description field though...
> >> >
> >> > Guillaume
> >> >
> >> >
> >> >
> >> >>
> >> >> Ollie
> >> >>
> >> >> Wright, Philip wrote:
> >> >> >
> >> >> > Idea is to allow the user to create the description? If so
> >> >> > sounds
> >> like
> >> >> a
> >> >> > GREAT idea.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > Philip Wright
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822333
> 9.html
> >> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >> >>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > http://wikibc.blogspot.com/
> >> > _______________________________________________
> >> > users mailing list
> >> > users(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822406
> 7.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822576
> 2.html Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello,
Sometimes, the top menu disappears and is replaced by the exception
below. It's new since the 4.1.3 migration.
The user exists and if we're going on another page and go back, the
problem disappears. It's totally random but only in the virtual wikis
(not in the main instance).
Any idea ?
Thank you
Nicolas
Error number 4001 in 4: Error while parsing velocity page
/templates/menuview.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/menuview.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page /templates/menuview.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/menuview.vm]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:110)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1799)
...
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content with id [/templates/menuview.vm]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:243)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:105)
... 84 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'isWikiWatched' in class
com.xpn.xwiki.plugin.watchlist.WatchListPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 0 in 5: User
[xwiki:XWiki.duthey] does not exists at /templates/menuview.vm[line 179,
column 27]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationExcept
ion(ASTMethod.java:243)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:187)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReferen
ce.java:530)
at
org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres
sion.java:62)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:85)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:224)
... 86 more
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 5: User
[xwiki:XWiki.duthey] does not exists
at
com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchListObject(WatchLi
stStore.java:555)
at
com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchedElements(WatchLi
stStore.java:419)
at
com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.isWikiWatched(WatchLis
tPluginApi.java:206)
at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:173)
... 99 more
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'isWikiWatched' in class
com.xpn.xwiki.plugin.watchlist.WatchListPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 0 in 5: User
[xwiki:XWiki.duthey] does not exists at /templates/menuview.vm[line 179,
column 27]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationExcept
ion(ASTMethod.java:243)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:187)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReferen
ce.java:530)
at
org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres
sion.java:62)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:85)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1799)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1739)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.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(Velocimacr
oProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.j
ava:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.j
ava: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.ASTIfStatement.render(ASTIfState
ment.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1799)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1739)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.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(Velocimacr
oProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.j
ava:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.j
ava: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.jav
a:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVeloci
tyEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1799)
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(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 5: User
[xwiki:XWiki.duthey] does not exists
at
com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchListObject(WatchLi
stStore.java:555)
at
com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchedElements(WatchLi
stStore.java:419)
at
com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.isWikiWatched(WatchLis
tPluginApi.java:206)
at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:173)
... 99 more
Hi all,
My department is migrating from JSPwiki to Xwiki. We want to keep
things simple, so when importing your war file I did not import the sandbox
or blog spaces. That left Main, Xwiki, AppWithinMinutes, and Dashboard.
AWM is fine, but I found out the hard way that Dashboard and Xwiki both
contain parts of the software, so I can't delete or hide them. First of
all - is that accurate?
My second question is around the Main space. I thought we could import
our files directly into that space, but apparently not - we had a page
called "Search" which appears to have overwritten the search results page.
I couldn't find any documentation about best practices when importing -
like file names to avoid, etc. Do I have to create a brand new space,
leaving Main, Dashboard and Xwiki alone? I just worry people will start
clicking around and editing or creating pages in one of those other
spaces...
Any advice or information would be greatly appreciated!
Thanks!
- Matt L.
I really don't want people to see the other spaces (to avoid confusion). I
had thought that the main parts of Xwiki were kept in the Xwiki space, so I
did the import into Main. However, that appears to have caused some other
issues, since we had a page called "Search" which seems to have overwritten
the default search results page.
Hi, Matt!
See answers below.
Fri, 10 Aug 2012 20:07:31 -0400 от Matt Lamoureux <mmlmrx(a)gmail.com>:
>Hi all,
>
My department is migrating from JSPwiki to Xwiki. We want to keep
>
things simple, so when importing your war file I did not import the sandbox
>
or blog spaces. That left Main, Xwiki, AppWithinMinutes, and Dashboard.
>
AWM is fine, but I found out the hard way that Dashboard and Xwiki both
>
contain parts of the software, so I can't delete or hide them. First of
>
all - is that accurate?Actually you can delete them also, as far as I know. But some scripts will really "keep things simple", I'd say MUCH simplier, than without them. So, I'd advise to play with all this staff first :-)
Sandbox you can delete also, but just think about some playground for users who see XWiki first time.
Sometimes it was more useful than useless for me.
>
My second question is around the Main space. I thought we could import
>
our files directly into that space, but apparently not - we had a page
>
called "Search" which appears to have overwritten the search results page.
>
I couldn't find any documentation about best practices when importing -
>
like file names to avoid, etc. Do I have to create a brand new space,
>
leaving Main, Dashboard and Xwiki alone? I just worry people will start
>
clicking around and editing or creating pages in one of those other
>
spaces...
>
My experience says following: LEAVE XWiki's Spaces (e.g. Main and XWiki), customise it as you need AND use other spaces for data. In the future, in a case of upgrades or moving/renaming/deleting spaces you would highly appreciate keeping data OUT of sctripting :-)
To avoid "smart hands desease" - just restrict edit rights to Main and XWiki (maybe some more) spaces. Simple view rights would make your scripting almost unbreakable. :-)
There is more complicated way - change default page on XWiki start and build everything you need "from scratch". But depending on your future plans I'd recommend just to keep it in mind, but not implement at once: it is set globally for XWiki. For example, in a case of XEM, each Workspace would have non-standard default page, that may cause additional work in template customization. Probably, there are another ways to do this, but I didn't explore it yet.
As a conclusion: much-much more easier to customise existing spaces-pages to you needs, especially from the very beginning.
>
Any advice or information would be greatly appreciated!
>
>
Thanks!
>
- Matt L.
>
>
>
I really don't want people to see the other spaces (to avoid confusion). I
>
had thought that the main parts of Xwiki were kept in the Xwiki space, so I
>
did the import into Main. However, that appears to have caused some other
>
issues, since we had a page called "Search" which seems to have overwritten
>
the default search results page.
>
_______________________________________________
>
users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
>
Keep in mind NATIVE XWiki structure:
- Spaces - Pages for XE
- Workspace/subwiki - Spaces - Pages for XEM
So, stripping you data into this logic would make possible all benefits migration to XWiki.
BTW, besides the fact, that XWiki has access rights at page level even for each user, I use this very seldom. Much easier to use Groups and set access rights to Spaces.
As for "confusion": if you will check Document Index link in top menu - you will see ALL spaces and pages you have view access rights. In my case - I didn't have any confusions at this point. But you're free to make a little Guide to users :-)
It helps much. Other way is to customise XWiki's appearance and remove "extra" links. BUT if someone smart will use direct links - it won't help much: someone smart will have access according to his access rights :-)
Kind regards,
Dmitry
I am attempting to clone an existing XWiki Enterprise 3.5.1 installation to
test out how to upgrade to 4.1.3.
When attempting to load the main page, I receive the following error:
message 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 [name = [XWikiPreferences], type =
[DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name =
[xwiki], type = [WIKI], parent = [null]]]] 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!
description The server encountered an internal error
(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 [name = [XWikiPreferences], type = [DOCUMENT], parent
= [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI],
parent = [null]]]] 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!) that prevented it from
fulfilling this request.
I have tried a couple of different configurations in the xwiki.cfg. Here is
my current configuration.
xwiki.store.migration=1
#-# Whether to exit after migration. Useful when a server should handle
migrations for a large database, without going
#-# live afterwards.
# xwiki.store.migration.exitAfterEnd=0
#-# Indicate the list of databases to migrate.
#-# to upgrade all wikis database set xwiki.store.migration.databases=all
#-# to upgrade just some wikis databases set
xwiki.store.migration.databases=xwiki,wiki1,wiki2
#-# Note: the main wiki is always migrated whatever the configuration.
#-# [Since 3.3M1] default to migrate all databases
xwiki.store.migration.databases=all
I'm using the following environment which is almost exactly the same as our
current running environment (3.5.1):
-Windows Server 2008 R2 Standard
-Apache-Tomcat 7.0.29 (x64)
-JDK 1.7.0_05 (x64)
-Microsoft SQL Server JDBC Driver (rev 3)
-Microsoft SQL Server 2008 R2
The database is a restored copy of our running 3.5.1 xwiki instance. The
user account has full permissions to modify the schema.
Any ideas on why the migration isn't happening?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Migrating-Database-from-XWiki-Ent…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want this wiki for project-management of our non-profit-organization based in Spain (but with international members), starting with a team-based study on funds of documentation. XWiki ist thought to be an ideal means of communication and collaboration amongst the participants.
Lateron we might use it for other projects, as well, on an international level.
We hope to be admitted at the Community farm.
Thanks in advance.
--
Ingrid Kuschick
E-mail :
ikuschick(a)txoke.eu>
Phone/téléphone/teléfono: +34 94 668 22 84
Cellular phone (Spain): + 34 603 517 105
Txoke!. European Association (EA) for Investigation, Rescue and
Promotion of Cultural Heritage
Asociación Europea (AE) para la Investigación, el Rescate y la Puesta en
Valor del Patrimonio Cultural
Association Européenne (AE) pour la Recherche, la Sauvegarde et la Mise
en Valeur du Patrimoine Culturel
Europäischer Verein (EV) zur Erforschung, Rettung und Förderung des
Kulturerbes
E-mail: <txoke(a)txoke.eu> - <txoke.anthropo(a)gmail.com>
Website: <http://www.txoke.eu/>