Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue with Publishing job into Artifact Nexus Repository from Studio

Hi there,
I am facing below error while publishing the esb job into Artifact Nexus repository. I am using Talend Data Services enterprise edition. I have checked the port used by the service and there is not firewall blocking the port. Will appreciate, if somebody help to resolve this.
java.lang.reflect.InvocationTargetException
at org.talend.designer.publish.wizards.actions.PublishJobWizardAction.run(PublishJobWizardAction.java:85)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
at org.talend.designer.publish.wizards.PublishJobWizard.publishToRepository(PublishJobWizard.java:50)
at org.talend.designer.publish.wizards.AbstractPublishWizard.performFinish(AbstractPublishWizard.java:125)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.talend.designer.publish.actions.PublishJobAction.doRun(PublishJobAction.java:92)
at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:593)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3046)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:395)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(RemoteRepositoryFactory.java:639)
at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1916)
at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:602)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.talend.rcp.intro.Application.start(Application.java:127)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8084 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
at org.talend.designer.publish.core.models.UploadableModel.uploadContent(UploadableModel.java:98)
at org.talend.designer.publish.core.models.UploadableModel.uploadContent(UploadableModel.java:85)
at org.talend.designer.publish.core.models.BundleModel.uploadBundle(BundleModel.java:71)
at org.talend.designer.publish.core.models.BundleModel.upload(BundleModel.java:40)
at org.talend.designer.publish.core.UploadAction.deployBundle(UploadAction.java:99)
at org.talend.designer.publish.core.UploadAction.deployJob(UploadAction.java:73)
at org.talend.designer.publish.core.UploadAction.deployJob(UploadAction.java:30)
at org.talend.designer.publish.wizards.WizardDeployHelper.deployJob(WizardDeployHelper.java:115)
at org.talend.designer.publish.wizards.actions.PublishJobWizardAction.run(PublishJobWizardAction.java:81)
... 53 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
... 68 more

Labels (4)
11 Replies
Anonymous
Not applicable
Author

Hi,
I am facing below error while publishing the esb job into Artifact Nexus repository. I am using Talend Data Services enterprise edition. I have checked the port used by the service and there is not firewall blocking the port

The link http://localhost:8084 is OK with you when you access it directly?
Make sure
1: start-nexus.bat
2: open studio,windows-->preference-->talend-->artifact repository,add the nexus url to artifact repository.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello Sabrina,
Yes the link is showing up in the browser and in karaf.
1.) Nexus repository is running. I can login into the repository. Where can I find start-nexus.bat?
2.) Nexus Release and Snapshot links are in plan in the preferences. As the publishing was working earlier and stopped working recently. Do we have any other way to deploy the code into TAC, if this doesn't work?
Thanks
Anonymous
Not applicable
Author

Hi,
1.) Nexus repository is running. I can login into the repository. Where can I find start-nexus.bat?

It unnecessary to run start-nexus.bat which is located in < nexus installation path>\bin\jsw\windows-x86-64(first run install-nexus.bat,then run start-nexus.bat), if the Nexus repository is running.
2.) Nexus Release and Snapshot links are in plan in the preferences. As the publishing was working earlier and stopped working recently. Do we have any other way to deploy the code into TAC, if this doesn't work?

It is working before? Is there a good response when you restart nexus studio?
You can use Talend-Artifact-Repository to deploy, see the document TalendHelpCenter:Talend+Artifact+Repository.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello Sabrina,
Now, the error has gone but nothing is coming in the Nexus repository. I have included the screenshot of Nexusrepository and Studio Artifact config page for your further reference in my main post. Will it help to restart the Nexus repository ?
Anonymous
Not applicable
Author

Hi,
Now, the error has gone but nothing is coming in the Nexus repository. I have included the screenshot of Nexus repository and Studio Artifact config page for your further reference in my main post. Will it help to restart the Nexus repository ?

That will be great to post your screenshot of Nexusrepository and Studio Artifact config page into forum. So far, can't disgose the issue. I suspect something wrong with Nexus repository when it is running. You can have a try to restart when this issue repro.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello Sabrina,
I restarted the Nexus repository and the issues is resolved now, but now the TAC is giving the below error when I am trying to deploy the job. Please assist, I have uploaded the TAC screenshot in my first post.
I am trying to deploy the ESB service job on TAC, but getting the below error. The job is running fine on studio and karaf but TAC is giving issue when I am trying to deploy. Will appreciate, if somebody can help in finding the root cause of this issue.
Error: deployment of feature 'ProcessWO-feature' might have failed: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException -- For more information see your log file
Operation failed: Open quote is expected for attribute "{1}" associated with an element type "xmlns:soapenv". -- For more information see your log file
Save failed: org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 65; Open quote is expected for attribute "{1}" associated with an element type "xmlns:soapenv". -- For more information see your log file
Anonymous
Not applicable
Author

Hi,
Could you please give us the TAC error log info which is located in <SERVERSINSTALLATIONPATH>\apache-tomcat-6.0.35\logs.
Best regards
Sabrina
Anonymous
Not applicable
Author

1
Anonymous
Not applicable
Author

Hello Sabrina,
I found my logs at this path \Talend\5.2.2\tac\apache-tomcat\logs, but this seems not having any TAC related logs as these logs doesn't have any error messages that I raised above and also that's showing on TAC. The only log with today's timestamp I found is "localhost.2013-09-13" and I see catalina log file for yesterday with the name "catalina.2013-09-11". I am including the screenshot of TAC error message which is showing on clientlog tab on TAC, do you know where does TAC source this log from?
localhost.2013-09-13
=============
Sep 13, 2013 10:51:25 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet ServiceActivityService threw exception
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69) at java.net.AbstractPlain

To see the whole post, download it here
OriginalPost.pdf