cancel
Showing results for 
Search instead for 
Did you mean: 

SAP NW Gateway - Network Connection Error

rajkishor10
Participant
0 Kudos

Hi All,

I am facing an issue with the SAP Netweaver GW connectivity via Eclipse Juno 2.0

I have the SAP NW Gateway components and installed and configured on SAP Netweaver 7.0 Ehp 2 (CRM System).

When I create a new connection it errors with the message 'Network Connection Error' .

I have tried creating a connection through Eclipse to the SAP Demo Gateway server it's showing error "Network Connection Error".

This is the Log File:

Message:

Network connection error

Exception stack trace:

com.sap.nw.gateway.odata.client.exceptions.RestClientException

    at com.sap.nw.gateway.odata.client.connectivity.impl.RestClientBase.execute(RestClientBase.java:54)

    at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.testConnection(ConfigurationValidator.java:138)

    at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.testConnection(ConfigurationValidator.java:118)

    at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.validateConfiguration(ConfigurationValidator.java:84)

    at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.validateCreatedObject(ConfigurationValidator.java:37)

    at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.validateCreatedObject(ConfigurationValidator.java:1)

    at com.sap.gw.oc.eclipse.preferences.ui.AbstractGatewayConfigurationDialog.getDialogStatus(AbstractGatewayConfigurationDialog.java:546)

    at com.sap.gw.oc.eclipse.preferences.ui.AbstractGatewayConfigurationDialog.okPressed(AbstractGatewayConfigurationDialog.java:560)

    at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)

    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

    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.Widget.sendEvent(Widget.java:1053)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at com.sap.gw.oc.eclipse.preferences.PreferencesController.createNewConfiguration(PreferencesController.java:76)

    at com.sap.gw.oc.eclipse.preferences.GatewayPreferencePage$AddConfigSelectionListener.widgetSelected(GatewayPreferencePage.java:323)

    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.Widget.sendEvent(Widget.java:1053)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)

    at com.sap.odata.dt.framework.sap.dialogs.ServiceCatalogProvider$5.linkActivated(ServiceCatalogProvider.java:440)

    at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)

    at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)

    at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)

    at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)

    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:4169)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at com.sap.iw.gw.oc.eclipse.component.exploration.page.ExplorationPage$4.widgetSelected(ExplorationPage.java:427)

    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.Widget.sendEvent(Widget.java:1053)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117)

    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:4169)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)

    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    at org.eclipse.jface.window.Window.open(Window.java:801)

    at org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:180)

    at org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)

    at org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:535)

    at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:845)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

    at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:843)

    at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1477)

    at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1246)

    at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)

    at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:246)

    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:307)

    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:4169)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)

    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)

    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

    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:353)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)

    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:629)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Session Data:

eclipse.buildId=M20130204-1200

java.version=1.7.0_21

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN

Framework arguments:  -product org.eclipse.epp.package.jee.product

Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

and also attached screenshot...

Could someone help in case I am missing something here.

Thanks,

Raj kishor

Accepted Solutions (1)

Accepted Solutions (1)

rajkishor10
Participant
0 Kudos

Hi

i have allow all the port in firewall after that i am able to connect...

Thanks all,

Raj kishor

0 Kudos

Hi raj,

Can you share , how you did it.

Thanks ,

Ram

0 Kudos

Can you tell how i need to change all port on. and also whwn this application is moved to HCP whatr are all the things needed to change

Answers (2)

Answers (2)

prathik
Participant
0 Kudos

Hi Raj,

           Have a look at this thread http://scn.sap.com/message/14199872 

Hope it helps,

Best Regards,

Prathik

rajkishor10
Participant
0 Kudos

Hi Prathik,

Thanks for your suggestion...

i have change the  Windows firewall setting after that it's working ..

Former Member
0 Kudos

Hi Raj,

You mentioned  "tried creating a connection through Eclipse to the SAP Demo Gateway server", but the host/ip-address/http-port from your screendump didn't reflect this.

Also, did you activate NW Gateway in SPRO on your CRM system?

I hope this will help you.

Regards,

Andre

rajkishor10
Participant
0 Kudos

Hi Wahjudi

yes i have already activate the NW Gateway service and after change the firewall setting it's working fine..

Thank you wahjudi..

Former Member
0 Kudos

Don't forget to mark your post as the "correct/helpful/assumed answered" answer, so future viewers know what resolved the issue.