Rest Plugin not working after upgrading to 5.3.8.6

42 views
Skip to first unread message

Patrik Dusek

unread,
Jan 6, 2022, 6:52:33 AMJan 6
to dotCMS User Group
Hi all,
I made a plugin for rest calls based on the rest example. It worked fine on 5.1.6.
I get no specific error output in the log. Backend tells its started but I can't find my log output for the Activator start methode.
I updated my sources with the changed import of the base javax.ws.rs.core.Response classes and updated the compile dependency to dotcms 5.3.8.
When I try to make a rest call with /api/rest/mymethode I get 404.
Did I miss some major changes?
Thx,
Patrik

Will Ezell

unread,
Jan 6, 2022, 8:56:21 AMJan 6
to dot...@googlegroups.com
Is the endpoint using SSL?  Maybe an invalid cert or keystore is blocking access?  What does the stack trace look like?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4f0c9107-4c44-4149-a823-797d773807b5n%40googlegroups.com.


--



382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 
305-900-2001 | Direct: 978.294.9429

jonathan...@dotcms.com

unread,
Jan 6, 2022, 11:45:46 AMJan 6
to dotCMS User Group
Anything on logs?

Patrik Dusek

unread,
Jan 6, 2022, 12:39:25 PMJan 6
to dotCMS User Group
Hi,
I stopped all and now I get some exceptions in the log.
whats interesting is that I don't use the " com/dotcms/repackage/javax/ws/rs/core/Response" anymore. I changed it to "javax/ws/rs/core/Respons".
No idea where this is now comming from.
The ssl config is fine.

[06/01/22 17:32:56:766 GMT] ERROR AJAX.OSGIAJAX: Activator start error in bundle com.dotcms.rest [23].
org.osgi.framework.BundleException: Activator start error in bundle com.dotcms.rest [23].
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[org.apache.felix.framework-5.6.10.jar:?]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.start(OSGIAJAX.java:118) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_302]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_302]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_302]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_302]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIBaseAJAX.service(OSGIBaseAJAX.java:49) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.service(OSGIAJAX.java:1) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.servlets.ajax.AjaxAction.doPut(AjaxAction.java:62) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.servlets.ajax.AjaxDirectorServlet.service(AjaxDirectorServlet.java:78) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:198) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:48) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:108) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:50) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:73) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[catalina.jar:8.5.32]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) ~[catalina.jar:8.5.32]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) ~[catalina.jar:8.5.32]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) ~[catalina.jar:8.5.32]
        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) ~[catalina.jar:8.5.32]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) ~[catalina.jar:8.5.32]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1699) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1050) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:630) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:608) ~[tomcat-coyote.jar:8.5.32]
        at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) ~[?:1.8.0_302]
        at sun.nio.ch.Invoker$2.run(Invoker.java:218) ~[?:1.8.0_302]
        at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) ~[?:1.8.0_302]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_302]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_302]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302]
Caused by: java.lang.NoClassDefFoundError: com/dotcms/repackage/javax/ws/rs/core/Response
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_302]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_302]
        at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) ~[jersey-server-2.25.1.jar:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller.getAllDeclaredMethods(IntrospectionModeller.java:247) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.checkForNonPublicMethodIssues(IntrospectionModeller.java:172) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:119) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.Resource.from(Resource.java:797) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:465) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR]
        at com.dotcms.rest.servlet.ReloadableServletContainer.reload(ReloadableServletContainer.java:127) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.DotRestApplication.addClass(DotRestApplication.java:181) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.RestServiceUtil.addResource(RestServiceUtil.java:6) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.wesustain.plugin.rest.Activator.start(Activator.java:21) ~[?:?]
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) ~[org.apache.felix.framework-5.6.10.jar:?]
        ... 81 more
Caused by: java.lang.ClassNotFoundException: com.dotcms.repackage.javax.ws.rs.core.Response
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309) ~[catalina.jar:8.5.32]
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137) ~[catalina.jar:8.5.32]
        at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:940) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[org.apache.felix.framework-5.6.10.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_302]
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_302]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_302]
        at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) ~[jersey-server-2.25.1.jar:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller.getAllDeclaredMethods(IntrospectionModeller.java:247) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.checkForNonPublicMethodIssues(IntrospectionModeller.java:172) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:119) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.Resource.from(Resource.java:797) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:465) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR]
        at com.dotcms.rest.servlet.ReloadableServletContainer.reload(ReloadableServletContainer.java:127) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.DotRestApplication.addClass(DotRestApplication.java:181) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.RestServiceUtil.addResource(RestServiceUtil.java:6) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.wesustain.plugin.rest.Activator.start(Activator.java:21) ~[?:?]
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) ~[org.apache.felix.framework-5.6.10.jar:?]
        ... 81 more
[06/01/22 17:32:56:766 GMT] ERROR AJAX.OSGIAJAX: Trying to run method:start
[06/01/22 17:32:56:766 GMT] ERROR AJAX.OSGIAJAX: null
javax.servlet.ServletException: Activator start error in bundle com.dotcms.rest [23]. Unable to start bundle
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.start(OSGIAJAX.java:125) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_302]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_302]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_302]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_302]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIBaseAJAX.service(OSGIBaseAJAX.java:49) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.service(OSGIAJAX.java:1) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.servlets.ajax.AjaxAction.doPut(AjaxAction.java:62) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.servlets.ajax.AjaxDirectorServlet.service(AjaxDirectorServlet.java:78) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:198) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:48) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:108) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) ~[urlrewritefilter-4.0.4.jar:4.0.4]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:50) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:73) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[catalina.jar:8.5.32]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) ~[catalina.jar:8.5.32]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) ~[catalina.jar:8.5.32]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) ~[catalina.jar:8.5.32]
        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685) ~[catalina.jar:8.5.32]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) ~[catalina.jar:8.5.32]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) ~[catalina.jar:8.5.32]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1699) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1050) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:630) ~[tomcat-coyote.jar:8.5.32]
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:608) ~[tomcat-coyote.jar:8.5.32]
        at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) ~[?:1.8.0_302]
        at sun.nio.ch.Invoker$2.run(Invoker.java:218) ~[?:1.8.0_302]
        at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) ~[?:1.8.0_302]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_302]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_302]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302]
Caused by: org.osgi.framework.BundleException: Activator start error in bundle com.dotcms.rest [23].
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[org.apache.felix.framework-5.6.10.jar:?]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.start(OSGIAJAX.java:118) ~[dotcms_5.3.8.6.2_999999.jar:?]
        ... 77 more
Caused by: java.lang.NoClassDefFoundError: com/dotcms/repackage/javax/ws/rs/core/Response
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_302]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_302]
        at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) ~[jersey-server-2.25.1.jar:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller.getAllDeclaredMethods(IntrospectionModeller.java:247) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.checkForNonPublicMethodIssues(IntrospectionModeller.java:172) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:119) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.Resource.from(Resource.java:797) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:465) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR]
        at com.dotcms.rest.servlet.ReloadableServletContainer.reload(ReloadableServletContainer.java:127) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.DotRestApplication.addClass(DotRestApplication.java:181) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.RestServiceUtil.addResource(RestServiceUtil.java:6) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.wesustain.plugin.rest.Activator.start(Activator.java:21) ~[?:?]
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[org.apache.felix.framework-5.6.10.jar:?]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.start(OSGIAJAX.java:118) ~[dotcms_5.3.8.6.2_999999.jar:?]
        ... 77 more
Caused by: java.lang.ClassNotFoundException: com.dotcms.repackage.javax.ws.rs.core.Response
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309) ~[catalina.jar:8.5.32]
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137) ~[catalina.jar:8.5.32]
        at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:940) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[org.apache.felix.framework-5.6.10.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_302]
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_302]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_302]
        at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) ~[jersey-server-2.25.1.jar:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_302]
        at org.glassfish.jersey.server.model.IntrospectionModeller.getAllDeclaredMethods(IntrospectionModeller.java:247) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.checkForNonPublicMethodIssues(IntrospectionModeller.java:172) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:119) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder(IntrospectionModeller.java:109) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.model.Resource.from(Resource.java:797) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:465) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) ~[jersey-common-2.25.1.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347) ~[jersey-server-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) ~[jersey-container-servlet-core-2.25.1.jar:?]
        at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR]
        at com.dotcms.rest.servlet.ReloadableServletContainer.reload(ReloadableServletContainer.java:127) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.DotRestApplication.addClass(DotRestApplication.java:181) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.dotcms.rest.config.RestServiceUtil.addResource(RestServiceUtil.java:6) ~[dotcms_5.3.8.6.2_999999.jar:?]
        at com.wesustain.plugin.rest.Activator.start(Activator.java:21) ~[?:?]
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[org.apache.felix.framework-5.6.10.jar:?]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[org.apache.felix.framework-5.6.10.jar:?]
        at com.dotmarketing.portlets.osgi.AJAX.OSGIAJAX.start(OSGIAJAX.java:118) ~[dotcms_5.3.8.6.2_999999.jar:?]
        ... 77 more
[06/01/22 17:33:00:006 GMT]  INFO cluster.ClusterFactory: Cluster topography has changed. This might force a rewire
[06/01/22 17:33:00:006 GMT]  INFO cluster.ClusterFactory: Expecting Servers:[]
[06/01/22 17:33:00:006 GMT]  INFO cluster.ClusterFactory: Found Servers:[]
[06/01/22 17:33:00:006 GMT]  INFO cluster.ClusterFactory: Cluster Active. Rewiring
[06/01/22 17:33:00:027 GMT]  INFO job.FreeServerFromClusterJob: Server af105251-0915-467f-9243-c90edd395fac with license null was Removed
[06/01/22 17:33:00:041 GMT]  INFO cluster.ClusterFactory: Cluster topography has changed. This might force a rewire
[06/01/22 17:33:00:041 GMT]  INFO cluster.ClusterFactory: Expecting Servers:[]
[06/01/22 17:33:00:041 GMT]  INFO cluster.ClusterFactory: Found Servers:[]
[06/01/22 17:33:00:041 GMT]  INFO cluster.ClusterFactory: Cluster Active. Rewiring
[06/01/22 17:33:10:006 GMT]  INFO cluster.ClusterFactory: Cluster topography has changed. This might force a rewire
[06/01/22 17:33:10:007 GMT]  INFO cluster.ClusterFactory: Expecting Servers:[]
[06/01/22 17:33:10:008 GMT]  INFO cluster.ClusterFactory: Found Servers:[]
[06/01/22 17:33:10:008 GMT]  INFO cluster.ClusterFactory: Cluster Active. Rewiring
[06/01/22 17:33:10:012 GMT]  INFO job.FreeServerFromClusterJob: Server af105251-0915-467f-9243-c90edd395fac with license null was Removed
[06/01/22 17:33:10:023 GMT]  INFO cluster.ClusterFactory: Cluster topography has changed. This might force a rewire
[06/01/22 17:33:10:023 GMT]  INFO cluster.ClusterFactory: Expecting Servers:[]
[06/01/22 17:33:10:023 GMT]  INFO cluster.ClusterFactory: Found Servers:[]
[06/01/22 17:33:10:023 GMT]  INFO cluster.ClusterFactory: Cluster Active. Rewiring
[06/01/22 17:33:17:855 GMT]  INFO taillog.TailLogServlet: Requested logFile:/srv/dotserver/tomcat-8.5.32/logs/dotcms.log
[06/01/22 17:33:19:668 GMT]  INFO maintenance.MaintenanceResource: Requested logFile: /srv/dotserver/tomcat-8.5.32/logs/dotcms.log

Will Ezell

unread,
Jan 6, 2022, 2:12:36 PMJan 6
to dot...@googlegroups.com
Make sure you change your dotcms dependencies in your build.gradle to be 5.3.8 and not 4.x, and I would remove any old dependencies you might have used.

Also you should ./gradlew clean and then grep -r to see where the repackaged response is coming from.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.

Patrik Dusek

unread,
Jan 6, 2022, 2:40:47 PMJan 6
to dotCMS User Group
Hi Will,
I cleaned all. To be sure I changed the output dir so its definetly clean.
Build gradle is 5.3.8.
Within the whole project there is no import with the repackage.
I also updated the version number to make sure that not an old jar is loaded.
Any idea where this comes from?
I could send you the project.
Thx,
Patrik

Patrik Dusek

unread,
Jan 11, 2022, 4:29:49 AMJan 11
to dotCMS User Group
Hi Will,
any hints? Can I send you the project? I'm stuck and have to complete my task :(
Thx,
Patrik

Will Ezell

unread,
Jan 11, 2022, 9:25:17 AMJan 11
to dot...@googlegroups.com
Maybe what you should do is provide your own  httpclient libs in your dependencies and use them.  That way, you can exclude the dotCMS provided versions of them in your manifest and your plugin will work no matter what versions of httpclient we use.

Take a look at the PostTool plugin which does that.






Reply all
Reply to author
Forward
0 new messages