Two Stars

tJIRAInput works with local connection but not remote connection

I have Talend 6.2.1 and the Java compiler setting in Talend Studio is java 1.8. The component tJIRAInput in a Talend job of the project on our SVN server with a remote connection to TAC throws the folloeing exception (I ran the job within Talend Studio):

 

exception in thread "main" java.lang.NoSuchFieldError: INSTANCE
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:144)
at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:955)
at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58)
at org.talend.components.jira.connection.Rest.checkConnection(Rest.java:96)
at org.talend.components.jira.runtime.JiraSourceOrSink.validate(JiraSourceOrSink.java:111)
at main.jira_test_0_1.jira_test.tJIRAInput_1Process(jira_test.java:549)

 

I created the same job at a local project with local connection, the component works. Both jars told me that they were built with java 8. However, there must be some difference between the job build with a local connection and the one with a remote connection. I did not find any document to explain this. Can someone help?

 

Jie

2 REPLIES
Ten Stars

Re: tJIRAInput works with local connection but not remote connection

did you check network rules?
ping from TAC to jira!

Francois Denis

Don't forget to tag when it's "solved"!

Two Stars

Re: tJIRAInput works with local connection but not remote connection

Thx for the reply. I can ping the jira machine from TAC. I think this is
not the problem. For both cases, I run the Talend job in my Studio
locally. The difference is: one Talend job was created in a project with
local connection while starting the Studio and the other was created in
a project stored at our SVN server located on TAC machine while starting
the Studio with a remote connection to TAC. Where the Studio builds the
job for the remote connection, locally or on the svn server (TAC)?