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

Pentaho BI Platform Tracking | Gretchen Moran | 7 years ago
  1. 0

    Repro: 1. Create a simple transformation, and a job to execute it. 2. Create a job that executes the transformation, setting the remote slave to a vanilla Carte (Carte.bat startup) - this can be found on the Advanced tab of the Execute Transformation step. 3. Schedule this job on DIS - when the transformation executes on the remote Carte server, you get the following exception: INFO 11-05 09:33:03,593 - RepositoriesMeta - Reading repositories XML file: C:\Documents and Settings\GMoran\.kettle\repositories.xml ERROR 11-05 09:33:06,031 - !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 $Proxy42.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.di.trans.TransExecutionConfiguration.<init>(TransExecutionConfiguration.java:653) at org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:57) at org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66) at org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85) at org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

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

    Repro: 1. Create a simple transformation, and a job to execute it. 2. Create a job that executes the transformation, setting the remote slave to a vanilla Carte (Carte.bat startup) - this can be found on the Advanced tab of the Execute Transformation step. 3. Schedule this job on DIS - when the transformation executes on the remote Carte server, you get the following exception: INFO 11-05 09:33:03,593 - RepositoriesMeta - Reading repositories XML file: C:\Documents and Settings\GMoran\.kettle\repositories.xml ERROR 11-05 09:33:06,031 - !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 $Proxy42.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.di.trans.TransExecutionConfiguration.<init>(TransExecutionConfiguration.java:653) at org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:57) at org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66) at org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85) at org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

    Pentaho BI Platform Tracking | 7 years ago | Gretchen Moran
    com.sun.xml.ws.client.ClientTransportException: 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
      $Proxy42.getUserRoleInfo
      1. $Proxy42.getUserRoleInfo(Unknown Source)
      1 frame
    4. org.pentaho.di
      BaseHttpServlet.doPost
      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)
      6. org.pentaho.di.trans.TransExecutionConfiguration.<init>(TransExecutionConfiguration.java:653)
      7. org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:57)
      8. org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66)
      9. org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85)
      10. org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:76)
      10 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    6. Jetty Server
      SocketConnector$Connection.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      4. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      5. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      6. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      8. org.mortbay.jetty.Server.handle(Server.java:326)
      9. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      10. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      11. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      12. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      13. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      14. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      14 frames
    7. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame