Getting error "Error: factory already defined"

Six Stars SD
Six Stars

Getting error "Error: factory already defined"

Hi: 

   I have a job that  first creates CSV file, taking records from database. And upon creation of the file, it calls a Talend component to call a API. When  I run this job, I get the error ""Error: factory already defined""

Then, I created the two seperate jobs  (  1) to create CSV files 2) to call the API with these CSV files) and from a master job I called these two jobs one after the other,  In that case also, I get the error " "Error: factory already defined".

 

If I run the job seperately, I am able to accomplish what I need to do.The first one creates multiple CSV files and second job picks up one at a time and calls the API.

Only when I run the steps one after another as part of same job OR as two jobs as part of master job, I get this error. What does this error mean and how can we resolve this.

Thanks,


Accepted Solutions
Moderator

Re: Getting error "Error: factory already defined"

Hello,

Posted the resolved topic link here:https://community.talend.com/t5/Design-and-Development/Getting-quot-Error-factory-already-defined-qu...

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: Getting error "Error: factory already defined"

Hello,

Could you please post your job design screenshots on forum which will be helpful for us to address your issue?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars SD
Six Stars

Re: Getting error "Error: factory already defined"

Attaching the screenshots.

Moderator

Re: Getting error "Error: factory already defined"

Hello,

From your screenshot, we see that you are using two trunjob in designer.

There is not enough information for us to address your issue. What's your work flow? Which component are you using in your child jobs?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars SD
Six Stars

Re: Getting error "Error: factory already defined"

I have put the screenshots of both the jobs independently also in the attachment (after from the main job).Please let me know if that is not enough.

Thanks,

Six Stars SD
Six Stars

Re: Getting error "Error: factory already defined"

Due to an issue with posting my Qs, two posts on same qs got posted.

I now have the resolution from the other posts and this issue is now resolved.

Moderator

Re: Getting error "Error: factory already defined"

Hello,

Posted the resolved topic link here:https://community.talend.com/t5/Design-and-Development/Getting-quot-Error-factory-already-defined-qu...

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.