com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized

Pentaho BI Platform Tracking | Jake Cornelius | 7 years ago
  1. 0

    [PDI-3750] Scheduling broke in nightly from 4/22 - status code 401: Unauthorized - Pentaho BI Platform Tracking

    pentaho.com | 11 months ago
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
  2. 0

    Repro Path: Created a job that called a transformation Scheduled it to run every 10 minutes First time the schedule fired, the following error occurred: ERROR 22-04 08:30:00,609 - !UserRoleListDelegate.ERROR_0001_UNABLE_TO_INITIALIZE_USER_ROLE_LIST_WEBSVC! com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy107.getUserRoleInfo(Unknown Source) at org.pentaho.di.repository.pur.w.R(SourceFile:39) at org.pentaho.di.repository.pur.w.<init>(SourceFile:24) at org.pentaho.di.repository.pur.e.<init>(SourceFile:22) at org.pentaho.di.repository.pur.s.<init>(SourceFile:19) at org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:265) at org.pentaho.platform.plugin.action.kettle.PdiAction.a(SourceFile:655) at org.pentaho.platform.plugin.action.kettle.PdiAction.execute(SourceFile:198) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:129) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:178) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:139) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:97) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) 08:30:00,671 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "org.pentaho.platform.plugin.action.kettle.PdiAction" failed to run as a quartz job org.pentaho.di.core.exception.KettleException: org.pentaho.di.core.exception.KettleException: Unable to access getAllowedActions method on AuthorizationPolicyService The server sent HTTP status code 401: Unauthorized Unable to access getAllowedActions method on AuthorizationPolicyService The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:291) at org.pentaho.platform.plugin.action.kettle.PdiAction.a(SourceFile:655) at org.pentaho.platform.plugin.action.kettle.PdiAction.execute(SourceFile:198) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:129) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:178) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:139) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:97) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: org.pentaho.di.core.exception.KettleException: Unable to access getAllowedActions method on AuthorizationPolicyService The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.s.getAllowedActions(SourceFile:40) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:310) at org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:270) ... 8 more Caused by: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy108.getAllowedActions(Unknown Source) at org.pentaho.di.repository.pur.s.getAllowedActions(SourceFile:38) ... 10 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
  3. 0

    Repro Path: Created a job that called a transformation Scheduled it to run every 10 minutes First time the schedule fired, the following error occurred: ERROR 22-04 08:30:00,609 - !UserRoleListDelegate.ERROR_0001_UNABLE_TO_INITIALIZE_USER_ROLE_LIST_WEBSVC! com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy107.getUserRoleInfo(Unknown Source) at org.pentaho.di.repository.pur.w.R(SourceFile:39) at org.pentaho.di.repository.pur.w.<init>(SourceFile:24) at org.pentaho.di.repository.pur.e.<init>(SourceFile:22) at org.pentaho.di.repository.pur.s.<init>(SourceFile:19) at org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:265) at org.pentaho.platform.plugin.action.kettle.PdiAction.a(SourceFile:655) at org.pentaho.platform.plugin.action.kettle.PdiAction.execute(SourceFile:198) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:129) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:178) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:139) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:97) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) 08:30:00,671 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "org.pentaho.platform.plugin.action.kettle.PdiAction" failed to run as a quartz job org.pentaho.di.core.exception.KettleException: org.pentaho.di.core.exception.KettleException: Unable to access getAllowedActions method on AuthorizationPolicyService The server sent HTTP status code 401: Unauthorized Unable to access getAllowedActions method on AuthorizationPolicyService The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:291) at org.pentaho.platform.plugin.action.kettle.PdiAction.a(SourceFile:655) at org.pentaho.platform.plugin.action.kettle.PdiAction.execute(SourceFile:198) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:129) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:178) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:139) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:97) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: org.pentaho.di.core.exception.KettleException: Unable to access getAllowedActions method on AuthorizationPolicyService The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.s.getAllowedActions(SourceFile:40) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:310) at org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:270) ... 8 more Caused by: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy108.getAllowedActions(Unknown Source) at org.pentaho.di.repository.pur.s.getAllowedActions(SourceFile:38) ... 10 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Enterprise Registry Creation - Connection Error [Archive] - Pentaho Community Forums

    pentaho.com | 1 year ago
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized
  6. 0

    Create a JCR repository and then login to that repository using joe and password. you get a Repository Login failed error. (I had removed the .kettle folder before executing spoon.bat) org.pentaho.di.core.exception.KettleException: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:243) at org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:208) at org.pentaho.di.ui.repository.controllers.RepositoriesController.login(RepositoriesController.java:132) 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:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:31) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:55) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256) at org.pentaho.di.ui.repository.RepositoriesDialog.show(RepositoriesDialog.java:79) at org.pentaho.di.ui.spoon.Spoon.openRepository(Spoon.java:2983) 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:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1096) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5889) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:517) 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:585) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy38.getFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:111) at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:221) ... 44 more

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized

    14 unregistered visitors
    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. com.sun.xml.ws.client.ClientTransportException

      The server sent HTTP status code 401: Unauthorized

      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode()
    2. JAX-WS RI Runtime Bundle
      SEIStub.invoke
      1. com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222)
      2. com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179)
      3. com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
      4. com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105)
      5. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      6. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      7. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      8. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      9. com.sun.xml.ws.client.Stub.process(Stub.java:319)
      10. com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
      11. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      12. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      13. com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
      13 frames
    3. Unknown
      $Proxy107.getUserRoleInfo
      1. $Proxy107.getUserRoleInfo(Unknown Source)
      1 frame
    4. org.pentaho.di
      PurRepository.connect
      1. org.pentaho.di.repository.pur.w.R(SourceFile:39)
      2. org.pentaho.di.repository.pur.w.<init>(SourceFile:24)
      3. org.pentaho.di.repository.pur.e.<init>(SourceFile:22)
      4. org.pentaho.di.repository.pur.s.<init>(SourceFile:19)
      5. org.pentaho.di.repository.pur.PurRepository.connect(SourceFile:265)
      5 frames
    5. org.pentaho.platform
      ActionAdapterQuartzJob.execute
      1. org.pentaho.platform.plugin.action.kettle.PdiAction.a(SourceFile:655)
      2. org.pentaho.platform.plugin.action.kettle.PdiAction.execute(SourceFile:198)
      3. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:129)
      4. org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:178)
      5. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:139)
      6. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:97)
      6 frames
    6. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
      2 frames