org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: Web service call failed with code 500

Pentaho BI Platform Tracking | Mat Lowery | 6 years ago
  1. 0

    Repro: 1. Create a PRPT within Agile BI. 2. Publish it to server using suzy. Get error dialog (see attached pdi.png). It says, "Connection Error: Could not connect to the selected server." Problems: a. The error message is misleading. The connection was made perfectly. b. The error occurs on Browse, before creating the data connection. Even unchecking the connection under "Publish Associated Items" does not bypass the error. c. The denial seems to be happening on a read operation but the permission being checked seems like a write operation. Stack trace on client: org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: Web service call failed with code 500 at org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getResultDocument(ConnectionServiceClient.java:519) at org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getConnectionByName(ConnectionServiceClient.java:283) at org.pentaho.agilebi.spoon.publish.ModelServerPublish.getRemoteConnection(ModelServerPublish.java:135) at org.pentaho.agilebi.spoon.publish.ModelServerPublish.compareDataSourceWithRemoteConnection(ModelServerPublish.java:160) at org.pentaho.agilebi.spoon.publish.XulDialogPublish.checkDatasources(XulDialogPublish.java:446) at org.pentaho.agilebi.spoon.publish.XulDialogPublish.connect(XulDialogPublish.java:426) at org.pentaho.agilebi.spoon.publish.XulDialogPublish$4.run(XulDialogPublish.java:279) at java.lang.Thread.run(Thread.java:662) Stack trace on server: Caused by: org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0001 - Permission is denied at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.getConnectionByName(ConnectionServiceImpl.java:120) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceConcrete.getConnectionByName(ConnectionServiceConcrete.java:55) ... 86 more

    Pentaho BI Platform Tracking | 6 years ago | Mat Lowery
    org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: Web service call failed with code 500
  2. 0

    Repro: 1. Create a PRPT within Agile BI. 2. Publish it to server using suzy. Get error dialog (see attached pdi.png). It says, "Connection Error: Could not connect to the selected server." Problems: a. The error message is misleading. The connection was made perfectly. b. The error occurs on Browse, before creating the data connection. Even unchecking the connection under "Publish Associated Items" does not bypass the error. c. The denial seems to be happening on a read operation but the permission being checked seems like a write operation. Stack trace on client: org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: Web service call failed with code 500 at org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getResultDocument(ConnectionServiceClient.java:519) at org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getConnectionByName(ConnectionServiceClient.java:283) at org.pentaho.agilebi.spoon.publish.ModelServerPublish.getRemoteConnection(ModelServerPublish.java:135) at org.pentaho.agilebi.spoon.publish.ModelServerPublish.compareDataSourceWithRemoteConnection(ModelServerPublish.java:160) at org.pentaho.agilebi.spoon.publish.XulDialogPublish.checkDatasources(XulDialogPublish.java:446) at org.pentaho.agilebi.spoon.publish.XulDialogPublish.connect(XulDialogPublish.java:426) at org.pentaho.agilebi.spoon.publish.XulDialogPublish$4.run(XulDialogPublish.java:279) at java.lang.Thread.run(Thread.java:662) Stack trace on server: Caused by: org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0001 - Permission is denied at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.getConnectionByName(ConnectionServiceImpl.java:120) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceConcrete.getConnectionByName(ConnectionServiceConcrete.java:55) ... 86 more

    Pentaho BI Platform Tracking | 6 years ago | Mat Lowery
    org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: Web service call failed with code 500
  3. 0

    Publish a Model from Spoon. Then publish it again so it is overwriting both the mondrian catalogue and the database. The second publish throws stack traces, presumeably because the datasource already exists. The first stack trace is the result of the first attempt to write the information. The system detects that the datasource was already there and displays an "overwrite Confirmation" message box. Answer Yes and the second stack trace will appear. In spite of the stack traces it appears that the datasource is written correctly in BIS. ============================================== 14:48:52,758 ERROR [ConnectionServiceImpl] ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was SampleData caused by DatasourceMgmtService.ERROR_0001 - Error occurred during saving the datasource SampleData . Cause: exception while creating file with name "SampleData.kdb" Reference number: f4d2efbe-f845-40e9-a872-5b43eb8461f4 org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was SampleData caused by DatasourceMgmtService.ERROR_0001 - Error occur red during saving the datasource SampleData. Cause: exception while creating file with name "SampleData.kdb" Reference number: f4d2efbe-f845-40e9-a872-5b43eb8461f4 at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.addConnection(Connection ServiceImpl.java:164) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionService.addConnection(ConnectionServ ice.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._d ispatch(AbstractResourceMethodDispatchProvider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp atcher.java:75)

    Pentaho BI Platform Tracking | 3 years ago | Tim Kafalas
    org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was SampleData caused by DatasourceMgmtService.ERROR_0001 - Error occur red during saving the datasource SampleData. Cause: exception while creating file with name "SampleData.kdb" Reference number: f4d2efbe-f845-40e9-a872-5b43eb8461f4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Publish a Model from Spoon. Then publish it again so it is overwriting both the mondrian catalogue and the database. The second publish throws stack traces, presumeably because the datasource already exists. The first stack trace is the result of the first attempt to write the information. The system detects that the datasource was already there and displays an "overwrite Confirmation" message box. Answer Yes and the second stack trace will appear. In spite of the stack traces it appears that the datasource is written correctly in BIS. ============================================== 14:48:52,758 ERROR [ConnectionServiceImpl] ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was SampleData caused by DatasourceMgmtService.ERROR_0001 - Error occurred during saving the datasource SampleData . Cause: exception while creating file with name "SampleData.kdb" Reference number: f4d2efbe-f845-40e9-a872-5b43eb8461f4 org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was SampleData caused by DatasourceMgmtService.ERROR_0001 - Error occur red during saving the datasource SampleData. Cause: exception while creating file with name "SampleData.kdb" Reference number: f4d2efbe-f845-40e9-a872-5b43eb8461f4 at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.addConnection(Connection ServiceImpl.java:164) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionService.addConnection(ConnectionServ ice.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._d ispatch(AbstractResourceMethodDispatchProvider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp atcher.java:75)

    Pentaho BI Platform Tracking | 3 years ago | Tim Kafalas
    org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was SampleData caused by DatasourceMgmtService.ERROR_0001 - Error occur red during saving the datasource SampleData. Cause: exception while creating file with name "SampleData.kdb" Reference number: f4d2efbe-f845-40e9-a872-5b43eb8461f4
  6. 0

    Published auto-populated model and analyzer report yields the following exception: 13:02:39,830 ERROR [ConnectionServiceImpl] ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1} 13:02:39,830 ERROR [RPCMessageReceiver] ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1} java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133) at org.pentaho.platform.plugin.services.webservices.AxisServletHooks.handlePost(AxisServletHooks.java:180) at org.pentaho.platform.plugin.services.webservices.content.AxisServiceExecutor.createServiceContent(AxisServiceExecutor.java:109) at org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher.createContent(AxisWebServiceRequestDispatcher.java:95) at org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator.createContent(AbstractAxisServiceContentGenerator.java:72) at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:66) at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.pentaho.platform.web.http.context.a.invoke(SourceFile:220) at $Proxy10.createContent(Unknown Source) at org.pentaho.platform.web.servlet.GenericServlet.doGet(GenericServlet.java:261) at org.pentaho.platform.web.servlet.GenericServlet.doPost(GenericServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:103) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:169) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1} at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.getConnectionByName(ConnectionServiceImpl.java:130) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceConcrete.getConnectionByName(ConnectionServiceConcrete.java:55) ... 85 more 13:02:39,832 ERROR [AxisEngine] ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1} org.apache.axis2.AxisFault: ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1} at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133) at org.pentaho.platform.plugin.services.webservices.AxisServletHooks.handlePost(AxisServletHooks.java:180) at org.pentaho.platform.plugin.services.webservices.content.AxisServiceExecutor.createServiceContent(AxisServiceExecutor.java:109) at org.pentaho.platform.plugin.services.webservices.content.AxisWebServiceRequestDispatcher.createContent(AxisWebServiceRequestDispatcher.java:95) at org.pentaho.platform.plugin.services.webservices.content.AbstractAxisServiceContentGenerator.createContent(AbstractAxisServiceContentGenerator.java:72) at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:66) at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.pentaho.platform.web.http.context.a.invoke(SourceFile:220) at $Proxy10.createContent(Unknown Source) at org.pentaho.platform.web.servlet.GenericServlet.doGet(GenericServlet.java:261) at org.pentaho.platform.web.servlet.GenericServlet.doPost(GenericServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:103) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:169) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102) ... 79 more Caused by: org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException: ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1} at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.getConnectionByName(ConnectionServiceImpl.java:130) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceConcrete.getConnectionByName(ConnectionServiceConcrete.java:55) ... 85 more

    Pentaho BI Platform Tracking | 5 years ago | Mat Lowery
    org.apache.axis2.AxisFault: ConnectionServiceImpl.ERROR_0003 - Unable to get connection name : connection name was mysql-conn caused by {1}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.pentaho.platform.dataaccess.datasource.wizard.service.ConnectionServiceException

      Web service call failed with code 500

      at org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getResultDocument()
    2. org.pentaho.platform
      ConnectionServiceClient.getConnectionByName
      1. org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getResultDocument(ConnectionServiceClient.java:519)
      2. org.pentaho.platform.dataaccess.client.ConnectionServiceClient.getConnectionByName(ConnectionServiceClient.java:283)
      2 frames
    3. org.pentaho.agilebi
      XulDialogPublish$4.run
      1. org.pentaho.agilebi.spoon.publish.ModelServerPublish.getRemoteConnection(ModelServerPublish.java:135)
      2. org.pentaho.agilebi.spoon.publish.ModelServerPublish.compareDataSourceWithRemoteConnection(ModelServerPublish.java:160)
      3. org.pentaho.agilebi.spoon.publish.XulDialogPublish.checkDatasources(XulDialogPublish.java:446)
      4. org.pentaho.agilebi.spoon.publish.XulDialogPublish.connect(XulDialogPublish.java:426)
      5. org.pentaho.agilebi.spoon.publish.XulDialogPublish$4.run(XulDialogPublish.java:279)
      5 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame