0 votes
1 view

In this question and in the documentation, i have found precious informations to setup a Talend Job inside Knowage CE.

  1. I have first add the unziped job (from Talend export a job) under [TOMCAT]/resources/DEFAULT_TENANT/talend/RuntimeRepository/java/MYTALENDPROJECT
  2. I have then created a Talend jobs functionality (with admin rights) in the Funtionalities management section
  3. I was also able to create a new ETL "generic" document in the Document browser

But... when i try to run this document/job it did not work with this error in the logs:

22 Aug 2018 13:58:50,505 ERROR it.eng.spagobi.utilities.engines.AbstractEngineStartServlet.handleException:76 - Service execution failed
it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException: Impossible to decode template's content [talend.xml]

I think than i am probably wrong with my Template format, here is my talend.xml template file :

<?xml version="1.0" encoding="UTF-8"?>

<ETL version='2.0.0'>

    <JOB>

        project="MYTALENDPROJECT"

        jobName="job_Verification_020_getAttributionBureau"

        version="0.1"

        language="java"

        context="Default"

    <JOB/>

</ETL>

But i do not see obvious mistakes.

By the way, why defining a data source is mandatory when creating the job, assuming than it's aready a database setup inside my Talend Default context ?

And finaly, the end of the ETL documentation is not very clear to me. Particulary the analytical driver stuff. I feel than i miss some steep here.


PS: A HOWTO tutorial video would be marvelous for this king of stuff.

Environment Knowage 6.2, Tomcat 8, Debian 9
asked Aug 22, 2018 in Admin and Developer Functionalities by miniwark (2,290 points) | 1 view

1 Answer

+1 vote
Best answer
Hi,

   I think that your template has a little error on the end JOB tag...it should be </JOB> instead of <JOB/> :)

Anyway, at the moment there is the on line documentation at https://knowage-suite.readthedocs.io/en/latest/administrator-guide/operational-engines.html#knowagetalendengine you can look that for now (if you haven't already done so)...

Regards.
answered Aug 23, 2018 by giachino1175 (4,400 points)
selected Aug 23, 2018 by miniwark

Thanks giachino1175, this was indeed the right track. I was misleaded by the example available at my server at http://localhost:8080/knowagetalendengine/html/template/JOB.html. The example at this place is incorrect.

Replacing the template by the following have solve the error :

<?xml version="1.0" encoding="UTF-8"?>

<ETL version='2.0.0'>

    <JOB

        project="MYTALENDPROJECT"

        jobName="job_Name"

        version="0.1"

        language="java"

        context="Default"

    />

</ETL>

I already know for the documentation page than you have pointed to me, but this page still leave me a bit lost, particulary about the analytical driver stuff.

We'll correct the JOB.html page..thank you for the segnalation.

About analytical drivers I think they are useful just if the job needs get dynamic values for the context variables, it should works with constant values too (definied in Talend).

Instead, Knowage needs the refercence to own datasource like other engines (like knowageBirtReportEngine too).
1,553 questions
1,017 answers
2,037 comments
2,567 users