[resolved] Publishing a job

Six Stars

[resolved] Publishing a job

Hello,
I have configured Talend Data Integration v6.1.1 in a windows 7 machine, and when i tried to publish à job as a stand alone , i have this error:
java.lang.reflect.InvocationTargetException
at org.talend.designer.publish.core.actions.AbstractPublishJobAction.exportJobForPOJO(AbstractPublishJobAction.java:172)
at org.talend.designer.publish.core.actions.AbstractPublishJobAction.run(AbstractPublishJobAction.java:95)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1059)
at org.talend.designer.publish.di.wizards.PublishJobWizard.publishToRepository(PublishJobWizard.java:70)
at org.talend.designer.publish.di.wizards.AbstractPublishWizard.performFinish(AbstractPublishWizard.java:120)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.talend.designer.publish.di.actions.AbstractPublishAction.doRun(AbstractPublishAction.java:105)
at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:632)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3217)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:341)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(RemoteRepositoryFactory.java:751)
at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2024)
at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:641)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.talend.rcp.intro.Application.start(Application.java:197)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: .Problem with writing the request message, class : class java.security.DigestInputStream, ContentType : application/xml.
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:97)
at org.talend.designer.publish.core.actions.AbstractPublishJobAction.exportJobForPOJO(AbstractPublishJobAction.java:170)
... 56 more
Caused by: org.apache.cxf.interceptor.Fault: .Problem with writing the request message, class : class java.security.DigestInputStream, ContentType : application/xml.
at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.doWriteBody(WebClient.java:1165)
at org.apache.cxf.jaxrs.client.AbstractClient$AbstractBodyWriter.handleMessage(AbstractClient.java:1041)
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)
... 67 more
Caused by: javax.ws.rs.client.ClientException: .Problem with writing the request message, class : class java.security.DigestInputStream, ContentType : application/xml.
at org.apache.cxf.jaxrs.client.AbstractClient.reportMessageHandlerProblem(AbstractClient.java:761)
at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:448)
at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.doWriteBody(WebClient.java:1160)
... 71 more
Caused by: java.io.IOException: Error writing request body to server
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(Unknown Source)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:160)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:104)
at org.apache.cxf.helpers.IOUtils.copyAndCloseInput(IOUtils.java:110)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.copyInputToOutput(BinaryDataProvider.java:136)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:100)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1317)
at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:434)
... 72 more



Accepted Solutions
Six Stars

Re: [resolved] Publishing a job

Hi,
To solve this problem, just add "/" to the end of the "Nexus url" in TAC -> configuration -> Artifact Repository (the default value doesn't have it) :
http://yourIp:8081/nexus/
thats all Smiley Happy

All Replies
Moderator

Re: [resolved] Publishing a job

Hi,
Can you successfully execute your job in studio? Does this issue repro on all your jobs or a specific job?
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

Re: [resolved] Publishing a job

Hi Sabrina,
I execute the job without problems in the studio, i just create one simple job for test.
Thanks
Six Stars

Re: [resolved] Publishing a job

Hi,
To solve this problem, just add "/" to the end of the "Nexus url" in TAC -> configuration -> Artifact Repository (the default value doesn't have it) :
http://yourIp:8081/nexus/
thats all Smiley Happy
Highlighted
Moderator

Re: [resolved] Publishing a job

Hi,
Thanks for your feedback and sharing your solution with us.
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.
Seven Stars

Re: [resolved] Publishing a job

Hi
I don't get the solution. There is no "Nexus utl", but "release URL" and "Snapshot URL". I add to both.
http://myIP:8081/nexus/content/repositories/releases/
http://myIP:8081/nexus/content/repositories/snapshots/
I still get the same error.
Thanks,
Bin

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads