Customer Portal

Custom Java Class from jar count load in Graph Execution

Comments 5

  • Avatar
    jiri
    0
    Comment actions Permalink
    Hi DM,

    Try to add the jar file on the classpath explicitly (in CloverETL Designer right click / Project / Java Build Path / Libraries) and see how that works.
  • Avatar
    cloverdm
    0
    Comment actions Permalink
    Thanks Jiri,

    It may work providing that you run it on Designer, I will confim it soon ,
    But how the .class files will be in classPath when a graph is exected from shell script for example in Production environment ?

    Thanks
    DM
  • Avatar
    jiri
    0
    Comment actions Permalink
    The class file info is added to .classpath file and it is used by the CloverETL Server then. But this is used only for CloverETL jobs (graphs).

    If you are running a shell script as you say, there is no way how CloverETL can know what classpath you want to use (and that it contains some java execution at all) so it is up to you to provide the classpath properly in the script itself (ie -cp switch).

    I hope it helps.
  • Avatar
    kaduswapnali456
    0
    Comment actions Permalink

    Hi DM,

    Try to add the jar file on the classpath explicitly (in CloverETL Designer right click / Project / Java Build Path / Libraries) and see how that works.

    "Jiri"


    I agree with you.
    Thank you.
  • Avatar
    kaduswapnali456
    0
    Comment actions Permalink
    Hello,
    I agree with you Jiri.
    Thank you.

Please sign in to leave a comment.