Is it possible to put an attached file at one page, and from another page link to that file?
Example, we attach the file File.xml to the page Main.Files
And then on the page Main.List we want to include a link to the File.xml file?
Ludovic,
Thanks for your enthusiastic (and quick!) response. It's certainly a
start, though it will only work for XWiki's documentation. That's okay,
if it turns out to be quicker and easier to drive it from the XWiki
database; solving the immediate problem is the most important for the
moment.
But it would be much more generally useful if you could just point a
template at any arbitrary javadoc site, with a CVS or other source link
optional, and at each place where javadoc comments would be displayed by
the standard doclet, insert an HTML element that included the wiki
document, if it existed, or a create link if it didn't. Simple style
options could let the user choose whether to append or overlay the wiki
page on existing comments, or (possibly) even to embed them,
highlighted. In this way, the hand-copying of the original javadoc
comments would be unnecessary, and it might even provide a nice easy
means for the owners of the sources to retrofit the better ones into the
repository.
Whichever way is easier (and/or faster) to do it for Xwiki will be the
best for now; I was just wondering if it would be any harder to craft
the more general solution, and you might get more helpers than for
something that only works for one set of APIs.
BTW, I have this problem often, as do all the males in my family:
because my surname, Thomas, is also a very common first name (probably
more so than as a surname), I'm often referred to by it, or by "Tom".
No offense taken, of course; I have corrected it, and made what I
thought would be a link to my profile page, but the create link appeared
instead. Does xwiki.org not automatically create a profile page for
every user? I followed it to get a permission-denied page, so maybe I
just can't edit it, but my name appears as a normal link in the "Hello"
section. I thought that if a page existed, the create link wouldn't
appear...
brain[sic]
Claudio:
Thanks for that link! Jsourcery also has something similar, but I think
that their approach uses a custom version of javadoc, which is, I think,
where doclets come in. This would only work, again, where you actually
had access to a source archive, and I think they actually generate and
store their pages.
Another interesting facet is the ability to link to other javadoc sites;
XWiki's API javadoc doesn't link classes from externally packages, which
is not a major problem, but a small one. If an undefined reference came
up, the ability to point to its home would be helpful.
It may be that just using Jdocs would be faster, since they already have
a solution; what do you think? It's not really what I'd like to see,
which would be an almost-transparent pasting of user-edited content as
though it were in the original sources. But this is worlds better than
nothing.
Another idea would use the JDOM API, which could be used in a very
robust server-side solution that could do all that I've thought of here
and probably things I've never even dreamed of.
brain[sic]
-----Original Message-----
From: Claudio Miranda [mailto:claudio@claudius.com.br]
Sent: Thursday, March 16, 2006 11:53 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] IDEA: API Documentation wiki
Probably JDocs, already to the job of make comments on javadocs.
check it out: http://www.jdocs.com
[]s
Claudio
I am quite pumped on XWiki, but the lack of documentation is driving my co-workers bats (I'm already thoroughly nuts, so it doesn't bother me, except when I've got a deadline threatened by not knowing how to do something).
Ludovic and Jérémi and other tireless souls are suffering with development and support, apparently, and can't get the docs updated, even though some better documentation would at least ease the support burden. Certainly, this mailing list is a major benefit, but searching the archives is a daunting task, since one needs not only to formulate a good query but also to search each and every one of a large number of monthly archives separately (from that perspective, probably a better indexer - one that would allow searching the entire archive at once - would be very helpful. Or, perhaps I misunderstand and there's already a better way? Please comment, someone, if that's the case).
However, the idea that popped into my head early on this bright St. Louis Thursday morning was: What are the possibilities of Wikifying the API Javadoc pages? In this way, those of us who gain understanding of a particular part can share our hard-bought wisdom, lightening the load for everyone else.
I have not delved into the uses of doclet technology, but it appears to me that a doclet could format its output as a wiki page could allow the wiki activity to take place as a supplement to the core javadoc output, which remains read-only.
Further, if the javadoc output provides sufficient versioning information, successive versions of a package, class, or interface could continue to use the wiki annotations until someone noted that the new version changed something that was documented. Perhaps a scheme that recorded the version of a page that was current when the edit or comment is made would be all that was needed, so that whatever version of the javadoc was being explored, the versions of the wiki annotations valid for that version would be displayed. Using date information might be simpler, but it would be more useful to be able to tie a document version to a javadoc file version, because annotations made when a later version was current might have been valid with earlier versions, and a simple date scheme would not allow viewers of those versions to benefit from things documented later.
So an XWiki template or templates could be made that would filter the Javadoc output, modifying the external javadoc-generated links to retrieve wiki pages named for the documented entities, and displaying any annotations associated with the specific entities. If Velocity isn't up to the job as-is, then (if I understand correctly) a plugin to its rendering engine could explore the DOM model and inject the wiki annotations appropriately. Another way to do it would be to write Javascript so the browser could do the work, which would probably be simpler and save bandwidth on individual page sends, but lose the benefits of server caching.
The above approach would probably be instead of a doclet, which I think would take the opposite approach and drive the wiki formatting from the javadoc content. This would have the advantage of not needing any plugins or special wiki pages (maybe) and would probably be easier to accomplish but might tend to wrest control of navigation from XWiki in inconvenient ways.
At any rate, the idea of making the wiki annotations independent of the javadoc pages is a major design goal and could permit anyone anywhere to put up a wiki that allowed annotating any javadoc repository, regardless of whether they controlled its content.
I've discussed this far too much for one mail message, especially for one who little understands what he's talking about. If there is interest, should we put up a page on xwiki.org to develop the requirements and design? Or has someone already thought of this and it's already available?
brain[sic]
-----Original Message-----
From: Erwan Arzur [mailto:earzur@gmail.com]
Sent: Thursday, March 16, 2006 3:27 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Hs_err_pid XWiki 0.9.840 + tomcat 5.5.9 + vm1.5.0_06
Hey Leonard,
yes i'm taking care of xwiki.com. Yes recently it has been a real PITA, most of the instability problem were due to comment spammers hitting us hard. Since last saturday we are running mod_security on our frontend servers and i do not have to check every hour if one of those assholes took us down again ! what a relief !
(take care with the latest gotroot rules for mod_security, our apache ate all available memory then had to be killed - blacklist.conf is too big, i don't use it anymore)
I'll check the system requirement route, but we don't experience VM crashes very often.
One hint about your particular VM crash. As every thread appears to be locked when it happens, it seems to be garbage collecting related, and i'd investigate tuning the new generation and related stuff. I've got this already on my TODO list and will let you know the outcome.
I posted a note about this on my weblog
(http://www.arzur.net/index.php?English) where i suggest every spammers taken to courts should pay a check to the OSS anti-spam project of his choice. Another way of financing OSS. Most of the good tools in this field are open source anyway. SpamAssassin, SpamBayes, mod_security, gotroot.com ... come to mind.
Erwan
On 3/15/06, Leonard Lin <leonard.lin(a)unic.com> wrote:
> Hi Yoav
>
> Thanks a lot for your hint.
> As far as i have seen the problems stated on the sun-website are
> concerning Old kernels or older glibc
>
> We use
> Kernel: 2.6.9-11.ELsmp
> glibc: 2.3.4
>
> Though the following link seems to me heading into a similiar
> direction:
> http://forum.java.sun.com/thread.jspa?threadID=643360&start=0&tstart=0
>
> regards
>
> -----Original Message-----
> From: Yoav Shapira [mailto:yoavs@computer.org]
> Sent: Mittwoch, 15. März 2006 14:47
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Hs_err_pid XWiki 0.9.840 + tomcat 5.5.9 +
> vm1.5.0_06
>
> Hola,
> As someone with Tomcat (though not XWiki) experience, 99% of the time
> these SIGSEGV faults result from a problem with the JVM installation
> missing required OS patches. Start at
> http://java.sun.com/j2se/1.5.0/install.html, pick the edition you're
> installing, and click on the Linux Notes link from the resulting page
> for required patch levels for things like glibc. I hope that helps,
>
> Yoav
>
> On 3/15/06, jeremi joslin <jeremi23(a)gmail.com> wrote:
> > On 3/15/06, Leonard Lin <leonard.lin(a)unic.com> wrote:
> > > Hi
> > >
> > > Are you running xwiki.com on a virtualized system such as VMWare?
> > > One of our programmers suggested, that it might have something to
> > > do with VMWare (in our case) because of the SIGSEGV issued,
> > > Pointing to either errornous implementation in javaVM or failing
> > > Hardware.
> >
> > No, xwiki.com is running on 3 real computers under Debian Sarge. For
> > the rest, i don't know.
> >
> > Jeremi
> > --
> > Blog: http://www.jeremi.info
> > LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> > Project Manager XWiki: http://www.xwiki.org
> > skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
> >
> >
> > --
> > You receive this message as a subscriber of the
> > xwiki-users(a)objectweb.org mailing list. To unsubscribe:
> > mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> Yoav Shapira
> Nimalex LLC
> 1 Mifflin Place, Suite 310
> Cambridge, MA, USA
> yoavs(a)computer.org / www.yoavshapira.com
>
>
>
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list. To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
Hi Yoav
Thanks a lot for your hint.
As far as i have seen the problems stated on the sun-website are concerning
Old kernels or older glibc
We use
Kernel: 2.6.9-11.ELsmp
glibc: 2.3.4
Though the following link seems to me heading into a similiar direction:
http://forum.java.sun.com/thread.jspa?threadID=643360&start=0&tstart=0
regards
-----Original Message-----
From: Yoav Shapira [mailto:yoavs@computer.org]
Sent: Mittwoch, 15. März 2006 14:47
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Hs_err_pid XWiki 0.9.840 + tomcat 5.5.9 + vm1.5.0_06
Hola,
As someone with Tomcat (though not XWiki) experience, 99% of the time these SIGSEGV faults result from a problem with the JVM installation missing required OS patches. Start at http://java.sun.com/j2se/1.5.0/install.html, pick the edition you're installing, and click on the Linux Notes link from the resulting page for required patch levels for things like glibc. I hope that helps,
Yoav
On 3/15/06, jeremi joslin <jeremi23(a)gmail.com> wrote:
> On 3/15/06, Leonard Lin <leonard.lin(a)unic.com> wrote:
> > Hi
> >
> > Are you running xwiki.com on a virtualized system such as VMWare?
> > One of our programmers suggested, that it might have something to do
> > with VMWare (in our case) because of the SIGSEGV issued, Pointing to
> > either errornous implementation in javaVM or failing Hardware.
>
> No, xwiki.com is running on 3 real computers under Debian Sarge.
> For the rest, i don't know.
>
> Jeremi
> --
> Blog: http://www.jeremi.info
> LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> Project Manager XWiki: http://www.xwiki.org
> skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>
>
--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
yoavs(a)computer.org / www.yoavshapira.com
Whenever i try to register a new user the following message keeps popping up:
"An error occured during the registration process (-1)."
I can't seem to fix this, but i searched the archive and found that someone had the same thing previously, but there was no fix in the thread.
Anyone can shed some light on this?
Robin,
Thanks for the solution - it is exactly what I need - I was struggling with the object <-> property relationship.
I'd like to encourage one of the XWiki gurus to spent a bit of time on some Javadoc, and object and data models. I'm sure it would make XWiki a lot more attractive to current and prospective users.
Thanks, John
-----Original Message-----
From: Robin Fernandes [mailto:rewbs.soal@gmail.com]
Sent: Thursday, 16 March 2006 11:46 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] List member login ID and real name by group?
Hi,
Try this:
{table}
group|wikiname|real name
#set($sql = "select obj.name,prop.value from BaseObject obj, StringProperty prop where obj.className='XWiki.XWikiGroups' and obj.name!='XWiki.XWikiGroupTemplate' and prop.name='member' and obj.id=prop.id.id order by obj.name") #foreach ($row in $xwiki.search($sql)) #foreach ($item in $row) ##does anyone know a better way of extracting multiple fields from an sql result?
#if ($velocityCount==1)
#set($group=$item)
#elseif ($velocityCount==2)
#set($member=$item)
#end
#end
#set($memberDoc=$xwiki.getDocument($member))
#if ($member != "") ##ignore blank fields
$group | $member | $!memberDoc.get("first_name") $!memberDoc.get("last_name") #end #end {table}
Should create a table sorted by group with the columns:
group / wiki ID / first_name last_name
I'm sure there are many other (better, less verbose) ways of doing it, but with this method:
. The sql query gets the name of all XWiki.XWikiGroups objects and the value of their 'member' property (note: each XWikiGroups object in fact represents just one member) (also note: the name of the group object corresponds to the name of the document in which that object
lives)
. The value of the member property corresponds to the user's wiki name, which also happens to be the user's document name.
. The user's document contains the user's object. We can therefore use a call to 'get' on the document to get the user's object properties (e.g. first_name and last_name).
The API is quite useful (though it needs some more documentation):
http://build.xpertnet.biz/doc/api/com/xpn/xwiki/api/Api.html
And studying the classes in the XWiki class editor to discover the properties is very helpful too; make sure you use the real property names and not the "pretty names" though.
Hope this helps,
Robin.
On 15/03/06, Turner, John <John.Turner3(a)team.telstra.com> wrote:
> Jérémi,
>
> Thanks for your suggestion.
>
> ## This code shows a list of Users.
> #set($sql = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='XWiki.XWikiUsers'")
> #foreach ($item in $xwiki.searchDocuments($sql)) #set($itemdoc =
> $xwiki.getDocument($item)) #set($obj =
> $itemdoc.getObject("XWiki.XWikiUsers"))
> * $obj.name: $obj.first_name $obj.last_name #end
>
> The above code gives me a list of Users. How do I get a list that shows Groups, and for each Group the Members that belong to the Group? I don't understand the XWiki object or data model. Once I've got a Group, as per the following code, how do I get a list of Members that belong to the Group?
>
> ## This code shows a list of Groups.
> #set($sql2 = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='XWiki.XWikiGroups'")
> #foreach ($item in $xwiki.searchDocuments($sql2)) #set($itemdoc =
> $xwiki.getDocument($item))
> * $itemdoc.name
> #end
>
> Thanks, John
>
> -----Original Message-----
> From: jeremi joslin [mailto:jeremi23@gmail.com]
> Sent: Thursday, 16 March 2006 9:26 AM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] List member login ID and real name by group?
>
> On 3/16/06, Turner, John <John.Turner3(a)team.telstra.com> wrote:
> > Dear All,
> >
> > We use login IDs that are not very meaningful. I'd like to create a
> > page that lists the login ID and real name of each member by group
> > to help with administration. I can see how to get the groups, for example:
> >
> > #set($sqlGrp = ", BaseObject as obj where obj.name=doc.fullName and
> > obj.className='XWiki.XWikiGroups'")
> > #foreach ($item in $xwiki.searchDocuments($sqlGrp)) #set($itemdoc =
> > $xwiki.getDocument($item))
> > Group: $itemdoc.name <br/>
> > #end
> >
> > How do I access the members for a given group?
> >
> > Thanks, John
>
> Hi,
> maybe something like this is what you want :
>
> #set($sqlGrp = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='XWiki.XWikiUsers'")
> #foreach ($item in $xwiki.searchDocuments($sqlGrp)) #set($itemdoc =
> $xwiki.getDocument($item)) #set($obj =
> $itemdoc.getObject("XWiki.XWikiUsers"))
> user: $obj.fullName $obj.name<br/>
> #end
>
> Jérémi
>
> --
> Blog: http://www.jeremi.info
> LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> Project Manager XWiki: http://www.xwiki.org
> skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>
>
Jérémi,
Thanks for your suggestion.
## This code shows a list of Users.
#set($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.XWikiUsers'")
#foreach ($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
#set($obj = $itemdoc.getObject("XWiki.XWikiUsers"))
* $obj.name: $obj.first_name $obj.last_name
#end
The above code gives me a list of Users. How do I get a list that shows Groups, and for each Group the Members that belong to the Group? I don't understand the XWiki object or data model. Once I've got a Group, as per the following code, how do I get a list of Members that belong to the Group?
## This code shows a list of Groups.
#set($sql2 = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.XWikiGroups'")
#foreach ($item in $xwiki.searchDocuments($sql2))
#set($itemdoc = $xwiki.getDocument($item))
* $itemdoc.name
#end
Thanks, John
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, 16 March 2006 9:26 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] List member login ID and real name by group?
On 3/16/06, Turner, John <John.Turner3(a)team.telstra.com> wrote:
> Dear All,
>
> We use login IDs that are not very meaningful. I'd like to create a
> page that lists the login ID and real name of each member by group to
> help with administration. I can see how to get the groups, for example:
>
> #set($sqlGrp = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='XWiki.XWikiGroups'")
> #foreach ($item in $xwiki.searchDocuments($sqlGrp)) #set($itemdoc =
> $xwiki.getDocument($item))
> Group: $itemdoc.name <br/>
> #end
>
> How do I access the members for a given group?
>
> Thanks, John
Hi,
maybe something like this is what you want :
#set($sqlGrp = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='XWiki.XWikiUsers'")
#foreach ($item in $xwiki.searchDocuments($sqlGrp)) #set($itemdoc = $xwiki.getDocument($item)) #set($obj = $itemdoc.getObject("XWiki.XWikiUsers"))
user: $obj.fullName $obj.name<br/>
#end
Jérémi
--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
Dear All,
We use login IDs that are not very meaningful. I'd like to create a
page that lists the login ID and real name of each member by group to
help with administration. I can see how to get the groups, for example:
#set($sqlGrp = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='XWiki.XWikiGroups'")
#foreach ($item in $xwiki.searchDocuments($sqlGrp))
#set($itemdoc = $xwiki.getDocument($item))
Group: $itemdoc.name <br/>
#end
How do I access the members for a given group?
Thanks, John
---
John Turner
NDSD Development (Dialog IT)
Email: John.Turner.2(a)team.telstra.com
Ph: (07) 3887 4574
An enhancement that I made to the default Main.AllDocs page illustrates
how to do what you ask, which is to modify the sorting order of items.
It's done by composing a modification to the SQL string passed to
xwiki.searchDocuments(). There is, to the best of my knowledge, no
documentation on how exactly this string affects the database query
inside the search, but generally it looks like it gets parsed into
clauses that are inserted and/or merged into the default query at
syntactically appropriate places. In your case, a simple "order by"
clause would appear to be all that's needed, and of course if the status
field doesn't sort in the order you want it to appear in, you have to
give them sequence numbers or something similar.
The "order by" field is passed to the doc by a parameter named "ordby",
and the page provides links that invoke it with popular values.
By the way, I do have a project management page that does something very
similar, with a table of projects containing links to plan documents and
status, priority and other fields, plus a link to a status page that
sucks journal entries from the plan docs, displaying the same table but
with internal links to the latest journal entries for that project.
I've been intending to add the ordering feature to it, but since it's in
the bells-and-whistles category from my boss's point of view, I haven't
got to that. Of course, you are probably not doing the
xwiki.searchDocuments (although that's certainly one way of doing it),
but I believe there's a similar facility in the doc.getObjects method.
----------------------------------------------------------
#set ($ordby = $request.getParameter("ordby")) ##
#if (!$ordby)
#set ($ordby = "doc.web, doc.name")
#end
#set ($sql = "$where order by $ordby")
1 All Documents of this Wiki
Order by:
[Document Name>$doc.fullName?ordby=doc.web,doc.name]
[Creator>$doc.fullName?ordby=doc.creator]
[Last Author>$doc.fullName?ordby=doc.author]
[Date>$doc.fullName?ordby=doc.date desc]
#foreach ($item in $xwiki.searchDocuments($sql))
## display each item, keeping track of the status and displaying it
when it's different
#end
------------------------------------------------------------
brain[sic]
-----Original Message-----
From: jjanssen(a)nl.swets.com [mailto:jjanssen@nl.swets.com]
Sent: Tuesday, March 14, 2006 12:14 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Sorted object list
Hello,
I've got a generic question. In my wiki I'm using many sorted lists. But
there must be a smarter way of creating these lists then what I'm doing
now. Currently I'm doing the following:
Form 1 used to fill out object of type Project, with several attributes
such as the project name and status. On a overview page I want to order
the projects by name based on their status. This will create something
like:
- active:
- project1
- project4
- closed:
- project2
- project5
- deprecated:
- project3
In which all the projects are links to the pages of the projects,
containing all the project information.
Has anybody any idea of a smart way of doing this. Currently I'm looping
through all project objects for every possible status. This is way too
much overhead.
Thanks,
Joep
Hello,
I've got a generic question. In my wiki I'm using many sorted lists. But there must be a smarter way of creating these lists then what I'm doing now. Currently I'm doing the following:
Form 1 used to fill out object of type Project, with several attributes such as the project name and status. On a overview page I want to order the projects by name based on their status. This will create something like:
- active:
- project1
- project4
- closed:
- project2
- project5
- deprecated:
- project3
In which all the projects are links to the pages of the projects, containing all the project information.
Has anybody any idea of a smart way of doing this. Currently I'm looping through all project objects for every possible status. This is way too much overhead.
Thanks,
Joep
It turns the cause of the problem was on my side. When attachments
were working again I happened to be using IE - and after switching
back to Firefox, it was broken again.
After binary chopping through my Firefox extensions, the culprit was
pretty obvious: the prefetch option in Fasterfox was causing the page
to be saved twice, the second time with no attachments. :)
Regards,
Robin
On 13/03/06, jeremi joslin <jeremi23(a)gmail.com> wrote:
> On 3/14/06, Robin Fernandes <rewbs.soal(a)gmail.com> wrote:
> > Looks like this was a temporary glitch. I re-attached the two images
> > on the openmpt wiki yesterday and they are still there now.
> >
> > Thanks,
> > Robin
> Ok,
> sorry, i was busy i didn't try.
> cool
>
> Jérémi
>
> --
> Blog: http://www.jeremi.info
> LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> Project Manager XWiki: http://www.xwiki.org
> skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
Thanks. I'm still baffled, and this is another solution that requires
programmer access to the wiki, but at this point, some solution is
better than no solution. I've even considered throwing in some
JavaScript code to do it.
It has been suggested by a co-worker that the java.util.Calendar class
has the date arithmetic needed, but I don't know how to instantiate a
class that isn't part of, or returned from a method on, an XWiki object,
and I don't see any that do that.
brain[sic]
-----Original Message-----
From: Mark Robinson [mailto:mark.robinson@hk.tntfreight.com]
Sent: Friday, March 10, 2006 7:01 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Dates (was: Long arithmetic...?)
Typical. I missed a brace off the if statement.
Sorry if you just cut and pasted the wrong answer.
Cheers,
Mark.
CORRECTION BELOW
Hi Brian.
I am not sure about with Velocity but you should be able to do this
easily with a Groovy script.
It basically is Java without the braces and type declarations so it is
very powerful. Apologies if I have it wrong below but I have only
started playing with it a few days ago.
Try something like this below in your page.
<%
def today = new Date()
println today
if(testitem < (today - 7))
{
println "This is more than a week old"
}
else
{
println "This is less than a week old"
}
%>
If someone who knows Groovy well can correct that for you it might be a
solution.
Hope it helps.
Cheers,
Mark
On 11 Mar 2006, at 1:19 AM, THOMAS, BRIAN M ((SBCSI)) wrote:
It troubles me that no one has had an answer to this so far.
I tried asking roughly the same question of the velocity-users list and
was told that a new version of Velocity now does arithmetic with
non-integer numbers, but two things make that problematic: first, I
have limited access to the server to install software; second, I can't
believe that no one in all of XWiki's lifetime has ever tried to do any
date calculations, such as the difference of two dates, or
adding/subtracting intervals.
Isn't there an easier way to do this? All I want to do is decide
whether something's a week old.
brain[sic]
-----Original Message-----
From: THOMAS, BRIAN M (SBCSI)
Sent: Friday, March 03, 2006 5:18 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Long arithmetic...?
It seems that a Velocity #set directive fails when the RHS involves any
arithmetic operation with long integers.
Specifically, I just wanted to determine the difference between two
dates, thus:
#set ($age = $xwiki.currentDate.time -
$obj.xWikiObject.getDateValue("donedate").time)
I confirmed that I got credible results from both of the operands by
printing them, and I could assign either of them to another variable
name, but setting $age to the result of any arithmetic operation with
any of them always gave "$age" as the formatted result.
This shouldn't be this hard, should it?
brain[sic]
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi,
I've been working mostly on an individual xwiki installation until
now, and just started playing with the free hosted virtual wiki
service on wiki.com - it's very cool. :)
However, I'm trying to attach some small image files (<20k) to my
wikis, and the attachments disappear shortly after seemingly attaching
correctly. I do not get any error messages or warnings - the
attachments just go away.
Could this be related to the maintenance that occurred this weekend?
Or perhaps is there an attachment restriction on the free wikis?
The wikis are loa.xwiki.com and openmpt.xwiki.com.
Regards,
Robin.
Hi all,
The docstats table doesn't seem to maintain counts for attachments
with v0.9.840.
Is there a way to get attachment download counts?
Regards,
Robin
Is it possible to only allow certain types of files to be attached? Can you
show the user an error when they try to upload a .doc file, but allow .jpg
files?
Thanks,
--Craig
It troubles me that no one has had an answer to this so far.
I tried asking roughly the same question of the velocity-users list and
was told that a new version of Velocity now does arithmetic with
non-integer numbers, but two things make that problematic: first, I
have limited access to the server to install software; second, I can't
believe that no one in all of XWiki's lifetime has ever tried to do any
date calculations, such as the difference of two dates, or
adding/subtracting intervals.
Isn't there an easier way to do this? All I want to do is decide
whether something's a week old.
brain[sic]
-----Original Message-----
From: THOMAS, BRIAN M (SBCSI)
Sent: Friday, March 03, 2006 5:18 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Long arithmetic...?
It seems that a Velocity #set directive fails when the RHS involves any
arithmetic operation with long integers.
Specifically, I just wanted to determine the difference between two
dates, thus:
#set ($age = $xwiki.currentDate.time -
$obj.xWikiObject.getDateValue("donedate").time)
I confirmed that I got credible results from both of the operands by
printing them, and I could assign either of them to another variable
name, but setting $age to the result of any arithmetic operation with
any of them always gave "$age" as the formatted result.
This shouldn't be this hard, should it?
brain[sic]
I've attempted to install xwiki faithfully according to the
instructions, but alas it does not work.
Debian
linux 2.6.15
Tomcat 5.0.30-9
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-rc1)
Can anyone help interpret these errors?
INFO: Installing web application at context path /xwiki from URL file:/var/lib/tomcat5/webapps/xwiki
Mar 9, 2006 4:02:00 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/struts-logic.tld in context /xwiki
javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/struts-logic.tld in context /xwiki
at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4412)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:811)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Mar 9, 2006 4:02:00 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:130)
at org.apache.commons.beanutils.BeanUtilsBean.<init>(BeanUtilsBean.java:110)
at org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
at org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
at org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
at org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
at org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:561)
at org.apache.commons.digester.Rule.end(Rule.java:230)
at org.apache.commons.digester.Digester.endElement(Digester.java:1163)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1680)
at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:517)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:626)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:811)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.NoClassDefFoundError
at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 53 more
Mar 9, 2006 4:02:00 PM org.apache.catalina.startup.ContextConfig defaultConfig
SEVERE: Parse error in default web.xml
org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2952)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2978)
at org.apache.commons.digester.Digester.endElement(Digester.java:1166)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1680)
at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:517)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:626)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:811)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Mar 9, 2006 4:02:00 PM org.apache.catalina.startup.ContextConfig defaultConfig
SEVERE: Occurred at line 348 column 46
Mar 9, 2006 4:02:00 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Mar 9, 2006 4:02:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Mar 9, 2006 4:02:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Mar 9, 2006 4:02:00 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:/var/lib/tomcat5/webapps/ROOT
Mar 9, 2006 4:02:00 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:/var/lib/tomcat5/webapps/servlets-examples
Mar 9, 2006 4:02:00 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:/var/lib/tomcat5/webapps/jsp-examples
Mar 9, 2006 4:02:01 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:/var/lib/tomcat5/webapps/webdav
Mar 9, 2006 4:02:01 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Mar 9, 2006 4:02:01 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 9, 2006 4:02:01 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=10/63 config=/var/lib/tomcat5/conf/jk2.properties
Mar 9, 2006 4:02:01 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8548 ms
I get this all the time. I suspect it is due to a changed login page -
as this does not seem to happen on initial installations, only on the
installations that we have modified the login page.
-----Original Message-----
From: Stephen [mailto:steve@colehse.demon.co.uk]
Sent: 07 March 2006 14:59
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Strange log on behaviour
I have an xwiki on the wiki farm.
Users sometimes experience the following behaviour:
(1) Go to site, see a log on screen
(2) Username and password entered - taken to an html style sheet (I
think)
- this shows up as a new window in IE, takes over existing window in
Firefox
(3) Click back in case of Firefox, or close window for IE
(4) Taken to "normal" log-on screen
see screen shots here:
http://www.thecolehouse.org.uk/screenshots.htm
(trying to get screen shoot of css but all machines to hand have got
password remembered and so this behaviour is skipped)
This is off-putting for non-catechise new users cause they log on and in
their eyes get a page of gobbledygook and then give up.
Can anyone advise?
Thanks
Same thing over here actually.
An observation - I don't seem to have a user in my user list called Xwiki.XWikGuest - can it be that this is a default name that is not created anymore?
Also, in my case I use my own skin and have applied the same permissions to both.
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: 09 March 2006 07:46
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Strange log on behaviour
On 3/9/06, Ken Weiner <kweiner(a)gmail.com> wrote:
> Jeremi,
>
> Ok, I tried logging in as Admin, going to xwiki/bin/view/XWiki/MySkin,
> editing the page access rights, and then adding two different access
> rights:
>
> Groups:
> Access Levels: view
> Users: XWiki.XWikiGuest
> Allow/Deny: Allow
>
> Groups: XWiki.XWikiAllGroup
> Access Levels: view
> Users:
> Allow/Deny: Allow
>
> I still get the same problem. If I log out, refresh the page, then I
> get the weird looking skinless login page. Am I still doing something
> wrong?
>
here is what i use:
Groups: xwiki:XWiki.XWikiAllGroup, XWiki.XWikiAllGroup Access Levels: view
Users: XWiki.XWikiGuest
Allow/Deny: Allow
have you tried to go directly to your skin page. you should see it without beeing logged in. your css is attached to or in the skin object?
Jérémi
--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
A few months ago, I came across a Wiki syntax conversion utility on the web.
It allowed me to paste some wiki text into a form, specify what kind of Wiki
it came from (jspwiki, xwiki, mediawiki, etc.), specify what Wiki form I
wanted it converted to, and then would convert it for me.
I spent some time Googling today to find it, and I can't. I even searched
this list's archives, because I thought I might have read about it here.
If anyone knows what I'm talking about and could respond on this list, I
would really appreciate it!
Stephen
Hi,
I keep getting this error when I try to use the graphviz plugin. Does
anyone know why this occurs?
graphviz: CreateProcess: dot -Tgif "C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\xwiki\dot\dot-1811682563.dot" -o
"C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\xwiki\dot\dot-1811682563.gif" error=2
Thanks,
ssh
I have an xwiki on the wiki farm.
Users sometimes experience the following behaviour:
(1) Go to site, see a log on screen
(2) Username and password entered - taken to an html style sheet (I think)
- this shows up as a new window in IE, takes over existing window in
Firefox
(3) Click back in case of Firefox, or close window for IE
(4) Taken to "normal" log-on screen
see screen shots here:
http://www.thecolehouse.org.uk/screenshots.htm
(trying to get screen shoot of css but all machines to hand have got
password remembered and so this behaviour is skipped)
This is off-putting for non-catechise new users cause they log on and in
their eyes get a page of gobbledygook and then give up.
Can anyone advise?
Thanks
How do I get the graphviz plugin to work in 0.9.840?
The default installation does not include the graphviz plugin and I
can't find any documentation on setting up this online.
Can anyone assist?
Thanks,
Sim
Hitting the back button after previewing a change to a wiki page results in
the change going away, in IE.
Steps to reproduce:
1. In XWiki, through MS Internet Explorer, Click "Edit this Page" on any
page
2. Add a line at the top
3. Click Preview
4. Click the browser's Back button
The line you added in step 2 is gone.
This appears to be counter to the default behaviour in IE. I made a test
page with a <textarea>, and IE doesn't whipe out the text when I go to
another page, and then back. I added the default xwiki meta header tags,
thinking that might be the culprit, but that doesn't have any affect.
Any ideas?
Thanks,
--Craig
For past few weeks I have encountered empty comments posted by the user
WebHome in my xwiki installation. I see those comments even in pages that
were not accessible to general public. Can anyone explain me how I got those
comments? In some pages, especially in blog entries I saw three blank
comments posted by WebHome.
I have been deleting all of them manually for now, how do i prevent such
unwanted comments? Is this a bug?
thanks,
- sushil
--
Sushil Krishna Bajracharya
Department of Informatics
Bren School of ICS, UCI
It seems that a Velocity #set directive fails when the RHS involves any
arithmetic operation with long integers.
Specifically, I just wanted to determine the difference between two
dates, thus:
#set ($age = $xwiki.currentDate.time -
$obj.xWikiObject.getDateValue("donedate").time)
I confirmed that I got credible results from both of the operands by
printing them, and I could assign either of them to another variable
name, but setting $age to the result of any arithmetic operation with
any of them always gave "$age" as the formatted result.
This shouldn't be this hard, should it?
brain[sic]
Hi,
I'm trying to to install XWiki in my Debian Linux (Tomcat 5.5 +
PostgreSQL). I followed the instructions and eventually got things to
work - or almost. I can see the WebHome wiki but I can't log in
neither with the administrator account (Admin/admin) nor with the
users accounts (some_username/equal_password).
I list bellow the log errors I get in Tomcat. Does anyone have a hint?
Thanks,
Luiz Celso
13:30:14,075 WARN http-5080-Processor25
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'login'
13:30:14,107 WARN http-5080-Processor25
http://www.thatismydomain.xxx:5080/xwiki-0.9.840/bin/login/XWiki/XWikiLogin…
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'loginerror'
Hello Jeremi,
Thanks for your response. By diary entries I mean the displayed format of entries into the blog should be such that
1. it shows the time the entry was added
2. date entry was added
3. heading of the entry
4. an extract
5. a link to read the whole article.
You will observe that the news implementation in XWIKI is structured exactly like this.
I wanted to know if I can make individual blogs like this without having to make them out of the existing 'news' framework....
more like recreating the news scenario and using it for something else.
Thanks for your anticipated help.
Niyi
-------- Original Message --------
Subject: Re: [xwiki-users] creating new blogs (03-Mar-2006 1:03)
From: jeremi23(a)gmail.com
To: niyi(a)ajbs-ltd.com
> On 3/1/06, Niyi Oyelade <niyi(a)ajbs-ltd.com> wrote:
>
> Has anyone created
> new blogs such that information can be added in form of
> diary entries
> just the way news items can be added on xwiki. Can you let me
> know how
> you acheived this please?
Hi,
sorry, but i don't understand what you want.
> what do you mean by "in
form of diary entries"?
Jeremi
--
Blog: http://
> www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=
> 1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn
> et gtalk : jeremi23(a)gmail.com
Srini,
I'm not sure what your problem is. I'm not using the "news" feature, so
can't offer any suggestions in that area. The XWiki distribution
contains a seed data set for MySQL, and I understand that this data set
includes some data required by the system. It's a bit tricky to get the
data into Oracle (MySQL sql client allows direct insertion of text and
LOB columns, but Oracle SQL*Plus doesn't). I set up a MySQL db with the
seed data and then wrote a program to read it from MySQL and write it to
Oracle. May be you're missing some of the important seed data?
John
_____
From: Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
Sent: Friday, 3 March 2006 9:52 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] New XWiki installation with Oracle
Thanks a million, John, I am much further now. Many features of the
XWiki work fine. I could even attach a 120K file. In addition to the
steps below, I had to set 'batch_update' size to 0 in hibernate.cfg.xml
.
There are still problems though. Under 'News' heading in the front
page, no categories show up. I can not edit any categories as well.
What might be going on here? Is it possible that this is just an access
rights issue?
Another notable problem is that, I cannot edit XWiki preferences. Which
table/ row should I modify to edit this entry?
Also, there is a ClassNotFound exception for XWiki.XwikiSkins in
xwiki.log. This file is not included in the distribution.
Thanks in advance,
Srini
On 2/28/06, Turner, John <John.Turner3(a)team.telstra.com> wrote:
I've attached a zip archive that contains some files that may help you
get up and running with Oracle. My stuff does not give a 100% solution
- there are still some issues with attachments. You'll find these files
in the zip:
* xwiki-db_ora_tab.sql - script to create Oracle schema
* hibernate.cfg.xml - hibernate config (I'm using the Oracle OCI JDBC
driver because the thin driver apparently has some size issues with
LOBS)
* xwiki.hbm.xml - hibernate mapping (I'm using a custom type for
nulls/empty string conversion)
* String2.java - hibernate custom type
I wrote a small program to read the data from the MySQL seed database to
the Oracle schema.
I hope this helps.
Regards, John
_____
From: Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
Sent: Wednesday, 1 March 2006 9:13 AM
To: xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
Subject: [xwiki-users] New XWiki installation with Oracle
Hi All.
I have recently downloaded and installed xwiki on mysql. It was so
smooth and impressive, we wanted to use it enterprise wide and need to
get it working with Oracle for that. So, far I haven't been able to
deploy it properly.
Our Environment - Oracle 9.0.2 database, with Oracle 10g JDBC Thin
drivers; Running in Tomcat (4.1.31)
Used both the schema from the attachment in the 'oracle' page of
www.xwiki.org/xwiki/bin/view/AdminGuide/Oracle and also generated the
schema using Hibernate hbm2ddl (Oracle Dialect). I am unable to get
this deployed with Oracle database.
1. Can someone in the list, who has success with Oracle + Xwiki (at
least past where I am at), send a hibernate mapping file (xwiki.hbm.xml)
that worked for Oracle?
2. In addition to the steps outlined in the page above, are there any
other steps needed to get it working on Oracle? Can this be done with
reasonable config/code/db changes?
Any pointers to debugging this further are much appreciated.
Here is the problem I am currently facing.
When I point my browser to the xwiki main page (out of the box), I get
the StaleObjectStateException exception while saving 'multilingual'
preference.
09:55:09,975 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> > Printer:toString:83
- listing e
ntities:
09:55:09,975 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> > Printer:toString:90
- com.xpn.x
wiki.objects.classes.BooleanClass{prettyName=Multi-Lingual ,
displayType=yesno, unmodifiable=false, classType=com.xpn.xwi
ki.objects.classes.BooleanClass, number=1}
09:55:09,975 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome >
AbstractFlushingEventListener:p
erformExecutions:267 - executing flush
09:55:09,991 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome >
BasicEntityPersister:delete:201
7 - Deleting entity:
[com.xpn.xwiki.objects.classes.BooleanClass#component[id,name]{name=mult
ilingual, id=104408758}]
09:55:09,991 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractBatcher:logOpenPrepared
Statement:277 - about to open PreparedStatement (open
PreparedStatements: 0, globally: 1)
09:55:09,991 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> SQL:log:311 - delete
from xwiki
booleanclasses where XWN_ID=? and XWN_NAME=?
Hibernate: delete from xwikibooleanclasses where XWN_ID=? and XWN_NAME=?
09:55:09,991 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractBatcher:getPreparedStat
ement:365 - preparing statement
09:55:10,053 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
IntegerType:nullSafeSet:59 - bi
nding '104408758' to parameter: 1
09:55:10,053 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
StringType:nullSafeSet:59 - bin
ding 'multilingual' to parameter: 2
09:55:10,116 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractBatcher:logClosePrepare
dStatement:285 - about to close PreparedStatement (open
PreparedStatements: 1, globally: 2)
09:55:10,131 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractBatcher:closePreparedSt
atement:403 - closing statement
09:55:10,147 ERROR http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractFlushingEventListener:p
erformExecutions:277 - Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check
(BasicEntityPersister.java:1431)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java:2062)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java :2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:
59)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions
(ActionQueue.java:223)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java :27
4)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty
(XWikiHibernateStore.java:1288)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java :517)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument (XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki (XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet
(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java :127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:235
8)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke (
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java :705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run (Thread.java:534)
09:55:10,147 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
XWikiException:<init>:175 - Err
or number 3222 in 3: Exception while saving class
XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass
</classType>
</multilingual>
]
at
org.hibernate.persister.entity.BasicEntityPersister.check(BasicEntityPer
sister.java:1431)
at org.hibernate.persister.entity.BasicEntityPersister.delete
(BasicEntityPersister.java:2062)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java:2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java
:59)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions
(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:27
4)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush
(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibe
rnateStore.java:1288)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc
(XWikiHibernateStore.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass (XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki (XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java :209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
09:55:10,162 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
XWikiException:<init>:175 - Err
or number 3221 in 3: Exception while saving class
XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
com.xpn.xwiki.XWikiException: Error number 3222 in 3: Exception
while saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibe
rnateStore.java:1304)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc
(XWikiHibernateStore.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass (XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki (XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java :209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.StaleObjectStateException : Row was updated or
deleted by another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check
(BasicEntityPersister.java:1431)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java:2062)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java :2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:
59)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions
(ActionQueue.java:223)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java :27
4)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty
(XWikiHibernateStore.java:1288)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java :517)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument (XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki (XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet
(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java :127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:235
8)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke (
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java :705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run (Thread.java:534)
09:55:10,240 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
XWikiException:<init>:175 - Err
or number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
com.xpn.xwiki.XWikiException: Error number 3221 in 3: Exception
while saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1173)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:517)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc
(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute
(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java :696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java :166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
======================
Please let me know if you need further information.
Thanks in advance,
Srini
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto: <mailto:sympa@objectweb.org>
sympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<http://www.objectweb.org/wws>
Has anyone created new blogs such that information can be added in form of
diary entries just the way news items can be added on xwiki. Can you let me
know how you acheived this please?
--
View this message in context: http://www.nabble.com/creating-new-blogs-t1206067.html#a3184781
Sent from the XWiki- Users forum at Nabble.com.
Hi all,
Two minor queries; if anyone can point me in the right direction or has
some tips I'd be mighty grateful.
1) Is it possible to make attachments open in new window across the
board, based on user configuration? I would guess that the attachments
template needs changing for this?
2) Is it possible within XWiki to have a link to a location accessable
to the user's system (eg an 'm' drive that is mapped to a network
location), and have that link open in a new explorer window, perminantly
(ie in conjunction with q1 but ignoring user configuration)?
For example, two users "User A" and "User B".
User A has decided they want to open files in a new window.
User B has decided they want to open files in the same window.
User A:
* clicks on a file attachment, and the file is opened in a new
window.
* clicks on a location link (m:\thislocation) and a new window is
opened showing the folder contents.
User B:
* clicks on a file attachment, and the file replaces XWiki in the
current iexplorer window.
* clicks on a location link (m:\thislocation) and a new window is
opened showing the folder contents.
I tried searching through the xwiki sites, but could not come up with
anything concrete to demonstrate the configurations needed for either...
I've attached a zip archive that contains some files that may help you
get up and running with Oracle. My stuff does not give a 100% solution
- there are still some issues with attachments. You'll find these files
in the zip:
* xwiki-db_ora_tab.sql - script to create Oracle schema
* hibernate.cfg.xml - hibernate config (I'm using the Oracle OCI JDBC
driver because the thin driver apparently has some size issues with
LOBS)
* xwiki.hbm.xml - hibernate mapping (I'm using a custom type for
nulls/empty string conversion)
* String2.java - hibernate custom type
I wrote a small program to read the data from the MySQL seed database to
the Oracle schema.
I hope this helps.
Regards, John
_____
From: Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
Sent: Wednesday, 1 March 2006 9:13 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] New XWiki installation with Oracle
Hi All.
I have recently downloaded and installed xwiki on mysql. It was so
smooth and impressive, we wanted to use it enterprise wide and need to
get it working with Oracle for that. So, far I haven't been able to
deploy it properly.
Our Environment - Oracle 9.0.2 database, with Oracle 10g JDBC Thin
drivers; Running in Tomcat (4.1.31)
Used both the schema from the attachment in the 'oracle' page of
www.xwiki.org/xwiki/bin/view/AdminGuide/Oracle and also generated the
schema using Hibernate hbm2ddl (Oracle Dialect). I am unable to get
this deployed with Oracle database.
1. Can someone in the list, who has success with Oracle + Xwiki (at
least past where I am at), send a hibernate mapping file (xwiki.hbm.xml)
that worked for Oracle?
2. In addition to the steps outlined in the page above, are there any
other steps needed to get it working on Oracle? Can this be done with
reasonable config/code/db changes?
Any pointers to debugging this further are much appreciated.
Here is the problem I am currently facing.
When I point my browser to the xwiki main page (out of the box), I get
the StaleObjectStateException exception while saving 'multilingual'
preference.
09:55:09,975 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> > Printer:toString:83
- listing e
ntities:
09:55:09,975 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> > Printer:toString:90
- com.xpn.x
wiki.objects.classes.BooleanClass{prettyName=Multi-Lingual ,
displayType=yesno, unmodifiable=false, classType=com.xpn.xwi
ki.objects.classes.BooleanClass, number=1}
09:55:09,975 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome >
AbstractFlushingEventListener:p
erformExecutions:267 - executing flush
09:55:09,991 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome >
BasicEntityPersister:delete:201
7 - Deleting entity:
[com.xpn.xwiki.objects.classes.BooleanClass#component[id,name]{name=mult
ilingual, id=104408758}]
09:55:09,991 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractBatcher:logOpenPrepared
Statement:277 - about to open PreparedStatement (open
PreparedStatements: 0, globally: 1)
09:55:09,991 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> SQL:log:311 - delete
from xwiki
booleanclasses where XWN_ID=? and XWN_NAME=?
Hibernate: delete from xwikibooleanclasses where XWN_ID=? and XWN_NAME=?
09:55:09,991 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractBatcher:getPreparedStat
ement:365 - preparing statement
09:55:10,053 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
IntegerType:nullSafeSet:59 - bi
nding '104408758' to parameter: 1
09:55:10,053 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
StringType:nullSafeSet:59 - bin
ding 'multilingual' to parameter: 2
09:55:10,116 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractBatcher:logClosePrepare
dStatement:285 - about to close PreparedStatement (open
PreparedStatements: 1, globally: 2)
09:55:10,131 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractBatcher:closePreparedSt
atement:403 - closing statement
09:55:10,147 ERROR http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
AbstractFlushingEventListener:p
erformExecutions:277 - Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check
(BasicEntityPersister.java:1431)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java:2062)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java :2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:
59)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions
(ActionQueue.java:223)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java :27
4)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty
(XWikiHibernateStore.java:1288)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java :517)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument (XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki (XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet
(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java :127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:235
8)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke (
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java :705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run (Thread.java:534)
09:55:10,147 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
XWikiException:<init>:175 - Err
or number 3222 in 3: Exception while saving class
XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass
</classType>
</multilingual>
]
at
org.hibernate.persister.entity.BasicEntityPersister.check(BasicEntityPer
sister.java:1431)
at org.hibernate.persister.entity.BasicEntityPersister.delete
(BasicEntityPersister.java:2062)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java:2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java
:59)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions
(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:27
4)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush
(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibe
rnateStore.java:1288)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc
(XWikiHibernateStore.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass (XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki (XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java :209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
09:55:10,162 DEBUG http-8080-Processor5 <
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
XWikiException:<init>:175 - Err
or number 3221 in 3: Exception while saving class
XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
com.xpn.xwiki.XWikiException: Error number 3222 in 3: Exception
while saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibe
rnateStore.java:1304)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc
(XWikiHibernateStore.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass (XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki (XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java :209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.StaleObjectStateException : Row was updated or
deleted by another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check
(BasicEntityPersister.java:1431)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java:2062)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntityPe
rsister.java :2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:
59)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions
(ActionQueue.java:223)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java :27
4)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty
(XWikiHibernateStore.java:1288)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1165)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java :517)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument (XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki (XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet
(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java :127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:235
8)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke (
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext (StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java :705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run (Thread.java:534)
09:55:10,240 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
<http://nh120099:8080/xwiki/bin/view/Main/WebHome> >
XWikiException:<init>:175 - Err
or number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
com.xpn.xwiki.XWikiException: Error number 3221 in 3: Exception
while saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>
com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateSto
re.java:1173)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:517)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc
(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute
(ViewEditAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java :696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:146)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java :166)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java :594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
======================
Please let me know if you need further information.
Thanks in advance,
Srini
Hello
On http://bornesetstations.xwiki.com/xwiki/bin/view/Photos
if I try to add a new gallery called "air france", I'm getting an error :
Error number 11002 in 3: Cannot add a template to document
Photos.AirFrance because it already has content
But the gallery does not show.
Also, it would be nice if when pressing the enter key after completing the
gallery name field, the button "add this gallery" be activated.
Thanks for your investigation.
Jerome
Jérôme DELACROIX
PFLS
Tél. : 06 60 48 61 63
Mél. : jerome.delacroix(a)pfls.fr
Skype : jdelacr
How does one obtain stats on the number of times an XWiki page has been
visited?
I've tried
$doc.getCurrentMonthPageStats("view").getVisits()
but all I get is 0. Perhaps I'm passign the wrong parameter ("view") -- I'm
just guessing at what it should be -- or perhaps I have to do something to
enable collection of stats?
Also, does xwiki track the number of times an attachment has been
downloaded?
Thanks in advance for help.
Regards,
Stephen
Hello,
I've found a few references on xwiki.org mentionning that Oracle was
not perfectly supported, and that some actions had to be taken to make
XWiki work well on Oracle.
Could it be possible to know more about Oracle support? What's really
required to make XWiki work on Oracle? Are the instructions found on
xwiki.org still relevant with the latest version of XWiki? Has someone
been running the latest version of XWiki on Oracle 9i or 10g?
Thanks in advance for your answers,
Guillaume
This is my first post to the list. Let me begin by saying I think XWiki is
very very cool.
I have 2 questions.
1. Is there a place I can look to find more info about setting up XWiki to
use LDAP for authentication? I looked at
http://www.xwiki.org/xwiki/bin/view/Dev/LDAPIntegration and link specific to
active directory. I'd like XWiki to simply check passwords against our LDAP
server but do nothing else with it (like trying to add users in it etc.). I
looked at the LDAPAuthServiceImpl.java source, but wasn't really able to
make anything out of it.
2. How do I enable logging and turn up the log level in XWiki?
I'll try to aggregate whatever helpful answers I get and add them to
xwiki.org.
Thanks,
--Craig
Hi All.
I have recently downloaded and installed xwiki on mysql. It was so smooth
and impressive, we wanted to use it enterprise wide and need to get it
working with Oracle for that. So, far I haven't been able to deploy it
properly.
Our Environment - Oracle 9.0.2 database, with Oracle 10g JDBC Thin drivers;
Running in Tomcat (4.1.31)
Used both the schema from the attachment in the 'oracle' page of
www.xwiki.org/xwiki/bin/view/AdminGuide/Oracle and also generated the schema
using Hibernate hbm2ddl (Oracle Dialect). I am unable to get this deployed
with Oracle database.
1. Can someone in the list, who has success with Oracle + Xwiki (at least
past where I am at), send a hibernate mapping file (xwiki.hbm.xml) that
worked for Oracle?
2. In addition to the steps outlined in the page above, are there any other
steps needed to get it working on Oracle? Can this be done with reasonable
config/code/db changes?
Any pointers to debugging this further are much appreciated.
Here is the problem I am currently facing.
When I point my browser to the xwiki main page (out of the box), I get the
StaleObjectStateException exception while saving 'multilingual' preference.
09:55:09,975 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> Printer:toString:83 -
listing e
ntities:
09:55:09,975 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> Printer:toString:90 -
com.xpn.x
wiki.objects.classes.BooleanClass{prettyName=Multi-Lingual ,
displayType=yesno, unmodifiable=false, classType=com.xpn.xwi
ki.objects.classes.BooleanClass, number=1}
09:55:09,975 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
> AbstractFlushingEventListener:p
erformExecutions:267 - executing flush
09:55:09,991 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome
> BasicEntityPersister:delete:201
7 - Deleting entity:
[com.xpn.xwiki.objects.classes.BooleanClass#component[id,name]{name=multilingual,
id=104408758}]
09:55:09,991 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractBatcher:logOpenPrepared
Statement:277 - about to open PreparedStatement (open PreparedStatements: 0,
globally: 1)
09:55:09,991 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> SQL:log:311 - delete from
xwiki
booleanclasses where XWN_ID=? and XWN_NAME=?
Hibernate: delete from xwikibooleanclasses where XWN_ID=? and XWN_NAME=?
09:55:09,991 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractBatcher:getPreparedStat
ement:365 - preparing statement
09:55:10,053 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> IntegerType:nullSafeSet:59
- bi
nding '104408758' to parameter: 1
09:55:10,053 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> StringType:nullSafeSet:59
- bin
ding 'multilingual' to parameter: 2
09:55:10,116 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractBatcher:logClosePrepare
dStatement:285 - about to close PreparedStatement (open PreparedStatements:
1, globally: 2)
09:55:10,131 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractBatcher:closePreparedSt
atement:403 - closing statement
09:55:10,147 ERROR http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome>
AbstractFlushingEventListener:p
erformExecutions:277 - Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check (
BasicEntityPersister.java:1431)
at org.hibernate.persister.entity.BasicEntityPersister.delete(
BasicEntityPersister.java:2062)
at org.hibernate.persister.entity.BasicEntityPersister.delete(
BasicEntityPersister.java :2203)
at org.hibernate.action.EntityDeleteAction.execute(
EntityDeleteAction.java:59)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions (ActionQueue.java
:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java :27
4)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty (
XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(
XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java :517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(
XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument (XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki (XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform (
RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1164)
at org.apache.struts.action.ActionServlet.doGet (ActionServlet.java
:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java :127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContextValve.invoke (
StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java :433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContext.invoke(
StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke (
StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java :116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service (
CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java :705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
at java.lang.Thread.run (Thread.java:534)
09:55:10,147 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> XWikiException:<init>:175
- Err
or number 3222 in 3: Exception while saving class
XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType> com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
org.hibernate.StaleObjectStateException: Row was updated or deleted
by another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass </classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check(
BasicEntityPersister.java:1431)
at org.hibernate.persister.entity.BasicEntityPersister.delete (
BasicEntityPersister.java:2062)
at org.hibernate.persister.entity.BasicEntityPersister.delete(
BasicEntityPersister.java:2203)
at org.hibernate.action.EntityDeleteAction.execute(
EntityDeleteAction.java :59)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
:223)
at org.hibernate.engine.ActionQueue.executeActions (ActionQueue.java
:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:27
4)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush (
DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(
XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(
XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc (
XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(
XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass (XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki (XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process (
RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
:397)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java :209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContext.invoke (
StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :594)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java :433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(
CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process (
Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
PoolTcpEndpoint.java :577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
09:55:10,162 DEBUG http-8080-Processor5
<http://nh120099:8080/xwiki/bin/view/Main/WebHome>
XWikiException:<init>:175 - Err
or number 3221 in 3: Exception while saving class
XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType> com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
com.xpn.xwiki.XWikiException: Error number 3222 in 3: Exception
while saving class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType> com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(
XWikiHibernateStore.java:1304)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(
XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc (
XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(
XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass (XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki (XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process (
RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
:397)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java :209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContext.invoke (
StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :594)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java :433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(
CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process (
Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
PoolTcpEndpoint.java :577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.StaleObjectStateException : Row was updated or deleted
by another transaction (or unsaved-value mapping was
incorrect): [com.xpn.xwiki.objects.classes.BooleanClass#<?xml
version="1.0" encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at org.hibernate.persister.entity.BasicEntityPersister.check (
BasicEntityPersister.java:1431)
at org.hibernate.persister.entity.BasicEntityPersister.delete(
BasicEntityPersister.java:2062)
at org.hibernate.persister.entity.BasicEntityPersister.delete(
BasicEntityPersister.java :2203)
at org.hibernate.action.EntityDeleteAction.execute(
EntityDeleteAction.java:59)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions (ActionQueue.java
:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java :27
4)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty (
XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(
XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java :517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(
XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument (XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki (XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform (
RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1164)
at org.apache.struts.action.ActionServlet.doGet (ActionServlet.java
:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java :127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContextValve.invoke (
StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java :433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContext.invoke(
StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke (
StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java :116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service (
CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java :705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
at java.lang.Thread.run (Thread.java:534)
09:55:10,240 DEBUG http-8080-Processor5 <
http://nh120099:8080/xwiki/bin/view/Main/WebHome> XWikiException:<init>:175
- Err
or number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType> com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
com.xpn.xwiki.XWikiException: Error number 3221 in 3: Exception
while saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect): [com.xpn.
xwiki.objects.classes.BooleanClass#<?xml version="1.0"
encoding="UTF-8"?>
<multilingual>
<name>multilingual</name>
<prettyName>Multi-Lingual</prettyName>
<unmodifiable>0</unmodifiable>
<displayType>yesno</displayType>
<number>1</number>
<classType> com.xpn.xwiki.objects.classes.BooleanClass</classType>
</multilingual>
]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(
XWikiHibernateStore.java:1173)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc (
XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute (ViewEditAction.java
:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java :696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter (
ApplicationFilterChain.java:146)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java :166)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java
:948)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardContext.invoke (
StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java :594)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java :433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(
CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process (
Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
PoolTcpEndpoint.java :577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
======================
Please let me know if you need further information.
Thanks in advance,
Srini
I am running XWiki version 0.9.840 against an Oracle 9iR2 database. I
had to create a Hibernate custom type to change null string values to
empty string values. I have some issues with attachments - updates or
deletes have issues with the archive, and users have reported other, as
yet unreproducable, attachment problems. Everything else seems to work
well.
John
-----Original Message-----
From: Guillaume Laforge [mailto:glaforge@gmail.com]
Sent: Tuesday, 28 February 2006 10:59 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Oracle support
Hello,
I've found a few references on xwiki.org mentionning that Oracle was not
perfectly supported, and that some actions had to be taken to make XWiki
work well on Oracle.
Could it be possible to know more about Oracle support? What's really
required to make XWiki work on Oracle? Are the instructions found on
xwiki.org still relevant with the latest version of XWiki? Has someone
been running the latest version of XWiki on Oracle 9i or 10g?
Thanks in advance for your answers,
Guillaume
I try to create a new object of a class, but the form does not show up.
$doc.display("title", "edit", $obj) does not bring me an input field.
When investigating, it seems like following call returns a null-object.
#set($obj = $doc.getObject("XWiki.ArticleClass",0))
Anybody with xwiki experience that can explain?
My XWiki Version is 0.9.840
My code to add is from the default xwiki-base and look like this:
1.1 Add a News
#includeTopic("XWiki.XWikiCommonJavascript")
<form action="" id="newdoc">
<input type="hidden" name="parent" value="Main.WebHome" />
<input type="hidden" name="template" value="XWiki.ArticleClassTemplate" />
<input type="hidden" name="sheet" value="1" />
<input type="hidden" name="webname" value="Main"/>
<input type="hidden" name="name" value=""/>
<input type="text" name="title" value="page name" size="18"/>
<input type="button" value="Add this news" onclick='if (updateName(this.form.title,this.form.name)) { action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' />
</form>
My template looks like this:
#includeForm("XWiki.ArticleClassSheet")
And the ClassSheet start like this:
#set($obj = $doc.getObject("XWiki.ArticleClass",0))
#if($context.action!="inline")
.....
#else
<table border="0">
<tr>
<td>
Title:
</td>
<td>
$doc.display("title", "edit", $obj)
......
It seems to me that this message did not make it on the list.
---------- Forwarded message ----------
From: Guillaume Laforge <glaforge(a)gmail.com>
Date: Feb 28, 2006 1:56 PM
Subject: Oracle support
To: xwiki-user(a)objectweb.org
Hello,
I've found a few references on xwiki.org mentionning that Oracle was
not perfectly supported, and that some actions had to be taken to make
XWiki work well on Oracle.
Could it be possible to know more about Oracle support? What's really
required to make XWiki work on Oracle? Are the instructions found on
xwiki.org still relevant with the latest version of XWiki? Has someone
been running the latest version of XWiki on Oracle 9i or 10g?
Thanks in advance for your answers,
Guillaume
--
Luis Arias
http://www.xwiki.comhttp://www.innover-entreprendre.net
skype : kaaloo
+33 6 14 20 87 93 mobile
Ok, I tried my hand at updating the plugin:
http://www.xwiki.org/xwiki/bin/view/Dev/EmailNotificationSuggestedFixes
.
Any input appreciated.
Cheers,
Robin.
On 05/02/06, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
>
> It's possible the email notification plugin needs a little refreshing
> since it was made
> Probably some properties are not set properly before saving the object
>
> Ludovic
>
> Robin Fernandes a écrit :
> > Hi,
> >
> > Is anyone comfortably running the email notification plugin?
> >
> > I'm seing quite a lot of strange behaviour.
> > For example, if I understand correctly, the plugin is supposed to
> > programatically create a new class, and add an instance of that class
> > to the user's page when they first create a subscription.
> >
> > Looking at the database after subscribing to a page, I can see some
> > new properties but they don't seem to be associated with any objects
> > (and they have an ID of 0, which I'm guessing isn't healthy):
> >
> > select * from xwikiproperties order by abs(XWP_ID) desc;
> >
> > +-------------+-------------------------------+--------------------------------------------+
> > | XWP_ID | XWP_NAME | XWP_CLASSTYPE
> > |
> > +-------------+-------------------------------+--------------------------------------------+
> >
> > [...]
> >
> > | -512550 | groups |
> > com.xpn.xwiki.objects.StringProperty |
> > | -512550 | levelsye |
> > com.xpn.xwiki.objects.StringProperty |
> > | -512550 | allow |
> > com.xpn.xwiki.objects.IntegerProperty |
> > | 0 | subscribedDocuments |
> > com.xpn.xwiki.objects.DBStringListProperty |
> > | 0 | subscribedWebs |
> > com.xpn.xwiki.objects.DBStringListProperty |
> > | 0 | schedulerName |
> > com.xpn.xwiki.objects.StringListProperty |
> > +-------------+-------------------------------+--------------------------------------------+
> >
> >
> > select XWO_NAME, XWO_ID from xwikiobjects where XWO_ID='0';
> > Empty set (0.00 sec)
> >
> > Would we perhaps expect to see something like this if the call to
> > doc.addobject() is failing somewhere?
> >
> >
> > After manually adding an instance of the email notification object to
> > my user page things
> > seem to be working, so far.
> >
> > Regards,
> > Robin
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
Hi All,
I am new to xwiki & have a couple of simple questions I was unable find in the documentation or the mailing list.
First, the documentation on installing xwiki on Win2K says I need Tomcat v4.1. I was wondering if Tomcat 5 would work & if there were any issues I needed to be aware of before trying to run xwiki in Tomcat 5.
Second, the url to the xwiki webhome is mydomain.com/xwiki/bin/view/Main/WebHome. I would like the url to be mydomian.com/xwiki. I noticed some people are using the redirect meta tag to accomplish this. xwiki.org seems to be using some other mechanism to other than a redirect to forward the user to the more complicated url. I was wondering if others have the same concern and how they resolved the issue.
Thanks for your help!!
Linda
It seems that the XWiki.XWikiCommonJavascript method updateName allows & to appear in a document name, and that this is entirely legal. However, it breaks the RSS feed by resulting in malformed XML when reporting the new document.
Working for a company with an ampersand in its name, this is a problem I've tripped over numerous times already, first in the RSS feed title where I had to escape it with the HTML sequence (which, ironically, begins with an ampersand...). But I'm baffled as to what to do with this; should updateName be modified to remove them also, or would a fix to WikiRssCode be preferable?
brain[sic]
-----Original Message-----
From: THOMAS, BRIAN M (SBCSI)
Sent: Tuesday, February 21, 2006 8:37 AM
To: 'xwiki-users(a)objectweb.org'
Subject: RE: [xwiki-users] $doc.display
A good beginning. Sorry, I kept saying "xcode" when I meant "xpage" - don't know why I got that stuck in my head.
So, according to the page, my inference was correct: that the "xpage" parameter specifies the name of a Velocity template.
What exactly, then, happens to the document named in the "template" parameter? It is my hope that this, which you describe as "static content", would be copied into the target document before editing, but it isn't listed as a possible parameter to the "edit" action.
brain[sic]
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Saturday, February 18, 2006 7:35 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] $doc.display
I agree completely.. We will make a push on documentation.. I've started a page for URLs:
http://www.xwiki.org/xwiki/bin/view/DevGuide/Controler
THOMAS, BRIAN M (SBCSI) a écrit :
> This is a two-part question:
>
> First, somewhere on xwiki.org, I found a discussion Ludovic had about
> the design strategy of XWiki, and I seem to recall that he mentioned
> that the property types in XWiki objects were extensible, which I can
> well believe. However, I have searched in vain for any mention of how
> to do this, and it looks as though it requires adding Java classes to
> the server, and at minimum a database schema change. However, some
> hope remains because it seems that there may be a way to create
> aggregate objects from simple types. How can this be done?
>
> Second, how do I learn the different display modes and what they mean
> to the $doc.display method? I note that the "xcode" parameter's value
> sometimes corresponds to a Velocity script (e.g. "rdf" to rdf.vm,
> etc.). What I would like to be able to do is to create a custom
> display mode so that, in conjunction possibly with an aggregate type,
> I can, for example, create an arbitrarily-deep hierarchical menu
> structure, and when I invoke a particular xcode or other mode,
> $doc.display will use my template to decorate the data with xml that
> will make links that invoke javascript to show or hide their contents.
>
> In general, it appears there are lots of very valuable constants
> (format strings, display modes, special codes, etc.) throughout the
> system that are not useful to me because I don't know about them. The
> javadoc APIs hint at them, and some of the wiki docs use them. How
> can I learn of them, especially those that are simply the result of
> configurations that I can easily extend?
>
> This is a wonderful product, and developing with it is fabulously easy
> - once I figure out stuff, which is excruciatingly difficult. I am
> sure that you are working furiously on the project, but I wonder how
> much more effectively you could work if the APIs were more effectively
> documented? Then lots more work could get done, because others would
> be able to work much more effectively, and have plenty of time left
> over to contribute our stuff back. That's how it would work with me,
> at least...
>
> brain[sic]
>
>
> ----------------------------------------------------------------------
> --
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list. To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
A good beginning. Sorry, I kept saying "xcode" when I meant "xpage" - don't know why I got that stuck in my head.
So, according to the page, my inference was correct: that the "xpage" parameter specifies the name of a Velocity template.
What exactly, then, happens to the document named in the "template" parameter? It is my hope that this, which you describe as "static content", would be copied into the target document before editing, but it isn't listed as a possible parameter to the "edit" action.
brain[sic]
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Saturday, February 18, 2006 7:35 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] $doc.display
I agree completely.. We will make a push on documentation.. I've started a page for URLs:
http://www.xwiki.org/xwiki/bin/view/DevGuide/Controler
THOMAS, BRIAN M (SBCSI) a écrit :
> This is a two-part question:
>
> First, somewhere on xwiki.org, I found a discussion Ludovic had about
> the design strategy of XWiki, and I seem to recall that he mentioned
> that the property types in XWiki objects were extensible, which I can
> well believe. However, I have searched in vain for any mention of how
> to do this, and it looks as though it requires adding Java classes to
> the server, and at minimum a database schema change. However, some
> hope remains because it seems that there may be a way to create
> aggregate objects from simple types. How can this be done?
>
> Second, how do I learn the different display modes and what they mean
> to the $doc.display method? I note that the "xcode" parameter's value
> sometimes corresponds to a Velocity script (e.g. "rdf" to rdf.vm,
> etc.). What I would like to be able to do is to create a custom
> display mode so that, in conjunction possibly with an aggregate type,
> I can, for example, create an arbitrarily-deep hierarchical menu
> structure, and when I invoke a particular xcode or other mode,
> $doc.display will use my template to decorate the data with xml that
> will make links that invoke javascript to show or hide their contents.
>
> In general, it appears there are lots of very valuable constants
> (format strings, display modes, special codes, etc.) throughout the
> system that are not useful to me because I don't know about them. The
> javadoc APIs hint at them, and some of the wiki docs use them. How
> can I learn of them, especially those that are simply the result of
> configurations that I can easily extend?
>
> This is a wonderful product, and developing with it is fabulously easy
> - once I figure out stuff, which is excruciatingly difficult. I am
> sure that you are working furiously on the project, but I wonder how
> much more effectively you could work if the APIs were more effectively
> documented? Then lots more work could get done, because others would
> be able to work much more effectively, and have plenty of time left
> over to contribute our stuff back. That's how it would work with me,
> at least...
>
> brain[sic]
>
>
> ----------------------------------------------------------------------
> --
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list. To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
This seems to have helped a bit, so far three days up without slowdown.
I'm sure there's some fine-tuning to do, but thanks for the fast response (and sorry for my slow confirmation).
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: 15 February 2006 18:34
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Slowdown to eventual fallover
Hi,
Have you tried increasing the memory pool of your Java JVM. Maybe the cache can't grow.
There is a a good chance this is it, especially with 2 webapps
Ludovic
esbachb(a)tycoelectronics.com a écrit :
> Hi Folks,
>
> I've been having a few odd problems with my XWiki installation of late.
> An example, starting from server down (switched off).
> 1) Server switched on, services start initiating.
> 2) Server comes up, all users can access and work in system.
> 3) System appears stable, working as expected for the next 24 hours or so.
> 4) Eventually the server starts grinding down to a halt. In the space of 30 mins from when it starts slowing, XWiki begins returning communication errors.
> 5) All other services are functional on the server, excluding Tomcat applications. MySQL services appear normal, and the database responds fairly quick to queries.
>
> In order to get the XWiki back up again, all that seems to be required is a restart of Tomcat. I have reinstalled the system several times to date with the same results, and I'm hopeful that it's a configuration problem.
> Any tips or advice on where to look, would be extremely welcome.
>
>
> Ah, almost forgot.. here are the details on the server:
> (any further info needed, please let me know) XWiki Version: 0.9.840
> Server:
> Windows2000 Server,
> Tomcat 4.1;
> MySQL 4.1;
> Memory available to services: 1.5GB;
> Minimum Disk space available at any one time: 5GB to 8GB;
>
> **The MySQL server is running on the same system as Tomcat.**
> Users:
> As this is currently still in testing for our environment, we have at most 30 users on the server at any one time.
>
> XWiki Applications:
> Due to our configuration and internal security policies, we have two xwiki web applications running on our Tomcat server, quite often both are in use at the same time. At this time, using a virtual XWiki for the second XWiki is not viable - but may be implemented in the future.
> Both XWiki's have their own database on the MySQL server.
>
>
> ----------------------------------------------------------------------
> --
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I'm using XWiki for some months now and I thought I'd
already understand the XWiki access rights system.
But apparently that is not the case and I get the
impression that the XWiki access rights system is
utterly complex, fragile and almost impossible to
understand... :-(
I'll try to describe what I wanted to accomplish,
what I did in order to reach the goal and what
results I finally got. Perhaps someone can point me
to the configuration errors I just don't see right
now...
Today I tried to set up another wiki using XWiki 0.9.840
(like the one I already have). In my first XWiki installation
I somehow managed to have the rights system working like I
wanted (at least that's what I thought until a few hours ago)
Like in my first XWiki installation I wanted to create a new
private wiki where all users first have to authenticate
themself using username and password. I also wanted to have
the wiki users access rights determined by group membership
as follows:
*) Members of group "XWiki.XWikiAdminGroup" should have all
rights to the whole wiki
*) Members of group "XWiki.XWikiEditorGroup" should have the
right to edit all pages
*) Members of group "XWiki.XWikiAllGroup" should have the
right to view all pages, but aren't allowed to change them
Here's what I did to implement this concept:
1.) I installed a fresh new XWiki using Tomcat-5.5, PostgreSQL,
xwiki-0.9.840 war file and the xwiki-db-0.9.2-pgsql.sql
default database. This worked fine without problems.
2.) I logged into the new XWiki as "Admin"
3.) Using the XWiki "More Actions" pulldown menu,
I changed the XWiki Preferences parameters to:
Multi Lingual: Yes
Language: de
Default Language: de
Always authenticate on viewing: Yes
Always authenticate on editing: Yes
This should prevent any unauthorized user to read
any document in the wiki.
4.) Using the XWiki "More Actions" pulldown menu,
I changed the XWiki Preferences skin to "default"
in order to prevent the well-known CSS problem at
the login page (see several past postings on this list,
including some of myself)
5.) Using the XWiki "Admin" menu, I created a few XWiki users:
"XWiki.andreas", "XWiki.xss", "XWiki.max"
6.) Using the XWiki "Admin" menu, I created the "XWiki.XWikiEditorGroup"
group. the "XWiki.XWikiAdminGroup" and "XWiki.XWikiAllGroup" groups
were automatically created when installing the initial XWiki database.
7.) Using the XWiki "Admin" menu, I added the following users to
the "XWiki.XWikiAdminGroup":
XWiki.andreas
8.) Using the XWiki "Admin" menu, I added the following users to
the "XWiki.XWikiEditorGroup":
XWiki.andreas
XWiki.xss
9.) Using the XWiki "Admin" menu, I verified the members of the
"XWiki.XWikiAllGroup":
XWiki.Admin
XWiki.andreas
XWiki.max
XWiki.xss
I also deleted pre-defined entries from the "XWiki.XWikiAllGroup"
like "XWiki.TestTest" and "XWiki.LudovicDUbost"
10.) I changed to the XWiki start page "Main.WebHome"
11.) Using the "More Actions" pulldown menu I opened the
"XWiki Access Rights" editor and changed to current access
rights for "XWiki.XWikiPreferences" to the following setting:
Right 0:
Groups: XWiki.XWikiAdminGroup
Access Levels: admin, edit, programming
Users: (empty)
Allow/Deny: Allow
Right 2:
Groups: XWiki.XWikiEditorGroup
Access Levels: view,edit
Users: (empty)
Allow/Deny: Allow
Right 3:
Groups: XWiki.XWikiAllGroup
Access Levels: view
Users: (empty)
Allow/Deny: Allow
(Note: Right "1" vanished as I made a typo and therefore deleted
the entry. The next entries I created were automatically numbered
"2" and "3". Number "1" was never used again by XWiki)
12.) Using the "More Actions" pulldown menu, I verified that
the "Main" Space Access Rights do not have any additional
entries. No changes were necessary here. Current Space access
rights for "Main.WebPreferences" are: "XWiki.XWikiGlobalRights"
13.) Using the "More Actions" pulldown menu, I verified that
the "Main" Page Access Rights" do not have any additional
entries. No changes were necessary here. Current Page access
rights for "Main.WebHome" are: "XWiki.XWikiRights"
These settings are the same in my original (first) XWiki installation
With this setting I tried to log in as user "andreas", expecting
it to have all rights, including the "admin" right. But not so!
User "andreas" can log in, but doesn't even have "edit" rights
on the "Main.WebHome" page!
I thought I made a mistake and logged in as user "xss", which
is a member of the "XWiki.XWikiEditorGroup" group. But likewise,
user "xss" also doesn't have "edit" rights on the "Main.WebHome"
page!
I then tried various different settings in order to find out
what was going on. I added different users to different groups
to change access rights in various ways, but the results were
completely strange.
Here are the results:
a) XWiki seems to completely ignore group membership for
calculation of access rights
b) When I remove user "andreas" from the "XWiki.XWikiAdminGroup"
in my original (first) XWiki installation, this user still has
"admin" rights in the Wiki! I tried to find the place where
user "andreas" is explicitely given the "admin" right but
couldn't find any.
c) I did a full database dump from the original XWiki installation
and imported that in the new one. Still it doesn't matter if user
"andreas" is a member of the "XWiki.XWikiAdminGroup" or not,
he still has admin rights.
d) Otherwise, it doesn't seem to matter if any other user is a
member of the "XWiki.XWikiAdminGroup" or "XWiki.XWikiEditorGroup",
he doesn't get neither "admin" nor "edit" rights.
e) The only way to get "admin" or "edit" rights for any user
(expect "andreas") is to put them into the "Users" field
of the according "rights" entry.
f) I did an additional, fresh XWiki installation on another
host. Here I get the same strange effects: no matter what
membership a user has, he doesn't get "admin" or "edit"
rights from the group. Only if I put the user directly
into the "Users" field of the rights entry I can assign
the rights selected with this entry.
g) As a side note I noticed that the language settings do
not seem to be consistent between the three XWiki
installations. On all three I have the same "Preferences"
(Multilingual set to "yes", language and default language
set to "de"), but on two xikis I get a german setup (menus,
the language symbol in the upper right corner show "de" in
a blue box) and on one wiki the GUI is always set to english.
Can someone enlighten me what might be wrong with my wikis?
For the past few hours I tried read all the FAQ and the Admin
guide, but the behaviour I see with XWiki seems to contradict
all the documentation I found so far... :-((
Any help is appreciated!
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD+JdXxJmyeGcXPhERAvT7AJ9Jp+OynIWkJ8SyOZ0nSnguXyrWmwCfRRov
pLEw5+dqEeo6wdRASmUmyvQ=
=qCYi
-----END PGP SIGNATURE-----
This is a two-part question:
First, somewhere on xwiki.org, I found a discussion Ludovic had about
the design strategy of XWiki, and I seem to recall that he mentioned
that the property types in XWiki objects were extensible, which I can
well believe. However, I have searched in vain for any mention of how
to do this, and it looks as though it requires adding Java classes to
the server, and at minimum a database schema change. However, some hope
remains because it seems that there may be a way to create aggregate
objects from simple types. How can this be done?
Second, how do I learn the different display modes and what they mean to
the $doc.display method? I note that the "xcode" parameter's value
sometimes corresponds to a Velocity script (e.g. "rdf" to rdf.vm, etc.).
What I would like to be able to do is to create a custom display mode so
that, in conjunction possibly with an aggregate type, I can, for
example, create an arbitrarily-deep hierarchical menu structure, and
when I invoke a particular xcode or other mode, $doc.display will use my
template to decorate the data with xml that will make links that invoke
javascript to show or hide their contents.
In general, it appears there are lots of very valuable constants (format
strings, display modes, special codes, etc.) throughout the system that
are not useful to me because I don't know about them. The javadoc APIs
hint at them, and some of the wiki docs use them. How can I learn of
them, especially those that are simply the result of configurations that
I can easily extend?
This is a wonderful product, and developing with it is fabulously easy -
once I figure out stuff, which is excruciatingly difficult. I am sure
that you are working furiously on the project, but I wonder how much
more effectively you could work if the APIs were more effectively
documented? Then lots more work could get done, because others would be
able to work much more effectively, and have plenty of time left over to
contribute our stuff back. That's how it would work with me, at
least...
brain[sic]
I looked around and I found other similar problems but no solutions.
Does somebody know about a fix for that?
Manual fix is good enough. I tried to add/remove values from the database but
I am not sure which one is the right one.
I try to remove an attachment and I get this error message:
------
Un problème est apparu en essayant de réaliser cette action. Veuillez
contacter le support si cela se reproduit
Information détaillée:
Error number 3233 in 3: Exception while deleting attachment josephos.doc of
document Perso.OsnerJoseph.WebHome
Wrapped Exception: Error number 3231 in 3: Exception while loading attachment
josephos.doc of document Perso.OsnerJoseph.WebHome
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#2105339254]
com.xpn.xwiki.XWikiException: Error number 3233 in 3: Exception while deleting
attachment josephos.doc of document Perso.OsnerJoseph.WebHome
Wrapped Exception: Error number 3231 in 3: Exception while loading attachment
josephos.doc of document Perso.OsnerJoseph.WebHome
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#2105339254]
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1647)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
at
com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading
attachment josephos.doc of document Perso.OsnerJoseph.WebHome
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#2105339254]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadAttachmentContent(XWikiHibernateStore.java:1484)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1624)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
at
com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#2105339254]
at
org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadAttachmentContent(XWikiHibernateStore.java:1477)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1624)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
at
com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Hi Folks,
I've been having a few odd problems with my XWiki installation of late.
An example, starting from server down (switched off).
1) Server switched on, services start initiating.
2) Server comes up, all users can access and work in system.
3) System appears stable, working as expected for the next 24 hours or so.
4) Eventually the server starts grinding down to a halt. In the space of 30 mins from when it starts slowing, XWiki begins returning communication errors.
5) All other services are functional on the server, excluding Tomcat applications. MySQL services appear normal, and the database responds fairly quick to queries.
In order to get the XWiki back up again, all that seems to be required is a restart of Tomcat. I have reinstalled the system several times to date with the same results, and I'm hopeful that it's a configuration problem.
Any tips or advice on where to look, would be extremely welcome.
Ah, almost forgot.. here are the details on the server:
(any further info needed, please let me know)
XWiki Version: 0.9.840
Server:
Windows2000 Server,
Tomcat 4.1;
MySQL 4.1;
Memory available to services: 1.5GB;
Minimum Disk space available at any one time: 5GB to 8GB;
**The MySQL server is running on the same system as Tomcat.**
Users:
As this is currently still in testing for our environment, we have at most 30 users on the server at any one time.
XWiki Applications:
Due to our configuration and internal security policies, we have two xwiki web applications running on our Tomcat server, quite often both are in use at the same time. At this time, using a virtual XWiki for the second XWiki is not viable - but may be implemented in the future.
Both XWiki's have their own database on the MySQL server.
Hello,
I get a jsp error on my home page, and I noticed there is the same
problem in the sandbox:
http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink
Error number 4001 in 4: Error while parsing velocity page
Sandbox.notcamelcaselink Wrapped Exception: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
4, column 89. Encountered: "q" (113), after : "&"
<http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink>
Is it a known issue ? A configuration problem ? Should I report a bug ?
Thanks,
-Benoit
Dear All,
Has anybody got XWiki working properly with an Oracle database?
I am having problems with delete and update actions on attachments. All
other functionality seems to be OK.
I am using XWiki version 0.9.840 running on Sun Java System Application
Server Enterprise Edition 8.1. I get the problem with Oracle 9iR2 and
Oracle 10g. The stack trace is given below - the error seems to be
coming from JRCS. I have the attachment content and archive columns
implemented as BLOBs.
If you have attachment delete/update working against an Oracle database
I would be interested to hear what your configuration is.
Thanks, John Turner
A problem occured while trying to service your request. Please contact
the support if this happens again.
Detailed information:
Error number 3233 in 3: Exception while deleting attachment
SampleImage.png of document ScratchSpace.Home
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment SampleImage.png of document ScratchSpace.Home
Wrapped Exception: Exception occurred inside setter of
com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
com.xpn.xwiki.XWikiException: Error number 3233 in 3: Exception while
deleting attachment SampleImage.png of document ScratchSpace.Home
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment SampleImage.png of document ScratchSpace.Home
Wrapped Exception: Exception occurred inside setter of
com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHiber
nateStore.java:1647)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHiber
nateStore.java:1525)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514
)
at
com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav
a:165)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:257)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi
lterChain.java:55)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:210)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi
lterChain.java:55)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:263)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:173)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:161)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:132)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Processor
Task.java:653)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Processor
Task.java:534)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorT
ask.java:403)
at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.j
ava:55)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while
loading attachment SampleImage.png of document ScratchSpace.Home
Wrapped Exception: Exception occurred inside setter of
com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
at
com.xpn.xwiki.store.XWikiHibernateStore.loadAttachmentArchive(XWikiHiber
nateStore.java:1514)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHiber
nateStore.java:1626)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHiber
nateStore.java:1525)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514
)
at
com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav
a:165)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:257)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi
lterChain.java:55)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:210)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi
lterChain.java:55)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:263)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:173)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:161)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:132)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Processor
Task.java:653)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Processor
Task.java:534)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorT
ask.java:403)
at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.j
ava:55)
Wrapped Exception:
org.hibernate.PropertyAccessException: Exception occurred inside setter
of com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
at
org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicProper
tyAccessor.java:51)
at
org.hibernate.tuple.AbstractTuplizer.setPropertyValues(AbstractTuplizer.
java:207)
at
org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:176
)
at
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(Ba
sicEntityPersister.java:2900)
at
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113
)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java
:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loade
r.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
at
org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPers
ister.java:2461)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(Defa
ultLoadEventListener.java:350)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEvent
Listener.java:331)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventLi
stener.java:113)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoad
EventListener.java:167)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEvent
Listener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadAttachmentArchive(XWikiHiber
nateStore.java:1507)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHiber
nateStore.java:1626)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHiber
nateStore.java:1525)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514
)
at
com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav
a:165)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:257)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi
lterChain.java:55)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:210)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFi
lterChain.java:55)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:263)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:173)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:161)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:132)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
51)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Processor
Task.java:653)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Processor
Task.java:534)
at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorT
ask.java:403)
at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.j
ava:55)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicProper
tyAccessor.java:40)
... 64 more
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at
line 1, column 1. Encountered: "" (0), after : ""
at
org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(Archi
veParserTokenManager.java:800)
at
org.apache.commons.jrcs.rcs.ArchiveParser.(ArchiveParser.java:519)
at
org.apache.commons.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:54)
at org.apache.commons.jrcs.rcs.Archive.(Archive.java:230)
at
com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive(XWikiAttachmentArchi
ve.java:126)
... 69 more
---
John Turner
NDSD Development (Dialog IT)
Email: John.Turner.2(a)team.telstra.com
Ph: (07) 3887 4351
Hello,
I am running xwiki 0.9.840 in tomcat, with apache accepting outside
connections and using mod_proxy to forward them to tomcat.
I have seen the question in the FAQ about reverse proxies and absolute URLs.
However I find that the 'PDF' link is absolute, and shows as
'localhost:8080' in the xwiki pages.
How can I tell xwiki to use the correct (external) base url ?
Thanks a lot,
-Benoit
Hi All.
I seem to have a permissions problem with uploading of files. Unfortunately it does not happen consistently. It seems to be related to the file that is being uploaded from the client but the problem is with the temporary file.
I have successfully uploaded different files to the same page but it seems to choke on pdfs in particular. Size is not a problem as most of the files have been 250k and I have raised the limits to 16M as per the installation instructions.
The error message is "./upload_00000133.tmp (Permission denied)" (see below) and I have not changed anything recently with the exceptions of regular Debian updates.
So 3 questions. Where are these temporary files created? What permissions should be on that directory? Would this be affected by the tomcat policies?
Cheers,
Mark
ERROR MESSAGE BELOW
_______________________________________________________________________________
A problem occured while trying to service your request. Please contact the support if this happens again.
Detailed information:
Error number 11008 in 11: Exception while parsing uploaded file
Wrapped Exception: Processing of multipart/form-data request failed. ./upload_00000133.tmp (Permission denied)
com.xpn.xwiki.XWikiException: Error number 11008 in 11: Exception while parsing uploaded file
Wrapped Exception: Processing of multipart/form-data request failed. ./upload_00000133.tmp (Permission denied)
at com.xpn.xwiki.XWikiService.actionUpload(XWikiService.java:135)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:195)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. ./upload_00000133.tmp (Permission denied)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
at com.xpn.xwiki.XWikiService.actionUpload(XWikiService.java:133)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:195)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
hello.
I've been doind a huge mistake while configuring my xwiki two days ago and it seems that i removed some admin rights.
While i can log in using the standard xwiki admin account, i can't modify the xwiki.preferences, it says that "You are not allowed to view this document or perform this action. "
If i did what i think -that is, removing my own admin rights- how may i bring them back?
Any way through the database?
Thanks a lot.
Hi,
I'm a new user of Xwiki. Actually, I'm testing it for the moment.
I have a very first problem :
I've just launched the XWiki service and logged in...
When I edit the "Welcome to your Wiki" page and save, it's Ok : I see my modification in the page...
But I try to edit it again, I am in the editing mode but I have the old version of the page, without the last modification... even if I reload the page in ie... It seems as a proxy was showing me an old page...
Thanks for your help
My profile :
Win XP SP2
I installed XWiki by launching "xwiki-0-9-1000-alpha-setup.exe" file.
I'm logged as Admin (= Xwiki)
Hmm... Everything was working fine for a long time but all of a sudden I'm
getting an error when a new user tries to register. It appears to be
permission related and I'm not sure what I might have done to cause it. I'm
running this in a virtual wiki and have captured a debug log. It's huge, so
I'm linking to it on my web server here:
http://www.herkamur.ca/log.txt
Any help would be most appreciated.
--
"Any sufficiently advanced technology is indistinguishable
from magic." -- Arthur C. Clarke
--
Brian D. Switzer
email: herkamur [at] canada [dot] com
web: http://bswitzer.railfan.net/
Hi people, im trying to put online a xwiki with TOMCAT and HSQLDB, but i cant do it...
I guess is i have not correctly set the HSQLDB ...
There is some (better) guide to install xwiki with hsqldb, and a SQL script for this database ?
Im starting with HSQLDB, i want the data be in persistent files, i hope to migrate all to a Informix DB, but im waiting to get informix 9 since the 7 version only accept 18 chars in tables names and doesnt have CLOBs.
Please some help with setting up de HSQLDB and xwiki :)
Also i understand there is no spanish translation, if i can start working maybe i can help with this.
A.U.S. Enrique Ferreyra
Centro de C�mputos
Red Megatone - Red Confina
Hello,
as written in the subject, what kind of values are allowed in
the field 'display type' of a property with the type 'boolean class'?
Bye
Frank
--
Dipl. Inform. Frank Häfemeier <frank(a)haefemeier.net>
----------------------------------------------------
Hi,
I followed the Tutorial an used the Class Editor. I does not matter if i uses xwiki or a new Web, for both i get the 404.
The following URL is used when i click the "Create this class" button:
http://127.0.0.1:8080/xwiki/edit/FAQs/FAQClass?parent=XWiki.XWikiClasses&te…
May be this an issue of the latest version (0.9.1000)i downloaded via svn ? I tried the 0.9.840 version where everything works fine.
Kind regards
André
> -----Ursprüngliche Nachricht-----
> Von: jeremi joslin [mailto:jeremi23@gmail.com]
> Gesendet: Freitag, 13. Januar 2006 02:25
> An: xwiki-users(a)objectweb.org
> Betreff: Re: [xwiki-users] Create a XWikiClass
>
>
> Hi,
> maybe your URL is wrong.
>
> do you go to an url like :
> http://jeremi.xwiki.com/xwiki/bin/edit/XWiki/FAQClass?xpage=editclass
>
>
> You can see :
> http://www.xwiki.org/xwiki/bin/view/DevGuide/F> AQs+Tutorial
>
> and http://www.xwiki.org/xwiki/bin/view/DevGuide/Packaging+Rules
>
> Jérémi
>
> On 1/12/06, andre.fleischer(a)lhsystems.com
> <andre.fleischer(a)lhsystems.com> wrote:
> >
> > Hi
> >
> > I just downloaded the latest sources from svn and build a fresh war
> > file. (Version 0.9.1000) Then i tried to create a new
> XWikiClass using
> > the XWikiClasses page. I chooes FAQs as Webname and FAQ as
> Class name.
> >
> > I got the error message:
> > HTTP Status 404 - /xwiki/edit/FAQs/FAQClass description The
> requested
> > resource (/xwiki/edit/FAQs/FAQClass) is not available.
> >
> > Any ideas ?
> >
> > Kind regards
> > André
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the
> > xwiki-users(a)objectweb.org mailing list. To unsubscribe:
> > mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> Blog:
> http://www.jeremi.info
> LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> http://www.xwiki.org
> skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
>
>
I create a link in a new page. Let's call the origingating page JOE (in the PEOPLE catagory) and the link in it KAREN. Obviously I can look up JOE in the Search box, but even after I have clicked on the KAREN? reference and added info the particular entry has no TITLE, so 1. I can't look it up in the Search box, and 2. It doesn't fall under my catagory of PEOPLE, and 3. I can't later create a link in SALLY's page that references KAREN.
How the heck do you cross reference? Is this the same as LINKBACK and when will that be ready? I read somewhere that linkbacks is now opperational, but the reference in the FAQs page is empty...
Thanks!
Am Do, den 02.02.2006 schrieb PatrickJ (sent by Nabble.com) um 12:00:
> Suppose I design a skillset application. I define a SkillClass for
> master list of skills. I also define a PersonClass with a DBList
> property with query to list Skill items. It works and I could add a
> person with multiple skill items selected.
>
> I would like to modify Person page display to show details from Person
> object followed by a table that lists his skills along with additional
> information from respective skill objects. This table has to list
> skill details only for those skills associated with the person.
>
> How do I do this? I tried to pick the associated skills one-by-one
> from the property but could not do so with following logic.
>
#set($skillDoc = $xwiki.getDocument("XWiki.SkillClass"))
> #set($perskills=$person.getProperty("SkillList").getValue())
> #foreach ($ps in $perskills)
> SQL to retrieve skill object
You don't need a SQL statement here, I think. Do the following
#set($obj = $skillDoc.getObject("XWiki.SkillClass", <property>, $ps))
<property> := is the name of the property which store the skill
> Display information
$doc.display(<property>, $obj)
<property> := is the name of the property which has the information
> #end
Bye
Frank
--
Dipl. Inform. Frank Häfemeier <frank(a)haefemeier.net>
----------------------------------------------------
Hi everyone,
Yesterday the ObjectWebCon'06 announced the awards of the best use case
contest... and the usage of XWiki by the Mandriva Club was awarded the
best Enterprise Java Use Case award!
Many thanks to all of you, and special thanks to the XWiki team!
I remind you that if you're an XWiki contributor we'll be happy to offer
you a free Club account. The Club credits are available at this URL:
http://club.mandriva.com/xwiki/bin/Main/Credits
Via XWiki, the foundations have been laid down for an enhanced user
experience in the near future on the Club. We plan to develop many new
advanced features in 2006 on top of XWiki, in particular within Nepomuk
project (http://nepomuk.semanticdesktop.org).
Thanks again, and long life to the XWiki project!
Stéphane
Suppose I design a skillset application. I define a SkillClass for master list of skills. I also define a PersonClass with a DBList property with query to list Skill items. It works and I could add a person with multiple skill items selected.
I would like to modify Person page display to show details from Person object followed by a table that lists his skills along with additional information from respective skill objects. This table has to list skill details only for those skills associated with the person.
How do I do this? I tried to pick the associated skills one-by-one from the property but could not do so with following logic.
#set($perskills=$person.getProperty("SkillList").getValue())
#foreach ($ps in $perskills)
SQL to retrieve skill object
Display information
#end
Any pointers on what is wrong or better ways of doing it?
--
View this message in context: http://www.nabble.com/DBListClass-and-Details-t1046024.html#a2718063
Sent from the XWiki- Users forum at Nabble.com.
Hi all,
I'm running into the following exception when trying to download
certain attachments:
Error number 3231 in 3: Exception while loading attachment xyz.doc of
document PM.xyz
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#903453393]
com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while
loading attachment xyz.doc of document PM.xyz
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#903453393]
at com.xpn.xwiki.store.XWikiHibernateStore.loadAttachmentContent(XWikiHibernateStore.java:1484)
at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:1499)
at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:360)
at com.xpn.xwiki.XWikiService.renderDownload(XWikiService.java:689)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:186)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:788)
Looking at the database, it appears some attachments do not have
content. Any idea what's going on?
mysql> select XWA_ID from xwikiattachment where XWA_ID not in (select
XWA_ID from xwikiattachment_content);
+-------------+
| XWA_ID |
+-------------+
| -1545435440 |
| -1316229821 |
| 903453393 |
| 1853219705 |
+-------------+
Regards,
Robin
Hello everyone.
When I go to any of my pages, I see the following exception there:
Error number 4001 in 4: Error while parsing velocity page Doc.WebHome
Wrapped Exception: Invocation of method 'getDocument' in class
com.xpn.xwiki.api.XWiki threw exception class
com.xpn.xwiki.XWikiException : Error number 3202 in 3: Exception while
reading document XWiki.kkembhavi
Wrapped Exception: Error number 3212 in 3: Exception while loading
object XWiki.kkembhavi Wrapped Exception: identifier of an instance of
com.xpn.xwiki.objects.BaseObject altered from -547570503 to -278557223
Could someone please tell me what it is telling me and how I can fix that?
Many thanks
Ali.
Hi,
Users are pasting HTML generated by various apps into their docs and
then aren't able to render to pdf. I found that attempting to save a
document with the following content to pdf results in a 0 byte file:
<table>
<tr>
<td nowrap></td>
</tr>
</table>
Looking at the log:
org.xml.sax.SAXParseException: Attribute name "nowrap" associated with
an element type "td" must be followed by the ' = ' character.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:164)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:147)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:79)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:108)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:122)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:112)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:894)
[...]
I realise that nowrap is not valid xhtml, but I would have thought
that jTidy (which I believe you are using for the html -> xhtml
conversion) would map it to nowrap="nowrap" or style="white-Space:
nowrap;". Apparently not..
Can anyone suggest a workaround?
Regards,
Robin
Hi,
Is anyone comfortably running the email notification plugin?
I'm seing quite a lot of strange behaviour.
For example, if I understand correctly, the plugin is supposed to
programatically create a new class, and add an instance of that class
to the user's page when they first create a subscription.
Looking at the database after subscribing to a page, I can see some
new properties but they don't seem to be associated with any objects
(and they have an ID of 0, which I'm guessing isn't healthy):
select * from xwikiproperties order by abs(XWP_ID) desc;
+-------------+-------------------------------+--------------------------------------------+
| XWP_ID | XWP_NAME | XWP_CLASSTYPE
|
+-------------+-------------------------------+--------------------------------------------+
[...]
| -512550 | groups |
com.xpn.xwiki.objects.StringProperty |
| -512550 | levelsye |
com.xpn.xwiki.objects.StringProperty |
| -512550 | allow |
com.xpn.xwiki.objects.IntegerProperty |
| 0 | subscribedDocuments |
com.xpn.xwiki.objects.DBStringListProperty |
| 0 | subscribedWebs |
com.xpn.xwiki.objects.DBStringListProperty |
| 0 | schedulerName |
com.xpn.xwiki.objects.StringListProperty |
+-------------+-------------------------------+--------------------------------------------+
select XWO_NAME, XWO_ID from xwikiobjects where XWO_ID='0';
Empty set (0.00 sec)
Would we perhaps expect to see something like this if the call to
doc.addobject() is failing somewhere?
After manually adding an instance of the email notification object to
my user page things
seem to be working, so far.
Regards,
Robin
>From: Ludovic Dubost [ mailto:ludovic@xwiki.com
<mailto:ludovic@xwiki.com> ]
>Subject: Re: [xwiki-users] {pre} tags not working
Hi Ludovic,
>Is this in a normal wiki page edit or using forms (in the blog for
example).
>I've never heard anything about {table} turning to HTML. It seems
>similar. I could guess that the editing renders the content before
>puting it in the form. Have you modified the "Edit" template, maybe in
>your skin ?
I may have misunderstood your question. I'm still in the 'beginner'
stages with XWiki and am not the person who originally set it up at our
site, so I'm not familiar with all of the internals.
I have more information on my problem with the {pre} tags.
When we add new pages to our XWiki, we use an entry form on the left
Menu bar. The code for adding the new page is:
<div class="xwikimenulinks">
#includeTopic("XWiki.XWikiCommonJavascript")
<form action="" id="newdoc">
<input type="hidden" name="parent" value="Main.WebHome" />
<input type="hidden" name="template" value="XWiki.ArticleClassTemplate"
/>
<input type="hidden" name="sheet" value="1" />
<input type="hidden" name="webname" value="Main"/>
<input type="hidden" name="name" value=""/>
<input type="text" name="title" value="" size="18"/>
<input type="button" value="Add this item" onclick='if
(updateName(this.form.title,this.form.name)) { action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value;
this.form.submit(); }' />
</form>
</div>
What I learned on Friday, 1/13, is that I can get {pre} to work on new
non-existent pages by doing these steps:
1. create a new XWiki entry using the form above
2. on the new page, place a link to a non-existent XWiki page such as:
[My New Page>Main.MyNewPage]
3. save the new page
4. click on the blue question mark next to "My New Page" to edit the
referenced page
I will get a different edit page, the one with "Basic Syntax" (XWiki
syntax) along the right column. If I enter {pre} tags in this editor,
they seem to work?! I think this may be the difference in the forms
used, and I think this may be the question you originally asked?
John
Hello!
I am trying to use xwiki with the oracle 9i database, but I cannot locate jdbcOraWrapper distribution from http://l3x.net/imwiki/.
Could someone help me?
Thanks in advance.
Hello
I'm using xWiki Version 0.9.840 and try to delete some Blog-Categories.
There is no problem to create and edit the categories. But how do I
delete a Blog-Category?
Thanks
Ralph
Hi,
I have been customizing xWiki for my engineering intranet. I frequently get redirected to the logon page. Sometimes the logon page also returns back to the logon page itself. Ofcourse, I am typing the right user-id and password:)
Following are the errors I am noticing on Tomcat console. Could anybody help me out.
Thanks,
Raghu
19:18:14,420 WARN Thread-4 http://localhost:8080/xwiki/bin/view/Engineering/Web
Home XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie MAZLCA1Z37XSC
8JEXTTZK3WRW0FKPNP3 in session A2420429EAE234F907B95F822D24FA38 for request with
cookie R9YT000PAM4JPSHAALDFZTOFFJYQT3KV
19:18:40,167 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:18:40,187 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
19:18:43,351 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:18:50,051 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:18:52,404 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
19:19:11,722 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'view'
19:19:20,825 WARN Thread-4 http://localhost:8080/xwiki/bin/view/Engineering/Web
Preferences XWikiStatsServiceImpl:addCookie:474 - Setting cookie KWBZFWECBAX1TYV
Y1MFM7BLMQVG533X0 for name visitid with domain null and path / and maxage -17653
8
19:19:20,825 WARN Thread-4 http://localhost:8080/xwiki/bin/view/Engineering/Web
Preferences XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie MAZLCA
1Z37XSC8JEXTTZK3WRW0FKPNP3 in session A2420429EAE234F907B95F822D24FA38 for reque
st with cookie KWBZFWECBAX1TYVY1MFM7BLMQVG533X0
19:20:11,228 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:20:11,228 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
19:20:14,603 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:20:35,543 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
Suppose I design a skillset application. I create a PersonClass, define its properties, and create Sheet and Template. I also create a SkillClass and do similar things.
I would like to link these two and I have an option of making PersonClass the parent of SkillClass (while creating object/doc of skills).
I could also redesign PersonClassSheet to add a sql to retrieve a person's skills and render them in a table.
My question now is, how to I ensure Person editing page does not include the Skill table?
Should I create a new page (PersonSkill) that includes PersonClassSheet and SQL+Table layout instead of modifying PersonClassSheet?
To take it little further, if I have page with list of Persons, how do I link above new PersonSkill page to corresponding Person entry in the table?
Thanks, Patrick
--
View this message in context: http://www.nabble.com/Forms-t942303.html#a2441887
Sent from the XWiki- Users forum at Nabble.com.
Hello,
I found a strange behaviour. The following scenario: our production xwiki environment runs on jboss 4.0.2/MySQL 4.1. The development environment runs on my PC using jboss 4.0.3SP1/MySQL 5.0. When I create a dump from the database on my PC and restore this dump on the production database, I still don't see the new objects. This only happens when we do a full shutdown/restart of jboss.
We also saw that the memory utilisation of XWiki went up the more pages are viewed. This makes me think there is a caching mechanism in place. That's fine, but can this be overruled? The Jboss production machine runs other applications as well, and I don't want to fully restart the server.
Thanks,
Joep Janssen
Hello everyone.
I am trying to get the xwiki-exo war to run on the eXoPlatform. I am running eXov1.0.1(tomcat5) with xwiki-exo-0.9.840.war.
I have:
- read and followed the xwiki install instructions for eXo.
- deployed xwiki.war into the exoplatform webapps folder.
- made the changes to the xwiki.cfg and hibernate.cfg.xml.
When I start tomcat, the eXoplatform starts up properly and it also loads xWiki portlet. When I try to access the xwiki directly or through the portal I get Hibernate ObjectDoesNotExist exceptions for various xwiki objects.
Does anyone know what version of eXoplatform actually works with xWiki?
I am beggining to beleive that this deployment configuration does not actually work.
Many thanks
Scott.
Hi,
I have a class with a database list property that should list all
available users but I got no idea how the hibernation query should look.
Thanks!
Sascha
Hello,
I've been looking for a tagcloud (http://www.tagcloud.com) clone to
install on my xwiki. (Actually, tagcloud could be nice but french's
tags results aren't displayed correctly...)
I've found this page http://www.xwiki.org/xwiki/bin/view/XWiki/TagScript
. I copied the code into my xwiki but it doesn't seem to work. Any ideas?
thanks,
Fabien
>From: Ludovic Dubost [ mailto:ludovic@xwiki.com
<mailto:ludovic@xwiki.com> ]
>Subject: Re: [xwiki-users] {pre} tags not working
>Is this in a normal wiki page edit or using forms (in the blog for
example).
These edits are in normal wiki pages.
>I've never heard anything about {table} turning to HTML. It seems
similar.
>I could guess that the editing renders the content before puting it in
the form.
>Have you modified the "Edit" template, maybe in your skin ?
No modifications to template or skins that I'm aware of. I checked with
the guy that did the original installation of XWiki as well.
If it helps, I did these steps which tie the {pre} and {table} symptoms
together. I can reproduce the symptoms reliably.
1. Created a new Wiki page. Added a bit of text and a table:
this is great!
{table}
1|2
3|4
{table}
2. Saved page, it rendered as expected. Edit page. Looks normal.
3. Edit page text a bit:
this is *great*!
{table}
1|2
3|4
{table}
4. Saved page, rendered as expected-- 'great' is bold. Edit page. Looks
normal.
5. Edit page text a bit more:
this is {pre}*great*{/pre}!
{table}
1|2
3|4
{table}
5. Saved page. 'great' is still bold, {pre} tags not working. When I
edit the page, it looks like this:
this is *great*!
<table class="wiki-table" cellpadding="0" cellspacing="0"
border="0"><tr><th>1</th><th>2</th></tr><tr
class="table-odd"><td>3</td><td>4</td></tr></table>>
I hope this helps.
John
>jpalmer(a)purina.com a écrit :
>
> Greetings,
> I'm working on a locally installed XWiki, using the 0.9.840 release.
> I've got a couple problems with Wiki syntax that I need assistance
with.
>
> First, I want to use the {pre} tags around some text, but XWiki seems
> to be stripping the tags out. For example:
>
> this {pre}*text*{/pre} sample
>
> ...will show up with "text" in bold type. When I edit the page, the
> {pre} tags are gone.
>
> this *text* sample
>
> Our XWiki installation is very new. {pre} worked for a while, but then
> stopped working, making me question whether there was a (system?)
> change made a some point that caused {pre} to stop working.
>
> I've also got problems where Wiki {table} will turn to HTML the next
> time the page is edited. Is this related to, or somehow a clue to the
> {pre} problem?
>
> Thanks in advance for any assistance,
> John
>
> ----------------------------------------------------------------------
> --
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list. To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
<mailto:xwiki-users-unsubscribe@objectweb.org>
> For general help: mailto:sympa@objectweb.org?subject=help
<mailto:sympa@objectweb.org?subject=help>
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws <http://www.objectweb.org/wws>
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/ <http://www.xpertnet.fr/>
Blog: http://www.ludovic.org/blog/ <http://www.ludovic.org/blog/>
XWiki: http://www.xwiki.com <http://www.xwiki.com>
Skype: ldubost AIM: nvludo Yahoo: ludovic
There is a single page on my XWiki installation that can't seem to be
rendered. I can't delete it, access it, anything. Here's the exception:
Error number 3202 in 3: Exception while reading document
XWiki.msmctreeatusibmcom
Wrapped Exception: Error number 3212 in 3: Exception while loading object
XWiki.msmctreeatusibmcom
Wrapped Exception: identifier of an instance of
com.xpn.xwiki.objects.BaseObject altered from -43849225 to 291881179
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document XWiki.msmctreeatusibmcom
Wrapped Exception: Error number 3212 in 3: Exception while loading object
XWiki.msmctreeatusibmcom
Wrapped Exception: identifier of an instance of
com.xpn.xwiki.objects.BaseObject altered from -43849225 to 291881179
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:646)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java(Compiled
Code))
at com.xpn.xwiki.XWiki.getDocument(XWiki.java(Inlined
Compiled Code))
at com.xpn.xwiki.XWiki.getDocument(XWiki.java(Compiled
Code))
at
com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
shawn lauzon.
I am interested in exploring the internals of xwiki. I downloaded source files and wondering how to go about working with it using Eclipse.
Can someone recommend or provide document pointers on the following...
1. Setting up xwiki in eclipse (detailed steps)
2. A suggested sequence of packages/classes to study and comprehend
3. A simple example to extend some classes/features
Thanks,
Patrick
--
View this message in context: http://www.nabble.com/XWiki-on-Eclipse-t908698.html#a2356385
Sent from the XWiki- Users forum at Nabble.com.
Hi
I just downloaded the latest sources from svn and build a fresh war file. (Version 0.9.1000) Then i tried to create a new XWikiClass using the XWikiClasses page. I chooes FAQs as Webname and FAQ as Class name.
I got the error message:
HTTP Status 404 - /xwiki/edit/FAQs/FAQClass description The requested resource (/xwiki/edit/FAQs/FAQClass) is not available.
Any ideas ?
Kind regards
André
Hello,
I want to use the generic Velocity tools from apache (http://jakarta.apache.org/velocity/tools/generic/) in my xwiki. But I can't seem to get them configured. I've changed the toolbox.xml as described on the velocity pages, but still when I use the MathTool, like '$math.random' in my XWiki page, it doesn't seem to work. Any ideas?
Thanks,
Joep Janssen
ObjectWeb is organizing a "best use case" awards for the ObjectWeb
Conference. Mandriva Club usage of XWiki is nominated.
Anybody can vote. It's quick and easy ! Go go XWiki community. It's
simple. One vote per person (no need to cheat).
http://objectwebcon06.objectweb.org/xwiki/bin/Main/Vote
The conference is in Paris from January 31st to February 2nd at the same
time and place as the "Solution Linux" show (which is the most known
Open Source show in France). We will have a presentation of XWiki on
February 2nd !
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hello,
Maybe a silly question, but is it possible to adapt the generated PDF's in such a way it will use the style set for the wiki documents?
Thanks,
Joep Janssen
I am using 0.9.840, and I seem to be running into all kinds of exceptions
and problems. I tried the mail plugin and got it working, but the
registrations do not survive a restart for some reason. Anyone know of a
wiki that has
1. Email notification
2. Locking and timeout of editing(I miss the counter in MoinMoin that says
10 minutes left, 9 minutes, etc). XWiki does not seem to timeout
3. pdf capability
4. roadmap to have WYSIWYG
and all the normal versioning, diffing, etc.
thanks,
dean