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

Pentaho BI Platform Tracking | Golda David | 7 years ago
  1. 0

    When you give a wrong user name or pass word in kettle repository login dialog you get an error dialog. when you dismiss it you need to click on the kettle window again for the login dialog to appear. it will be nice to see an obvious error message. Repro. 1.Launch pdi-ee-assembly. 2. Connect to an enterprise reository. 3.Login as Joe and give a wrong password. 4. You get a kettle Error dialog Repository login failed. Upon clicking the details you get . 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:207) at org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:209) 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:317) 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:78) at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:5819) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5959) 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 $Proxy33.getFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:106) at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:203) ... 29 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
  2. 0

    When you give a wrong user name or pass word in kettle repository login dialog you get an error dialog. when you dismiss it you need to click on the kettle window again for the login dialog to appear. it will be nice to see an obvious error message. Repro. 1.Launch pdi-ee-assembly. 2. Connect to an enterprise reository. 3.Login as Joe and give a wrong password. 4. You get a kettle Error dialog Repository login failed. Upon clicking the details you get . 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:207) at org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:209) 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:317) 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:78) at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:5819) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5959) 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 $Proxy33.getFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:106) at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:203) ... 29 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
  3. 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
  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
      $Proxy33.getFile
      1. $Proxy33.getFile(Unknown Source)
      1 frame
    4. com.pentaho.repository
      UnifiedRepositoryToWebServiceAdapter.getFile
      1. com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:106)
      1 frame
    5. org.pentaho.di
      RepositoriesController.login
      1. org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:203)
      2. org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:209)
      3. org.pentaho.di.ui.repository.controllers.RepositoriesController.login(RepositoriesController.java:132)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. org.pentaho.ui
      SwtButton$1.widgetSelected
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:317)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119)
      4. org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:31)
      5. org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:55)
      5 frames
    8. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    9. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      2. org.eclipse.jface.window.Window.open(Window.java:796)
      2 frames
    10. org.pentaho.ui
      SwtDialog.show
      1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300)
      2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256)
      2 frames
    11. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.repository.RepositoriesDialog.show(RepositoriesDialog.java:78)
      2. org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:5819)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5959)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:517)
      4 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    13. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
      1 frame