Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: pdi-ce- Step „Advanced http“ does not work. In pdi-ce- it works.

  1. #1
    Join Date
    Sep 2006

    Question pdi-ce- Step „Advanced http“ does not work. In pdi-ce- it works.

    today I need your advice please.

    Until today we used: pdi-ce- We installed the plugin: „Advanced http“ in pdi-ce- --> Alls works fine.

    Since today we use: pdi-ce- We installed the plugin: „Advanced http“ in pdi-ce- --> Error Messages occurs no success

    I tried the following (using the OSs: Windows 10 and CentOS 7)

    Using Spoon with new 8.1.x.x.x version leads in the following error:
    Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory)

    Using Pan with new 8.1.x.x.x version leads in the following error:
    2018/11/15 14:49:42 - Transformation11 - Dispatching started for transformation [Transformation11]
    log4j:ERROR No output stream or file set for the appender named [pdi-execution-appender].
    java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory
    at com.bpa.pentaho.plugins.AdvancedHTTPMeta.getStep(
    at org.pentaho.di.trans.Trans.prepareExecution(
    at org.pentaho.di.trans.Trans.execute(
    at org.pentaho.di.pan.PanCommandExecutor.execute(
    at org.pentaho.di.pan.Pan.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.pentaho.commons.launcher.Launcher.main(
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.protocol.ProtocolSocketFactory
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClassFromParent(
    at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 10 more

    Do I have misconfigured the plugin?

    Thank you for helping me!


  2. #2
    Join Date
    Sep 2014


    java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory, means you need the jar containing this class, and put it into the lib directory before starting spoon.

    So you need to download the right version of apache commons httpclient and paste it into lib directory of spoon

  3. #3
    Join Date
    Sep 2006


    Hi epileftico,

    the problem was fixed: waht I did: copy the current library "commons-httpclient-3.1.jar" from pdi-7.1 to the lib folder and all works fine.
    Thank you very much for the quick help!

    But let me ask one question please. When I build e.g. pdi-8.2 from master branch, the same issue occurs. So no dependency to this library is configured in the maven project.
    Do you have an idea where I have to reference (in pom.xml) the commons-httpclient-3.1.jar artefact. This is a maven Issue I think, but do you understand my motivation?

    Best regards to you


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.