<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when connecting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798860#M1779511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;restarting Eclipse implies a reset of the communication layers below (JCo &amp;amp; NI), hence the hostname cache is refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there is currently no suitable API available to trigger the refresh programmatically from a running ABAP-in-Eclipse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the time being the only solution is to set environment variable SAP_NI_CACHE_DISABLED=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 09:50:58 GMT</pubDate>
    <dc:creator>former_member186216</dc:creator>
    <dc:date>2013-10-30T09:50:58Z</dc:date>
    <item>
      <title>Error when connecting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798857#M1779508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you open Eclipse with an existing project w/o a network connection to the corresponding SAP-system you'll get an errormessage stating that it is not possible to logon.&amp;nbsp; This is just as it should be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/296117" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your networkconnection comes to life ( like establishing a VPN tunnel ) and you retry to logon via Eclipse you'll get the same errormessage even though the connection should be possible.&amp;nbsp; Crosschecking via a "real" SAPGUI shows that the corresponding system is alive and kicking.&lt;/P&gt;&lt;P&gt;Hitting Cancel and retrying to logon will not help.&amp;nbsp; Nor will opening a new window in Eclipse.&lt;/P&gt;&lt;P&gt;The only solution so far is by ending eclipse and restarting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 22:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798857#M1779508</guid>
      <dc:creator>stefan_schmcker</dc:creator>
      <dc:date>2013-10-10T22:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when connecting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798858#M1779509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the root cause of this problem is not located in ABAP-in-Eclipse, but in a deeper basis component: the SAP network layer (NI). There, a caching mechanism for host and service names prevents the immediate refresh after the network connection comes to life.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you have the opportunity to disable the NI cache, see SAP note 1425520. All you have to do in Windows is to set an environment variable: SAP_NI_CACHE_DISABLED=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will resolve the error, but it might have some theoretical drawback with regard to performance of the network layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 16:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798858#M1779509</guid>
      <dc:creator>former_member186216</dc:creator>
      <dc:date>2013-10-28T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error when connecting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798859#M1779510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is totally out of my area of experience.&amp;nbsp; Thank you for proposing the workaround ( that I will not implement since it would mean to do this with every computer I install aie in ).&lt;/P&gt;&lt;P&gt;One question remains though.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You state that this is no error of ABAP-in-Eclipse.&amp;nbsp; But since restarting Eclipse solved my problem - wouldn't it be possible to refresh the cache before trying to logon via the logonscreen I posted above?&amp;nbsp; Or is it that I just got lucky and the times it took Eclipse to restart was when the cache got refreshed somehow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 09:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798859#M1779510</guid>
      <dc:creator>stefan_schmcker</dc:creator>
      <dc:date>2013-10-29T09:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when connecting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798860#M1779511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;restarting Eclipse implies a reset of the communication layers below (JCo &amp;amp; NI), hence the hostname cache is refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there is currently no suitable API available to trigger the refresh programmatically from a running ABAP-in-Eclipse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the time being the only solution is to set environment variable SAP_NI_CACHE_DISABLED=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-connecting/m-p/9798860#M1779511</guid>
      <dc:creator>former_member186216</dc:creator>
      <dc:date>2013-10-30T09:50:58Z</dc:date>
    </item>
  </channel>
</rss>

