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
Description: Knowledgebase wikis for trainees in a University Hospital Department (Helsinki)
Owner: Aydin Tekay
Desired sub domain: haikara
with many thanks
Aydin Tekay
Hey,
A very new user to xWiki, I would like to add navigation of child sub-pages
to the currently viewed page. It appears that the Document Tree macro is
what I need, though I don't know what I should be putting in the root
property to use the current page.
I was going to add this to a template, so the page is going to be different
every time.
any help would be great.
thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-Tree-set-Root-to-Current-page-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I create a new tag named "运营”
But, it displays just like rubbish, And I can not remove it nor rename it.
I think the problem is in "tag=è¿%C2%90è%C2%90¥" encodings.
If I manually input the URL with "tag=运营", the actions goes well, but display still be bad.
…/xwiki/bin/view/Main/Tags?do=viewTag&tag=è¿%C2%90è%C2%90¥
…/xwiki/bin/view/Main/Tags?do=viewTag&tag=运营
The expected display should be like below:
My browser is Safara 9.0.1 under Mac.
Thanks to everyone to answered and to Silvia for leading this survey! :)
We got some useful results. Always interesting to know the user’s pain points.
Thanks
-Vincent
PS: I sent this mail on the 21st of November but I’ve just found out that it wasn’t sent and was in my draft mailbox...
On 21 Nov 2015 at 16:41:28, Silvia Macovei (silvia.macovei(a)xwiki.com) wrote:
Hi everyone,
Thanks a lot to the 21 people who filled in the survey! In this post you
can find a summary of the results, with some interesting ideas on things to
implement in the future:
http://www.xwiki.org/xwiki/bin/view/Blog/ProductSatisfactionSurvey2015Resul…
Now XWiki developers can look at the list when deciding/discussing what
features/items to implement in 8.x and beyond. In a year or so we could do
a postmortem to see what has been implemented.
Thanks,
Silvia
When trying to export PDF some (not all) page of my XWiki 7.2, I get an
error in the log and the PDF is never generated. HTML export works fine.
Here are the first lines from the error :
Dec 2 09:37:07 xwiki01 server: java.lang.NullPointerException: Parameter
alpha must not be null
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:57)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:71)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:127)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:816)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.render.pdf.AbstractPDFImageHandler.handleImage(AbstractPDFImageHandler.java:46)
~[fop-1.1.jar:na]
I can't say for sure that the size of the images in those pages is the
cause of the export failure, but just before the stacktrace, I get a few
WARN
Dec 2 09:37:06 xwiki01 server: 2015-12-02 09:37:06,773 [
http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manu…
] WARN o.a.f.a.FOUserAgent - Line 1 of a paragraph overflows the
available area by 9000 millipoints. (See position 26:14146)
Dec 2 09:37:07 xwiki01 server: 2015-12-02 09:37:07,104 [
http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manu…
] ERROR o.a.f.a.FOUserAgent - Error while rendering page 3. Reason:
java.lang.NullPointerException: Parameter alpha must not be null
Dec 2 09:37:07 xwiki01 server: java.lang.NullPointerException: Parameter
alpha must not be null
Have you already seen this problem? I think I've found similar issues but
for version 4.X back in 2012, though it was about "bad" PNG images then.
Regards,
Denis GERMAIN
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:90)
... 147 more
Caused by: org.hibernate.QueryException: could not resolve property: street of: com.xpn.xwiki.objects.BaseObject [ select doc.fullName from com.xpn.xwiki.doc.XWikiDocument as doc , com.xpn.xwiki.objects.BaseObject as ttt where ( ttt.street = 'Burchtenlaan 97' ) and doc.fullName=ttt.name and ttt.className='CdlsatdCode.CdLS_ATD_UserProfileClass' ]
I have XWQL statement that throws this error?
But double checking I can not find why it states that 'street' is a property it can not solve?
#set($supportgroupQry = "from doc.object(CdlsatdCode.CdLS_ATD_UserProfileClass) as ttt where ttt.street = 'Burchtenlaan 97'")
$services.query.xwql($supportgroupQry).execute()
The class:
CdLS_ATD_UserProfileClass
Class properties
Street Address (street: String)
City (city: String)
State (state: String)
Postal Code (postalCode: String)
Country (country: String)
Telephone (telephone: String)
cdlsPersonName (cdlsPersonName: String)
Date of Birth (cdlspersonDOB: Date)
Height (cdlspersonHeight: String)
measureHeight (measureHeight: Static List)
Weight (cdlspersonWeight: String)
measureWeight (measureWeight: Static List)
Current Medication (currentMedication: TextArea)
Your relationship with this person (cdlspersonRelation: String)
contextUsr (contextUsr: String)
Allowance for visibility of profile (visible: Boolean)
Open to be contacted by other members (contact: Boolean)
supportGroup (supportGroup: Database List)
gender (gender: Static List)
socialStatus (socialStatus: String)
cdlsPersonAvatar (avatar: String)
Gerritjan Koekkoek
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'm trying to get all the documents that list the current document as the
perant using:
List<DocumentReference> childDocs = doc.getChildrenReferences(xcontext);
where doc is the parent XWikiDocument.
However the function only return an empty list, althoug there is documents
in the space.
If I print doc.getFullName() its AAA.WebHome.. And all the chldren spaces is
listed under AAA.. how should I reference doc to get say AAA.BBB.WebHome in
the list? or where am I going wrong?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Get-all-children-from-current-document-in…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have problem with LDAP group mapping in xwiki.cfg against AD with group
names containing diacritics. What encoding to use in xwiki.cfg? After
turning logging on for XWikiLDAPUtils class, I found from the logs that
those problematic groups are logged with wrong encoding, end the result is
that the group cannot be found.
Best regards
Miroslav Galajda
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
The XWiki development team is proud to announce the availability of XWiki 7.4 Milestone 1.
This is our last stabilization release for the XWiki 7.x Cycle. It brings polishing and stabilization for the Nested Pages feature and the changes in UI that resulted from it, especially for the Watchlist.
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/ReleaseNotesXWiki74M1
The following people have contributed code to this release (sorted alphabetically):
Marius Florea
Vincent Massol
Ecaterina Moraru
Eduard Moraru
Thomas Mortagne
Clemens Robbenhaar
Jean Simard
Manuel Smeria
Thanks for your support
-The XWiki dev team
On 26 Nov 2015 at 20:28:59, Anton Hughes (ah@tradeworks.io(mailto:ah@tradeworks.io)) wrote:
>
> On 26 November 2015 at 20:18, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > [[MyExamplePage]] works in XWiki too :)
> >
> > > This is so simple that anyone can do it!
> >
> > Why don’t you try it on xwiki?
> I have - and it doesnt work on XWiki. That is why I took the time to write about this.
It works. Create a page with [[test]]. You’ll see a question mark (wanted link). Click on it, add content and save. Navigate back to your first page. The link works.
What you’re showing in the screenshots is orange and apples. In one link you link to a new page called MyExamplePage. And in the second one you link to a page named MyExamplePage.WebHome.
In Mediawiki try create a page2 that exists (and a page1 that doesn’t). Then write in another page:
[[page1]]
[[page2]]
You’ll get the same result.
Thanks
-Vincent
> Anton Hughes
I'm trying to find "comparable tools" that we could document there as
being comparable experiences that users might have met already. I do not
see any yet (Confluence and Jenkins seem to have pedgown as an option,
that's the only similarity I find).
So... this is "just another extended markdown" ?
Caleb, did you have something more pangalactic in mind?
Paul
vincent(a)massol.net wrote:
>> I'm sure we could do more user-friendly by comparing to tools that
>> use PegDown maybe.
> I’m not sure what you have in mind but feel free to edit the page and
> add information.
Hello
In a Mediawiki page, a user can added [[category:my category]], and the
page will be accessible from the 'my category' category. The same page can
be added to many categories.
The nested page concept seems to be hierarchical only, so a page belongs in
a tree, but cannot therefore be in other trees.
Also, in Mediawiki, there is the possibility (
https://meta.wikimedia.org/wiki/Help:Embed_page) to embed pages ? I have
tried using the mediawiki syntax for this but it does not seem to work.
--
Anton Hughes
Hi Team,
I could not yet get a proper working instance of an object with Database Tree property. Is there any reference I can check on detais of how I can use this? Everything I could find related with DBTree was on JIRA and they're not clear.
I see that I need a page hierarchy to display. Is it only a matter of parent-child relationship (if so, how can I inform to DBTree property the "root" of the hierarchy) or I can use the XE's native "relational" mechanism between objetcs, as I do with Database List?
I've tested both approaches, without success. I'm not using App within minutes, because I would like to learn and understand how this works to build bigger applications.
Below is the example of what I'm trying to build.
Thanks again in advance,
Ramon Brandão
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] in name of Ramon Gomes Brandao
Sent on: terça-feira, 24 de novembro de 2015 19:30
To: users(a)xwiki.org
Subject: [xwiki-users] Database Tree property Error on XE 7.1.2
Hi Xwiki Team,
I'm building an application on XE 7.1.2 and it uses classes with 1:N relations between them through Database List and (potentially) Database Tree property. The relation using Database Tree is not working. For illustration of my use case, I have the following classes:
Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String
Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id Field Name=info0ID and Value Field Name=info0Name
Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and Parent Field Name=relatedInfo0
The relation I want to build is, then: 1 Instance of Info0Class can be related to (0...N) Info1Class, which then can be related to (0...N) Info2Class.
When creating a new instance of Info2Class, I would like to show the information on relatedInfo1's select box in a tree view manner, where the "relatedInfo0" instance name is the aggregator and all the related Info1Class instances are the leafs. Thus, the user can get a much better idea of which Info1Class she/he can select for relatedInfo1 field.
I've used, since then, only the default pages and codes generated by class editor (default sheet to display class properties and default template). I got the relation working like a charm between Info1Class and Info0Class, but things are not working with Info2Class and Info1Class. Creating a new instance of Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError" and infinite "com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)" calls. In this way, I could not even check if this use case is valid for the Database Tree List.
I've searched deeply and really could not find any further documentation about Database Tree Usage, neither examples, nor detailed information on how to get this working. The only reference is a brief description on the XWiki Data Model Page mentioning the Yahoo Javascript Tree Library.
So, the questions for the team are:
1) Where can I find more information (a good tutorial/documentation/usage example) about Database Tree List?
2) Is it suitable for this use case? Am I doing it right?
3) What do I need to get a Database Tree property/relation to work?
Thanks in advance for your help.
Best Regards,
Ramon Brandão
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello.
How would I create a new space under Main or the toplevel entity from a java
component. So far I'm doing this, but not sure..
DocumentReference docref = new
DocumentReference(serverName,pageSpace,pageName);
if(xwiki.exists( docref, xcontext)){
//skip create do other stuff
}else{
XWikiDocument doc = new XWikiDocument(docref);
doc.setTitle(pageName);
DocumentReference docrefparent = new
DocumentReference(serverName,pageSpace,"WebHome");
doc.setParentReference(docrefparent);
xwiki.saveDocument(doc, xcontext);
}
Where:
serverName = $request.serverName
pageSpace = "Main"
pageName = "NewPage"
is there anything else I need to set on the document or am I referencing
wrong? Not sure why it is not creating the page..
--
View this message in context: http://xwiki.475771.n2.nabble.com/Create-spaces-and-page-in-toplevel-space-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dears,
I've just updated to XWiki 7.3. I'm really happy to keep enjoying XWiki and
to see how the framework is evolving. The interface is now cleaner, much
nicer. All behind the scene seems to me clearer release after release.
Thanks for the effort!
Warmest regards,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hi Xwiki Team,
I'm building an application on XE 7.1.2 and it uses classes with 1:N relations between them through Database List and (potentially) Database Tree property. The relation using Database Tree is not working. For illustration of my use case, I have the following classes:
Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String
Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id Field Name=info0ID and Value Field Name=info0Name
Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and Parent Field Name=relatedInfo0
The relation I want to build is, then: 1 Instance of Info0Class can be related to (0...N) Info1Class, which then can be related to (0...N) Info2Class.
When creating a new instance of Info2Class, I would like to show the information on relatedInfo1's select box in a tree view manner, where the "relatedInfo0" instance name is the aggregator and all the related Info1Class instances are the leafs. Thus, the user can get a much better idea of which Info1Class she/he can select for relatedInfo1 field.
I've used, since then, only the default pages and codes generated by class editor (default sheet to display class properties and default template). I got the relation working like a charm between Info1Class and Info0Class, but things are not working with Info2Class and Info1Class. Creating a new instance of Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError" and infinite "com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)" calls. In this way, I could not even check if this use case is valid for the Database Tree List.
I've searched deeply and really could not find any further documentation about Database Tree Usage, neither examples, nor detailed information on how to get this working. The only reference is a brief description on the XWiki Data Model Page mentioning the Yahoo Javascript Tree Library.
So, the questions for the team are:
1) Where can I find more information (a good tutorial/documentation/usage example) about Database Tree List?
2) Is it suitable for this use case? Am I doing it right?
3) What do I need to get a Database Tree property/relation to work?
Thanks in advance for your help.
Best Regards,
Ramon Brandão
Hi,
In previous years the xwiki.org project launched surveys about features we’d like to see implemented in XWiki (see http://www.xwiki.org/xwiki/bin/view/Main/Feedback).
After some discussions with fellow XWikiers we thought it could be interesting to launch a similar survey in 2015, especially with the 8.x cycle approaching. But this time instead of having a long list of features to vote on, we thought it might be more interesting to have a few open questions that the community could answer.
The aim of this short survey is to find out more about how satisfied (or not!) the members of the XWiki community are with the XWiki product.
We'd be happy to learn about:
* what you like / dislike about the product
* the features and improvements you’d like to see in the product in the future and especially for XWiki 8.x
The survey will run till November 13 and the results will be synthesised and made available mid-November through a blog post on the community blog ( http://blog.xwiki.org/xwiki/bin/view/Blog/ )
The survey has 6 questions and should only take a few minutes:
http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiProduct2015
Thanks a lot for your contributions and for helping improve the product,
-Silvia & Vincent