java.lang.ClassCastException: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot cast
Samir
New Altair Community Member
Hello,
I am quite new to RM server and when running the process as Web service I get the following error:
java.lang.ClassCastException: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager
I have used Get Page Operator and JSON to XML in the Process which I thought has something to do with this.
It works normally but does not work as Web service.
Server Log:
at com.rapidminer.operator.web.io.HttpURLConnectionProvider.getConnectionInstance(HttpURLConnectionProvider.java:71) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:132) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:47) at com.rapidminer.operator.io.AbstractReader.doWork(AbstractReader.java:271) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.SimpleOperatorChain.doWork(SimpleOperatorChain.java:99) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.executeRoot(Process.java:1464) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.execute(Process.java:1403) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1377) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1263) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1216) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1211) [rapidminer-studio-core-9.7.1.jar:9.7.1] at de.rapidanalytics.web.tools.ProcessServiceDataSource.createExampleSet(ProcessServiceDataSource.java:214) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:131) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:75) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.process(ExportedProcessServlet.java:228) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.doGet(ExportedProcessServlet.java:107) [classes:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.IE10CompatibilityFilter.doFilter(IE10CompatibilityFilter.java:39) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:56) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at de.rapidanalytics.web.security.jwt.JwtFilter.doFilter(JwtFilter.java:78) [classes:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87) [spring-security-saml2-core-1.0.3.RELEASE.jar:1.0.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] 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:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_241] 2020-07-28 14:00:20,686 WARNING [de.rapidanalytics.web.servlet.ExportedProcessServlet] (http-/0.0.0.0:8080-7) Error occurred during execution of service process for service with id Humid_Forecast: de.rapidanalytics.ejb.service.ServiceDataSourceException: Error executing process /home/admin/Humid_Forecast for service Humid_Forecast: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager: de.rapidanalytics.ejb.service.ServiceDataSourceException: Error executing process /home/admin/Humid_Forecast for service Humid_Forecast: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager at de.rapidanalytics.web.tools.ProcessServiceDataSource.createExampleSet(ProcessServiceDataSource.java:232) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:131) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:75) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.process(ExportedProcessServlet.java:228) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.doGet(ExportedProcessServlet.java:107) [classes:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.IE10CompatibilityFilter.doFilter(IE10CompatibilityFilter.java:39) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:56) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at de.rapidanalytics.web.security.jwt.JwtFilter.doFilter(JwtFilter.java:78) [classes:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87) [spring-security-saml2-core-1.0.3.RELEASE.jar:1.0.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] 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:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_241] Caused by: java.lang.ClassCastException: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager at com.rapidminer.operator.web.io.HttpURLConnectionProvider.getConnectionInstance(HttpURLConnectionProvider.java:71) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:132) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:47) at com.rapidminer.operator.io.AbstractReader.doWork(AbstractReader.java:271) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.SimpleOperatorChain.doWork(SimpleOperatorChain.java:99) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.executeRoot(Process.java:1464) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.execute(Process.java:1403) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1377) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1263) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1216) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1211) [rapidminer-studio-core-9.7.1.jar:9.7.1] at de.rapidanalytics.web.tools.ProcessServiceDataSource.createExampleSet(ProcessServiceDataSource.java:214) [classes:] ... 66 more
0
Best Answer
-
This issue is really hard to track down as it's working on our end, so because of this we think that it could be setup related or that classes/extensions are loaded more than once and thus the casting is broken.Would it be possible to setup an instance on a separate machine, starting from scratch and just with the rmx_web and dependent extensions so we can rule out that the setup is causing this?5
Answers
-
Hi. How does your process look like? When I am trying to reproduce with a simple Get Page and JSON to XML I am not able to reproduce your error in a web service. Could you try to run the attached process and see if succeeds on your end?
0 -
I got the same error when I ran your process too.Here is my process.Also can this have something to do with that, I run Job Agent manually?0
-
Just to be sure: the process I've attached also fails in a web service? And it also doesn't run in normal Job Agent?I quickly verified again, the simple example works for central repository, webservice and projects here. When only running the Sub Process in your attached file, does it run? So without the ARIMA related operators?What do you mean by "I run Job Agent manually"? Once it's started and you see it in the queues list (green indicator) it should work normally.0
-
The process you attached runs in normal job agent but only fails as a web service.The sub process works when runs in normal job agent and fails only as a web service. I tried both alone and with ARIMA related operators.
While installing the RM server, I forgot to include Job container so later I manually run RM job agent via Terminal, also I had to change jobagent.container.memoryLimit in agent properties.
and yes, I see all the processes in the executions, successfully run.
0 -
When you run the web services via the "test button", does this work or do you get the same error? Could you maybe attach the entire server.log file?
0 -
The server log I attached at the beginning is when I run the web service via "Test" button in RM server web UI.I haven't tried it any other way.This is from the web service I tried running via the test button minutes ago.SERVER LOG:
2020-07-29 12:49:27,578 WARNING [de.rapidanalytics.ejb.service.ServiceDataSource] (http-/0.0.0.0:8080-9) Service Humid_Forecast failed: java.lang.ClassCastException: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager: java.lang.ClassCastException: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager at com.rapidminer.operator.web.io.HttpURLConnectionProvider.getConnectionInstance(HttpURLConnectionProvider.java:71) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:132) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:47) at com.rapidminer.operator.io.AbstractReader.doWork(AbstractReader.java:271) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.SimpleOperatorChain.doWork(SimpleOperatorChain.java:99) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.executeRoot(Process.java:1464) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.execute(Process.java:1403) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1377) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1263) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1216) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1211) [rapidminer-studio-core-9.7.1.jar:9.7.1] at de.rapidanalytics.web.tools.ProcessServiceDataSource.createExampleSet(ProcessServiceDataSource.java:214) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:131) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:75) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.process(ExportedProcessServlet.java:228) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.doGet(ExportedProcessServlet.java:107) [classes:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.IE10CompatibilityFilter.doFilter(IE10CompatibilityFilter.java:39) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:56) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at de.rapidanalytics.web.security.jwt.JwtFilter.doFilter(JwtFilter.java:78) [classes:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87) [spring-security-saml2-core-1.0.3.RELEASE.jar:1.0.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] 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:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_241] 2020-07-29 12:49:27,596 WARNING [de.rapidanalytics.web.servlet.ExportedProcessServlet] (http-/0.0.0.0:8080-9) Error occurred during execution of service process for service with id Humid_Forecast: de.rapidanalytics.ejb.service.ServiceDataSourceException: Error executing process /home/admin/Humid_Forecast for service Humid_Forecast: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager: de.rapidanalytics.ejb.service.ServiceDataSourceException: Error executing process /home/admin/Humid_Forecast for service Humid_Forecast: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager at de.rapidanalytics.web.tools.ProcessServiceDataSource.createExampleSet(ProcessServiceDataSource.java:232) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:131) [classes:] at de.rapidanalytics.web.tools.ExportedProcessDelegate.runService(ExportedProcessDelegate.java:75) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.process(ExportedProcessServlet.java:228) [classes:] at de.rapidanalytics.web.servlet.ExportedProcessServlet.doGet(ExportedProcessServlet.java:107) [classes:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.IE10CompatibilityFilter.doFilter(IE10CompatibilityFilter.java:39) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at de.rapidanalytics.web.filter.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:56) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at de.rapidanalytics.web.security.jwt.JwtFilter.doFilter(JwtFilter.java:78) [classes:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87) [spring-security-saml2-core-1.0.3.RELEASE.jar:1.0.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.2.10.RELEASE.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] 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:246) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.3.Final.jar:7.5.3.Final] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_241] Caused by: java.lang.ClassCastException: com.rapidminer.operator.web.io.MultiThreadedCookieManager cannot be cast to com.rapidminer.operator.web.io.MultiThreadedCookieManager at com.rapidminer.operator.web.io.HttpURLConnectionProvider.getConnectionInstance(HttpURLConnectionProvider.java:71) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:132) at com.rapidminer.operator.web.io.GetWebpageOperator.read(GetWebpageOperator.java:47) at com.rapidminer.operator.io.AbstractReader.doWork(AbstractReader.java:271) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.SimpleOperatorChain.doWork(SimpleOperatorChain.java:99) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_241] at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.operator.Operator.execute(Operator.java:1022) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.executeRoot(Process.java:1464) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.execute(Process.java:1403) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1377) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1263) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1216) [rapidminer-studio-core-9.7.1.jar:9.7.1] at com.rapidminer.Process.run(Process.java:1211) [rapidminer-studio-core-9.7.1.jar:9.7.1] at de.rapidanalytics.web.tools.ProcessServiceDataSource.createExampleSet(ProcessServiceDataSource.java:214) [classes:] ... 66 more
0 -
This issue is really hard to track down as it's working on our end, so because of this we think that it could be setup related or that classes/extensions are loaded more than once and thus the casting is broken.Would it be possible to setup an instance on a separate machine, starting from scratch and just with the rmx_web and dependent extensions so we can rule out that the setup is causing this?5
-
I tried with the previous version of the rapidminer server and the problem solved with the GET PAGE operator.0