Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend Administration Consoloe - Publish Artifact - Failure

Hi,
We would like to know if anyone encountered the error below when trying to publish a Job in TAC using a Nexus Repository?
Version: 6.0

Publish failed: org.talend.designer.runprocess.ProcessorException: 
javax.ws.rs.client.ClientException: javax.ws.rs.client.ClientException:
java.lang.IllegalStateException: IllegalStateException
invoking nexusaddress:8081/nexus/content/repositories/snapshots/Tes_Env/MySQL-MSSQL/myjob/0.6.0-SNAPSHOT/myjob-0.6.0-SNAPSHOT.zip:
Already connected
Labels (4)
7 Replies
Anonymous
Not applicable
Author

Hi,
Could you try to build standalone jobs? Is there any build error mentioned exception occuring? Can you publish your job successfully as an OSGI bundle?
Best regards
Sabrina
Anonymous
Not applicable
Author

Could you try to build standalone jobs? Yes, and it was able to sucessfully build
Is there any build error mentioned exception occuring? No errors
Can you publish your job successfully as an OSGI bundle? Publishing from the studio result an err, aused by: java.io.IOException: 433Unauthorized
    at org.talend.designer.publish.di.model.UploadableModel.upload(UploadableModel.java:116)
    at org.talend.designer.publish.di.model.UploadableModel.uploadContent(UploadableModel.java:75)
    at org.talend.designer.publish.di.model.UploadableFeaturesModel.upload(UploadableFeaturesModel.
Already supplied the correct credentials under preference->atrifact repository
Dezzsoke
Contributor III
Contributor III

We're facing the exact same error, however as an OSGi bundle I can publish to nexus.

Anonymous
Not applicable
Author

Hello @Dezzsoke,

Could you please post the full of error stack trace there?

Best regards

Sabrina

Dhana1
Contributor
Contributor

We have a similar issue, we are in 6.0 and trying to publish a change to Nexus repository and we are keep on getting error when publishing

 

2019-10-29 20:56:30 ERROR EsbPublishTaskHandler - org.talend.administrator.common.exception.SystemException: java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: javax.ws.rs.client.ClientException: javax.ws.rs.client.ClientException: java.lang.IllegalStateException: IllegalStateException invoking http://talendrelease.nhlbi.nih.gov:8081/nexus/content/repositories/releases/gov/nih/nhlbi/cams/Extra...: Already connected
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:163)
at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.talend.designer.runprocess.ProcessorException: javax.ws.rs.client.ClientException: javax.ws.rs.client.ClientException: java.lang.IllegalStateException: IllegalStateException invoking http://talendrelease.nhlbi.nih.gov:8081/nexus/content/repositories/releases/gov/nih/nhlbi/cams/Extra...: Already connected
at org.talend.commandline.util.JobHandler.publish(JobHandler.java:665)
at org.talend.commandline.command.extension.PublishJobExecuteCommand.execute(PublishJobExecuteCommand.java:104)
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:161)
... 7 more
Caused by: javax.ws.rs.client.ClientException: javax.ws.rs.client.ClientException: java.lang.IllegalStateException: IllegalStateException invoking http://talendrelease.nhlbi.nih.gov:8081/nexus/content/repositories/releases/gov/nih/nhlbi/cams/Extra...: Already connected
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1084)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1043)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:857)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:831)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:296)
at org.apache.cxf.jaxrs.client.WebClient.put(WebClient.java:314)
at org.talend.designer.publish.di.model.UploadableModel.upload(UploadableModel.java:114)
at org.talend.designer.publish.di.model.UploadableModel.uploadContent(UploadableModel.java:75)
at org.talend.designer.publish.di.model.UploadableModel.uploadContent(UploadableModel.java:69)
at org.talend.designer.publish.di.model.UploadableBundleModel.upload(UploadableBundleModel.java:18)
at org.talend.designer.publish.di.wizards.actions.WizardDeployHelper.deployJob(WizardDeployHelper.java:42)
at org.talend.designer.publish.di.wizards.actions.PublishJobWizardAction.process(PublishJobWizardAction.java:99)
at org.talend.designer.publish.core.actions.AbstractPublishJobAction.exportJobForPOJO(AbstractPublishJobAction.java:172)
at org.talend.designer.publish.core.actions.AbstractPublishJobAction.run(AbstractPublishJobAction.java:94)
at org.talend.commandline.util.JobHandler.publish(JobHandler.java:663)
... 9 more
Caused by: javax.ws.rs.client.ClientException: java.lang.IllegalStateException: IllegalStateException invoking http://talendrelease.nhlbi.nih.gov:8081/nexus/content/repositories/releases/gov/nih/nhlbi/cams/Extra...: Already connected
at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:574)
at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:556)
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1079)
... 23 more
Caused by: java.lang.IllegalStateException: IllegalStateException invoking http://talendrelease.nhlbi.nih.gov:8081/nexus/content/repositories/releases/gov/nih/nhlbi/cams/Extra...: Already connected
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1338)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1327)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:633)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1042)
... 22 more

Anonymous
Not applicable
Author

Hello,

We need more information to address your issue.

Are you getting this issue when publish a job from studio to Nexus? Is configuration correct in windows -> pref? Are you able to execute your job successfully in studio?

Best regards

Sabrina

Dhana1
Contributor
Contributor

Yes we are getting Null error when publishing from studio. When we enabled verbose we got this error

 

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.836 s
[INFO] Finished at: 2019-10-31T14:04:35-05:00
[INFO] Final Memory: 7M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project routines: Could not resolve dependencies for project org.talend.code.cams:routines:jar:6.0.1: The following artifacts could not be resolved: org.talend.libraries:antlr-runtime-3.5.2:jar:6.0.0-SNAPSHOT, org.talend.libraries:log4j-1.2.16:jar:6.0.0-SNAPSHOT, org.talend.libraries:talend_file_enhanced_20070724:jar:6.0.0-SNAPSHOT, org.talend.libraries:dom4j-1.6.1:jar:6.0.0-SNAPSHOT, org.talend.libraries:camel-core-2.15.3:jar:6.0.0-SNAPSHOT, org.talend.libraries0683p000009MA5A.pngrg.talend.dataquality.parser:jar:6.0.0-SNAPSHOT: Failure to find org.talend.libraries:antlr-runtime-3.5.2:jar:6.0.0-SNAPSHOT in file://C:/Users/Public/Talend-Studio-V6.0.1 Studio/configuration/maven_repository was cached in the local repository, resolution will not be reattempted until the update interval of provider-maven-repo has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :routines