xwiki-devs
Threads by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
September 2016
- 20 participants
- 47 discussions
[xwiki-devs] [Brainstorming] Designing the perfect FS representation of a wiki
by Vincent Massol 06 Sep '16
by Vincent Massol 06 Sep '16
06 Sep '16
Hi devs,
There’s been several individual attemps at representing xwiki in a FS (see http://markmail.org/message/vxq2dyfzuvc5gt3a)
* Caleb’s nodejs tool: https://github.com/xwiki-contrib/xwiki-tools-node
* Fabio’s xwikifs: https://github.com/fmancinelli/xwikifs
* Jean’s XFF: https://github.com/xwiki-contrib/api-xff
* Paul’s XInclude extension to the XAR plugin: http://jira.xwiki.org/browse/XWIKI-13643
I think a first step is agreeing on the best representation and one we would agree on. I’ve based the proposal below on the format started by xwikifs since it’s for me the closest to the perfect format.
a <— nested page
|_ b <— nested page
|_ c <— nested page
|_ content.<any extension, e.g. xwiki21> <— doc content
|_ content.<language, e.g. fr>.<any extension, e.g. xwiki21> <— doc content translated
|_ meta.yml <— doc metadata
|_ meta.<language, e.g. fr>.yml <— doc metadata for translation
|_ class.yml <— class definition
|_ objects <— xobjects
|_ d
|_ e
|_ f <— location of xclass
|_ <object number, e.g 0>
|_ <property id1>.yml
|_ <property idN>.yml
|_ <property idN>.content.<any extension, e.g. xwiki21> <— for externalizing property content, e.g. textarea
Notes:
* YAML is really the easiest to read and write and the most concise (parsing is easy but there’s also SnakeYaml).
Example:
JSON:
{
“title” : “my title”,
“syntax” : “xwiki/2.1"
}
YAML:
title: my title
syntax: xwiki/2.1
* The extension is free so that we can use a value that represents the syntax of the content so that tools and IDE use the correct editor
* For “objects” there could be some collision with a page name. So we would offer a property for the Maven plugin to override that default value with something else in case it’s necessary for a given project (but it’s unlikely that a page will be named “objects” anyway so this property wouldn’t be used often).
* For the xclass of the xobject, I’m hesitating but I’ve put a directory hierarchy for the issue of limitation of file name under windows. If we use a single directory named after the reference, it might go beyond 255 chars more easily. We need to decide what we prefer. It could even be possible to support both representation with a maven property for the Maven plugin.
* meta.yml for an xobject will also contain the class definition. Note that if we think it’s important, we could separate it and introduce an additional class.yml file but I don’t see the value right now.
Differences with xwikifs
* Extension names
* No reference syntax. I’ve defined fixed name for the various pieces so a reference syntax doesn’t seem required but I’d like to know Fabio’s POV since he may have had some ideas I haven’t understood.
* No classinfo (see above, class info is inside meta.yml)
Let’s start with this and iterate!
WDYT? What have I forgotten?
Thanks
-Vincent
5
22
05 Sep '16
Hello dears,
i have a issue with deployment of xwiki version 6.1 (actual stable version) on a jboss environment.
I get three issues. I was able to fix 2 of them. These two issues are missing classes...
I use jboss 8.1 alias Wildfly. I tried deployment over cmd and web-application with a .war file. I also tried this on other devices.
Used Java Version last stable 7.
The third issue is this one:
"{\"JBAS014671: Failed services\" => {\"jboss.deployment.unit.\\\"xwiki.war\\\".WeldStartService\" => \"org.jboss.msc.service.StartException in service jboss.deployment.unit.\\\"xwiki.war\\\".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.restlet.ext.jaxrs.internal.provider.JaxbElementProvider.contextResolver\"}}"
I would be very grateful if you could help me with this issue.
Here the full deployment log:
2014-08-04 08:05:24,517 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
2014-08-04 08:05:24,846 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
2014-08-04 08:05:24,934 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015899: WildFly 8.1.0.Final "Kenny" starting
2014-08-04 08:05:24,944 DEBUG [org.jboss.as.config] (MSC service thread 1-5) Configured system properties:
awt.toolkit = sun.awt.windows.WToolkit
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\jboss-modules.jar
java.class.version = 51.0
java.endorsed.dirs = C:\Program Files\Java\jdk1.7.0_45\jre\lib\endorsed
java.ext.dirs = C:\Program Files\Java\jdk1.7.0_45\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home = C:\Program Files\Java\jdk1.7.0_45\jre
java.io.tmpdir = C:\Users\pankraz\AppData\Local\Temp\
java.library.path = C:\Program Files\Java\jdk1.7.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\RA2HP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files (x86)\ActivIdentity\ActivClient\;C:\Program Files (x86)\Hewlett-Packard\HP ProtectTools Security Manager\Bin\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\MySQL\MySQL Utilities\;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Program Files (x86)\GUI Turbo Assembler\BIN;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files (x86)\Calibre2\;.
java.net.preferIPv4Stack = true
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.7.0_45-b18
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.7
java.util.logging.manager = org.jboss.logmanager.LogManager
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.7.0_45
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.7
java.vm.vendor = Oracle Corporation
java.vm.version = 24.45-b08
javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
jboss.home.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final
jboss.host.name = pankraz1
jboss.modules.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\modules
jboss.modules.system.pkgs = org.jboss.byteman
jboss.node.name = pankraz1
jboss.qualified.host.name = pankraz1
jboss.server.base.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone
jboss.server.config.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\configuration
jboss.server.data.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\data
jboss.server.deploy.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\data\content
jboss.server.log.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\log
jboss.server.name = pankraz1
jboss.server.persist.config = true
jboss.server.temp.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\tmp
line.separator =
logging.configuration = file:C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\configuration/logging.properties
module.path = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\modules
org.jboss.boot.log.file = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\log\server.log
org.jboss.resolver.warning = true
org.xml.sax.driver = __redirected.__XMLReaderFactory
os.arch = amd64
os.name = Windows 7
os.version = 6.1
path.separator = ;
program.name = standalone.bat
sun.arch.data.model = 64
sun.boot.class.path = C:\Program Files\Java\jdk1.7.0_45\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_45\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_45\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_45\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_45\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_45\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_45\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_45\jre\classes
sun.boot.library.path = C:\Program Files\Java\jdk1.7.0_45\jre\bin
sun.cpu.endian = little
sun.cpu.isalist = amd64
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\jboss-modules.jar -mp C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1252
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = Service Pack 1
user.country = US
user.country.format = DE
user.dir = C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\bin
user.home = C:\Users\pankraz
user.language = en
user.language.format = de
user.name = pankraz
user.script =
user.timezone = Europe/Paris
user.variant =
2014-08-04 08:05:24,946 DEBUG [org.jboss.as.config] (MSC service thread 1-5) VM Arguments: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\log\server.log -Dlogging.configuration=file:C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\configuration/logging.properties
2014-08-04 08:05:26,580 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
2014-08-04 08:05:26,600 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.2.2.Final
2014-08-04 08:05:26,609 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.2.2.Final
2014-08-04 08:05:26,674 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 31) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
2014-08-04 08:05:26,691 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
2014-08-04 08:05:26,694 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
2014-08-04 08:05:26,695 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
2014-08-04 08:05:26,693 INFO [org.jboss.as.security] (ServerService Thread Pool -- 45) JBAS013171: Activating Security Subsystem
2014-08-04 08:05:26,712 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
2014-08-04 08:05:26,721 INFO [org.jboss.as.security] (MSC service thread 1-8) JBAS013170: Current PicketBox version=4.0.21.Beta1
2014-08-04 08:05:26,752 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 38) JBAS012615: Activated the following JSF Implementations: [main]
2014-08-04 08:05:26,807 INFO [org.jboss.as.connector.logging] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.5.Final)
2014-08-04 08:05:26,819 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
2014-08-04 08:05:26,880 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010417: Started Driver service with driver-name = h2
2014-08-04 08:05:26,886 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017502: Undertow 1.0.15.Final starting
2014-08-04 08:05:26,918 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017502: Undertow 1.0.15.Final starting
2014-08-04 08:05:26,921 INFO [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service
2014-08-04 08:05:26,922 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]
2014-08-04 08:05:27,004 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.3.Final
2014-08-04 08:05:27,099 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017527: Creating file handler for path C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final/welcome-content
2014-08-04 08:05:27,103 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) JBAS017525: Started server default-server.
2014-08-04 08:05:27,127 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017531: Host default-host starting
2014-08-04 08:05:27,481 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\pankraz\Downloads\Testdaten01\wildfly-8.1.0.Final\standalone\deployments
2014-08-04 08:05:27,483 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "xwiki.war" (runtime-name: "xwiki.war")
2014-08-04 08:05:46,728 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080
2014-08-04 08:05:46,983 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
2014-08-04 08:05:47,269 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.4.Final
2014-08-04 08:06:01,341 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xerces-2.5.0.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,342 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xalan-2.6.0.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,343 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xml-apis-1.3.04.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,343 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry fop-0.94.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,344 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry batik-js.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,470 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry emory-util-io.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/emory-util-classloader-2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,472 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry emory-util-security.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/emory-util-classloader-2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,479 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry emory-util-io.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/emory-util-security-2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,486 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry avalon-framework-4.2.0.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,498 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry batik-all-1.7.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,513 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-io-1.3.1.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,529 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-logging-1.0.4.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,533 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry fop-hyph.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,546 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry serializer-2.7.0.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,562 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry servlet-2.2.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,574 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xalan-2.7.0.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,581 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xercesImpl-2.7.1.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,592 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xml-apis-1.3.04.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/fop-1.0.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,639 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-io-1.4.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/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.
2014-08-04 08:06:01,641 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-cli-1.1.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/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.
2014-08-04 08:06:01,646 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry sigar-1.6.5.132.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/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.
2014-08-04 08:06:01,650 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry json-20090211.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/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.
2014-08-04 08:06:01,655 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry ridl.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,663 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry jurt.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,665 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry ../../lib/ in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,671 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry ../bin/ in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,680 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry ridl.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/jurt-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,684 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry unoloader.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/jurt-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,686 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry ../../lib/ in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/jurt-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,698 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry ../bin/ in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/jurt-3.2.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,709 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry slf4j-api-1.6.1.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/netcdf-4.2.20.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,711 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-logging-1.0.4.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/netcdf-4.2.20.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,713 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-codec-1.2.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/netcdf-4.2.20.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,732 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry jakarta-oro.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,734 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry commons-logging.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,744 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry picocontainer.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,750 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xml-apis.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/serializer-2.7.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,761 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry slf4j-api-1.6.1.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/unidataCommon-4.2.20.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,766 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xercesImpl.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/xalan-2.7.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,768 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry xml-apis.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/xalan-2.7.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:01,776 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry serializer.jar in /C:/Users/pankraz/Downloads/Testdaten01/wildfly-8.1.0.Final/bin/content/xwiki.war/WEB-INF/lib/xalan-2.7.1.jar does not point to a valid jar for a Class-Path reference.
2014-08-04 08:06:03,963 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016002: Processing weld deployment xwiki.war
2014-08-04 08:06:04,077 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-6) HV000001: Hibernate Validator 5.1.0.Final
2014-08-04 08:06:04,313 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016005: Starting Services for CDI deployment: xwiki.war
2014-08-04 08:06:05,188 INFO [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900: 2.1.2 (Final)
2014-08-04 08:06:05,236 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016008: Starting weld service for deployment xwiki.war
2014-08-04 08:06:09,184 WARN [org.jboss.modules] (weld-worker-1) Failed to define class org.apache.hadoop.hdfs.web.resources.UserProvider in Module "deployment.xwiki.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/apache/hadoop/hdfs/web/resources/UserProvider (Module "deployment.xwiki.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [wildfly-weld-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:106) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:94) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:60) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.lang.NoClassDefFoundError: com/sun/jersey/spi/inject/InjectableProvider
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_45]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_45]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.3.Final]
... 19 more
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.spi.inject.InjectableProvider from [Module "deployment.xwiki.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]
... 23 more
2014-08-04 08:06:09,267 INFO [org.jboss.weld.Bootstrap] (weld-worker-1) WELD-000119: Not generating any bean definitions from org.apache.hadoop.hdfs.web.resources.UserProvider because of underlying class loading error: Type com.sun.jersey.spi.inject.InjectableProvider from [Module "deployment.xwiki.war:main" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error.
2014-08-04 08:06:15,400 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."xwiki.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."xwiki.war".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.restlet.ext.jaxrs.internal.provider.JaxbElementProvider.contextResolver
at org.jboss.weld.bean.ManagedBean.checkBeanImplementation(ManagedBean.java:218)
at org.jboss.weld.bean.AbstractClassBean.internalInitialize(AbstractClassBean.java:74)
at org.jboss.weld.bean.ManagedBean.internalInitialize(ManagedBean.java:96)
at org.jboss.weld.bean.RIBean.initialize(RIBean.java:65)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$5.doWork(ConcurrentBeanDeployer.java:114)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$5.doWork(ConcurrentBeanDeployer.java:112)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
... 3 more
2014-08-04 08:06:15,468 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "xwiki.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xwiki.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xwiki.war\".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.restlet.ext.jaxrs.internal.provider.JaxbElementProvider.contextResolver"}}
2014-08-04 08:06:15,556 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "xwiki.war" (runtime-name : "xwiki.war")
2014-08-04 08:06:15,560 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."xwiki.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."xwiki.war".WeldStartService: Failed to start service
2014-08-04 08:06:15,603 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
2014-08-04 08:06:15,604 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
2014-08-04 08:06:15,605 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.1.0.Final "Kenny" started (with errors) in 51415ms - Started 307 of 412 services (51 services failed or missing dependencies, 91 services are lazy, passive or on-demand)
2014-08-04 08:06:15,813 INFO [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016009: Stopping weld service for deployment xwiki.war
2014-08-04 08:06:20,720 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment xwiki.war (runtime-name: xwiki.war) in 4916ms
2014-08-04 08:06:20,837 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "xwiki.war" (runtime-name: "xwiki.war")
2014-08-04 08:06:20,856 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.deployment.unit."xwiki.war".WeldBootstrapService (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator, service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator, service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".WeldInstantiator, JBAS014799: ... and 22 more ]
service jboss.deployment.unit."xwiki.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator, service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator, service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".WeldInstantiator, service jboss.deployment.unit."xwiki.war".component."org.xwiki.rest.internal.XWikiRestletServlet".WeldInstantiator, JBAS014799: ... and 19 more ]
service jboss.deployment.unit."xwiki.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.sun.faces.config.ConfigureListener".START]
service jboss.deployment.unit."xwiki.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.sun.faces.config.ConfigureListener".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.gwt.api.server.XWikiServiceImpl".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.gwt.api.server.XWikiServiceImpl".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.gwt.api.server.XWikiServiceImpl".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.gwt.api.server.XWikiServiceImpl".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.gwt.api.server.XWikiServiceImpl".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavFilter".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavFilter".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavFilter".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavServlet".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavServlet".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.plugin.webdav.XWikiDavServlet".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.ActionFilter".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.ActionFilter".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.ActionFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.ActionFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.ActionFilter".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.HomePageRedirectServlet".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.HomePageRedirectServlet".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.HomePageRedirectServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.HomePageRedirectServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.web.HomePageRedirectServlet".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".START]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".START]
service jboss.deployment.unit."xwiki.war".component."javax.faces.webapp.FacetTag".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."javax.faces.webapp.FacetTag".START]
service jboss.deployment.unit."xwiki.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."javax.faces.webapp.FacetTag".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."javax.faces.webapp.FacetTag".START]
service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]
service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service jboss.deployment.unit."xwiki.war".component."org.apache.struts.action.ActionServlet".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.apache.struts.action.ActionServlet".START]
service jboss.deployment.unit."xwiki.war".component."org.apache.struts.action.ActionServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.apache.struts.action.ActionServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.apache.struts.action.ActionServlet".START]
service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$1".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$1".START]
service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$1".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$2".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$2".START]
service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$2".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$2".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$2".START]
service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldTerminalListener".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldTerminalListener".START]
service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.jboss.weld.servlet.WeldTerminalListener".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.SetThreadNameServletRequestListener".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.SetThreadNameServletRequestListener".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.SetThreadNameServletRequestListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.SetThreadNameServletRequestListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.SetThreadNameServletRequestListener".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.XWikiServletContextListener".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.XWikiServletContextListener".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.XWikiServletContextListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.XWikiServletContextListener".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.rest.internal.XWikiRestletServlet".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.rest.internal.XWikiRestletServlet".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.rest.internal.XWikiRestletServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.rest.internal.XWikiRestletServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.rest.internal.XWikiRestletServlet".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.ConversionFilter".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.ConversionFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.ConversionFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.ConversionFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.ConversionFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter".CREATE (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter".START]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki, service jboss.deployment.unit."xwiki.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter".START]
service jboss.deployment.unit."xwiki.war".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
service jboss.deployment.unit."xwiki.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."xwiki.war".component."com.sun.faces.config.ConfigureListener".START, service jboss.deployment.unit."xwiki.war".component."org.xwiki.container.servlet.SetThreadNameServletRequestListener".START, service jboss.deployment.unit."xwiki.war".component."org.eclipse.jetty.continuation.Servlet3Continuation$1".START, service jboss.deployment.unit."xwiki.war".component."com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet".START, JBAS014799: ... and 18 more ]
service jboss.undertow.deployment.default-server.default-host./xwiki (missing) dependents: [service jboss.deployment.unit."xwiki.war".deploymentCompleteService]
service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki]
service jboss.undertow.deployment.default-server.default-host./xwiki.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./xwiki.UndertowDeploymentInfoService]
JBAS014777: Services which failed to start: service jboss.deployment.unit."xwiki.war".WeldStartService
best regards
Alexander Pankraz
Student HP DualStudy Wirtschaftsinformatik - Software Engineering
Hewlett-Packard GmbH
alexander.pankraz(a)hp.com<mailto:[email protected]>
Hewlett-Packard-Strasse 1 | 61352 Bad Homburg | http://www.hp.com/de/dualstudy
[http://intranet.hp.com/country/germany/live/PublishingImages/NeuesLogoSmall…]
Geschäftsführer: Heiko Meyer (Vorsitzender), Thomas Bässler, Volkhard Bregulla, Michael Eberhardt, Jochen Erlach, Angelika Gifford, Ernst Reichart
Vorsitzender des Aufsichtsrats: Jörg Menno Harms
Sitz der Gesellschaft: Böblingen, Amtsgericht Stuttgart HRB 244081
WEEE-Reg.-Nr. DE 30409072
Follow us on [http://intranet.hp.com/country/germany/live/PublishingImages/facebook.gif] <http://www.facebook.com/HPDeutschland> [http://intranet.hp.com/country/germany/live/PublishingImages/twitter.gif] <https://twitter.com/HP_Deutschland> [http://intranet.hp.com/country/germany/live/PublishingImages/linkedin.gif] <http://www.linkedin.com/company/hewlett-packard?trk=tabs_biz_home> [http://intranet.hp.com/country/germany/live/PublishingImages/youtube.gif] <http://www.youtube.com/user/HPDeutschland>
3
2
[xwiki-devs] [Brainstorming] Use cases for an alternative filesystem format (alternative to XAR)
by Vincent Massol 04 Sep '16
by Vincent Massol 04 Sep '16
04 Sep '16
Hi,
This is a follow-up on the threads:
* "Designing the perfect FS representation of a wiki”: http://markmail.org/message/3yghqwetmdt5woez
* "XAR source projects should allow source files”: http://markmail.org/message/432o36r4klh7yv24
It’s also a continuation of the work done here:
http://design.xwiki.org/xwiki/bin/view/Design/DirectoryStructureforXWikiApp…
Once we get convergence on those thread (or even if we don’t), I’ll update design.xwiki.org with the results.
The goal is to define the use case for an alternate filesystem to XAR.
Issues with the XAR format
======================
* XML is not an easy to edit format and doesn’t allow use a specific editor to edit content
* XML also requires content to be XML-encoded and thus is really not easy to make modification (there’s a risk of breaking the XML easily)
Can you see more issues?
Use cases for an alternative filesystem format
===================================
(some UC taken from http://design.xwiki.org/xwiki/bin/view/Design/DirectoryStructureforXWikiApp…)
* UC1: the structure should be (as) easy (as possible) to navigate in an IDE style view
* UC2: it should be easy to add content (a new script or attachment on an existing structure). It should allow using specific editors for different content types, e.g. if a page content is in markdown, it should be editable with a MD editor, js and css should be editable with web editors, etc.
* UC3: It should be possible to build a packaged version of the sources with Maven
* UC4: It should be possible to import the packaged version into a running XWiki instance
* UC5: It should be possible to export a portion of a running XWiki instance in this format
* UC6: This format should be able to fully replace the XAR format . The new format should support at least all features supported by the XAR format (versioned, etc). Note: XE will need to be refactor a bit so that the XAR format can be swapped out by introducing extension points/APIs. The idea would be to deprecate the XAR format and introduce this new format instead, and the 2 formats should be avle to cohabit next to each other in XWiki.
* UC7: When importing in a wiki and exporting again (without making any change in the wiki), it should generate an identical structure and content, with no difference.
Any more?
Thanks
-Vincent
3
9
Hi XWiki-devs
I noticed that
org.xwiki.component.util.ReflectionUtils.getAllFields(Class<?>)
<https://github.com/xwiki/xwiki-commons/blob/master/xwiki-commons-core/xwiki…>
does not return hidden fields
<https://docs.oracle.com/javase/tutorial/java/IandI/hidevariables.html> of
superclasses. These are actively filtered out by the implementation with
the following comment:
*Make sure that if the same field is declared in a class and its superclass
only the field used in the class will be returned.*
This implementation caused NPE's for us because the ComponentManager did
not inject annotated hidden fields. Can somebody provide a good reason for
this implementation?
Thanks for the feedback and regards
Marc
2
1
02 Sep '16
FWIW I’ve done a quick analysis of the speed of executing a XAR unit test (see http://dev.xwiki.org/xwiki/bin/view/Community/Testing#HXARTesting)
Globally it takes 3ms for the first test on my machine.
With a profiler the time is roughly doubled (6ms) and is spread like this (for stuff that takes the most time):
* loadPage(): 1.1s
** TIKA init : 800ms (initialized in XWikiAttachment)
* getRenderedContent(): 1.2s
** org.apache.xpath.jaxp.XPathImpl.evaluate(): 260ms
** javax.validation.Validation.buildDefaultValidatorFactory(): 260ms
* init stuff:
** org.slf4j.LoggerFactory.getLogger(String): 804ms
** mocking: 288ms
** component registration: 260ms
My only ideas for speeding slightly the execution time would be to ensure that TIKA is not initialized for the test until it is required. And maybe check why SLF4J takes so long and find a way to make it run faster (maybe use a noop logger).
So those 2 items could win us a max of 1.6s out of 6s, so that’s 800ms out of 3s. Which would lower our exec time for a single test to close to 2 seconds.
But I don’t see how to go below that value.
Conclusion:
==========
- IMO we shouldn’t call those tests unit tests but integration tests (that’s what they are in practice)
- we should run them in the integration-tests profile to not slow down the main build too much
- they’re still way faster than writing a functional tests (more than 1 minute to package and run - that’s 20 times slower at best), so when possible this should be favored when we want to validate some specific behavior of a wiki page or ensure that a regression won’t happen again
WDYT?
If we’re ok I’ll make the changes (integration-tests profile + rename to integration tests).
Thanks
-Vincent
3
3
Hello devs,
This Thursday is BFD#116:
http://dev.xwiki.org/xwiki/bin/view/Community/XWikiDays#HBugfixingdays
Our current status for the 1 year period is 67 bugs behind. See:
http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=100
00#Created-vs-Resolved-Chart/10470
Here's the BFD#116 dashboard to follow the progress during the day:
http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13634
Happy Bug Fixing Day,
Alex
2
2
Hello all,
I just released a new version of Full Calendar Macro.
The most important benefit is the upgrade of FullCalendar
<https://fullcalendar.io/> jQuery plugin to v2.9.0.
This release might be interesting and could be a reason to release other
applications that are using Full Calendar Macro, like Meeting Application
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Meeting%20Application>
or Mocca Calendar.
<http://extensions.xwiki.org/xwiki/bin/view/Extension/MoccaCalendar>
See the Release Notes:
http://extensions.xwiki.org/xwiki/bin/view/Extension/FullCalendar+Applicati…
.
Thanks,
Alex
2
3