Hi,
can be date and time format changed in Activity Stream (XWiki 3.1 used)
somehow?
It's displayed as "10 VII, 11:19" by default and it ignores XWiki
localization date preference and I'd like to change it to something like
"10.7.2011, 11:19". I tried to check Activity Stream code, but have had no
luck to find the correct place where it can be changed so far.
With regards,
Jan
Dear Group,
after following the guide on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationGlassFish I seem to be getting an error message (see below); so far I have tried installation using GlassFish 3.0.1 on Amazon Linux and Ubuntu 11.04: both times I get the error.
Any ideas? Do I have to set up a database first?
Thank you in advance for useful hints,
Sandor
-- Error message start ---
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.0.1 logs.
--- Error message end ---
I am out of the office until 07/20/2011.
If this is an emergency, please call my cell. Otherwise, for wiki or video
issues, please contact Kim Dillon. For Support Portal content issues,
please contact Jenny Purushotma. For acquisition issues, please contact
Diane Paige.
Note: This is an automated response to your message "users Digest, Vol 48,
Issue 10" sent on 7/9/2011 6:00:07.
This is the only notification you will receive while this person is away.
I've been experimenting with including video on my pages and have had
success with flowplayer with all the relevant flash and javascript
stuff within {{html}} tags, however a similar test using a video tag
didn't seem to result in the html even getting included in the page.
Any ideas?
I'm testing with 2.2.3.27738 and the browser I'm using is Chromium V12.
Thanks,
Alan
Hello,
I am writing an application that keeps track of some data, and I would
like to display that data with selectable time periods. Everything has
been pretty smooth so far, except that whenever I try and use the Charting
Macro at first it would not display and gave an "Error saving chart image"
Exception. This turned out to be a problem with the permissions for Xwiki
on our local Tomcat server which has since been solved.
Now however, whenenver I try and use the Charting Macro, the image saves
properly and the macro executes but only displays a link to a different,
empty, page that should be the graph/picture.
This is the chart code, in 2.0 syntax. Running on Xwiki Enterprise
2.6.33065.
{{chart type="line" source="inline" params="range:B2-D5;series:columns;"
title="Chart Test" width="320" height="240"}}
| |X |Y |Z
|Q1|1.2|3.4|1.3
|Q2|4.5|3.4|2.3
|Q3|1.2|4.5|9.0
|Q4|3.4|1.2|1.2
{{/chart}}
All that displays is a link "Chart Test" which takes you to an empty
web-page.
Any ideas as to why the graph would not display and only show up as a
link?
Adam
**********************************************************************
CONFIDENTIALITY NOTICE:
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000.
CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time
without any further consent.
Hi,
Sometimes I want to add a link to a file already attached to another file -
is it possble to attach files centrally to the wiki rather than to a wiki
page to avoid having to attach files to multiple wiki pages in order to
reference the files.
Regards,
Richard
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 sender's telephone number above
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.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
I've recently deployed XWiki (3.1m1) in a Tomcat 6 container, and was
playing around with the editing features when I noticed that the WYSIWYG
editor menu, which is supposed to sit right above the editor toolbar, is
missing. I've been unsuccessful in finding any posts regarding this issue,
and there doesn't seem to be very much information in the documentation
about it. Is there something that I need to do to enable it? or maybe I've
done something wrong. Perhaps someone can provide some hints to help.
In a similar note which may or may not be related, I've also noticed that
the Styles widget on the toolbar does not work. I noticed that for most
buttons (features according to the docs), after you have added the
appropriate plugin, the feature name autofills when you begin typing its
name. This never happened with the "style" plugin's "stylename" feature.
If I fill it out, the Style select box appears but does not contain any
styles.
Thanks!
Rob
Hi,
Have just installed the WatchList Application on XWiki Enterprise 3.1 and link for the RSS feed for "Last modifications feed for your watchlist" which appears in the user's Watchlist preferences page, gives the errors below.
Any ideas of what might be wrong?
Regards,
Tim
Failed to execute the [velocity] macroorg.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [## WatchList RSS.
## This page must be called with the following query string: "?xpage=plain&outputSyntax=plain"
#if("$!request.xpage" != "plain" && "$!request.outputSyntax" != "plain")
WatchList RSS feed
#else
$!response.setContentType("application/text+xml")##
#set($feed = $xwiki.watchlist.getFeed(20))##
#set($discard = $feed.set)
$xwiki.feed.getFeedOutput($xwiki.watchlist.getFeed(20), "rss_2.0")##
#end]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:133)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:49)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:306)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:202)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:196)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:141)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:81)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7639)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7588)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:838)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:787)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:626)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:195)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:160)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1840)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1778)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:836)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:195)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:160)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1840)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:153)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:XWiki.WatchListRss]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:204)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:160)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:126)
... 91 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getFeed' in class com.xpn.xwiki.plugin.watchlist.WatchListPluginApi threw exception com.xpn.xwiki.plugin.activitystream.api.ActivityStreamException: Error number 3223 in 3: Error number 3223 in 3: Exception while searching documents with sql select act from ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc]
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,':',act.space) in () or concat(act.wiki,':',act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc] at xwiki:XWiki.WatchListRss[line 7, column 31]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:195)
... 93 more
Caused by: com.xpn.xwiki.plugin.activitystream.api.ActivityStreamException: Error number 3223 in 3: Error number 3223 in 3: Exception while searching documents with sql select act from ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc]
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,':',act.space) in () or concat(act.wiki,':',act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc]
at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.searchEvents(ActivityStreamImpl.java:663)
at com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPluginApi.searchEvents(ActivityStreamPluginApi.java:307)
at com.xpn.xwiki.plugin.watchlist.WatchListEventFeedManager.getFeed(WatchListEventFeedManager.java:90)
at com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.getFeed(WatchListPluginApi.java:407)
at com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.getFeed(WatchListPluginApi.java:396)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 102 more
Hi LaStudent
You could try applying the edit and delete code found in the Event Calendar
application:
#foreach($yourobject in $doc.getObjects("XWiki.YourClass"))
#if($hasedit) ( $doc.getURL( $msg.get("edit") ,
$doc.getURL( $msg.get("delete") )
#end
-----
Lockie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Delete-Edit-Button-tp6546454p6552319.html
Sent from the XWiki- Users mailing list archive at Nabble.com.