I read in display macro documentation that you can display a section?
But how do you specify a section in a document?
I would like to understand this using the wysywig editor and using wiki editor?
And what velocity code would give me a section header and a section body (without the header)?
The only thing I can think of is the heading levels in the wysywig editor, but a document that has a header (level 2) and some text below the header does not seem to have sections if i call
#set($menuSections = $menu1Document.getSections())
Hi,
I've installed the query helper:
http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers
But it looks like the jquery.jquery is empty, contains no object of class javascriptextension?
Why would I need to load the jquerry into such a page, could I not just get it from:
links to the CDN-hosted copies of jQuery?
If this is possible; how do I do this?
If $xwiki.jsx.use('jQuery.jQuery', {'defer': false}) is used the script is always in the header of the html page?
But If I would like to load a script somewhere in the body, how do I do that, not use $xwiki.jsx.use?
Would I need to write it inside a html macro?
Gerritjan
Hello,
Does anyone know if it is possible to set parameters to li elements using
the (%%) syntax?
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters and
the examples do not mention li**, only ul/ol parametrization.
I tried this:
(% class="dir-tree" %)
> * ##/tmp##
> (% class="file" %)** ##file1.tmp##
> (% class="file" %)** ##file2.tmp##
>
It renders as a ul with the .dir-tree class, but the li are not
parametrized.
In fact they are not rendered as li, but as a <strong><span class="file">...
Is it a bug, or the expected result?
Thanks!
The XWiki development team is proud to announce the availability of XWiki Enterprise 4.3.
This release brings several improvements in Workspaces, Extension Manager, Distribution Wizard, the REST API, new field pickers (Date, User and Groups), improved translation registration and new experimental Solr search.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43
Thanks
-The XWiki dev team
Hi.
I've created something similar to FAQ application: a simple class,
sheet, template and pages created from template.
The pages are including the sheet, also have an object of the class.
I don't understand why the default edit mode is 'inline form', i.e. when
I create a livetable with 'actions' column, than 'edit' button goes to
'inline form' edit mode.
If a wiki user does not have 'advanced mode' enabled - he can only edit
the form, not the page itself.
How to make 'wiki' or 'wysiwyg' edit mode as default for such pages?
TIA
R.
Hi,
I am proposing to use XWiki to provide context sensitive help for a cloud
application.
It is likely that our channel partners will require their own branding of
the product and supporting wiki,
Therefore, my question is: does Xwiki have the functionality to use
variables in the text?
e.g. Company Name: [ACME | HAL | DEA]
Thank You
*
*
*John Murphy **|* Technical Writer *|* Mobile: 0415324479 *|*
|Telephone: 02 8999 3170 *|*john.murphy(a)ipscape.com.au*|*
Hello!
I have my xwiki on xwiki farm and have 2 problems:
1. It is very complicated to administrate my xwiki without statistics
application. What can I do to get the ability to have this app?
2. The cyrillic names of applications are not supported and I can't to
create any application to use. I know that this problem is related with data
base encoding method! Is it a bug? Can I repair it?
Thank You!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Cyrillic-font-at-myXwiki-tp7582521.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello!
I have my xwiki on xwiki farm and have 2 problems:
1. It is very complicated to administrate my xwiki without statistics
application. What can I do to get the ability to have this app?
2. The cyrillic names of applications are not supported and I can't to
create any application to use. I know that this problem is related with data
base encoding method! Is it a bug? Can I repair it?
Thank You!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Cyrillic-font-at-myXwiki-tp7582520.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to validate if upgrade where annotations have been merged with comments was successful (3.5->4.1.3).
select * from xwikicomments;
returns me 0 records, even though I definitely have page where I have annotations and I as well see them as comments in the bottom of the page.
How can I check if annotations are where they should be?
Regards,
Roman
Hello everyone,
I've activated the statistics on my virtual xwikis, but when I access
the page XWiki/Stats I see the code, but not statistics, as this:
<% period = request.get("period") Calendar cal = Calendar.getInstance();
cal.setTime(new Date()); if (period==null) { period =
cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) }
jour = cal.get(Calendar.YEAR) * 10000 + (cal.get(Calendar.MONTH)+1) *
100 + (cal.get(Calendar.DAY_OF_MONTH)+1)
type = request.get("type") if (type==null) type = "view"
%>
In the xwiki.cfg, this is the section related to statistics:
xwiki.stats=1
xwiki.stats.default=1
xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
Any help?
Thanks!
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hi!
I configured the xwiki syntax 2.1 as default syntax.
> core.defaultDocumentSyntax = xwiki/2.1
It works if I create a new space.
If I create a new page in an existing space it still use the xwiki/2.0
syntax.
Any hint what I'm doing wrong?
Best Regards,
H.-Dirk Schmitt
--
Signature H.-Dirk Schmitt
------------------------------------------------------------------------
*
H.-Dirk Schmitt <http://www.computer42.org>*
Dipl.Math.
eMail:/dirk.schmitt@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/
Kripper Str. 35, D-53489 Sinzig
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html
<http://www.computer42.org/%7Edirk/OpenPGP-fingerprint.html>
Hello all,
I'm working with the last version of XE and i get the LDAP authentication on
my Active Directory Domain.
My problem is when i move a user to a different OU in the Active Directory,
the user can't login in Xwiki anymore...(Error : Wrong password).
Is there a way to configure the xwiki.cfg in order the authentication could
"browse" the all Active Directory to find the user and allow him to login ?
Thanks in advance.
--
View this message in context: http://n2.nabble.com/Xwiki-LDAP-Authentication-doesn%27t-work-when-you-move…
Sent from the XWiki- Users mailing list archive at Nabble.com.
We're getting error 401 trying to use the rss macro on XWiki to access a
RSS feed hosted on the same XWiki server through HTTP Basic Authentication.
Using this macro in a XWiki page:
{{rss feed="
http://user:password@myserver.com/xwiki/bin/view/Blog/CategoryRss?xpage=pla…"
content="true" image="false" count="2" /}}
We get this error:
Failed to execute the [rss] macro
org.xwiki.rendering.macro.MacroExecutionException: Error processing [
http://user:password@myserver.com/xwiki/bin/view/Blog/CategoryRss?xpage=pla…]
: Server returned HTTP response code: 401 for URL:
http://user:password@myserver.com/xwiki/bin/view/Blog/CategoryRss?xpage=pla…
at
org.xwiki.rendering.internal.macro.rss.DefaultRomeFeedFactory.createFeed(DefaultRomeFeedFactory.java:65)
at
org.xwiki.rendering.internal.macro.rss.RssMacro.execute(RssMacro.java:128)
at org.xwiki.rendering.internal.macro.rss.RssMacro.execute(RssMacro.java:61)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:188)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:84)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:901)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:880)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:911)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:603)
at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.ASTIfStatement.render(ASTIfStatement.java:87)
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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for
URL:
http://user:password@myserver.com/xwiki/bin/view/Blog/CategoryRss?xpage=pla…
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1615)
at com.sun.syndication.io.XmlReader.<init>(XmlReader.java:237)
at
org.xwiki.rendering.internal.macro.rss.DefaultRomeFeedFactory.createFeed(DefaultRomeFeedFactory.java:60)
... 104 more
I can access the same feed URL using curl on the server XWiki is running:
root@server:~# curl -v "
http://user:password@myserver.com/xwiki/bin/view/Blog/CategoryRss?xpage=pla…
"
* About to connect() to myserver.com port 80 (#0)
* Trying 168.62.179.66... connected
* Server auth using Basic with user 'user'
> GET
/xwiki/bin/view/Blog/CategoryRss?xpage=plain&category=Blog.News&basicauth=1
HTTP/1.1
> Authorization: Basic ZmVlZHJlYWRlcjphc2xkZmprbzI5xxxxxxxx
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: myserver.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Tue, 20 Nov 2012 11:29:23 GMT
< Content-Type: application/rss+xml;charset=UTF-8
< Content-Length: 3411
< Connection: keep-alive
< Set-Cookie: JSESSIONID=dnmy5peu0w1n1ok4ywwxxxxxx;Path=/xwiki
< Expires: Tue, 20 Nov 2012 12:29:23 GMT
< Content-Language: en
< Pragma: no-cache
< Cache-Control: public
<
<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="
http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel rdf:about="/xwiki/bin/view/Blog/News">
<title>News</title>
(content follows)
The same feed URL also works with curl from my laptop, over the Internet.
I appreciate any help.
Hi,
i have a problem with german Umlaute when creating a new Page. The Umlaute
are not displayed correctly, but when i rename the page, then its works
correctly and the Umlaute are displayed. This problem appears only after
creating the page.
There are any solutions known?
Thanks
Regards,
Silvio
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-german-Umlaute-a-o-u-when-cr…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm testing installation of an extension with extension manager / extension
repository, on XE 4.3-milestone-2:
- deploy my extension (xar + deps) from maven to a local nexus
- import this extension into the extension repo in my xwiki
- try to install it with EM
I get a conflict:
Dependency [javax.jcr:jcr-2.0] is not compatible with core extension
[javax.jcr:jcr-1.0]
This dependency is a transitive dependency (runtime) of a mstor library
needed by my app. Currently, it is used in xwiki in version 1.0.
I first tried to add an <exclusion> block for it in my pom.xml, redeployed,
reimported, reinstalled, with same result.
I then added jcr 1.0 in a dependencyManagement section in order to override
version 2.0 brought by mstor, but again with same result.
BTW, additionally, the folder targeted by xwiki.data.dir remains empty ...
Seems a bit strange.
How can I solve this issue ?
Thanks,
Jeremie
Hi,
I know there have been discussions on collapsed panel headers
I've had user complaints about the 'complexity' of our website (based on XWiki).
After analysis of the complaints one of the reasons for perceived complexity were the panels
They distracted the focus from the content, because each panel (we use approx 4 on the left and 2 or 3 on the right) (www.cdlsworld.org)) contains links/information.
Sending screen shots of the site with collapsed panels was rated significantly 'easier'. The panel header is descriptive enough.
What is today's recommended strategy to have the panels collapsed by default (i would really like this to be a attribute when you define a panel; like a checkbox; default collapsed!)
We do not require user configuration here; the state of the panel does not have to be remembered per user session. We would rather have 'rules by context' If user has certain rights, if user is in certain space'
But this is a nice to have, not a must have; we would be fine if one single panel is always collapsed when entering a page. And for another panel that it is always open and can be collapsed!
Any recommendation would be highly appreciated...
My own thoughts are that this might be something for javascript; the script could collapse the panel...
Downside of javascript is that 'older' computers or users that have javascript disabled might not benefit, that would suggest a serverside setting of the CSS class ?
Gerritjan
I am just discovering XWiki and I am looking for some advice from more
experienced users on how to structure my wiki.
I am a data analyst at a hospital and would like to introduce a wiki into
our team. I feel XWiki is the best wiki engine for us to use because of the
WYSIWYG editor and the Office importer, which should help in the initial
adoption stage.
The aim of introducing a wiki would be to improve supporting documenting and
create more robust documentation on the following areas:
1. Definitions of measures - what it means, how it is calculated, what may
be excluded from this measure
2. Supporting user documentation to reports produced - how to navigate the
interactive reports, what the various graphs and charts represent
3. Document SQL databases/data warehouse - there are a whole host of
databases in the organisation that either no-one has no knowledge or one
person has knowledge of it. Documentation on the schemas, tables, views,
stored procedures, relationships etc.
4. Procedure information on how to produce reports - step by step on how to
produce a report extract. This documentation already exists in word
documents hosted in SharePoint libraries.
5. Technical documentation on how to produce reports - this would document
the inner workings DTS/SSIS packages or Microsoft Access databases that are
run as part of the procedure information.
Let me give you an example which may help you understand the situation
better.
There are various spreadsheet reports produced based on the number of weeks
patients have waited for treatment, referred to as 18 weeks, with numerous
measures used throughout.
The current documentation on how to produce these reports are split over
multiple word documents as the process is run in two stages on a Monday and
Thursday, both are very lengthy around 30 pages each. The documentation is a
step by step guide on how to produce the reports/extracts e.g. open this
file, copy and paste this, run this DTS package etc. To produce these
reports, another set of procedures need to be complete before as some of the
data produced by this process supports the 18 week process.
The entire process is based on a Microsoft Access database which an
ex-employee created and no-one knows anything about it's inner workings nor
is there any documentation on this database. Having looked at it briefly,
the database connects to an SQL server and uses data stored in some tables
which are produced by scheduled DTS packages - again which aren't
documented.
Thinking about how to logically store all this information within XWiki and
provide some clear structure, my thoughts were as follows:
Create virtual wikis which are based on the target audience/purpose
Create spaces for each of the subject areas/databases
Use tags to provide further categories, in particular for documenting
databases.
This would look something like this:
An XWiki for consumers of reports, this would contain documentation on
measures and supporting documentation on interpreting the various reports
produced. This wiki would be split into various spaces based on the subject
area, e.g. 18 Weeks, Inpatient, Outpatient.
An XWiki for procedural documentation on how to produce the various reports.
This would be split into various spaces based on the same subject areas as
the previous XWiki.
An XWiki for technical documentation on databases/DTS/SSIS packages. This
would be split into spaces for the various databases and would use tags to
distinguish between the different type of pages within the space e.g.
documentation on tables, views, stored procedures, functions.
Whilst the first two XWikis make sense and I don't see any issues with the
structure, it is the technical documentation part which I think may be
difficult to navigate. Perhaps the DTS/SSIS packages would need there own
XWiki as they are at a server level and not database level.
I am hopeful to hear your thoughts on the suggestions above.
Any help if greatly appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Looking-for-advise-on-structuring-XWiki-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.3 Milestone 2.
This release brings:
- a new and experimental Solr Search engine
- new default date, user and group pickers
- a new localization module allowing applications to register translations
- REST API additions
- various other improvements.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43M2
Thanks
-The XWiki dev team
Hi,
i am very new to Xwiki. I have added the statistic Panel "MostViewedPages"
with the Panel-Wizard and saved the new Layout successfully. Now the new
Panel is visible for me - as Administrator - but not for normal Users. Why?
Maybe there are not enough collected informations at this moment? Or the
panel is only visible for Admins?
Thanks!
Kind Regards,
Silvio
--
View this message in context: http://xwiki.475771.n2.nabble.com/MostViewedPages-Panel-only-visible-for-Ad…
Sent from the XWiki- Users mailing list archive at Nabble.com.
You need to send messages to both me and xwiki-users list.
Everybody should share knowledges.
What I want to do is extract all object of a class from a specific page,
not the entire objects from the wiki database.
How should I modify the query in this case?
And where can I find all those XWQL object model references? (Yes, it
reminds me of DOM)
doc.object, etc, ...
On Tue, Nov 13, 2012 at 5:59 PM, Jeremie BOUSQUET <
jeremie.bousquet(a)gmail.com> wrote:
> Well, it's not because the name is the same that it's the same method or
> API ... :)
>
> XWiki core api is a Java api, available to components and scripts
> (velocity, groovy ...). It provides access to documents as well as various
> features of the wiki.
>
> XWQL is a query language, superset of JPQL (Java Persistence Query
> Language ?) with some differences. You use it to query the data stored in
> the database.
> One of the differences between jpql/xwql is the syntax
> "doc.object(MyClass)" that selects all XObjects belonging to a particular
> XClass from the database. Apart from that, if you know JPQL then you mostly
> know XWQL.
>
> ("doc.getObject("MyClass")" , from java api, retrieves XObjects of a
> particular XClass from specified document only (and not from the whole
> wiki).)
>
>
>
> 2012/11/13 crocket <crockabiscuit(a)gmail.com>
>
>> Isn't doc.object(Class) part of XWiki core API?
>> I thought it was an alias of $doc.getObject("Class")
>>
>> I want to know what APIs XWQL has access to, but I couldn't find the
>> information.
>> On Mon, Nov 12, 2012 at 11:42 PM, Jeremie BOUSQUET <
>> jeremie.bousquet(a)gmail.com> wrote:
>>
>>> doc.getObjects("MyClass") is from the xwiki core java api, but is not
>>> part of the XWQL querying language.
>>>
>>> The query:
>>>
>>> select srv.port from Document doc, doc.object(Private.Network Services)
>>> as srv order by srv.port
>>>
>>> ... translates to " select "port" field from all XObjects that are of
>>> class "Private.Network Services", ordering by "port" field "
>>> So this query would retrieve the value of "port" field from all of these
>>> XObjects (that we name "srv" in the query), wherever they are and whatever
>>> their count.
>>>
>>>
>>>
>>>
>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>
>>>> doc.getObjects was there since I had multiple instance of the same
>>>> class.
>>>>
>>>>
>>>>
>>>> On Mon, Nov 12, 2012 at 8:32 PM, Jeremie BOUSQUET <
>>>> jeremie.bousquet(a)gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I think this is not correct:
>>>>> select srv from IN (doc.getObjects("Private.Network Services")) srv
>>>>> order
>>>>> by srv.port
>>>>>
>>>>> Should be more something like:
>>>>> select srv.port from Document doc, doc.object(Private.Network
>>>>> Services) as
>>>>> srv order by srv.port
>>>>>
>>>>> Replacing the "select srv.port" by what fields you want to retrieve.
>>>>>
>>>>> Though obviously I'm not sure about what you wanted to achieve with
>>>>> your
>>>>> request to start with ...
>>>>>
>>>>> Br,
>>>>> Jeremie
>>>>>
>>>>>
>>>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>>>
>>>>> > Yes, I read it, and it seems collection member declarations don't
>>>>> work in
>>>>> > xwiki.
>>>>> >
>>>>> >
>>>>> > On Mon, Nov 12, 2012 at 6:13 PM, Jerome Velociter <
>>>>> jerome(a)velociter.fr
>>>>> > >wrote:
>>>>> >
>>>>> > > Le 12/11/12 09:37, crocket a écrit :
>>>>> > >
>>>>> > > I tried to execute a Query and saw an error below.
>>>>> > >>
>>>>> > >> Caused by: org.xwiki.query.**QueryException: Exception while
>>>>> translating
>>>>> > >> [select srv from IN (doc.getObjects("Private.**Network
>>>>> Services")) srv
>>>>> > >> order by srv.port] XWQL query to the [hql] language. Query
>>>>> statement =
>>>>> > >> [select srv from IN (doc.getObjects("Private.**Network
>>>>> Services")) srv
>>>>> > >> order by srv.port]
>>>>> > >>
>>>>> > >> Although I read JPQL documents, I couldn't come out with an
>>>>> answer.
>>>>> > >>
>>>>> > >> Does anybody know how to write a correct XWQL statement?
>>>>> > >>
>>>>> > >
>>>>> > > Have you read
>>>>> http://extensions.xwiki.org/**xwiki/bin/view/Extension/**
>>>>> > > Query+Module#**HQueryLanguageExamples<
>>>>> >
>>>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
>>>>> > >?
>>>>> > >
>>>>> > > Jerome
>>>>> > >
>>>>> > >> ______________________________**_________________
>>>>> > >> users mailing list
>>>>> > >> users(a)xwiki.org
>>>>> > >> http://lists.xwiki.org/**mailman/listinfo/users<
>>>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>>>> > >>
>>>>> > >
>>>>> > > ______________________________**_________________
>>>>> > > users mailing list
>>>>> > > users(a)xwiki.org
>>>>> > > http://lists.xwiki.org/**mailman/listinfo/users<
>>>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>>>> > >
>>>>> > _______________________________________________
>>>>> > users mailing list
>>>>> > users(a)xwiki.org
>>>>> > http://lists.xwiki.org/mailman/listinfo/users
>>>>> >
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>
>>>>
>>>
>>
>
Hi!
i like to edit text input fields via FF addon "It's all text" in emacs :-)
This is especially helpful if you need an advanced feature like "search
and replace" ;-)
Only one thing is missing - syntax highlighting.
Has anybody an emacs mode covering the XWiki 2.x syntax ?
Best Regards,
H.-Dirk Schmitt
--
Signature H.-Dirk Schmitt
------------------------------------------------------------------------
*
H.-Dirk Schmitt <http://www.computer42.org>*
Dipl.Math.
eMail:/dirk.schmitt@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/
Kripper Str. 35, D-53489 Sinzig
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html
<http://www.computer42.org/%7Edirk/OpenPGP-fingerprint.html>
Hi,
I would like to use the container macro and three collums
{{container layoutStyle="columns"}}
(((first content)))
(((second content)))
(((third content)))
{{/container}}
The contents would be includes from three pages containing Header level 5, a link to another wiki page, a short descriptive and an image
The question is that I would like these three columns to look like a collapsed panel header you get when you set a colortheme (new version with coloreffect)
What is the way to include a DIV CSS selector with a class attribute similar to the collapsed header from colorthemes
The result should be that all three columms will allign (same height, width) with the background fill and border like a collapsed panel header
(regardless of content of the three included pages)
Help will be greatly appreciated...
Gerritjan
I succeeded in obtaining ordered XWiki Objects from a specific page with
XWQL, but it was too slow since it queried the entire wiki.
Since I just need objects from a specific page, I don't need the overhead
of querying the entire wiki DB.
To order objects obtained by $doc.getObjects("Class"), it seems I need a
Comparator class that I can pass to a collection sort method.
To compare fields, I need to extract types from the fields the Comparator
is given in its constructor, which I don't have an idea of.
How do I implement a Comparator that compares objects according to given
fields?
Isn't doc.object(Class) part of XWiki core API?
I thought it was an alias of $doc.getObject("Class")
I want to know what APIs XWQL has access to, but I couldn't find the
information.
On Mon, Nov 12, 2012 at 11:42 PM, Jeremie BOUSQUET <
jeremie.bousquet(a)gmail.com> wrote:
> doc.getObjects("MyClass") is from the xwiki core java api, but is not part
> of the XWQL querying language.
>
> The query:
>
> select srv.port from Document doc, doc.object(Private.Network Services) as
> srv order by srv.port
>
> ... translates to " select "port" field from all XObjects that are of
> class "Private.Network Services", ordering by "port" field "
> So this query would retrieve the value of "port" field from all of these
> XObjects (that we name "srv" in the query), wherever they are and whatever
> their count.
>
>
>
>
> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>
>> doc.getObjects was there since I had multiple instance of the same class.
>>
>>
>>
>> On Mon, Nov 12, 2012 at 8:32 PM, Jeremie BOUSQUET <
>> jeremie.bousquet(a)gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I think this is not correct:
>>> select srv from IN (doc.getObjects("Private.Network Services")) srv order
>>> by srv.port
>>>
>>> Should be more something like:
>>> select srv.port from Document doc, doc.object(Private.Network Services)
>>> as
>>> srv order by srv.port
>>>
>>> Replacing the "select srv.port" by what fields you want to retrieve.
>>>
>>> Though obviously I'm not sure about what you wanted to achieve with your
>>> request to start with ...
>>>
>>> Br,
>>> Jeremie
>>>
>>>
>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>
>>> > Yes, I read it, and it seems collection member declarations don't work
>>> in
>>> > xwiki.
>>> >
>>> >
>>> > On Mon, Nov 12, 2012 at 6:13 PM, Jerome Velociter <jerome(a)velociter.fr
>>> > >wrote:
>>> >
>>> > > Le 12/11/12 09:37, crocket a écrit :
>>> > >
>>> > > I tried to execute a Query and saw an error below.
>>> > >>
>>> > >> Caused by: org.xwiki.query.**QueryException: Exception while
>>> translating
>>> > >> [select srv from IN (doc.getObjects("Private.**Network Services"))
>>> srv
>>> > >> order by srv.port] XWQL query to the [hql] language. Query
>>> statement =
>>> > >> [select srv from IN (doc.getObjects("Private.**Network Services"))
>>> srv
>>> > >> order by srv.port]
>>> > >>
>>> > >> Although I read JPQL documents, I couldn't come out with an answer.
>>> > >>
>>> > >> Does anybody know how to write a correct XWQL statement?
>>> > >>
>>> > >
>>> > > Have you read
>>> http://extensions.xwiki.org/**xwiki/bin/view/Extension/**
>>> > > Query+Module#**HQueryLanguageExamples<
>>> >
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
>>> > >?
>>> > >
>>> > > Jerome
>>> > >
>>> > >> ______________________________**_________________
>>> > >> users mailing list
>>> > >> users(a)xwiki.org
>>> > >> http://lists.xwiki.org/**mailman/listinfo/users<
>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>> > >>
>>> > >
>>> > > ______________________________**_________________
>>> > > users mailing list
>>> > > users(a)xwiki.org
>>> > > http://lists.xwiki.org/**mailman/listinfo/users<
>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>> > >
>>> > _______________________________________________
>>> > users mailing list
>>> > users(a)xwiki.org
>>> > http://lists.xwiki.org/mailman/listinfo/users
>>> >
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>
Dear Mailman,
I want a standalone XWiki example in order to verify that it can provide my
company's requirements before doing a full installation to our web and data
servers
I have downloaded the windows installer of 4.3 (2) to a Windows 7 machine
with Java 7 installed and 1TB free storage
I ran the installer and I have a start icon and a stop icon on the desktop
When I double click the start icon, I see a command prompt for a fraction
of a second before it disappears.
Firefox and Chrome both report that they cannot connect to localhost:8080
Is there something fundamental that I have missed? I understood that this
installation came with a small database built into it.
--
*John Murphy **|* Technical Writer *|* Mobile: 0415324479 *|*
|Telephone: 02 8999 3170 *|*john.murphy(a)ipscape.com.au*|*
Hello XWiki experts,
at www.curriki.org, our two server-nodes are reaching limits in terms of storage.
One of the things that take a lot of space are the logs, we have a clue how to manage that.
Another thing that takes a lot of space is /var/tmp/ which contains temporary storages for the attachment deliveries.
On one of the nodes, it's made of 14Gb and 12538 files.
On the other, 23Gb and 29402 files.
What are the risk of deleting the old files there?
Is the server touching the files when it has served them so that files older than a day could be deleted if we need?
(I think I know that it takes more time to deliver from the DB and create temp-storage than to use the temp storage)
thanks in advance
Paul
Hi guys,
I just finished repackaging the realtime collaborative editor which was developed as part of wiki/3.0.
It is now installable as an extension. It's still a bit rough around the edges but it's pretty safe to
play with so everyone is invited to give it a try.
* Multiple users can edit the same document at the same time and their changes are merged in real time.
* The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki so it won't break existing editors.
* Easy installation by copying a .jar file and importing a .xar file, removal is simply deleting 2 XDocuments.
http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
Please feel free to share your experiences in the mailing list, on the extension wiki page and on the
github bug tracker.
Thanks,
Caleb
I tried to execute a Query and saw an error below.
Caused by: org.xwiki.query.QueryException: Exception while translating
[select srv from IN (doc.getObjects("Private.Network Services")) srv
order by srv.port] XWQL query to the [hql] language. Query statement =
[select srv from IN (doc.getObjects("Private.Network Services")) srv
order by srv.port]
Although I read JPQL documents, I couldn't come out with an answer.
Does anybody know how to write a correct XWQL statement?
I enabled view permission on wiki, space, and page levels for unregistered
users, but anonymous users see the below errors instead of a chart.
org.xwiki.rendering.macro.MacroExecutionException: You do not have
permission to view the document. at
org.xwiki.rendering.internal.macro.chart.source.table.DocumentTableBlockDataSource.validateParameters(DocumentTableBlockDataSource.java:194)
at
org.xwiki.rendering.internal.macro.chart.source.AbstractDataSource.validateParameters(AbstractDataSource.java:115)
at
org.xwiki.rendering.internal.macro.chart.source.table.AbstractTableBlockDataSource.buildDataset(AbstractTableBlockDataSource.java:137)
at
org.xwiki.rendering.internal.macro.chart.ChartMacro.generateChart(ChartMacro.java:154)
at
org.xwiki.rendering.internal.macro.chart.ChartMacro.execute(ChartMacro.java:110)
at
org.xwiki.rendering.internal.macro.chart.ChartMacro.execute(ChartMacro.java:56)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:189)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:136)
at
org.xwiki.rendering.internal.macro.html.HTMLMacro.renderWikiSyntax(HTMLMacro.java:263)
at
org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:146)
at
org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:71)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:189)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:136)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:990)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:953)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:926)
at
com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:220)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2760) at
com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2721) at
com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2670) at
com.xpn.xwiki.api.Document.display(Document.java:1507) at
sun.reflect.GeneratedMethodAccessor1048.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601) 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.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
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.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
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.directive.Foreach.render(Foreach.java:420)
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.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.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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:302)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:189)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:136)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:904)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:883)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:914)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:603) at
sun.reflect.GeneratedMethodAccessor1103.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601) 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.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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1766) at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1706) at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) at
sun.reflect.GeneratedMethodAccessor864.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601) 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.ASTIfStatement.render(ASTIfStatement.java:87)
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:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1766) at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) 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:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) 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:144)
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:66)
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:208)
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:111)
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:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
{{velocity}}
##hello##
{{/velocity}}
Just prints nothing.
Since ## means the beginning of a comment in velocity, I can't use ## and
## as monospace wiki markup.
What can I do?
To all,
If someone edits a page on our wiki, they are always creating a new
revision. Our users (including myself) do not mark an edit as "minor" (small
checkbox in the lower right when you edit a page "Is minor edit".
I would like to change this behaviour. I would like that every edit is a
minor edit (thus the checkbox should be checked by standard) and that a user
has to uncheck that if he's making a "major" edit.
Does anybody know if this is possible?
Now that I think of it, can't XWiki just ask me if I want to make a new
revision if I change/add for example 10% of a page? That should be a nice
feature :-)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Minor-Edit-Strategy-tp7582091.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have downloaded and installed standalone xwiki ent 4.2, it seemed to
go well. I installed to d:\XWiki Enterprise 4.2, didn't use the default
program files path the installer suggested (and I read later at
http://www.xwiki.com/xwiki/bin/view/Products/InstallationGuide that the
prog files dir is not good, the installer should be changed???)
I double click the start xwiki icon on my desktop. Nothing seems to
happen. I nav to http://localhost:8080/xwiki/ and see that firefox can't
establish a connection.
I rarely mess with java, and so I am not sure if I have a "A Servlet
Container supporting Servlet 2.4" which would be tomcat or something of
that order. Some other software I have installed uses tomcat, but I'm
not sure if it's running by default. Would the installer have warned me
if tomcat etc was not installed?
xwiki looks pretty neat, I am looking forward to testing it out.
Thanks
Hello!
I diving deeper and deeper in a livetables ...
I created custom JSON page with this content:
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#if("$!{request.xpage}" == 'plain')
$response.setContentType('application/json')
#end
#set($map = {})
#gridresult_buildJSON("$!request.classname" $request.collist.split(',')
$map)
#foreach($row in $map.get('rows'))
#set($rowDoc = $xwiki.getDocument($row.get('doc_fullName')))
#set($parentDoc = $xwiki.getDocument($rowDoc.getParent()))
#set($discard = $row.put('pNo', "$foreach.count"))
#set($discard = $row.put('wDesc', " $parentDoc.getDisplayTitle()
<$parentDoc.getExternalURL()> "))
#end
$jsontool.serialize($map)
{{/velocity}}
As you can see, I added column with row number and column with link for the
parent page. JSON working, livetable showing, but I cannot filter by these
added columns ... any filter give empty result inside livetable.
Maybe I wrote something wrong ...
What need to do for normal working of filtering on a columns added by custom
json?
--
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Livetable-filtering-on-a-column-added-by-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I had an issue where XWiki could not save a document in Inline-Mode using Internet Explorer (endless spinning-wheel).
I got following error:
SCRIPT5007: the property "serialize" has no value: the object is Null or undefined
actionButtons.js, Zeile 155 Zeichen 7
The reason for that were programmatically produced forms by an included macro (<form name=" ${obj}" action="">...</form>) in inline-mode. I just left out the form-tags around the input- and option-elements and that was the fix. Perhaps someone finds out a solution at the root, I couldn't so far.
Regards,
Josef Haimerl
Hello,
i have installed XWIKI Enterprise 4.2 on a Tomcat-server with Apache in front.
Direct access on Tomcat-URL is OK.
But if go over Apache and try to login the message occurs:
"Unauthorized: This server could not verify that you are authorized
to access the document requested. Either you supplied the wrong
credentials (eg, bad password) or your browser doesn't understand how to
supply the credentials required.
The browser's URL is redirected to
https://mysub.mydomain.com/xwiki/bin/login/XWiki/XWikiLogin?xredirect=%2Fxw…
xwiki.cfg is configured with:
xwiki.home=https://mysub.mydomain.com/xwiki/
xwiki.url.protocol=https
xwiki.webapppath=xwiki/
Do you have a hint ?
Thanks in advance.
Best regards
Ingo
May be a basic problem but when I use the {{cache}} macro, the content is
never refreshed (not after the default 5 minutes, nor the specified time by
the timeToLive).
I'm using XWiki 4.2.
--
View this message in context: http://xwiki.475771.n2.nabble.com/problem-with-the-cache-macro-tp7582215.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 11/07/2012.
I will have no Internet access. If this is an emergency, please contact my
manager, Kathy Kennedy, and she will find someone on my team to help you.
Note: This is an automated response to your message "users Digest, Vol 64,
Issue 5" sent on 11/06/2012 7:00:03.
This is the only notification you will receive while this person is away.
Hello,
As we are currently migrating our XWiki server to 64bit platform I believe I have freedom to consider switching DB.
We are currently using 32bit MySQLv5.0.77 (innodb engine, 500M of attachments stored in-db) so the options are
· Upgrade to MySQLv5.6.x
· Migrate to PostgreSQL 8.1 (via XWiki export/import as xar backup feature)
The question is: which of those databases is more supported? (mostly used for development, supported by admin application, etc)
Regards,
Roman
Hi there,
Although it sounds really easy, I haven't managed to define a Link that,
when pressed, will stay on the same page but change from VIEW mode
to the EDIT mode.
I tried this
[[My Link Text>>$doc.getURL('edit', 'editor=inline')]]
And I tried to switch the $context object with set LinksAction() etc.
That all does not work as expected. I am currently testing with the
admin account to make sure that it is not a rights problem.
My solution is based on the FAQ example, i.e. XYZClass, XYZSheet and
XYZTemplate. It works nice but Iwant to give the user the ability to switch
easily frpm VIEW mode to EDIT mode while viewing an object. I added the
above line to XYZSheet. The Link has a questionmark behind it.
If I click the Link it shows "edit" in the URL but an empty xwiki edior is
opened instead of the form in EDIT mode.
The work around is currently to access in VIEW mode first and to
replace "view" by "edit" in the Browser URL field - that works but
is of course no durable solution.
Any help would be great.
Thanks a lot
Torsten
p.s. I am using Xwiki enterprise 3.5.1 under Linux with MySQL
Hi Marius,
Thanks for your response, it works when I use display macro to include the
testpage into the other page, but I need also to include (display) the page
with inline mode inside the other page, since user can click the edit
pencil button on the right corner of the testpage to edit it, right now the
edit button will lead to the testpage in inline mode but the testpage is
not inside the other page which originally include(display) the testpage.
So how to include or display a page with inline mode into another page?
Thanks for your help.
David
On Fri, Nov 2, 2012 at 3:06 AM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> On Thu, Nov 1, 2012 at 10:51 PM, Geo Du <dddu88(a)gmail.com> wrote:
> >
> > Hi All,
> >
> > I want to include one page into another page in terms of content instead
> of
> > velocity code, for example, the Blog.WebHome is a page without velocity
> > code if you choose Edit->Wiki, but it has Blog.BlogClass if you select
> > Edit->Objects, from Blog.WebHome page, I can create a new post with tile
> > testpage, now the Blog.testpage is the new page created that I need to
> > include into another page, this testpage has no velocity code from
> > Edit_>Wiki. so how to include that page into a different page?
> >
>
> > I tried: include Macro, includeInContext Macro, includeTopic Macro, none
> of
> > them displays the testpage for me, any idea?
>
> "display" is the key. You want to display not to include. See
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro .
>
> Hope this helps,
> Marius
>
> >
> > Thanks very much for your help.
> >
> > David
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
Hi All,
I want to include one page into another page in terms of content instead of
velocity code, for example, the Blog.WebHome is a page without velocity
code if you choose Edit->Wiki, but it has Blog.BlogClass if you select
Edit->Objects, from Blog.WebHome page, I can create a new post with tile
testpage, now the Blog.testpage is the new page created that I need to
include into another page, this testpage has no velocity code from
Edit_>Wiki. so how to include that page into a different page?
I tried: include Macro, includeInContext Macro, includeTopic Macro, none of
them displays the testpage for me, any idea?
Thanks very much for your help.
David
Hi all,
I like to remove some of the menu items based on the user logged in, for
example for one type of users, I need to remove the Add menu, or change
Wiki, Space or Page menus to my own menus, I checked the users rights, it
has View, Comment, Edit, Delete, Register, Program, they seem not designed
for that, any suggestions? I checked menuview.vm, that is where to control
the menus, it seems I need to change this file.
Thanks for your suggestions in advance.
David
Hello,
No issues here just needing some insights on filesystem storage ...
I just moved to it (on 4.3-milestone-1), and ran script to migrate my
attachments from db to filesystem.
Though attachments seem to open perfectly well, I'm surprised by the
difference in size: file "xwikiattachment_content.MYD" (I'm using
MySql as you guess) is about 1,3GB, while my whole folder
${xwiki.data.dir}/storage is only about 600MB.
What could explain such a big difference ? (apart from some
attachments that may not have been migrated)
Considering: "It is prudent to leave the attachments in the database
since in most situations the attachment data is not bothersome just
sitting in the database (The only risk of attachments left in the
database is that they will bloat the size of the database files)" [1]
Ok with that, but supposing that I checked my attachments are ok and
I'm satisfied with fs storage (or I'm just using a test xwiki that I
can blow away without risk), removing attachments from db means
cleaning table xwikiattachment_content, is it right ? Can I remove
other xwikiattachment* tables, or are they still used to reference the
attachments ? (I guess they do but...)
Thanks,
Jeremie
[1] - http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…
To all,
In our organisation we are using a lot of MS Excel Spreadsheets which holds
all kinds of data. These Excel Spreadsheets are stored on our servers, but
they are "scattered" across our network. We want to organise there files
better. We DONT want to upload these files to XWiki, because we want those
file to be easily accessable from our network as well (and we have trouble
with large attachments (71Mb) which refuse to be removed from XWiki).
We have created multiple spaces in our XWiki, lets say they are called A, B
and C. Each space has been "locked down" and only users with the right
permissions can access those spaces.
I am thinking about creating a new file-structure on our server. One main
folder called "XWiki" I want to create sub-folders "A", "B" and "C". Our IT
department will apply the correct rights to each sub-folder.
In our XWiki, we can then create UNC-links to the files on our server (which
I create by hand, because I am the only one with the knowledge to create
these links :-).
What do you think about this setup? I am interrested in all opinions,
experiences, etc.
P.s. With "MS Excel Spreadsheets" I mean all kinds of files :-)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Organising-files-on-the-network-tp7582099…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'd like to build a wiki to catalog my watch collection and experiment with XWiki.
User Name: ronaks
Server Name: watches.myxwiki.org
Thanks,
Ronak
Hi all, I log in to wiki with my admin credentials. Now navigate to
administer wiki but i do not see the wiki default images
like configuration.png,lf.png,usersgroups.png etc
When i go to firebug and inspect that image , i see the path as
/mywiki/bin/download/XWiki/AdminSheet/configuration.png
but there is no folder like this under mywiki (looks like they are stored
in db and returned thru servlet.Just a guess)
Just for information, i am running my wiki instance in disk mode so that
all my attachments are stored in file system instead of db.
Below is the change i did for that:-
xwiki.store.attachment.versioning=0
# disable document recycling
storage.attachment.recyclebin=0
xwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file
xwiki.store.attachment.recyclebin.hint = file
*I am not sure what i am missing here? Is running wiki under disk mode the
cause for it ?, If yes what is the right way to proceed?*
Hello,
I'm trying to import a xar published to my local maven repository.
I've setup the local repository in xwiki.properties:
extension.repositories=maven-local:maven:file:///c:/Users/jbousque/.m2/repository
My extension exists in this repository:
C:\Users\jbousque\.m2\repository\org\xwiki\contrib\mailarchive\xwiki-contrib-mailarchive-ui\0.2\xwiki-contrib-mailarchive-ui-0.2.xar
When trying to import extension with id
"org.xwiki.contrib.mailarchive:xwiki-contrib-mailarchive-ui", I get
the following error:
Failed to import extension: class
org.xwiki.extension.ResolveException: No versions available for id
[org.xwiki.contrib.mailarchive:xwiki-contrib-mailarchive-ui]
at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:252)
at org.xwiki.extension.repository.xwiki.internal.DefaultRepositoryManager.getVersions(DefaultRepositoryManager.java:409)
at org.xwiki.extension.repository.xwiki.internal.DefaultRepositoryManager.importExtension(DefaultRepositoryManager.java:430)
at org.xwiki.extension.repository.xwiki.internal.RepositoryScriptService.importExtension(RepositoryScriptService.java:100)
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)
[...]
And from the logs (with debug activated for
"org.xwiki.extension.repository" and "org.sonatype.aether") :
[http://.../ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=org.xwiki.contrib.mailarchive%3Axwiki-contrib-mailarchive-ui&repositoryId=maven-local]
DEBUG .DefaultPlexusComponentManager - Using connector
FileRepositoryConnector with priority 1 for
file:///c:/Users/jbousque/.m2/repository
[http://.../ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=org.xwiki.contrib.mailarchive%3Axwiki-contrib-mailarchive-ui&repositoryId=maven-local]
DEBUG .DefaultPlexusComponentManager - Writing resolution tracking
file C:\Users\jbousque\AppData\Local\Temp\jetty-0.0.0.0-8097-xwiki-_xwiki-any-_2086184271349922709\xwiki-temp\aether-repository\org\xwiki\contrib\mailarchive\xwiki-contrib-mailarchive-ui\resolver-status.properties
Content of resolver-status.properties is:
maven-metadata-maven-local.xml.error=
maven-metadata-maven-local.xml.lastUpdated=1351257375255
Can't find what's wrong here ...
Thanks,
Jeremie
PS: I tried with 4.2 and 4.3-SNAPSHOT with .exe distrib under windows
Hi fellow XWiki developers,
The company I work for, XWiki SAS (see http://bit.ly/SEl2yY for details on the relationship between XWiki SAS and the open source project), is currently in the phase of discussing several new development projects for customers.
We are expecting some activity growth pretty quickly in 2013 and beyond and therefore we are looking for front-end developers to work for our Client Development Team in priority (but also in the Core Development Team).
We're considering both new hires and sub-contractors, so if you feel there can be a match between your interests and the mission we're proposing send us an email at jobs(a)xwiki.com:
* http://www.xwiki.com/xwiki/bin/view/Company/DeveloperOpenPosition
* http://www.xwiki.com/xwiki/bin/view/Company/CoreWebDeveloperOpenPosition
Looking forward to hearing from you on jobs(a)xwiki.com !
-Vincent Massol
XWiki SAS CTO
I am attempting to install the ldap application using the extension manager.
I am operating behind a proxy. I have set the proxy settings using the java
system properties, and I am able to list / view extensions.
However when I try to install an extension I get an error that Could not
find extension dependency [org.xwiki.platform:xwiki-platform-ldap-api-4.0]
Full stack trace is below.
I am guessing this is related to https://jira.xwiki.org/browse/XCOMMONS-280
Is there a workaround?, something I can set to install this plugin.
Could not find extension dependency
[org.xwiki.platform:xwiki-platform-ldap-api-4.0]
class org.xwiki.extension.InstallException: Failed to resolve extension at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:684)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:383)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:295)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:225)
at
org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at
java.lang.Thread.run(Thread.java:662) Caused by: class
org.xwiki.extension.InstallException: Failed to resolve extension dependency
[org.xwiki.platform:xwiki-platform-ldap-api-4.0] at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:733)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:597)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:572)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:782)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:682)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:383)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:295)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:225)
at
org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at
java.lang.Thread.run(Thread.java:662) Caused by: class
org.xwiki.extension.ResolveException: Could not find extension dependency
[org.xwiki.platform:xwiki-platform-ldap-api-4.0] at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:177)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:731)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:597)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:572)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:782)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:682)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:383)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:295)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:225)
at
org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at
java.lang.Thread.run(Thread.java:662)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Install-of-ldap-extension-fails-tp7581987…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Done, moved the realtime editor to contrib and now you can report issues here:
http://jira.xwiki.org/browse/XCONTRIB/component/12462
Thanks,
Caleb
On 10/24/2012 10:32 AM, Thomas Mortagne wrote:
> +1
>
> On Wed, Oct 24, 2012 at 2:43 PM, Caleb James DeLisle
> <calebdelisle(a)lavabit.com> wrote:
>> Hi,
>>
>> Since I've got the realtime editor in a working state and it's hosted as an extension,
>> I'd like to move it to xwiki-contrib so we can take advantage of the jira project and
>> not have issues lost in githubland.
>>
>> WDYT?
>>
>> Thanks,
>> Caleb
>>
>> _______________________________________________
>> devs mailing list
>> devs(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>
>
>
The XWiki development team is proud to announce the availability of
XWiki Enterprise 4.3-milestone-1.
This release brings several improvements in Workspaces, Extension
Manager, Distribution Wizard and the REST API.
It is now possible to activate the multiwiki feature when using the
HSQLDB database (i.e., in the standalone version of XWiki Enterprise).
Several important fixes for bugs related to importing Office Documents
while using filesystem attachments have also been included.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43M1
Thanks
-The XWiki dev team
Hi,
I'm trying to install XWiki 4.2 on Tomcat container (on Linux Redhat 6.3)
For the extension manager, I have set the proxy using
-Dhttp.proxyHost=theproxy -Dhttp.proxyPort=8080 -Dhttps.proxyHost=theproxy
-Dhttps.proxyPort=8080
the in the CATALINA_OPTS.
Each time the XWiki is started, I have this kind of errors :
http://pastebin.com/raw.php?i=UTzKUigX
I'm able to install new extensions, but the "Upgrade wizard" didn't found
"XWiki Entreprise UI" (the xwiki-enterprise-ui-all-4.2.xar was manually
uploaded).
Using a simple Java program that use the proxy, I'm able to download the URL
shown in the log. So I guess the proxy is correctly configured.
Am I missing something in the configuration ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-4-2-and-Tomcat7-and-Proxy-tp7581972…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Guys,
first of all i would like to say that i'm a student from germany so sorry
for my bad english.
i've already used the search function but i don't find a solution for my
problem.
I'm using Xwiki 4.2 and i would like to create templates for the input of
the members.
There should be a uniform structure, and each entry should look almost equal
in my xwiki.
I would like to create a template for customer information and at the top
there should be a table of contents.
in addition to that some areas should not be visible for all member groups.
thanks in advance
--
View this message in context: http://xwiki.475771.n2.nabble.com/using-and-creating-Templates-in-XWiki-4-2…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Xwiki developers
I would like to know what is the best way to get fields of a Class
created on Xwiki ? I tried with reflection but things seems not work right
, I do not even know what class to use. please would you give me some key
notes on that subject.
Thanks
Hi All!
How can I set up XWiki to work with HTTPS correctly? Where one can read it?
Because as far as I understood, that XWiki has no no native support for HTTPS and it should work as following:
user -> https -> web server -> http -> XWiki -> http -> web server -> https -> user
Is it the only way?
Kind regards,
Dmitry
Hi, we are a non-profit Italian organization for enviroment and waste
recycling activism.
We would like to use this wiki for collaboration and generate documentation.
username: aravasio
server name: bergamo5stelle
Thanks in advance.
Andrea Ravasio
Hi, All!
XEM has brilliant opportunity to split knowledgebase into workspaces. But, there is a "bug" in a multiwiki crosslinks.
One page has link to another in relative format: wiki:Space.Page.
Inside the same wiki on page ranaming, all links to this page are verified and fixed to the new page name. Excelletn.
The same is done in multiwiki environment. Wiki1:Space1.Page1 has link to Wiki2:Space2.Page2. Works fine!
On page renaming from Wiki2:Space2.Page2 to e.g. Wiki2:Space2.Page3 we have broken link in Wiki1:Space1.Page1.
As far as I understand XWiki, there is no way to handle such a situation by standard means. Moreover, extension to verify external broken links won't be useful either, cause link is "internal".
So, the question is: is there a way to make multiwiki crosslinks alive in any page renaming?
Second question is also essential. Is it possible to rename page as following:
Wiki1:Space1.Page1 -> Wiki2:Space1.Page1
As far as I understand, it should be real also (cipy already has this feature). Such a rename, IMHO, is the best solution in comparison to: export in wiki1->import in wiki2->delete in wiki1
What are plans for such a XEM "upgrade" in standard functionality?
Kind regards,
Dmitry
Hi!
XEM 4.1.4. Blog application.
RSS feed. File GlobalBlogRss.webintents.
If description is in English - no problem:
<description><p>This is your wiki's blog first post. Its goal is to provide a short description of your blog's main features.</p></description>
If description is in Cyrillic, it shows something like this.
<description><p>ÐолнÑй конÑенÑ.</p></description>
All database settings are correct and set to utf-8 as required.
Is it fixable? Should I jira it?
Kind regards,
Dmitry
Hello!
i want to rename some users in a XWiki.
Background is that I want to migrate to a LDAP user database.
As I understood this operation is not supported straight forward by the GUI.
See http://jira.xwiki.org/browse/XWIKI-3548.
Has somebody an SQL statement to perform the necessary data manipulation
on the database level ?
Best Regards,
H.-Dirk Schmitt
--
Signature H.-Dirk Schmitt
------------------------------------------------------------------------
*
H.-Dirk Schmitt <http://www.computer42.org>*
Dipl.Math.
eMail:/dirk.schmitt@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/
Kripper Str. 35, D-53489 Sinzig
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html
<http://www.computer42.org/%7Edirk/OpenPGP-fingerprint.html>
I am out of the office until 10/22/2012.
I will have limited access to email while I am away and will respond as
soon as possible. If this is an emergency, please contact my manager,
Kathy Kennedy, and she will find someone on my team to help you.
Note: This is an automated response to your message "users Digest, Vol 63,
Issue 28" sent on 10/18/2012 4:46:25.
This is the only notification you will receive while this person is away.
Hi,
I like to use the Extension Repository Application in XWiki 4.2 to host
our homemade XWiki extensions.
For this purpose I configured our Apache archiva instance in
xwiki.properties as extension repository:
extension.repositories=ourmaven:maven:http://ourmaven:8081/archiva/repository/main
I am struggling now with importing the extensions in the
http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension page.
What is the syntax of an extension id for maven artifacts?
Our extensions are normal XAR Files. Do we have to enhance the XAR Files
with additional information?
Richard
Hi guys,
Tried migrating from 3.5 to 4.1.3 on my test instance, and it seems
I'm stuck ...
My test wiki is setup as a multi-wiki environment (for workspaces),
the main db "xwiki" fails to be migrated, though other ones succeed.
I checked other posts about migration issues, and it seems there
usually are some indicative logs about what sql fails, in my case I
only get a not nice NPE ...
I saw other things about custom annotation class, but I do not
remember having customized this in any way ... Some residue of
previous migrations maybe ?
The error in logs at startup is :
2012-08-06 14:06:58,920
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Running storage schema updates and
migrations
2012-08-06 14:06:59,110
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Starting migration for database
[xwiki]...
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] WARN
h.R40001XWIKI7540DataMigration - Skipping database [xwiki] because it
uses a custom annotation class. Comments and anotations will remain
separated
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Current storage version = [15429]
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - List of migrations that will be
executed:
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - R40000XWIKI6990 - Convert document
IDs to use the new improved hash algorithm.
2012-08-06 14:07:00,626
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - 21 schema updates
required.
2012-08-06 14:07:01,959
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Successfully acquired change log lock
2012-08-06 14:07:02,128
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Reading from `DATABASECHANGELOG`
2012-08-06 14:07:02,136
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Reading from `DATABASECHANGELOG`
2012-08-06 14:07:02,231
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Successfully released change log lock
2012-08-06 14:07:02,232
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Running migration [R40000XWIKI6990]
with version [40000]
2012-08-06 14:07:02,893
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0
document IDs to be converted.
2012-08-06 14:07:03,421
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 6297
object IDs to be converted.
2012-08-06 14:07:03,489
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 6
custom mapped classes to be processed.
2012-08-06 14:07:17,970
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 793746
document statistics IDs to be converted.
2012-08-06 14:07:22,231
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 223856
referer statistics IDs to be converted.
2012-08-06 14:08:20,614
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 1177489
visit statistics IDs to be converted.
2012-08-06 14:08:20,635
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document IDs
to convert, skipping.
2012-08-06 14:08:20,681
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration
R40000XWIKI6990 failed
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:111)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:621)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:546)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:475)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:421)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:666)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:813)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:746)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:736)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1438)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1481)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2215)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2247)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1114)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:790)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
[ ... some lines excluded ... ]
Caused by: java.lang.NullPointerException: null
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.getAllTableToProcess(R40000XWIKI6990DataMigration.java:777)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.getAllTableToProcess(R40000XWIKI6990DataMigration.java:761)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1066)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
... 57 common frames omitted
Thanks for help !
Jeremie
Hi XWiki users,
I'm speaking regularly about XWiki at JUGs in France (for example I spoke at 2 JUGs last week: Alpes JUG and Marseille JUG - http://massol.myxwiki.org/xwiki/bin/view/Blog/AlpesMarsJUG2012 ) and I'd like to expand my talks abroad to evangelize even more XWiki around the world. Since I live in France, Germany and UK are easy access by trains or plane.
So if you know of a JUG that would be interested in a session about XWiki let me know!
Thanks a lot
-Vincent
Hi,
I really like the consistent look and feel of the App Within Minutes;
My question is called REVERSE because of the following.
We have a few applications developped before app within minutes was released, thus missing this consistent look and feel
We have a space in our xwiki that is populated with +200 documents with an object of a certain home-developped class.
The class itself (as well as the template and sheet for new documents is located) in another space. as well as some code (seperation of content and code!)
The WebHome page of the space is just a normal XWIKI content page.
I want to transform this WebHome page as if it was generated by App-within-minutes; showing the descriptive of the space, a nice ADD User Interface with the famous green "+" symbol
and the livetable showing the list of records and sort/filter options.
So I started by adding two objects to this page:
- AppWithinMinutes.LiveTableClass
- XWiki.DocumentSheetBinding
There always were a few XWiki.XWikiRights objects to define the roles of usergroups in this space
I then used the object editor to copy the text of the WebHome page explaining the purpose of this space into the following object
AppWithinMinutes.LiveTableClass
- Class -> here i inserted a reference to the class used inside the space, but different as in a standard App Within Minutes I refered to [different space].[class document]
- Description -> here I copied the descriptive text of the WebHome page
- Columns -> here i inserted a list of attributes of the class separated by spaces
I then used to Object editor to update the
XWiki.DocumentSheetBinding
- Inserted a reference to the Sheet belonging to the class : [different space].[class SHEET document]
When I saved the WebHome the familliar App-Within Minutes style showed up, but the table showed no record, while I was expecting all the existing records to show
What am i missing?
(The records were all created as child documents of another document in the space, so they are not 'children' of the WebHome?)
Gerritjan
This post has NOT been accepted by the mailing list yet.
Hello all, if this has already been answered, please let me know where, I
have searched all over the place!!
I want to have a class that contains a dynamic number of multiple fields.
Think of it like say a shopping cart. You have one ShoppingCart class that
can contain x number of items. When you edit the shopping cart, you can
click add to add another item, or delete to delete an item from the list.
Or maybe another example would be a RecipeClass, in which you would add in
ingredients and stuff. So you would have a SesameChickenRecipe, and it would
contain maybe 1 chicken, 2 tablespoons of salt, 4 bat wings, and so on.
Is it possible, and if so is there any documentation you can point me to, or
a tutorial, or example??
Also, is it appropriate to post this question in the Xwiki-Users forum or
the Xwiki-Dev forum?
Thanks so much in advance!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Dynamic-number-of-fields-in-Class-tp75817…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I feel really stupid for not attaching the log, haha! I've pasted what I get when we try to access the wiki; nothing has been changed AFAIK since the last time it worked:
HTTP ERROR 500
Problem accessing /xwiki/bin/view/Main/. Reason:
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.
Caused by:
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.
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
com.xpn.xwiki.XWikiException: 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.
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1119)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
com.xpn.xwiki.XWikiException: 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.
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1097)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1127)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:67)
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:78)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1111)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Out of Memory)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:192)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:183)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:575)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1083)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1127)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:67)
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:78)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1111)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: Out of Memory
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
... 68 more
Powered by Jetty://
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Paul Libbrecht
Sent: 15 October 2012 13:39
To: XWiki Users
Subject: Re: [xwiki-users] Retrieving data
Ian,
error 500 means internal error.
It could really be just about anything.
Some parts of the log are needed I think.
paul
Le 15 oct. 2012 à 14:17, Higginson Ian (WIRRAL PCT) a écrit :
> Hi,
>
> After a few successful months using XWiki it's finally decided to die on me (error 500, etc.) and I can't seem to get it back up and running. Is there any way I can extract the attachments that I had in the wiki manually at all?
>
> Many thanks,
> Ian.
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If you are not the intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
>
> Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
> NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
> NHSmail provides an email address for your career in the NHS and can be accessed anywhere
>
> ********************************************************************************************************************
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
Well we restarted our server and then it just stopped working for some reason; I had this problem a while back which I found out was our anti-virus software locking a file but it's got no more interaction with the XWiki folder any more.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: 15 October 2012 13:58
To: XWiki Users
Subject: Re: [xwiki-users] Retrieving data
On Oct 15, 2012, at 2:51 PM, "Higginson Ian (WIRRAL PCT)" <ian.higginson(a)nhs.net> wrote:
> Thanks for your reply, Vincent! Is this something I set in the start_xwiki.bat file or is it controlled from elsewhere?
Yes it's in start_xwiki.bat
hmm if you're using start_xwiki.bat then it should have a correct value already.... unless you've overriden XWIKI_OPTS
Is this a wiki that's been running a long time without restart or do you get this error when starting it?
Thanks
-Vincent
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
> Sent: 15 October 2012 13:48
> To: XWiki Users
> Subject: Re: [xwiki-users] Retrieving data
>
> "Caused by: java.sql.SQLException: Out of Memory"
>
> Try increasing the memory you give to java.
>
> -Vincent
>
> On Oct 15, 2012, at 2:44 PM, Higginson Ian (WIRRAL PCT) <ian.higginson(a)nhs.net> wrote:
>
>> I feel really stupid for not attaching the log, haha! I've pasted what I get when we try to access the wiki; nothing has been changed AFAIK since the last time it worked:
>>
>> HTTP ERROR 500
>>
>> Problem accessing /xwiki/bin/view/Main/. Reason:
>>
>> 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.
>> Caused by:
>>
>> 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.
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>> 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:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
>> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
>> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
>> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
>> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
>> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
>> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
>> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>> at org.eclipse.jetty.server.Server.handle(Server.java:346)
>> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
>> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
>> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
>> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
>> at java.lang.Thread.run(Unknown Source)
>>
>>
>> Wrapped Exception:
>>
>> com.xpn.xwiki.XWikiException: 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.
>> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1119)
>> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>> at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>> 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:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
>> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
>> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
>> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
>> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
>> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
>> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
>> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>> at org.eclipse.jetty.server.Server.handle(Server.java:346)
>> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
>> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
>> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
>> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
>> at java.lang.Thread.run(Unknown Source)
>>
>>
>> Wrapped Exception:
>>
>> com.xpn.xwiki.XWikiException: 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.
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1097)
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1127)
>> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:67)
>> at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:78)
>> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1111)
>> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>> at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>> 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:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
>> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
>> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
>> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
>> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
>> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
>> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
>> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>> at org.eclipse.jetty.server.Server.handle(Server.java:346)
>> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
>> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
>> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
>> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
>> at java.lang.Thread.run(Unknown Source)
>>
>>
>> Wrapped Exception:
>>
>> org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Out of Memory)
>> at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
>> at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
>> at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
>> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:192)
>> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
>> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
>> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
>> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
>> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
>> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
>> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:183)
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:575)
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1083)
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1127)
>> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:67)
>> at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:78)
>> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1111)
>> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
>> at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>> 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:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
>> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
>> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
>> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
>> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
>> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
>> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
>> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
>> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
>> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>> at org.eclipse.jetty.server.Server.handle(Server.java:346)
>> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
>> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
>> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
>> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
>> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
>> at java.lang.Thread.run(Unknown Source)
>> Caused by: java.sql.SQLException: Out of Memory
>> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
>> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
>> at org.hsqldb.jdbcDriver.connect(Unknown Source)
>> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
>> at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
>> at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
>> at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
>> ... 68 more
>> Powered by Jetty://
>>
>>
>> -----Original Message-----
>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Paul Libbrecht
>> Sent: 15 October 2012 13:39
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Retrieving data
>>
>> Ian,
>>
>> error 500 means internal error.
>> It could really be just about anything.
>>
>> Some parts of the log are needed I think.
>>
>> paul
>>
>>
>> Le 15 oct. 2012 à 14:17, Higginson Ian (WIRRAL PCT) a écrit :
>>
>>> Hi,
>>>
>>> After a few successful months using XWiki it's finally decided to die on me (error 500, etc.) and I can't seem to get it back up and running. Is there any way I can extract the attachments that I had in the wiki manually at all?
>>>
>>> Many thanks,
>>> Ian.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
Thanks for your reply, Vincent! Is this something I set in the start_xwiki.bat file or is it controlled from elsewhere?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: 15 October 2012 13:48
To: XWiki Users
Subject: Re: [xwiki-users] Retrieving data
"Caused by: java.sql.SQLException: Out of Memory"
Try increasing the memory you give to java.
-Vincent
On Oct 15, 2012, at 2:44 PM, Higginson Ian (WIRRAL PCT) <ian.higginson(a)nhs.net> wrote:
> I feel really stupid for not attaching the log, haha! I've pasted what I get when we try to access the wiki; nothing has been changed AFAIK since the last time it worked:
>
> HTTP ERROR 500
>
> Problem accessing /xwiki/bin/view/Main/. Reason:
>
> 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.
> Caused by:
>
> 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.
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> 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:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> at org.eclipse.jetty.server.Server.handle(Server.java:346)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
> at java.lang.Thread.run(Unknown Source)
>
>
> Wrapped Exception:
>
> com.xpn.xwiki.XWikiException: 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.
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1119)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> 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:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> at org.eclipse.jetty.server.Server.handle(Server.java:346)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
> at java.lang.Thread.run(Unknown Source)
>
>
> Wrapped Exception:
>
> com.xpn.xwiki.XWikiException: 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.
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1097)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1127)
> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:67)
> at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:78)
> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1111)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> 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:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> at org.eclipse.jetty.server.Server.handle(Server.java:346)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
> at java.lang.Thread.run(Unknown Source)
>
>
> Wrapped Exception:
>
> org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Out of Memory)
> at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
> at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
> at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:192)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:183)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:575)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1083)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1127)
> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:67)
> at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:78)
> at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1111)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:743)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> 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:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
> at org.eclipse.jetty.server.Server.handle(Server.java:346)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.sql.SQLException: Out of Memory
> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
> at org.hsqldb.jdbcDriver.connect(Unknown Source)
> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
> at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
> at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
> at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
> ... 68 more
> Powered by Jetty://
>
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Paul Libbrecht
> Sent: 15 October 2012 13:39
> To: XWiki Users
> Subject: Re: [xwiki-users] Retrieving data
>
> Ian,
>
> error 500 means internal error.
> It could really be just about anything.
>
> Some parts of the log are needed I think.
>
> paul
>
>
> Le 15 oct. 2012 à 14:17, Higginson Ian (WIRRAL PCT) a écrit :
>
>> Hi,
>>
>> After a few successful months using XWiki it's finally decided to die on me (error 500, etc.) and I can't seem to get it back up and running. Is there any way I can extract the attachments that I had in the wiki manually at all?
>>
>> Many thanks,
>> Ian.
>>
>> ********************************************************************************************************************
>>
>> This message may contain confidential information. If you are not the intended recipient please inform the
>> sender that you have received the message in error before deleting it.
>> Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
>> to do so is strictly prohibited and may be unlawful.
>>
>> Thank you for your co-operation.
>>
>> NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
>> NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
>> NHSmail provides an email address for your career in the NHS and can be accessed anywhere
>>
>> ********************************************************************************************************************
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If you are not the intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
>
> Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
> NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
> NHSmail provides an email address for your career in the NHS and can be accessed anywhere
>
> ********************************************************************************************************************
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
Hi,
After a few successful months using XWiki it's finally decided to die on me (error 500, etc.) and I can't seem to get it back up and running. Is there any way I can extract the attachments that I had in the wiki manually at all?
Many thanks,
Ian.
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
Hi XWiki users
I wanted to add a jQuery library from CDN so I added <script> tag inside
{{html}} macro this way :
{{velocity}}
{{html clean="false"}}
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
"></script>
</head>
{{/html}}
{{/velocity}}
I could not use jQuery and it gives me this error in console.
Refused to execute a JavaScript script. Source code of script found within
request
Resource interpreted as Script but transferred with MIME type text/html:
"about:blank".
any way to use js libraries and css from CDN ??
Thanks
Hi, All!
XEM has brilliant opportunity to split knowledgebase into workspaces. But, there is a "bug" in a multiwiki crosslinks.
One page has link to another in relative format: wiki:Space.Page.
Inside the same wiki on page ranaming, all links to this page are verified and fixed to the new page name. Excelletn.
The same is done in multiwiki environment. Wiki1:Space1.Page1 has link to Wiki2:Space2.Page2. Works fine!
On page renaming from Wiki2:Space2.Page2 to e.g. Wiki2:Space2.Page3 we have broken link in Wiki1:Space1.Page1.
As far as I understand XWiki, there is no way to handle such a situation by standard means. Moreover, extension to verify external broken links won't be useful either, cause link is "internal".
So, the question is: is there a way to make multiwiki crosslinks alive in any page renaming?
Second question is also essential. Is it possible to rename page as following:
Wiki1:Space1.Page1 -> Wiki2:Space1.Page1
As far as I understand, it should be real also. Such a rename, IMHO, is the best solution in comparison to: export in wiki1->import in wiki2->delete in wiki1
What are plans for such a XEM "upgrade" in standard functionality?
Kind regards,
Dmitry
Hi All!
XE 3.5.1 -> sends mail via Share mail option in XWiki's top menu.
XE & XEM 4.2 -> gives an error "The message could not be sent to <haru_mamburu(a)mail.ru>: email server error."
All tests done at the same server: Ubuntu 12.x
XE 3.5.1 standalone
XE 4.2 standalone
XEM 4.2 + MySQL clean installation.
Any fast solution available?
Is it worth Jira's bugreport or am I missing something?
Kind regards,
Dmitry
Hi,
I am looking for some code, an extension or something else to get a
notification if there is a new comment written. This notification should
be send by email to the creator or the Space abonents.
Maybe someone has an idea.
Thank you very much!
Best regads
Mark
_______________________________________________
TROX GmbH
Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
Amtsgericht Kleve, HRB 4997
Geschäftsführung:
Lutz Reuter, Vorsitzender
Torsten Jagdt
Prof. Dr.-Ing. Dirk Müller
Aufsichtsrat:
Heinz C. Trox, Vorsitzender
Hi,
I would like to use XWiki for the members of the citizen association
"Utopia". We coproduce a lot of documents with our members and a wiki would
be useful.
Thanks a lot,
Fabien-Kenzo Sato
http://www.mouvementutopia.org
---
username: kenzo
subdomain: utopia
Hi,
I don't know AppWithinMinutes very well but I don't really see exactly
what it has to do with the rest of the mail. AFAIK you don't need PR
to use AppWithinMinutes.
Also what I said is that a user from subwiki does not have programming
right but you can save a page from any wiki using a global user (user
from main wiki). You just need to log in the subwiki with your global
user.
Please to send direct mail, better use the mailing list.
On Thu, Oct 11, 2012 at 11:08 PM, <poppakap(a)yahoo.com> wrote:
> Hi Thomas, I am a bit perplexed. The AppWithinMinutes won't run in a sub-wiki then?
> I created an app in the main wiki, but in a sub wiki I am getting that macro error.
>
>
> <quote author='Thomas Mortagne'>
> On Sat, Apr 28, 2012 at 2:52 PM, Bob Egolf <egolfb(a)gmail.com> wrote:
>> I have been running a simple xwiki farm with 2 sub wikis for some time and
>> I recently tried to add a macro with a groovy script in the sub-wiki and
>> got the "You don't have the right to execute this script". I tried to
>> grant programming to the user by logging into the wiki farm site and
>> granting programming to the group and to the user I am using in the
>> sub-wiki. I imported the Admin tools application and ran the Programming
>> rights Check and applied the config.
>>
>> I still am not able to grant the user programming rights and my macro with
>> the script will not run, same permissions error.
>> I have tried to create a new user in the wiki farm and grant programming
>> to
>> it, but when I login to the subwiki it has no permissions so I don't
>> believe I have him setup quite right.
>>
>> This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go
>> from here.
>
> Users from subwikis don't have programming right, never. There is
> nothing you can do to make them have it.
>
> So you will have to use a user from main wiki to save your macro document.
>
>>
>> Any help appreciated.
>> Bob
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> </quote>
> Quoted from:
> http://xwiki.475771.n2.nabble.com/programming-rights-in-xwiki-farm-tp750880…
>
--
Thomas Mortagne
Hi all,
I'm trying to import xhtml pages from an existing site into wiki
pages. Parts of these pages have dynamically generated content which
I want to keep dynamic in the wiki. I've created macros that can
replicate the dynamic bits, but I'm having trouble getting the pages
themselves across.
At first I tried doing a naive transformation to xwiki syntax
beforehand and importing that, but the resulting pages aren't
modifiable with the WYSIWYG editor because of my heavy reliance on the
{{html}} macro. So, now I'm thinking I should just keep them in plain
xhtml, which the editor seems to handle fairly well.
How can I use macros and create wiki links with this approach though?
The XWiki website mentions in a number of places that round-trip
conversions between xwiki/2.1 and xhtml/1.0 syntaxes is a feature, so
this must be possible, right? I've seen a couple mentions of
"annotations" using comments in the xhtml to achieve this, but haven't
been able to find any concrete examples or documentation of the
syntax.
Assuming this is possible, will I be able to use the macros I created
with XWiki.WikiMacroClass, or are these only available in the xwiki/2+
syntax? If not, how can I make macros that _are_ usable in the xhtml
syntax?
Am I approaching this problem in entirely the wrong way? Any guidance
would be appreciated!
Sincerely,
--Maxwell Terpstra
Hi,
I'm happy to announce the first release of the Scripting Reference
Documentation (SRD).
The objective of this documentation is to have a quick access to the
relevant javadoc or documentation page to perfom XWiki scripting.
The SRD is available at:
http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed
It contains:
- javadoc links to Velocity and Groovy bindings, including the main
API ($xwiki, $doc, $request, $response, $context) as well as XWiki
services and plugins, as well as Velocity Tools.
- links to the Velocity and Groovy language documentation
This documentation is currently available for XWiki 4.1.x an 4.2.x.
This is a very good tools for beginners with XWiki scripting. We do
still recommend the development tutorials on the XWiki Dev Guide
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome).
Please let us know on the dev list for any feedback on this new documentation.
Ludovic
--
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hello,
I'm trying to get some kind of NTLM authentication going on my Debian server, but got lost very early.
I find mentions of working NTLM solutions in the archives as well as some fixes for an ominous "NTLM authenticator" (XCONTRIB-84) in Jira.
I even found some installation-guide in the sandbox, but there seems to be no jar file.
Is there some kind of working NTLM solution without installing kerberos or samba?
Thanks in advance,
Thilo
Hello!
I need help with xwql quering.
I have my own class with property tMembers with type="user list" also this
property is a multi-select.
How is possible to query all docs of this class with filter for some user?
If no multiselect - all is easy:
#set($xwlquery="from doc.object($class) as obj where doc.fullName <>
'$template' and obj.tStatus='2' and obj.tMembers='$usedUser' order by
doc.date desc")
If multiselect switched on, but only one user selected - also this query
working. But, when used multiselect (selected 2 users) this query not
working.
Also I tryed - obj.tMembers like '$usedUser' and - obj.tMembers.content like
'$usedUser' - no result.
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/multi-select-property-xwql-quering-tp7581…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Username: sx100Requested server name: improvecognition.myxwiki.org
The idea is to have a wiki that would have information on improving cognition/brain function, including a summary of different studies and papers on the subject. Some studies have been done into things like brain training computer games and meditation. We just wanted to collect information on them and have it all in one place.
Thanks.
Hello,
We are interested in having a wiki hosted on the farm.
As a french left libertarian think-tank, XWiki looks just like what we
need as intranet/extranet for documents sharing, discussions,
collaborative writing, etc.
xwiki.org username : dporyngier
Server name : libgauche.xwiki.org
Thank you,
David Poryngier
---
Mouvement des Libéraux de Gauche
http://www.libgauche.fr