[xwiki-users] unable to deploy on Wildfly 9.0.2 Final
) at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497) at org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153) at org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122) at org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37) at org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70) at org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61) at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:90) ... 77 more Caused by: org.hibernate.HibernateException: Could not create a DBCP pool. There is an error in the Hibernate configuration file, please review it. at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:232) 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:253) at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853) ... 89 more Caused by: java.sql.SQLException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver' at org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2139) at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033) at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533) at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215) ... 99 more Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver at org.xwiki.classloader.URIClassLoader$1.run(URIClassLoader.java:193) at org.xwiki.classloader.URIClassLoader$1.run(URIClassLoader.java:180) at java.security.AccessController.doPrivileged(Native Method) at org.xwiki.classloader.URIClassLoader.findClass(URIClassLoader.java:179) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.xwiki.classloader.xwiki.internal.ContextNamespaceURLClassLoader.loadClass(ContextNamespaceURLClassLoader.java:176) at org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2131) ... 102 more Thanks -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error when trying to deploy on Jboss 7.1
Does anyone know of Xwiki works on Wildfly 8.2? On 30 November 2015 at 19:10, Anton Hughes <a...@tradeworks.io> wrote: > > On 30 November 2015 at 19:08, vinc...@massol.net <vinc...@massol.net> > wrote: > >> If you check the archive you’ll find that users have succeeded using >> JBoss in the past. I also remember having JBoss 7.x working. >> >> See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss >> >> I wanted to check your stacktrace below and try to reproduce it but >> didn’t get the time so far. >> > > Thanks Vincent, yes it is the above link that I was following. > > > -- > Anton Hughes > > -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error when trying to deploy on Jboss 7.1
Hi again - as no one seems to know what the problem is, is it possible to get a list of what application servers Xwiki is tested on? Are there any versions of jboss/wildfly that are known to work wtih XWiki? On 26 November 2015 at 16:38, Anton Hughes <a...@tradeworks.io> wrote: > > 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 &g
Re: [xwiki-users] Error when trying to deploy on Jboss 7.1
On 30 November 2015 at 19:08, vinc...@massol.net <vinc...@massol.net> wrote: > If you check the archive you’ll find that users have succeeded using JBoss > in the past. I also remember having JBoss 7.x working. > > See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss > > I wanted to check your stacktrace below and try to reproduce it but didn’t > get the time so far. > Thanks Vincent, yes it is the above link that I was following. -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] CORS and headers
Hi Marius On 27 November 2015 at 16:47, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > I have it only once. Note that the Access-Control-Allow-Origin header is > set by SetHTTPHeaderFilter as specified in your web.xml file > Yes, I also had one when I was accessing a page on the root (not a child page). But when I accessed a child page then I had two. -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] CORS and headers
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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Error when trying to deploy on Jboss 7.1
"/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) MSC1: 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] What is the XWiki equivalent of Mediawiki categories and embed?
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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] What is the XWiki equivalent of Mediawiki categories and embed?
On 26 November 2015 at 18:31, vinc...@massol.net <vinc...@massol.net> wrote: > See: > * http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro > * http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro > Thanks Vincent I have tried both of the above, and get no results - and no errors either. I have a page called MyExamplePage, and then, in another page, I add: {{include reference="MyExamplePage"/}} {{display reference="MyExamplePage"/}} Do I need to have the full path in reference? I would hope not, as I would expect the wiki to take care of this. I am used to working in Mediawiki, where typically all documents sit on the root, and can be linked and referenced simply by the name of the document, and structure of the content (categories) does not affect linking (generally, unless it is in another namespace). -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] What is the XWiki equivalent of Mediawiki categories and embed?
On 26 November 2015 at 19:02, vinc...@massol.net <vinc...@massol.net> wrote: > You need a reference that is either absolute or relative to the current > page where the macro is used. > Agh - so its not possible to reference just a page - I also need to reference the space/category. I think this is a really bad design. In the Mediawiki world you just need to know the name of the document. Which category it is in is not required. I assume then, that if I move MyExamplePage to a new space(?)/category it will break the pages where I have the includes/displays. Give us the full name of your 2 pages and we can show you what to use. > http://localhost:8080/xwiki/bin/view/test/ http://localhost:8080/xwiki/bin/view/MyExamplePage/ -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Request: make linking easy
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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] What is the XWiki equivalent of Mediawiki categories and embed?
On 26 November 2015 at 19:38, vinc...@massol.net <vinc...@massol.net> wrote: > > > Give us the full name of your 2 pages and we can show you what to use. > > http://localhost:8080/xwiki/bin/view/test/ > > http://localhost:8080/xwiki/bin/view/MyExamplePage/ > > These 2 pages are not relative to each other. > Ok, now Im confused. Ive been doing web development for more years than I care to count, and relative, to me, means 'they are next to each other'. See http://www.scriptingmaster.com/html/relative-link.asp These two pages sit next to each other in the same tree. > > In MyExamplePage, you’d need to write: > > {{include reference=“test.WebHome”/}} > What is WebHome? And why do I need this when I am referencing relative document? > > Note that it seems we have a bug (not related to your example above, just > mentioning it for completeness); I’ve just created > http://jira.xwiki.org/browse/XWIKI-12861 for it. > > Now to understand what this “WebHome” does here is a bit complex. Starting > with XWiki 7.2 we’re moving from a Page/Space paradigm to a Nested Pages > one and this is currently causing some friction to understand it for > newcomers. I’m not sure how we’re going to handle this (except that at some > point we’ll need to rewrite our model to remove the concept of spaces > probably). > > Does that help: > http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization#HHistory > ? > Yes it does - thanks. But, I think you have given it the wrong name. If I am not wrong, this is just a tree structure. Not nested. > > @devs: > I think we need some better explanation. Maybe you can help tune the doc. > I think we need a documentation page on xwiki.org to explain what is a > Page Reference. On > http://rendering.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks we > explain it as: "A wiki page reference in the form [[wikiName:] space.] > (page). Examples: WebHome, Main.WebHome, mywiki:Main.WebHome”. However I > think we should instead link to that page about Page Reference, and explain > why you have to use something a bit different from what you see in the UI. > I think adding more documentation will help. But - IMO - there is a fundamental design flaw. You have built XWiki to use a tree structure of documents. And documents MUST be referenced using the tree structure. Compare this to Mediawiki where all you need to know is the doucment name, eg, https://en.wikipedia.org/wiki/Korea_Medal_(South_Africa). This simple concept is enough for millions of wikipedia documents. Wikipedia documents can be any number of categories - and this does not affect how they are referenced. Again, IMO, the tree structure is something that early CMSs introduced, as it basically replicates the file system in an OS. Wikis improved on this by realizing that: - documents often need to be in multiple categories - users tend to want to find a specific document by name only When the unique id of a document is the document name you then have: - more friendly urls - wiki/my_document - more flexibility on how documents are organized - a document could be in more than one 'folder' at a time. - easier to link to documents -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Request: make linking easy
On 26 November 2015 at 20:18, vinc...@massol.net <vinc...@massol.net> wrote: > If the only difference you see is the markup then you’re missing a lot :) > > See http://www.xwiki.com/fr/comparatifs/xwiki-vs-cms for example. > This document puts a lot of focus on collaboration - which I agree is an important aspect. However, as I have tried to point out, its easier to write html than Xwiki syntax. -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Request: make linking easy
On 26 November 2015 at 20:33, vinc...@massol.net <vinc...@massol.net> wrote: > 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: > Youre missing my point. I'm trying to point out how difficult it is, without prior knowledge, to do just a simple link. You answer by giving me links to all sorts of docs. As I tried to illustrate, I have already created a page called MyExamplePage. Writing [[MyExamplePage]] does NOT link to it. To correctly link to it need to study documentation, and write a lot more. The correct link is [[MyExamplePage>>doc:MyExamplePage.WebHome]] This is not easy. This is not natural. This does not help collaboration. This does require studying documentation. Obviously for you, who use this product everyday, you think Im just complaining about nothing. But, dont take my word - just ask any normal user what ' [[MyExamplePage>>doc:MyExamplePage.WebHome]]' means. No one in my office has a clue. A wiki is about making things simple for everyday users - but you are a heavy duty technical user. Xwiki has taken the concept of wiki and made it brittle and technical. -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Rest - get objects
Ah - my bad! This is working - http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Brokers/pages/ABC+Broker/objects?media=json I had forgotten the pages section of the url. Thanks On 7 November 2015 at 16:46, Anton Hughes <a...@tradeworks.io> wrote: > > On 7 November 2015 at 16:24, Thomas Mortagne <thomas.morta...@xwiki.com> > wrote: > >> Object are always located in a document and you are trying to access >> them in a ("Brokers") space. You just need to ad the pages part of the >> URL. >> > > HI Thomas > > I should have mentioned that I also tried accessing them from the page, > eg, > http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Brokers/ABC+Broker/objects?media=json > but I get exactly the same response - > > Malformed URL: the spaces section is invalid. > > > > What do you suggest? > > -- > Anton Hughes > > -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Rest - get objects
Hello I'm wondering, am I doing something wrong here? When I call http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Brokers/objects?media=json I get an error: Error 500 - Malformed URL: the spaces section is invalid. But, http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Brokers/attachments?media=json works fine. Is there something additional I need to do to work retrieve objects? Thanks -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Survey] Feedback about XWiki and future features
On 30 October 2015 at 14:24, vinc...@massol.net <vinc...@massol.net> wrote: > Latest news is that we now have 16 answers. Good start :) > 17 at least. I just added my 2c. -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Admin password after installing
Perfect - thanks Thomas. I have actually installed XWiki a few times now - this time I couldnt find this info. Am getting old On 3 November 2015 at 15:20, Thomas Mortagne <thomas.morta...@xwiki.com> wrote: > Default user is: > * login: Admin > * password: admin > > See > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationStandalone > (at the end) for more details. > > On Tue, Nov 3, 2015 at 3:16 PM, Anton Hughes <a...@tradeworks.io> wrote: > > Hi > > > > I am trying out Xwiki and would like to know how to login after > installing. > > > > Is there an admin user already created when installing? If yes, what is > the > > password? > > If not, how do I create an admin user? > > > > Thanks > > > > -- > > Anton Hughes > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Admin password after installing
Hi I am trying out Xwiki and would like to know how to login after installing. Is there an admin user already created when installing? If yes, what is the password? If not, how do I create an admin user? Thanks -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] CORS header
I manged to figure this out. I changed the following in the web.xml: Set CORS policy for fonts resourceReferenceHandler */** *.woff *.eot *.ttf REQUEST FORWARD On 3 November 2015 at 16:40, Anton Hughes <a...@tradeworks.io> wrote: > Hello > > I am looking to use XWiki to manage and provide documentation for my web > based application (built in GWT). > > The idea is to use the XWiki rest api that can return clean HTML, for > example > http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI?xpage=plain=xhtml > . > > However, to be able to consume this in my gwt application, as I get the > following error: > > XMLHttpRequest cannot load > http://localhost:8080/xwiki/bin/view/MyExamplePage?xpage=plain=xhtml. > No 'Access-Control-Allow-Origin' header is present on the requested > resource. Origin 'http://localhost:8081' is therefore not allowed access. > > How do I add the cors header to the rest response from Xwiki? > > Thanks > > -- > Anton Hughes > > -- Anton Hughes ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users