cancel
Showing results for 
Search instead for 
Did you mean: 

"Cannot reach host [hanatrial.ondemand.com]" when attempting to run on Cloud Platform from eclipse

Former Member
0 Kudos

I'm going through the beginner tutorial with deploying the weatherapp servlet. I've changed my Eclipse network settings to direct, native, manual, per other suggestions, reinstalled the Cloud Tools for Eclipse, installed every other SAP plugin thinking I might be missing something, etc. I've looked at this every possible way. Any suggestions would be greatly appreciated. I'm currently using Eclipse Neon with all the newest SAP plugin versions. I've also attached a screenshot of the error and screen.

former_member197689
Active Participant
0 Kudos

Very strange as the host name for the trial is : "hanatrial.ondemand.com "

Did you enter the URL manually or you picked from the drop down menu? I am referring to your screen shot in your attachment.
Seem like your credential is correct as you can connect to the DB.

Former Member
0 Kudos

Yes, I've tried manual entry and selecting the host from the dropdown. I'm pretty much at a loss at this point. I may try deploying with the neo CLI and see if I can do it that way. At least then I'll know if it's a problem with the Eclipse plugin.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member197689
Active Participant
0 Kudos

Hi Jordan,

Another option is to deploy the war file via the Cloud cockpit.

The last option is to start all over again by getting a new Eclipse.

Please follow our guide. https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e815ca4cbb5710148376c549fd7...

Thanks,

Jin

If this question is answered from your perspective, then please clicked on the “Accept” link to complete this question.

Former Member
0 Kudos

Yes, I can check for updates and download plugins. I can also get to hanatrial.ondemand.com from the built-in Eclipse web browser. The other interesting thing is that I can connect to the SAP database from inside Eclipse. The other interesting issue I'm having which may be related is when I try to start up a Java Web Tomcat 8 Server that's included with the plugin, I get this error:

15:49:32.205 [main] ERROR com.sap.conn.jco - [JCoAPI] Exception while setting system property to JCo property: jco.cpic_maxconv=202 com.sap.conn.jco.JCoRuntimeException: (131) JCO_ERROR_ILLEGAL_ARGUMENT: Value for property jco.cpic_maxconv causes 
LOCATION    CPIC (TCP/IP) on local host
ERROR       hostname 'Jordans-MacBook-Pro.local' unknown
TIME        Thu Jul  6 15:49:32 2017
RELEASE     721
COMPONENT   NI (network interface)
VERSION     40
RC          -2
MODULE      niuxi.c
LINE        1759
DETAIL      NiPGetHostByName: 'Jordans-MacBook-Pro.local' not found
SYSTEM CALL getaddrinfo
COUNTER     1

    at com.sap.conn.jco.rt.JCoRuntime.processPublicProperty(JCoRuntime.java:477)
    at com.sap.conn.jco.rt.DefaultJCoRuntime.processPublicProperty(DefaultJCoRuntime.java:237)
    at com.sap.conn.jco.rt.JCoRuntime.setSystemProperty(JCoRuntime.java:214)
    at com.sap.conn.jco.rt.DefaultJCoRuntime.readSystemProperties(DefaultJCoRuntime.java:123)
    at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:24)
    at com.sap.conn.jco.rt.neo.NeoRuntimeFactory.getRuntime(NeoRuntimeFactory.java:12)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sap.conn.jco.NeoInitializer.initJCoRuntime(NeoInitializer.java:39)
    at com.sap.core.connectivity.jco.kotyo.JCoKotyoActivator.start(JCoKotyoActivator.java:19)
    at com.sap.cloud.runtime.kotyo.lifecycle.InternalComponentLifecycleManager.startInternalComponents(InternalComponentLifecycleManager.java:41)
    at com.sap.cloud.runtime.kotyo.lifecycle.InternalComponentLifecycleManager.lifecycleEvent(InternalComponentLifecycleManager.java:31)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:395)
    at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:339)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:786)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: RfcException:
    message: 
LOCATION    CPIC (TCP/IP) on local host
ERROR       hostname 'Jordans-MacBook-Pro.local' unknown
TIME        Thu Jul  6 15:49:32 2017
RELEASE     721
COMPONENT   NI (network interface)
VERSION     40
RC          -2
MODULE      niuxi.c
LINE        1759
DETAIL      NiPGetHostByName: 'Jordans-MacBook-Pro.local' not found
SYSTEM CALL getaddrinfo
COUNTER     1

    return code: RFC_FAILURE (1)
    error group: 108
    key: RFC_ERROR_INTERNAL
    at com.sap.conn.rfc.driver.CpicDriver.setCpicMaxConv(CpicDriver.java:948)
    at com.sap.conn.rfc.engine.DefaultRfcRuntime.setCpicMaxConv(DefaultRfcRuntime.java:116)
    at com.sap.conn.jco.rt.JCoRuntime.processPublicProperty(JCoRuntime.java:461)
    ... 25 more


The server starts successfully, but I do get the above error. My firewall on my local machine is turned off and I don't see any proxies configured.

Thanks,
Jordan

former_member197689
Active Participant
0 Kudos

Hi Jordan,

Can your Eclipse get out to the internet? One good way to test is to go under the help tab and click on the "check for updates". I am thinking it is a proxy setting.

Thanks,

Jin