Actually I saw that code. The simplest fix I could figure was this...
In the page http://.../xwiki/bin/edit/XWiki/WebRssCode,
I replaced this line
<dc:date>$currentdoc.date</dc:date>
with
<dc:date>$xwiki.formatDate($currentdoc.date, "yyyy-MM-dd'T'HH:mm:ss")</dc:date>
The fix however omits the timezone.
There is java code at http://www.dpawson.co.uk/relaxng/schema/datetime.html
which handles the timezone as well.
The SimpleDateFormat pattern "yyyy-MM-dd'T'HH:mm:ss.SSSZ" is close as it gives
2005-06-29T17:20:46.171-0800
This however does not work because of the missing colon. It needs to
be 2005-06-29T17:20:46.171-08:00
The simplest way seems to be to use commons-lang utilities
DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format(new Date())
Since commons-lang is already part of the distribution is there a easy
way to add this code? I just don't know how to incorporate it in here
at this point due to unfamiliarity with velocity, groovy etc.
Thanks very much.
regards
Sudhir
On 6/29/05, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
>
> Yes.. You need to customize the code in BlogRssCode
>
> http://www.xwiki.com/xwiki/bin/view/XWiki/BlogRssCode?xpage=code
>
> You can get this code and put it in your wiki and modify it.
> The line <dc:date>$currentdoc.display("date", "view", $currentobj)</dc:date>
> Should be changed to some conversion.. I'm not sure which one though
> If you send us some java code that does the conversion and right
> formatting we can adapt it for the scripting
>
> Ludovic
>
> Sudhir Rao a écrit :
>
> >Is there any easy way to change the timestamp format in the rss feed
> >which gets generated without modifying xwiki source code?
> >
> >The field
> ><dc:date>Tue Jun 28 16:31:33 PDT 2005</dc:date>
> >should have been formatted as per the dateTime spec at
> >http://www.w3.org/TR/xmlschema-2/#dateTime
> >
> >The current behavior seems to throw off the date/time sorting in RSS
> >readers as they just ignore the value.
> >
> >A SimpleDateFormat conversion has been given here..
> >
> >http://lists.xml.org/archives/xml-dev/200311/msg00153.html
> >which uses the format
> >"yyyy-MM-dd'T'HH:mm:ss,SSS'Z'"
> >
> >Any thoughts?
> >
> >-Sudhir
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >
> >--
> >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
>
>
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
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