Highlighted
One Star

How to deploy a job to SpagoBI server?

Hello
I'm using SpagoBI 5.2 with TOS (Data Integration) 5.1.0 .
My job works fine when running in TOS and both exported .bat and .sh files are successfully tested as a standalone job (executing on Windows and Mac).
I have both SpagoBI server and TOS in one machine (Windows Server 2012 R2).
In TOS, SpagoBI server is configured as follows (window > preferences > Talend > Import/Export > SpagoBI Server):
Host: localhost or 127.0.0.1
Port: 8080
Login: biadmin
Password: biadmin
But.. after using Deploy on SpagoBI button (and getting no errors) nothing happens!! and I can't see my job anywhere in SpagoBI server. (There is no \ in this directory: resources\talend\RuntimeRepository\java\)
I tried to deploy it manually using copy and paste! but after manually place the exported job into this directory (resources\talend\RuntimeRepository\java\) and creating a document in SpagoBI server using this template:
<?xml version="1.0" encoding="UTF-8"?> 
<etl> 
    <job context="Default" jobName="JOB_NAME" language="java" project="PROJECT_NAME"/> 
</etl>
.. when I click on the created document, I get this error: "Error while executing job.".
The ETL process has been created in a subfolder named ETL (as configured in \webapps\SpagoBITalendEngine\WEB-INF\classes\engine-config.xml, I mean this tag: <spagobi_functionality_label>ETL</spagobi_functionality_label> and runtimeRepository root directory is configured this way: <runtimeRepository_root_dir>RuntimeRepository</runtimeRepository_root_dir>)
I really don't know what else to do! Having no Idea about this problem, Any help would be greatly appreciated.
1 REPLY
One Star

Re: How to deploy a job to SpagoBI server?

Hello
I'm using SpagoBI 5.2 with TOS (Data Integration) 5.1.0 .
My job works fine when running in TOS and both exported .bat and .sh files are successfully tested as a standalone job (executing on Windows and Mac).
I have both SpagoBI server and TOS in one machine (Windows Server 2012 R2).
In TOS, SpagoBI server is configured as follows (window > preferences > Talend > Import/Export > SpagoBI Server):
Host: localhost or 127.0.0.1
Port: 8080
Login: biadmin
Password: biadmin
But.. after using Deploy on SpagoBI button (and getting no errors) nothing happens!! and I can't see my job anywhere in SpagoBI server. (There is no \ in this directory: resources\talend\RuntimeRepository\java\)
I tried to deploy it manually using copy and paste! but after manually place the exported job into this directory (resources\talend\RuntimeRepository\java\) and creating a document in SpagoBI server using this template:
<?xml version="1.0" encoding="UTF-8"?> 
<etl> 
    <job context="Default" jobName="JOB_NAME" language="java" project="PROJECT_NAME"/> 
</etl>
.. when I click on the created document, I get this error: "Error while executing job.".
The ETL process has been created in a subfolder named ETL (as configured in \webapps\SpagoBITalendEngine\WEB-INF\classes\engine-config.xml, I mean this tag: <spagobi_functionality_label>ETL</spagobi_functionality_label> and runtimeRepository root directory is configured this way: <runtimeRepository_root_dir>RuntimeRepository</runtimeRepository_root_dir>)
I really don't know what else to do! Having no Idea about this problem, Any help would be greatly appreciated.

Use Talend Open Studio 5.6 or 6.2, configure SpagoBI server and try deploy your jobs under SpagoBI 5.1 or 5.2. Works for me.