Hi everyone,
Error while giving global access rights,importing pages and saving panel layout
I have installed "xwiki-enterprise-manager-web-1.0-milestone-1" and after all set up i am getting error
1) Importing XWiki.XWikiPreferences
2) Saving Panel Layout
http://localhost:9080/xwiki/bin/view/Panels/PanelLayoutUpdate?xpage=plain&l… SimpleLog4JLogSystem:logVelocityMessage:154 - Method save threw exception for reference $prefsdoc in template Panels.PanelLayoutUpdate at [26,12]
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: could not update: [com.xpn.xwiki.doc.XWikiDocumentArchive#104408758] @ Panels.PanelLayoutUpdate[26,22]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:93)
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.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:347)
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.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:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
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.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(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
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)
Caused by: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: could not update: [com.xpn.xwiki.doc.XWikiDocumentArchive#104408758]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:317)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:953)
at com.xpn.xwiki.api.Document.saveDocument(Document.java:1488)
at com.xpn.xwiki.api.Document.save(Document.java:1455)
at com.xpn.xwiki.api.Document.save(Document.java:1449)
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)
... 58 more
3) and saving global access rights
Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: could not update: [com.xpn.xwiki.doc.XWikiDocumentArchive#104408758]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: could not update: [com.xpn.xwiki.doc.XWikiDocumentArchive#104408758]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:317)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:953)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:113)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:122)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
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:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
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)
Wrapped Exception:
java.sql.SQLException: setString can only process strings of less than 32766 chararacters
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:4746)
at oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:4717)
at org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:131)
at org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:131)
at org.hibernate.type.StringType.set(StringType.java:26)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:85)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:58)
at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1826)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2172)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2118)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2374)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:84)
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:141)
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:611)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:585)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:307)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:953)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:113)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:122)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
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:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
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)
ANUJ SHARMA.
---------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
Hi there,
I set up a xwiki for my company and wanted t o change the tomcat favicon so
I made my own xwiki favicon. I just want to share it. Maybe I nice thought
for the next release.
The icon is attached.
Gr.
Haiko van der Schaaf
Hi,
XEM 1.0M1 version was suppose to be released on the 8th of October but
cumulate one week late waiting for new right management API supposed
to appear in XE 1.1.2 (and 1.2M2).
Some works has been done in that delay that was supposed to be
released after 1.0M2 (M3 and M4) so I propose to change XEM schedule
to :
- M2 : Monday the 22nd
- M3 : Monday the 29th
- RC1 : Monday the 5th of October
- RC2 : Monday the 12th of October
Here my +1
Regards,
--
Thomas Mortagne
Interesting... After reading about distributed SCMs for some time now
I think I'm ready to take the plugin and try some experiments as
Jason as done.
My only worry so far about using a tool like Git was about the
tooling (in IDE, etc). Now that Jason as taken the plunge, I'll do
some research on it too in the background.
-Vincent
Begin forwarded message:
> From: Jason van Zyl <jason(a)maven.org>
> Date: September 29, 2007 7:40:42 PM CEDT
> To: Maven Developers List <dev(a)maven.apache.org>
> Subject: An Experiment with GIT
> Reply-To: "Maven Developers List" <dev(a)maven.apache.org>
>
> Hi,
>
> For anyone who wants to make changes to Maven but doesn't have
> access I am going to setup a GIT repository to try and enable some
> distributed development. After using GIT for about a week I'm
> having a hard time using SVN but obviously we're not going to be
> switching anytime soon.
>
> But for anyone who has patches or wants to try and work with me to
> get changes in I am going to try this method of publishing Maven as
> a GIT repository which will allow anyone to clone the repository
> and work on any changes you like in a controlled way. Once you
> clone you can commit changes to your own copy of Maven and do
> whatever you like. Then in order for me to see your changes I can
> simply pull from your originally cloned repository to a branch on
> my side and merge. Merging is sooooooo easy with GIT. So easy in
> fact that it makes you wonder how SVN got it so wrong and makes it
> so painful compared to GIT.
>
> This is the model that the Linux kernel uses where anyone has a
> real copy of the repository, they work as they like, creating
> branches for features of what have you.
>
> I am trying this with Oleg Gusakov who has many ideas and is
> helping me do some experiments with the artifact resolution system.
> But anyone else who is interested in trying just let me know. This
> document is the most helpful:
>
> http://utsl.gen.nz/talks/git-svn/intro.html
>
> And a little collection of things I have read about GIT:
>
> http://del.icio.us/jvanzyl/git
>
> It is so damn fast it is unbelievable. With the visual tool that
> comes with it you can see the entire history of the project in a
> few minutes. It is very, very cool. I simply cannot believe how
> easy it is to merge bits from all over the place. My hope is that
> this method being truly distributed means that people can work on
> their branches in a way that's natural and we remove the immense
> tedium working with patches. If you have something good, it's now
> very easy for me to pull a branch from you and try it. If that
> branch works it then takes me a second to merge it. I test and them
> push back to subversion using the git-svn bridge.
>
> In the short term I really only want to try with a few people but
> if you're keen, want to learn about GIT (which I highly, highly
> recommend) then I will take your patches. I think any developer
> here and anyone who has ever tried to contribute changes sees that
> the JIRA+patch model is highly unworkable and bordering on
> completely useless. JIRA might be fine to raise the issue but with
> a reference to a GIT repository to pull from it will make life
> infinitely easier. People who are not committers can work with
> people that are in a way that resembles everyon being part of the
> team. Dealing with patches just sucks ass and as a result we don't
> look at them nearly as often as we should so I hope this can become
> a model that enables people to contribute in a more effective way.
> I'm going to try this with Oleg but I am highly hopeful. I will
> help anyone who wants to try this as I see this as a way to truly
> collaborate with the community. Down with JIRA+patches! All hail
> JIRA+GIT! :-)
>
> Thanks,
>
> Jason
Hi All,
I've undertaken the task of implementing XEclipse off-line and thought I
would start a thread with status updates (as told by Vincent).
As of today I have implemented caching of documents into local repository.
When the user navigates through the document hierarchy, each visited node is
stored into the local repository. Also, all edits to documents are saved
into local repository as well. To complete XEclipse off-line, following
tasks need to be done,
* Add an "off-line" flag to XWikiConnection and divert user actions into
local repository when user is working off-line.
* Add necessary routines to re-construct the document hierarchy using local
repository.
* Add a sync function to sync the above created hierarchy with remote
server.
* Make necessary changes to UI components.
As you can see there is lot to be done.
Due to my exams I won't be able to work on XEclipse for about 2-3 weeks
(till 28th), but I will definitely get on with it after that. A big sorry
about the missed dead-line (XEclipse Off-line was promised to deliver on
10th).
Thanks.
- Asiri
Bookmarks/favourites - what a good idea! Perhaps with a favorites left hand
flyout menu tree? Although you always have your browser bookmarks/favourites
but this means you'd have access to your favourites independent of the PC or
browser you were using.
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org]On Behalf Of
Jean-Vincent Drean
Sent: 11 October 2007 01:18
To: XWiki Developers
Subject: Re: [xwiki-devs] [Proposal][UI] Top menu refactoring
2007/10/11, Vincent Massol <vincent(a)massol.net>:
> Hi,
>
> I've just reviewed this last proposal and here are my comments:
>
> * I'm -1 on naming the menu entry "File" unless someone convinces
> me... Right now I don't understand the rationale. Why not call it
> "Orange Juice"? ;)
I'm -1 for "File" too, "Page seems more appropriate"
> * I hate those Microsoft menu entries! ;)
Ok so let's talk about mozilla menu entries then ;)
> * Don't put CTRL+P in the menu (since the keys are different
> depending on the OS)
Ok
> * Edit menu should be on the left since it's the most used menu
I was waiting for someone to raise this one, I'm testing the proposal
3 on my local xwiki and I confirm that it's annoying for people
accustomed to the edit at the left.
> * Not sure why we're changing "Show" to "View". Show looks fine to me
> and since it's been around for some time why change it?
This proposal was an attempt of a more desktopish layout.
(Page/Edit/View). BTW i never liked "Show" ;)
> * I don't like the Watchlist menu entry. This is a very specific
> application and I'm not sure why it gets its own menu entry compared
> to other applications.
Page/Edit/View wait for it.. Bookmarks -> File/Edit/View/Watchlist
(since bookmark doesn't fit here).
> * I'd be fine with keeping the current Edit and Show menus and
> collapse the Delete, Rename and other actions into an "Actions" menu
> (or "Other actions")
-1 for the hodge-podge until we had discussed all the other options ;)
JV.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273