i’m a Newbie in xWiki. My Installations Details:
TomCat 7.075, xwiki Enterprise 9.4, MySql57;Java 1.8.0.121 b-13 SE
I started the Browser with the follow commands:
localhost:8080/xwiki
The Distributions Wizard appears and i fill out credentials.
But in Step 2 an error occured:
ERROR:
We couldn’t find any extension with id ‘org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki’ and version ‘9.4’. Make sure you have the right extension repositories configured.
This usually means that the server on which XWiki is installed is not allowed to access Index of /groups/public (which is where it downloads the default UI from).
Did you try again ? Maybe you had some network issue last time you tried it.
You should take a look at the log which should give you more detail on why it failed to find the UI. Could be a timeout for example if you have a network speed issue (default connection timeout is 10 seconds from what I remember).
Our Network is very quickly!
Your tip to Show the log give me results.
Look:
SCHWERWIEGEND: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
Jun 13, 2017 10:27:26 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
SCHWERWIEGEND: The web application [/xwiki] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Jun 13, 2017 10:27:26 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@11f36c3]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@1046a95]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jun 13, 2017 10:27:26 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@11f36c3]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@11efba5]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jun 13, 2017 10:27:26 AM org.apache.coyote.AbstractProtocol stop
Have i the wrong JDBC Driver?
Thanks, vBert
You should start XWiki and looks at the log right after you see the message about missing extension. Since the extension is definitely here you should see an error in the log explaining why it failed to reach it.
I started the xWiki and here the Log-Entrys:
2017-06-13 17:33:01,329 [http://localhost:8080/xwiki/bin/distribution/XWiki/Distribution?xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F] ERROR aultExtensionRepositoryManager - Unexpected error when trying to find extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-9.4] in repository [extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest]
org.xwiki.extension.ResolveException: Failed to create extension object for extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-9.4]
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:344)
So according to your log XWiki (Java actually) is not allowed to access http://nexus.xwiki.org. Sounds like a proxy to me that you forgot you configured in your browser.
Hello tmortagne,
now i have time to answer.
I have always the same Problem: Connection refused.
Look for the Entrys in JAVA_OPTIONS:
Jun 21, 2017 1:40:07 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMATION: Command line argument: -Dappserver.home=CATALINA_HOME -Dappserver.base=CATALINA_HOME -Dhttp.proxyHost=Proxy.Name.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.Name.com -Dhttps.proxyPort=8080
Is that the right Place for the Proxy-Preferences?