Hello, I find out that system jsr library is different version from that which comes with xwiki: ./modules/system/layers/base/javax/jws/api/main/jsr181-api-1.0-MR1.jar ./standalone/deployments/xwiki.war/WEB-INF/lib/jsr311-api-1.1.1.jar How can I tell wildfly to load xwiki library instead of system? Best regards, Eimantas -----Original Message----- From: users [mailto:[email protected]] On Behalf Of Vincent Massol Sent: Friday, March 24, 2017 2:58 PM To: XWiki Users <[email protected]> Subject: Re: [xwiki-users] Can't add new group Hi,
On 24 Mar 2017, at 13:44, eimzdn <[email protected]> wrote:
Hello,
I have installed Xwiki 8.4.4 on Wildfly 10.1. I have installed default wiki pages.
I'm trying to add new group under "Addministration: Groups -> Add new group" when logged with user admin and geting error popup "An error occured while communicating with the server. Please check that the server is accessible, and you have the proper rights to perform requested action."
In server.log I get the folowing messages: 2017-03-24 14:24:19,478 INFO [org.restlet.Component.LogService] (https://************/rest/wikis/xwiki/spaces/XWiki/pages/Visi) 2017-03-24 14:24:19 ***.***.***.*** - ***.***.***.*** 443 GET /rest/wikis/xwiki/spaces/XWiki/pages/Visi - 500 486 0 3 https://************ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36 https://************/bin/admin/XWiki/XWikiPreferences?editor=globaladm in§ion=Groups 2017-03-24 14:26:47,617 WARNING [org.restlet.Component.XWikiRestletJaxRsApplication] (https://************/rest/wikis/xwiki/spaces/XWiki/pages/Visi) Exception or error caught in status service: java.lang.AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$St atusType;
[snip]
Can somone help to solve this problem?
The issue is likely related to WildFly and that it has its classloader/classpath leaking on the xwiki webapp… So there’s probably a conflicting library version for the JAR that contains javax/ws/rs/core/Response. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss and especially the line that says: " • If you have class loader issues read how JBoss AS7 Classloader works” I don’t have the exact answer but I hope this will lead you to the right track. Thanks -Vincent
Best Regards, Eimantas
-- View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-add-new-group-tp7603235.html Sent from the XWiki- Users mailing list archive at Nabble.com.