[xwiki-users] No extension found, unsupported repository type and JAXB conflict
Hi XWikiers, I just installed a XWiki Enterprise 5.2 using the exe installer on my windows laptop. I then connected successfully as Admin and tried to install extensions using the Extension Manager. But the answers to my queries are always : "no extensions found". In the XWiki command window, I found theses lines : 2013-11-03 00:00:37,459 [main] ERROR aultExtensionRepositoryManager - Failed to add repository [extensions.xwiki.org ( http://extensions.xwiki.org/xwiki/rest/)] org.xwiki.extension.repository.ExtensionRepositoryException: Unsupported reposit ory type [xwiki] at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMan ager.addRepository(DefaultExtensionRepositoryManager.java:128) ~[xwiki-commons-e xtension-api-5.2.jar:na] ............. Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to looku p component [org.xwiki.extension.repository.xwiki.internal.XWikiExtensionReposit oryFactory] identified by [role = [interface org.xwiki.extension.repository.Exte nsionRepositoryFactory] hint = [xwiki]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInst ance(EmbeddableComponentManager.java:349) [xwiki-commons-legacy-component-defaul t-5.2.jar:na] .............. Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstr ap classloader, but this RI (from jar:file:/C:/tools/XWikiEnterprise5.2/webapps/ xwiki/WEB-INF/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuil der.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api .jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guid e/standards/) I suppose it's caused by my old java 1.6 version, but it's supported ( http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisi... ). Could someone confirm that I'm right ? Thank you. Maxime
Hi Maxime,
Hi XWikiers,
I just installed a XWiki Enterprise 5.2 using the exe installer on my windows laptop. I then connected successfully as Admin and tried to install extensions using the Extension Manager. But the answers to my queries are always : "no extensions found".
In the XWiki command window, I found theses lines : [....] Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/tools/XWikiEnterprise5.2/webapps/xwiki/WEB-INF/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuil der.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api .jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guid e/standards/)
Any chance the installer ran with a java 1.5 by accident?
I suppose it's caused by my old java 1.6 version, but it's supported ( http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisi... ). Could someone confirm that I'm right ? Thank you.
The alternative is that you are using a quite old 1.6; I think only since 1.6u04 java comes with JAXB 2.1 instead of 2.0 This might be an inconsistency that might have slipped in because most people who test with java 1.6 use the latest updates. Clemens
Thank you for your reply Clemens. I will check the precise release of my JVM and I'll tell you. Maxime 2013/11/4 Clemens Klein-Robbenhaar <[email protected]>
Hi Maxime,
Hi XWikiers,
I just installed a XWiki Enterprise 5.2 using the exe installer on my windows laptop. I then connected successfully as Admin and tried to install extensions using the Extension Manager. But the answers to my queries are always : "no extensions found".
In the XWiki command window, I found theses lines : [....] Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from
jar:file:/C:/tools/XWikiEnterprise5.2/webapps/xwiki/WEB-INF/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuil
der.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api .jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guid e/standards/)
Any chance the installer ran with a java 1.5 by accident?
I suppose it's caused by my old java 1.6 version, but it's supported (
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisi...
). Could someone confirm that I'm right ? Thank you.
The alternative is that you are using a quite old 1.6; I think only since 1.6u04 java comes with JAXB 2.1 instead of 2.0
This might be an inconsistency that might have slipped in because most people who test with java 1.6 use the latest updates.
Clemens
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I'm sure that the installer ran with the 1.6 and the precise release of this jvm is 1.6.0_01-b06. So, I suppose that it explains the problem I encountered. I will try to upgrade in a near future. Maxime 2013/11/6 Maxime Sinclair <[email protected]>
Thank you for your reply Clemens. I will check the precise release of my JVM and I'll tell you.
Maxime
2013/11/4 Clemens Klein-Robbenhaar <[email protected]>
Hi Maxime,
Hi XWikiers,
I just installed a XWiki Enterprise 5.2 using the exe installer on my windows laptop. I then connected successfully as Admin and tried to install extensions using the Extension Manager. But the answers to my queries are always : "no extensions found".
In the XWiki command window, I found theses lines : [....] Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from
jar:file:/C:/tools/XWikiEnterprise5.2/webapps/xwiki/WEB-INF/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuil
der.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api .jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guid e/standards/)
Any chance the installer ran with a java 1.5 by accident?
I suppose it's caused by my old java 1.6 version, but it's supported (
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisi...
). Could someone confirm that I'm right ? Thank you.
The alternative is that you are using a quite old 1.6; I think only since 1.6u04 java comes with JAXB 2.1 instead of 2.0
This might be an inconsistency that might have slipped in because most people who test with java 1.6 use the latest updates.
Clemens
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Clemens Klein-Robbenhaar -
Maxime Sinclair