Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
scottbeal
Contributor
Contributor

How to correct "factory already defined" error

Once upgraded to 6.5.1, any existing job or new job (even in new project) that I create with more than one 'Redshift' component, I receive the "Error: Factory already defined".

 

I cannot find anything online and trial and error has yielded no results.

 

Thanks in advance for any ideas!

Scott

 

 

Here is a simple layout and error:

0683p000009LsrK.png

[statistics] connecting to socket on port 3928
[statistics] connected
Exception in thread "main" java.lang.Error: factory already defined
at java.net.URL.setURLStreamHandlerFactory(Unknown Source)
at org.talend.daikon.runtime.RuntimeUtil.registerMavenUrlHandler(RuntimeUtil.java:73)
at org.talend.daikon.runtime.RuntimeUtil.<clinit>(RuntimeUtil.java:55)
at org.talend.components.api.component.runtime.JarRuntimeInfo.<clinit>(JarRuntimeInfo.java:39)
at org.talend.components.salesforce.SalesforceDefinition.getCommonRuntimeInfo(SalesforceDefinition.java:83)
at org.talend.components.salesforce.tsalesforceinput.TSalesforceInputDefinition.getRuntimeInfo(TSalesforceInputDefinition.java:56)
at talend651.sf_direct_test_0_1.sf_direct_test.tSalesforceInput_1Process(sf_direct_test.java:3330)
at talend651.sf_direct_test_0_1.sf_direct_test.tRedshiftRow_1Process(sf_direct_test.java:462)
at talend651.sf_direct_test_0_1.sf_direct_test.runJobInTOS(sf_direct_test.java:6508)
at talend651.sf_direct_test_0_1.sf_direct_test.main(sf_direct_test.java:6357)
[statistics] disconnected

Labels (3)
5 Replies
Anonymous
Not applicable

Hello,

Does this issue repro when you use tRedShiftOutput component instead?

Best regards

Sabrina

scottbeal
Contributor
Contributor
Author

Thanks for the reply!

Yes it does, if input is from a Salesforce component.

It seems to be tied to using a Salesforce component and a Redshift component in the same job.

(it worked without issue in 6.3.1)

 

Using:

 tRedshiftInput --> tRedshiftOutput  = no error

 tSalesforceGetUpdated --> tRedshiftOutput = factory already defined error

0683p000009LsYZ.png

 tSalesforceInput --> tRedshiftOutput = factory already defined error

0683p000009Lt1o.png

 

DavidW
Contributor
Contributor

I'm having same issue, using Talend Community 6.5, any luck resolving?

Anonymous
Not applicable

Hello,

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

Best regards

Sabrina

Anonymous
Not applicable

Hello,

We have upgraded Amazon Redshift JDBC Driver since 7.0.1.

Could you please let us know if this issue still repro on v 7.0.1?

Best regards

Sabrina