I noticed the addition of this feature a little while back (good idea
guys :) ).
I don't seem to have any way to list the recycle bin though, in order to
either clear it, or confirm deletions after browsing away from the page
you get after deleting a page.
Is this detail available in some way? Or is it automatically cleared?
Hi,
i have class and in script i need real value. I mean, this script give me
value of attribute hromadna
#set($class = $praceDok.getObject("XWiki.SemestralkaClass").xWikiClass)
#foreach($prop in $class.properties)
#if($prop.getName()=='hromadna')
#set($hromadna = $praceDok.display($prop.getName()))
#end
#end
but, hromadna is boolean and i need value which is in database. 1 or 0.
Which method can i use for this?
thanks
Jan
Hi everybody,
I'm trying to set some rights on some pages, and i'd like to have those permissions setted automatically on some other pages. I've setted on one and i've set for the other the first one as the parent. This isn't working :(
How can i solve it??
Thank you!!!!!
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
Hi all,
In most of my tools, a user selection dropdown is used to allow someone
to be picked as a "owner" of a task, or assignement, etc. With a large
volume of users (often with same first names), I can't use either login
name (which is based on our network login); or the user's first name
alone.
Since 1.0, I've been making use of the following query (in a db list):
select firstname.value || ' ' || lastname.value from BaseObject obj,
StringProperty firstname, StringProperty lastname where
obj.className='XWiki.XWikiUsers' and firstname.id.id=obj.id and
lastname.id.id=obj.id and firstname.name='first_name' and
lastname.name='last_name' order by firstname.value
The "|| '' ||" option joins up firstname.value and lastname.value fairly
neatly, so people can select the correct person...
In 1.2rc1 it does not return users at all. Is this something that's
been locked down on 1.2rc1?
Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: esbachb(a)tycoelectronics.com
Hello!
How could I change the calendar of EventCalendar? I couldn't find a way of
change it.
What's this calendar? a macro?
Thanks in advance!
--
André Pestana
Permission setting results in the following (this example is for a
particular space):
Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'getSpaces' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with sql
select distinct doc.web from XWikiDocument doc Wrapped Exception: could
not execute query @ [62,34]
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'getSpaces' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with sql
select distinct doc.web from XWikiDocument doc
Wrapped Exception: could not execute query @ <unknown template>[62,34]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page
Wrapped Exception: Invocation of method 'getSpaces' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with sql
select distinct doc.web from XWikiDocument doc
Wrapped Exception: could not execute query @ <unknown template>[62,34]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:157)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1353)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1314)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:605)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:238)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1353)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1314)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: esbachb(a)tycoelectronics.com
I would like to have a script that finds out for which spaces the current
user has view rights. I try to do:
#set($spaces = $xwiki.spaces)
#foreach($space in $spaces)
#set($whome = $xwiki.getDocument("${space}.WebHome"))
[$space>${space}.WebHome]
#if($whome.hasAccessLevel("view",$xwiki.getUser()))
acess? Yup<br>
#else
access? Nope<br>
#end
#end
but hasAccessLevel always return false. What am I missing? Is there any
other way to do this?
I have seen confusion for users caused by the case-sensitive concatenation
used for the default login id, i.e. FirstNameLastName - especially for
French & Italian names.
I would like to suggest that additional instructions be presented at the
time of registration indicating that login ids are case sensitive - and/or
perhaps have the option of using lowercase only for the default loginid, or
remove the case sensitivity for login ids.
Hello,
I am currently trying to get my xWiki public, but can’t seem to make my
administration button on the top right hand corner ask for authentication.
It lets xWikiGuest and all of my other low level users have full access to
my administration.
My question is, what setting do I need to change to block low level users
from admin access and grant my admin users access to my admin?
Thanks in Advance!
Bird2920
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: 12/17/2007
2:13 PM
Hi Brandon,
Thank you for your help!! could you please tell me a possible configuration for a thousand users with tomcat and mysql??
Thank you in advice!
----- Messaggio originale -----
Da: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
A: XWiki Users <users(a)xwiki.org>
Inviato: Lunedì 17 dicembre 2007, 18:14:30
Oggetto: Re: [xwiki-users] Hardware Requirements
DIV {
MARGIN:0px;}
This comes up often, and it's really a good point in
XWiki's favour - it runs on practically anything that will run the needed server
components. I've had xwiki running in a virtual environment happily for
months; under 1gb RAM and a sliver of hdd space. Boils down really, to
your database and java container.
For barebones though, you can happily run it on, eg, a
modern desktop with 2GB Ram and it'll be happy to run like that for a good
while.
I think though, that there should really be a "minimum
specs" page in the admin guide. I'd happily add this, but it would be
unofficial until otherwise tested
From: users-bounces(a)xwiki.org
[mailto:users-bounces@xwiki.org] On Behalf Of
mattia_temp-newsgroup(a)yahoo.it
Sent: 17 December 2007
16:47
To: XWiki Users
Subject: [xwiki-users] Hardware
Requirements
Hi everybody,
I'm wondering which hardware requisites has XWiki.
Could someone please share its configuration?
Which is the HW
configuration of the server used to run the XWiki on the net?
Thank
you very much!
L'email della prossima generazione? Puoi averla con la
nuova
Yahoo! Mail
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
Hi everybody,
I'm wondering which hardware requisites has XWiki. Could someone please share its configuration?
Which is the HW configuration of the server used to run the XWiki on the net?
Thank you very much!
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
Hello,
I would like to contribute to the documentation
at the URL
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
I would like to at the following:
Tomcat
------
In order to enable UTF-8 in tomcat, you have to add
URIEncoding="UTF-8"
to each connector enabled/used in conf/server.xml.
For example the non-HTTP Connector should read:
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
URIEncoding="UTF-8"/>
Is there a way to get a direct account on the
documentation wiki?
Kind regards,
Thomas
Hi,
I'm currently integrating a fairly simple "publication management"
feature into XWiki, i.e. I exposed a BibTeX parsing/generation service
as a plugin and used the XWiki Class Editor facility to define a
Publication Class and provide "automagically" (btw veeeeery nice work)
an editing interface.
I am currently using the "TextArea" property for the BibTeX field with
"Editor" and "Content" both set to "PureText", I expected the content of
this field not to be rendered; i.e. "--" should not result in striked
text, instead it is.
Is this a bug or am I misunderstanding "PureText"?
If this is a misunderstanding of mine, in order to have the content of a
large text property not rendered by velocity should I define my own
property?
I also tried surrounding the property value with {pre} {/pre} with no
success, the "view" gets fine while the "inline edit" gets somewhat
confused and puts some html into the field content.
We are running XWiki Release 1.1.2 on Tomcat 6 on Mac OS X Tiger with
MySQL 5.0.
XWiki is an impressive platform to develop on, my best compliments to
all the people involved in the project.
Thanks a lot,
--
Marco
<http://questionmark.blogsome.com/the-author/>
=====
"We know nothing
— that is the first point.
Therefore we should be very modest
— that is the second.
That we should not claim to know when we do not know
— that is the third."
Karl R. Popper
Hi all,
I want to create a form element to allow members of the general public
to enter information into a form and then have it stored in objects
within the wiki.
So far, fairly straightforwards.
My problem is that I don't expect random members of the public
to have accounts on the wiki. As such the objects are created
using the XWikiGuest account. Which is where I hit my problem.
Guest needs edit privs on the page in order to add the object.
This means that they can also view the objects created.
Given that we'll be storing potentially sensetive information
in there (telephone, email address etc) I really don't want
people browsing through it.
I tried using $xwiki.getURLContent(url, username, password) but
xwiki auth isn't "simple"!
My next plan was to temporarily authenticate with a dummy user
account via a plugin. It looks like I can provide credentials
with $xwiki.checkAuth(). But I can't see how to remove them
again at the end of the transaction.
My short term fix has just been to email the details to the
relevant people and get them to enter the data in by hand, but
this is far from ideal.
Anyone have any ideas how I can approach this?
Cheers,
Adam
I¹ve noticed that internal wiki links end up being a little ³off² -
specifically 1 line below the intended target.
E.g.: In this example, a link to "Header Target" ends up on "First line of
text" (and the Header is scrolled out of view"
--bunch of content---
1.1 Header Target
-> First line of text.
--lots more content--
I am running 1.2-milestone-2.5917.
Anyone else seeing this? Suggestions?
Hi there,
Unfortunately e have a little problem with the export to a pdf file out of our xwiki.
Some German letters (e.g.: ö, ä, ß) are printed to ? when generating a pdf.
Does anybody know how to solve the this?
Looking forward for helpfully answers.
Thanks a lot!
Roman A. Anastasini
Roman Anastasini
Apprentice
AdLINK Internet Media AG
Phone:
+49 (0)2602 96 1868
HRB Montabaur 5432
Vorstand: Stéphane Cordier, Andreas Janssen, Marc Stilke
Elgendorfer Str. 57
Fax:
+49 (0)2602 96 1912
56410 Montabaur
Mobile:
Germany
ranastasini(a)adlinkgroup.net
[cid:image001.gif@01C83CDE.5EC56460]<http://www.adlinkgroup.net/>
www.adlinkgroup.net<http://www.adlinkgroup.net/>
[cid:image002.gif@01C83CDE.5EC56460]<http://www.adlinkmedia.net/>[cid:image003.gif@01C83CDE.5EC56460]<http://www.affili.net/>[cid:image004.gif@01C83CDE.5EC56460]<http://www.compositedigital.com/>[cid:image005.gif@01C83CDE.5EC56460]<http://www.netdialogs.de/>[cid:image006.gif@01C83CDE.5EC56460]<http://www.sedo.com/>
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, you are hereby notified that saving, distribution or use of the content of this e-mail in any way is prohibited. If you have received this e-mail in error, please notify the sender and delete the e-mail.
Is that about accentuation?
I can't delete or rename a blog post...
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception:
Invocation of method 'rename' in class com.xpn.xwiki.api.Document threw
exception com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception
while deleting document Blog.Anúncio-VIPrêmioABRASAdePós-Vendas Wrapped
Exception: Batch update returned unexpected row count from update: 0 actual
row count: 0 expected: 1 @
[48,14]<http://intranet.garantech/xwiki/bin/view/Blog/An%FAncio%2DVIPr%EAmioABRASAd…>
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'rename' in class
com.xpn.xwiki.api.Document threw exception
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document Blog.Anúncio-VIPrêmioABRASAdePós-Vendas
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1 @ <unknown template>[48,14]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page
Wrapped Exception: Invocation of method 'rename' in class
com.xpn.xwiki.api.Document threw exception
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document Blog.Anúncio-VIPrêmioABRASAdePós-Vendas
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1 @ <unknown template>[48,14]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document Blog.Anúncio-VIPrêmioABRASAdePós-Vendas
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateStore.java:551)
at com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:184)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3179)
at com.xpn.xwiki.doc.XWikiDocument.rename(XWikiDocument.java:3423)
at com.xpn.xwiki.api.Document.rename(Document.java:1789)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
org.hibernate.StaleStateException: Batch update returned unexpected
row count from update: 0 actual row count: 0 expected: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:91)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:86)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2274)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2440)
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:65)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:699)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:673)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateStore.java:548)
at com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:184)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3179)
at com.xpn.xwiki.doc.XWikiDocument.rename(XWikiDocument.java:3423)
at com.xpn.xwiki.api.Document.rename(Document.java:1789)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
André Pestana
Is there more to glossary¹ definitions than I am seeing?
Since there is a data structure for a glossary term
>>> {code}
>>>> <dl>
>>>> <dt>
>>>>> TERM
>>>> </dt>
>>>> <dd>
>>>>> DEFINITION
>>>> </dd>
>>>> </dl>
>>> {/code}
>>>
I had hoped there would be functions like ³put the glossary out as a sorted
list², or pop-up definition when I roll over the term.
Got a rejection notice, message too long. Shortened to specifics:
16:11:26,511 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] INFO bernate.R4359XWIKI1459Migrator - Updating document
[Main.AlcatelDCS&GSMRX&TX]...
17:38:26,478 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 0,
SQLState: 08S01
17:38:26,478 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] ERROR util.JDBCExceptionReporter - Communications
link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE:
java.io.EOFException
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1956)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2368)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2867)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3255)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:
1293)
at
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:142
8)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Delegat
ingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Delegat
ingPreparedStatement.java:92)
at
org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapsh
ot(AbstractEntityPersister.java:983)
at
org.hibernate.engine.StatefulPersistenceContext.getDatabaseSnapshot(Stat
efulPersistenceContext.java:305)
at
org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:189)
at
org.hibernate.event.def.AbstractSaveEventListener.getEntityState(Abstrac
tSaveEventListener.java:460)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUp
date(DefaultSaveOrUpdateEventListener.java:84)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(
DefaultSaveOrUpdateEventListener.java:70)
at
org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:531)
at
org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:523)
at
org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore$1.doInHibernate(XWikiH
ibernateVersioningStore.java:145)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:918)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:960)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.saveXWikiDocArchive(XW
ikiHibernateVersioningStore.java:135)
at
com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator$1.doInHib
ernate(R4359XWIKI1459Migrator.java:105)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:918)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:960)
at
com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator.migrate(R
4359XWIKI1459Migrator.java:82)
at
com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator.migrate(R
4359XWIKI1459Migrator.java:72)
at
com.xpn.xwiki.store.migration.hibernate.AbstractXWikiHibernateMigrator.m
igrate(AbstractXWikiHibernateMigrator.java:38)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.migrate(Abst
ractXWikiMigrationManager.java:231)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrati
ons(AbstractXWikiMigrationManager.java:214)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrati
onsForDatabase(AbstractXWikiMigrationManager.java:143)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrati
ons(AbstractXWikiMigrationManager.java:102)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:708)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:659)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:241)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:426)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
** END NESTED EXCEPTION **
> _____________________________________________
> From: Esbach, Brandon
> Sent: 11 December 2007 17:57
> To: 'XWiki Users'
> Subject: Upgrade process - 1.2rc1 from 1.1RC1
>
> Hi Guys,
>
> I realise I've sent a few queries on this, just trying to keep all
> data together. Got an exception while processing one of the
> documents. I think it could be MySQL timing out though?
> I should point out that a clean, new install of 1.2rc1 works perfectly
> for me. Just upgrading from 1.1 seems to be a bit dodgy for some
> reason!
>
>
> Error below from tomcat log
> ------------------------***------------------------
<<snipped>>
> ------------------------***------------------------
>
> Brandon Esbach
> Software Engineer
> Wireless Systems Segment
> Tyco Electronics
> 4 Eastgate Road
> Eastgate
> Little Island
> Co. Cork
> Ireland
> Tel: +353-21-4808305
> Email: esbachb(a)tycoelectronics.com
>
Hi, I put 1 for xwiki.stats but the Stats are not working, even with a
restart of the apps. I'm using the last xwiki with postgreSQL database
Regards,
Sylvain
Hi everyone,
We now have a new version of the xwiki.org web site up and running on http://xwiki.org
Let us know if you find any issue.
I'd like to thank the following persons who helped:
- Laurent Lunati for the skin
- Thomas Mortagne for helping me with the migration
- Guillaume Lerouge also for helping with the migration
- Raffaello for the admin part
I really like the new site, hope you'll like it too :)
-Vincent, on behalf of the xwiki dev team