Four Stars

Publish job fails: LocalLibraryManager resolve mvn:org.talend.libraries/... failed!

Hi,

since a couple of days we're not able to publish our jobs anymore. Every time we try to publish one of our jobs we get the following message:

java.lang.Exception: LocalLibraryManager resolve mvn:org.talend.libraries/hadoop-hdfs-2.7.3.2.6.0.3-8/6.4.0/jar failed !
        at org.talend.librariesmanager.model.service.LocalLibraryManager.retrieve(LocalLibraryManager.java:409)
        at org.talend.librariesmanager.model.service.LocalLibraryManager.retrieve(LocalLibraryManager.java:717)
        at org.talend.librariesmanager.model.service.LocalLibraryManager.retrieve(LocalLibraryManager.java:676)
        at org.talend.designer.runprocess.java.JavaProcessorUtilities.sortClasspath(JavaProcessorUtilities.java:358)
        at org.talend.designer.runprocess.java.JavaProcessorUtilities.computeLibrariesPath(JavaProcessorUtilities.java:303)
        at org.talend.designer.runprocess.DefaultRunProcessService.updateLibraries(DefaultRunProcessService.java:276)
        at org.talend.designer.runprocess.RunProcessService.updateLibraries(RunProcessService.java:195)
        at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:860)
        at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:719)
        at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1270)
        at org.talend.repository.ui.wizards.exportjob.handler.BuildJobHandler.generateJobFiles(BuildJobHandler.java:159)
        at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager$1.run(BuildJobManager.java:208)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
        at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:228)
        at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:164)
        at org.talend.designer.publish.core.actions.AbstractPublishJobAction.exportJobForPOJO(AbstractPublishJobAction.java:172)
        at org.talend.designer.publish.core.actions.AbstractPublishJobAction.run(AbstractPublishJobAction.java:98)
        at org.talend.commandline.util.JobHandler.publish(JobHandler.java:687)
        at org.talend.commandline.command.extension.PublishJobExecuteCommand.execute(PublishJobExecuteCommand.java:104)
        at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:199)
        at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
        at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:179)
        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:748)

We are behind a corporate proxy but already tried to set the necessary values for http/s-proxy/username/password.

Anyone has a clue what could possbily go wrong here?

Downloading all the dependencies locally works like a charm. Only the administration center / cmdline are not working anymore.

Best regards

 

1 REPLY
Moderator

Re: Publish job fails: LocalLibraryManager resolve mvn:org.talend.libraries/... failed!

Hello,

If you use the Studio and CommandLine on different machines, you need to retrieve the downloaded .jar files.
Have you already checked these steps mentioned in installation guide?TalendHelpCenter:Installing external modules

To install modules in CommandLine

If you use the Studio and CommandLine on different machines, you need to retrieve the downloaded .jar files and add them in CommandLine.

  1. Make sure CommandLine is not started, then download the external modules from the Modules view as explained in the previous procedure.

  2. Copy the downloaded .jar files from <StudioPath>/configuration/.m2 and paste them into <CommandLinePath>/configuration/.m2, where <StudioPath> and <CommandLinePath> are the installation directories of the Studio and CommandLine respectively.

    Since these folders are hidden, make sure your system is configured to show hidden files and folders.

    The <CommandLinePath>/configuration/.m2 folder is not created by default. It is created the first time you start the CommandLine application.

  3. Restart CommandLine.

    You can now use the component or Metadata connection dependent on these modules.

Let us know if it is OK with you.

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.