Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-4010

Error posting transformation on remote carte server

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 4.0.0 GA
    • Fix Version/s: 4.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      enterprise repository, windows 7, java 1.5
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Browser:
      Mozilla Firefox 3.5
    • Operating System/s:
      Windows 7

      Description

      Trying to validate PDI-3895 from steps found in spira testcase TC479, got an error while trying to execute job with a simple transformation on a remote carte server.

      stack trace...

      org.pentaho.di.core.exception.KettleException:
      org.pentaho.di.core.exception.KettleException:
      There was an error posting the transformation on the remote server:
      org.pentaho.di.core.exception.KettleException:
      Unable to connect to the repository with name 'MyTest1'

      java.lang.AssertionError: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
      java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

      org.pentaho.di.trans.TransExecutionConfiguration.<init>(TransExecutionConfiguration.java:656)
      org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:57)
      org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66)
      org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85)
      org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:88)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      org.mortbay.jetty.Server.handle(Server.java:326)
      org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      There was an error posting the transformation on the remote server:
      org.pentaho.di.core.exception.KettleException:
      Unable to connect to the repository with name 'MyTest1'

      java.lang.AssertionError: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
      java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

      org.pentaho.di.trans.TransExecutionConfiguration.<init>(TransExecutionConfiguration.java:656)
      org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:57)
      org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66)
      org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85)
      org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:88)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      org.mortbay.jetty.Server.handle(Server.java:326)
      org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:3017)
      at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:919)
      at org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:7135)
      at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1147)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6589)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:544)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
      Caused by: org.pentaho.di.core.exception.KettleException:
      There was an error posting the transformation on the remote server:
      org.pentaho.di.core.exception.KettleException:
      Unable to connect to the repository with name 'MyTest1'

      java.lang.AssertionError: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
      java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

      org.pentaho.di.trans.TransExecutionConfiguration.<init>(TransExecutionConfiguration.java:656)
      org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:57)
      org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66)
      org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85)
      org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:88)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      org.mortbay.jetty.Server.handle(Server.java:326)
      org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:2989)
      ... 14 more

        Issue Links

          Activity

          Hide
          mlowery Mat Lowery (Inactive) added a comment -

          Files to change:
          Carte.bat
          Encr.bat
          Kitchen.bat
          Pan.bat

          Show
          mlowery Mat Lowery (Inactive) added a comment - Files to change: Carte.bat Encr.bat Kitchen.bat Pan.bat
          Hide
          mlowery Mat Lowery (Inactive) added a comment -

          How to validate:

          On a Windows machine with JAVA_HOME containing a space in the path, execute
          Pan.bat -rep ent -user joe -pass password -dir public -trans t1

          where ent is an enterprise repository. (Create t1 in /public of course.)

          Show
          mlowery Mat Lowery (Inactive) added a comment - How to validate: On a Windows machine with JAVA_HOME containing a space in the path, execute Pan.bat -rep ent -user joe -pass password -dir public -trans t1 where ent is an enterprise repository. (Create t1 in /public of course.)
          Hide
          mlowery Mat Lowery (Inactive) added a comment -

          This affects 32-bit or 64-bit Windows. Not sure if the problem is exclusive to Windows 7; I doubt it.

          Attached workaround.zip. This zip has only been tested to patch 4.1.1. To install:

          1. Backup Carte.bat, Encr.bat, Kitchen.bat, and Pan.bat in data-integration (aka Spoon or Kettle) folder.
          2. Unzip attached zip.
          3. Run Carte or Pan or Kitchen.

          Show
          mlowery Mat Lowery (Inactive) added a comment - This affects 32-bit or 64-bit Windows. Not sure if the problem is exclusive to Windows 7; I doubt it. Attached workaround.zip. This zip has only been tested to patch 4.1.1. To install: 1. Backup Carte.bat, Encr.bat, Kitchen.bat, and Pan.bat in data-integration (aka Spoon or Kettle) folder. 2. Unzip attached zip. 3. Run Carte or Pan or Kitchen.
          Hide
          gdavid Golda Thomas added a comment -

          Tested this issue using the bat files from the PDI 4.1.2 GA build and even if the JAVA HOME folder has spaces in between.
          The transformation runs successfully.

          Show
          gdavid Golda Thomas added a comment - Tested this issue using the bat files from the PDI 4.1.2 GA build and even if the JAVA HOME folder has spaces in between. The transformation runs successfully.
          Hide
          gdavid Golda Thomas added a comment -

          Validated using the PDI 4.1.2 GA build from Jan-20-2011

          It works fine.

          Show
          gdavid Golda Thomas added a comment - Validated using the PDI 4.1.2 GA build from Jan-20-2011 It works fine.

            People

            • Assignee:
              gdavid Golda Thomas
              Reporter:
              rfellows Rob Fellows
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: