I have recently upgraded from 3.5 to 5.5. The upgrade went fine however after logging in I accidentally hit the cancel button instead of the skip. I now want to rerun the Distribution Wizard but I cannot figure out how to re-trigger it. Can this be done?
Hello! I'm trying to integrate bpmn-js into my xWiki application.
I istalled bpmn-js via bower into xWiki resource folder and then i created a
page with this content:
When the page loads (and the javascript libs are imported) I get some errors
about prototype.js and requirejs (http://pastie.org/9946255). How can I fix
this problem??
--
View this message in context: http://xwiki.475771.n2.nabble.com/Integrate-bpmn-js-into-xWiki-tp7593969.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Is it possible to create a new object of a custom class using the RESTful API?
The documentation page only lists the following POST method, which
doesn't accept a class name:
/wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects[?start=offset&number=n]
I have tried things like the following:
curl -u Admin:admin -X POST -H "Content-type: text/plain" -H "Accept:
application/xml" -d "@test.xml"
http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects/XWik…
Where test.xml contains some variation on:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<properties xmlns="http://www.xwiki.org">
<property type="com.xpn.xwiki.objects.classes.TextAreaClass" name="Text">
<attribute value="Text" name="name"/>
<attribute value="Test" name="prettyName"/>
<attribute value="0" name="unmodifiable"/>
<attribute value="0" name="disabled"/>
<attribute value="100" name="size"/>
<attribute value="10" name="rows"/>
<attribute value="" name="customDisplay"/>
<attribute value="Text" name="editor"/>
<attribute value="6" name="number"/>
<attribute value="0" name="picker"/>
<attribute value="" name="validationMessage"/>
<attribute value="" name="validationRegExp"/>
<value>
This is some text.
</value>
</properties>
Curl returns this:
<html>
<head>
<title>Status page</title>
</head>
<body>
<h3>The method specified in the request is not allowed for the resource identifi
ed by the request URI</h3><p>You can get technical details <a href="http://www.w
3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>
Simpler syntax without the XML file still fails for me. In fact, I
can't seem to even get the basic "create object" method to work, even
without the class. For example:
curl -u Admin:admin -X POST
http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects
Just comes back with a "malformed syntax" error.
Is there an example anywhere of how to do this?
Thank you,
Aaron
Hello
I am trying to deploy 7.3 on Jboss 7.1. However, when I do, I get the below
error.
Does anyone know how to fix this?
15:33:36,989 INFO [org.jboss.as.server.deployment] (MSC service thread
1-1) JBAS015876: Starting deployment of "xwiki.war"
15:33:42,673 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-io-1.4.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,674 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-cli-1.1.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,674 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry sigar-1.6.5.132.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,675 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry json-20090211.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,675 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry emory-util-io.jar in
"/content/xwiki.war/WEB-INF/lib/emory-util-classloader-2.1.jar" does not
point to a valid jar for a Class-Path reference.
15:33:42,676 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry emory-util-security.jar in
"/content/xwiki.war/WEB-INF/lib/emory-util-classloader-2.1.jar" does not
point to a valid jar for a Class-Path reference.
15:33:42,678 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry xerces-2.5.0.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,678 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry xalan-2.6.0.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,679 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry xml-apis-1.3.04.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,680 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry fop-0.94.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,680 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry batik-js.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,681 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry emory-util-io.jar in
"/content/xwiki.war/WEB-INF/lib/emory-util-security-2.1.jar" does not
point to a valid jar for a Class-Path reference.
15:33:42,682 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpclient-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,683 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-logging-1.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,683 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-codec-1.6.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,684 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpmime-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,684 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpcore-4.2.5.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,685 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jcl-over-slf4j-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,685 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry joda-time-2.2.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,686 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry quartz-2.2.0.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,687 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry c3p0-0.9.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,687 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry guava-17.0.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,688 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jdom2-2.0.4.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,688 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry slf4j-api-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,690 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jakarta-oro.jar in
"/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,690 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-logging.jar in
"/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,691 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry picocontainer.jar in
"/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,692 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpclient-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,692 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-logging-1.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,693 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-codec-1.6.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,693 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpmime-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,694 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpcore-4.2.5.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,695 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jcl-over-slf4j-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,695 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry joda-time-2.2.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,696 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jdom2-2.0.4.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,696 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry quartz-2.2.0.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,697 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry c3p0-0.9.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,697 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry guava-17.0.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,698 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry slf4j-api-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,700 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry ridl.jar in
"/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,701 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jurt.jar in
"/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,968 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1)
MSC00001: Failed to start service
jboss.deployment.unit."xwiki.war".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."xwiki.war".STRUCTURE: Failed to process phase
STRUCTURE of deployment "xwiki.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_85]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_85]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_85]
Caused by: java.lang.IllegalArgumentException: Given parent is not an
ancestor of this virtual file
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116)
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110)
at
org.jboss.as.server.deployment.module.ManifestClassPathProcessor.createAdditionalModule(ManifestClassPathProcessor.java:193)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.server.deployment.module.ManifestClassPathProcessor.handlingExistingClassPathEntry(ManifestClassPathProcessor.java:185)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.server.deployment.module.ManifestClassPathProcessor.deploy(ManifestClassPathProcessor.java:162)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
15:33:42,972 INFO [org.jboss.as.server] (HttpManagementService-threads -
4) JBAS015870: Deploy of deployment "xwiki.war" was rolled back with
failure message {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"xwiki.war\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"xwiki.war\".STRUCTURE: Failed to process phase
STRUCTURE of deployment \"xwiki.war\""}}
15:33:42,973 INFO [org.jboss.as.server.deployment] (MSC service thread
1-4) JBAS015877: Stopped deployment xwiki.war in 0ms
15:33:42,974 INFO [org.jboss.as.controller] (HttpManagementService-threads
- 4) JBAS014774: Service status report
JBAS014777: Services which failed to start: service
jboss.deployment.unit."xwiki.war".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."xwiki.war".STRUCTURE: Failed to process phase
STRUCTURE of deployment "xwiki.war"
--
Anton Hughes
Hi,
I'm running xwiki 7.3 Milestion 2 on Oracle.
Task Manager Application have problems with it at least with part of it.
In TaskManagerPanel there I get "ORA-00932: inconsistent datatypes:
expected - got CLOB". See the attached exception report.
Also I noticed some warning logs:
http://wiki/test-xwiki/get/TaskManager/TaskManagerLiveTableResults?outputSy…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getAction] in
79:xwiki:TaskManager.MyTestTask@2,14
Thank you
Best regards
Miroslav Galajda
Hi,
I'm currently running on 7.3 Milestone 2.
I've created some hierarchy of nested pages.
And at the "node" levels (aka spaces) I have used "dashboard" template and
on the lists I have normal page with content and tags.
The dashboard template shows correctly document hierarchy from that level
but tags cloud isn't showing anything.
It seems it doesn't respect the new concept of nested pages.
Best regards,
Mirec
HI all
One of the key concepts of a wiki is its easy for everyone to edit. There
are various wiki syntaxs - perhaps the most popular being Mediawiki - and
all of them have a goal of making it easy for users to write in the
specific syntax, without the need to know html.
So, one of the most basic features of a wiki, CMS, and the web, is linking.
In Html a user has to write
- a
- href - the user has to know if it is relative or absolute
- link text
Its not a lot, but its still too much for non technical people.
In a normal wiki a user just writes
[[MyExamplePage]]
This is so simple that anyone can do it!
In XWiki (and I found this out by using the wysiwyg editor)
[[MyExamplePage>>doc:MyExamplePage.WebHome]]
What is doc? And WebHome? And >>? And whats with the dots, semi colons?
As a technical person I can probably figure this out. But there is no way I
could sell my management on this. Non technical people will never
understand this.
And yes, non-tech people can use the wysiwyg. But then why use a wiki? Why
not just use a CMS.
The
--
Anton Hughes
Hello
I am trying to use XWiki in a CORS fashion, that is, a javascript client
calls pages in xwiki.
This sometimes works, but I notice sometimes it doesnt. I havent found the
reason why it doesnt always work.
The error I get when it doesnt is:
The 'Access-Control-Allow-Origin' header contains multiple values '*, *',
but only one is allowed. Origin 'http://localhost:8081' is therefore not
allowed access.
The relevant part of that error is about the multiple headers.
In Chrome I can see that there are multiple same headers.
Is this correct?
1. Access-Control-Allow-Origin:
*
2. Access-Control-Allow-Origin:
*
3. Cache-Control:
no-cache
4. Content-Language:
en
5. Content-Length:
765
6. Content-Script-Type:
text/javascript
7. Content-Type:
text/html; charset=UTF-8
8. Expires:
Wed, 31 Dec 1969 23:59:59 GMT
9. Pragma:
no-cache
10. Server:
Jetty(9.2.3.v20140905)
11. Set-Cookie:
JSESSIONID=8wg8mui7mis16hbozquntqg8;Path=/xwiki
--
Anton Hughes
Hello,
On my group's myxiki.org site, http://scservicesub.myxwiki.org/ I am getting errors on my pages that use velocity macros even logged in as the administrator:
rg.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
This is preventing some important content from even being viewed. What can I do to fix this?
Thanks,
Regan