[xwiki-users] XWiki on Weblogic 12.2.1
Hi, I tried to install XWiki 8.3 WAR on Weblogic 12.2.1 but it failed on XWikiJaxRsApplication because it extends the javax.ws.rs.core.Application class and the container tries to set up this as a JAX-RS 2 servlet and of course it not find the servlet configuration. I'm unable to find any option to tell to the WLS to not use JAX-RS. I have found this JIRA ticket <http://jira.xwiki.org/browse/XWIKI-12674> , but it helps nothing to solve this problem. Do you have any idea/experience how to install XWiki on WLS 12.2.1? Thanks, Zoltán. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-on-Weblogic-12-2-1-tp7601654.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I have managed to deploy XWiki 8.3 to Weblogic 12.2.1 on a not supported way: I have disabled JAX-RS support in the server by deleting the After it the deployer still missings the class so I have put Jersey-1.19.1 server and core jars into the WEB-INF/lib. Application deployed and started, DW run successfully but some requests failed by CCE: I have found a similar post <https://github.com/gitblit/gitblit/issues/520> so I have modified the XWikiServletRequest to extend javax.servlet.http.HttpServletRequestWrapper. Now I have a working XWiki on WLS but I have to do it without modifying the server binaries. Do you have any ide how to disable JAX-RS in WLS 12.2.1 for a deployment only? Thanks, Zoltán -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-on-Weblogic-12-2-1-tp7601654p7601697... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mon, Oct 24, 2016 at 3:18 PM, Qkxy <[email protected]> wrote:
Hi,
I have managed to deploy XWiki 8.3 to Weblogic 12.2.1 on a not supported way: I have disabled JAX-RS support in the server by deleting the After it the deployer still missings the class so I have put Jersey-1.19.1 server and core jars into the WEB-INF/lib.
Application deployed and started, DW run successfully but some requests failed by CCE:
I have found a similar post <https://github.com/gitblit/gitblit/issues/520> so I have modified the XWikiServletRequest to extend javax.servlet.http.HttpServletRequestWrapper. Now I have a working XWiki on WLS but I have to do it without modifying the server binaries.
Do you have any ide how to disable JAX-RS in WLS 12.2.1 for a deployment only?
Sorry I have no experience of Weblogic. In the meantime extending HttpServletRequestWrapper is definitely safer and cleaner so I'm doing it in standard. Among other things it makes much easier to upgrade Servlet API version.
Thanks, Zoltán
-- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-on-Weblogic-12-2-1-tp7601654p7601697... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Qkxy -
Thomas Mortagne