Due to the vacation season it might have slipped your attention that there was a new release of the SAP HANA Cloud Connector at the end of 2014 which provides some cool and useful new features. I like to shortly recap them in this blog post and also point you to two new documents we have published along with 2.5.0 release of the Cloud Connector.

The most important new feature in the Cloud Connector is that you can now establish service channels to certain services in the cloud in order to access those services from outside of HCP. Right now, we support  service channels to SAP HANA databases running in your cloud account as only service channel type, but additional service channel types might follow in the future. With a service channel to a HANA database, you are able to make JDBC or ODBC calls from on-premise to HANA in the cloud. You might ask what the difference is to the already existing database tunnel of HCP. Well, the database tunnel via neo command line tool was never meant for productive scenarios which require the tunnel connection to run reliably all the time. The database tunnel connection via command line expires after 24 hours and does not support an auto-reconnect behavior, nor does it provide other features like audit logging or high availability. While this is fully sufficient for development scenarios, it is a blocker for productive scenarios. With the integration of the database tunnel into the Cloud Connector, the tunnel connection now is kept reliably open and can be used for scenarios like connecting BI tools or replication tools against the HANA database in the cloud. You find more details on the service channels to a HANA database here.

Another new feature of the Cloud Connector is that you can now use it to connect your corporate LDAP server securely as an user store for your applications running on HCP. Java applications running on HCP can use the on-premise LDAP to check credentials, search for users, and retrieve their details. In addition to the user information, the cloud application may request information about the groups of which a specific user is a member (the documentation how to use this feature is coming with the next HCP release in a few days).

Apart of this, the new Cloud Connector version supports Kerberos as additional authentication type for principal propagation. This is useful if you have systems in your corporate network which are protected by SPNego authentication and you like to call them from a cloud application while preserving the identity of the cloud user. More details how to use this can be found here.

So far to the new features in Cloud Connector version 2.5.0… Let’s move on to two new documents that we have published about it in SCN:

  • A solution brief of the Cloud Connector can be found here. It describes the features of the Cloud Connector, relevant scenarios and outlines the benefits of the Cloud Connector e.g. when comparing it to other approaches like using a reverse proxy.
  • A security whitepaper about the Cloud Connector can be found here. It should answer your questions about security when using the Cloud Connector.

We hope these documents are helpful for you and are looking for your feedback!

All the best,

Timo

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Iris ST

    Hi Timo,

    Thanks for your summary. I noticed the following point. It seems it is the feature I am looking for. 🙂 But, I have a question. How about mobile applications and HTML5 applications? If the app is deployed in HCP via HCP Mobile Services, could the app use the on-premise LDAP to check credentials, search for users and retrieve their details including the group?

    Another new feature of the Cloud Connector is that you can now use it to connect your corporate LDAP server securely as an user store for your applications running on HCP. Java applications running on HCP can use the on-premise LDAP to check credentials, search for users, and retrieve their details. In addition to the user information, the cloud application may request information about the groups of which a specific user is a member (the documentation how to use this feature is coming with the next HCP release in a few days).”

    Thanks for your answers in advance.

    Best Regards,

    Iris

    (0) 
    1. Timo Lakner Post author

      Hi Iris,

      I have not tested yet the combination of HCP Mobile Services and the on-premise LDAP feature, but in general the on-premise LDAP service can be called via the Cloud Connector like an on-premise system, thus I think it should work w/o problems also with HCP Mobile Services.

      Best regards, Timo

      (0) 
      1. Iris ST

        Hi Timo,


        I have created a hybrid app in HCPms and am going to configure my app to use on-premise user provider and consume users from our LDAP via CC(Cloud Connector) with the command below. But I met some issues. Would you please help have a check? Thanks a lot.

        ./neo.sh deploy –host hcpms-P1940xxxxxxtrial.hanatrial.ondemand.com –account p1940xxxxxxtrial –application LogonDemo –source /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo –user xxxxxxxxx@gmail.com –vm-arguments “-Dcom.sap.cloud.security.um.user_provider_name=onpremise -Dcom.sap.cloud.security.um.destination_name=onpremiseumconnector”

        But, I got some ERROR information below from console deploy log. 

        2015-02-06 11:03:53,601 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleLogger:  ERROR: Deployment failed; Cannot reach host [https://hcpms-p1940887854trial.hanatrial.ondemand.com]. Check host name for typing errors and make sure your proxy and network settings are correct.

        I have checked my network settings and it is correct and then I checked session deploy log. It showed

        2015-02-06 11:03:34,443 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com], timeout = 0

        2015-02-06 11:03:34,444 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20

        2015-02-06 11:03:34,444 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:34,444 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:34,444 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]]

        2015-02-06 11:03:34,545 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to hcpms-p1940887854trial.hanatrial.ondemand.com/155.56.219.22:443

        2015-02-06 11:03:36,859 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: CookieSpec selected: compatibility

        2015-02-06 11:03:36,863 DEBUG [main] org.apache.http.client.protocol.RequestAuthCache: Auth cache not set in the context

        2015-02-06 11:03:36,864 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Attempt 1 to execute request

        2015-02-06 11:03:36,864 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Sending request: GET / HTTP/1.1

        2015-02-06 11:03:36,864 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> GET / HTTP/1.1

        2015-02-06 11:03:36,865 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> Host: hcpms-p1940887854trial.hanatrial.ondemand.com

        2015-02-06 11:03:36,865 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> Connection: Keep-Alive

        2015-02-06 11:03:36,865 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

        2015-02-06 11:03:37,324 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Receiving response: HTTP/1.1 401 Unauthorized

        2015-02-06 11:03:37,324 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << HTTP/1.1 401 Unauthorized

        2015-02-06 11:03:37,324 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Set-Cookie: X-SMP-SESSID=3A9FBE9E74620D1268DEE42E03E66557763579EE90BD97EB366B446D0312DA79; Path=/; Secure; HttpOnly

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << X-message-code: PWD_WRONG

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << WWW-Authenticate: Basic realm=”SAP HANA Cloud Platform”

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Transfer-Encoding: chunked

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Date: Fri, 06 Feb 2015 00:03:37 GMT

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Server: SAP

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Set-Cookie: BIGipServer~jpaas_folder~hcpms.hanatrial.ondemand.com=!fQbLU9KqS1P+mkYzj25XwHUlf1efDvwt46CGk1dgLPlHda2GZYSA3ybmbeM+9D2RBd1XXHxBFc8/2WE=; path=/; httponly; secure

        2015-02-06 11:03:37,325 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Vary: Accept-Encoding

        2015-02-06 11:03:37,332 DEBUG [main] org.apache.http.client.protocol.ResponseProcessCookies: Cookie accepted: “[version: 0][name: X-SMP-SESSID][value: 3A9FBE9E74620D1268DEE42E03E66557763579EE90BD97EB366B446D0312DA79][domain: hcpms-p1940887854trial.hanatrial.ondemand.com][path: /][expiry: null]”.

        2015-02-06 11:03:37,332 DEBUG [main] org.apache.http.client.protocol.ResponseProcessCookies: Cookie accepted: “[version: 0][name: BIGipServer~jpaas_folder~hcpms.hanatrial.ondemand.com][value: !fQbLU9KqS1P+mkYzj25XwHUlf1efDvwt46CGk1dgLPlHda2GZYSA3ybmbeM+9D2RBd1XXHxBFc8/2WE=][domain: hcpms-p1940887854trial.hanatrial.ondemand.com][path: /][expiry: null]”.

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Connection can be kept alive indefinitely

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Target requested authentication

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.AbstractAuthenticationHandler: Authentication schemes in the order of preference: [negotiate, NTLM, Digest, Basic]

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.AbstractAuthenticationHandler: Challenge for negotiate authentication scheme not available

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.AbstractAuthenticationHandler: Challenge for NTLM authentication scheme not available

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.AbstractAuthenticationHandler: Challenge for Digest authentication scheme not available

        2015-02-06 11:03:37,333 DEBUG [main] org.apache.http.impl.client.AbstractAuthenticationHandler: Basic authentication scheme selected

        2015-02-06 11:03:37,335 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Authorization challenge processed

        2015-02-06 11:03:37,335 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Authentication scope: BASIC ‘SAP HANA Cloud Platform’@hcpms-p1940887854trial.hanatrial.ondemand.com:443

        2015-02-06 11:03:37,335 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Found credentials

        2015-02-06 11:03:37,732 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: CookieSpec selected: compatibility

        2015-02-06 11:03:37,732 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: Cookie [version: 0][name: BIGipServer~jpaas_folder~hcpms.hanatrial.ondemand.com][value: !fQbLU9KqS1P+mkYzj25XwHUlf1efDvwt46CGk1dgLPlHda2GZYSA3ybmbeM+9D2RBd1XXHxBFc8/2WE=][domain: hcpms-p1940887854trial.hanatrial.ondemand.com][path: /][expiry: null] match [(secure)hcpms-p1940887854trial.hanatrial.ondemand.com:443/]

        2015-02-06 11:03:37,732 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: Cookie [version: 0][name: X-SMP-SESSID][value: 3A9FBE9E74620D1268DEE42E03E66557763579EE90BD97EB366B446D0312DA79][domain: hcpms-p1940887854trial.hanatrial.ondemand.com][path: /][expiry: null] match [(secure)hcpms-p1940887854trial.hanatrial.ondemand.com:443/]

        2015-02-06 11:03:37,732 DEBUG [main] org.apache.http.client.protocol.RequestAuthCache: Auth cache not set in the context

        2015-02-06 11:03:37,740 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Attempt 2 to execute request

        2015-02-06 11:03:37,741 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Sending request: GET / HTTP/1.1

        2015-02-06 11:03:37,741 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> GET / HTTP/1.1

        2015-02-06 11:03:37,741 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> Host: hcpms-p1940887854trial.hanatrial.ondemand.com

        2015-02-06 11:03:37,741 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> Connection: Keep-Alive

        2015-02-06 11:03:37,741 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

        2015-02-06 11:03:37,741 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: >> Cookie: BIGipServer~jpaas_folder~hcpms.hanatrial.ondemand.com=!fQbLU9KqS1P+mkYzj25XwHUlf1efDvwt46CGk1dgLPlHda2GZYSA3ybmbeM+9D2RBd1XXHxBFc8/2WE=; X-SMP-SESSID=3A9FBE9E74620D1268DEE42E03E66557763579EE90BD97EB366B446D0312DA79

        2015-02-06 11:03:40,315 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Receiving response: HTTP/1.1 200 OK

        2015-02-06 11:03:40,315 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << HTTP/1.1 200 OK

        2015-02-06 11:03:40,316 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Set-Cookie: X-SMP-SESSID=2F1D59FC5BEE09B44F742E268313EFB060C7FE72C53CB4DB059CB5A78889763A; Path=/; Secure; HttpOnly

        2015-02-06 11:03:40,316 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Set-Cookie: JTENANTSESSIONID_p1940887854trial=2lTVITyIOzTa7Uy9Ah5QLdK2P4fRskvOIsBbL5m%2BnEM%3D; Domain=.ondemand.com; Path=/; Secure; HttpOnly

        2015-02-06 11:03:40,316 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Transfer-Encoding: chunked

        2015-02-06 11:03:40,316 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Date: Fri, 06 Feb 2015 00:03:39 GMT

        2015-02-06 11:03:40,316 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Server: SAP

        2015-02-06 11:03:40,316 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: << Vary: Accept-Encoding

        2015-02-06 11:03:40,317 DEBUG [main] org.apache.http.client.protocol.ResponseProcessCookies: Cookie accepted: “[version: 0][name: X-SMP-SESSID][value: 2F1D59FC5BEE09B44F742E268313EFB060C7FE72C53CB4DB059CB5A78889763A][domain: hcpms-p1940887854trial.hanatrial.ondemand.com][path: /][expiry: null]”.

        2015-02-06 11:03:40,317 DEBUG [main] org.apache.http.client.protocol.ResponseProcessCookies: Cookie accepted: “[version: 0][name: JTENANTSESSIONID_p1940887854trial][value: 2lTVITyIOzTa7Uy9Ah5QLdK2P4fRskvOIsBbL5m%2BnEM%3D][domain: .ondemand.com][path: /][expiry: null]”.

        2015-02-06 11:03:40,318 DEBUG [main] org.apache.http.client.protocol.ResponseAuthCache: Caching ‘basic’ auth scheme for https://hcpms-p1940887854trial.hanatrial.ondemand.com

        2015-02-06 11:03:40,318 DEBUG [main] org.apache.http.impl.client.DefaultRequestDirector: Connection can be kept alive indefinitely

        2015-02-06 11:03:40,343 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com], timeout = 0

        2015-02-06 11:03:40,343 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20

        2015-02-06 11:03:40,344 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:40,344 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:40,344 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]]

        2015-02-06 11:03:40,345 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to hcpms-p1940887854trial.hanatrial.ondemand.com/155.56.219.22:443

        2015-02-06 11:03:42,449 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: CookieSpec selected: compatibility

        2015-02-06 11:03:42,449 DEBUG [main] org.apache.http.client.protocol.RequestAuthCache: Auth cache not set in the context

        2015-02-06 11:03:42,451 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down

        2015-02-06 11:03:42,451 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable.

        2015-02-06 11:03:42,452 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:42,452 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads

        2015-02-06 11:03:43,963 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com], timeout = 0

        2015-02-06 11:03:43,963 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20

        2015-02-06 11:03:43,963 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:43,964 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:43,965 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]]

        2015-02-06 11:03:43,966 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to hcpms-p1940887854trial.hanatrial.ondemand.com/155.56.219.22:443

        2015-02-06 11:03:46,157 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: CookieSpec selected: compatibility

        2015-02-06 11:03:46,157 DEBUG [main] org.apache.http.client.protocol.RequestAuthCache: Auth cache not set in the context

        2015-02-06 11:03:46,158 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down

        2015-02-06 11:03:46,158 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable.

        2015-02-06 11:03:46,158 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:46,159 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads

        2015-02-06 11:03:47,670 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com], timeout = 0

        2015-02-06 11:03:47,670 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20

        2015-02-06 11:03:47,670 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:47,670 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:47,671 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]]

        2015-02-06 11:03:47,672 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to hcpms-p1940887854trial.hanatrial.ondemand.com/155.56.219.22:443

        2015-02-06 11:03:49,852 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: CookieSpec selected: compatibility

        2015-02-06 11:03:49,853 DEBUG [main] org.apache.http.client.protocol.RequestAuthCache: Auth cache not set in the context

        2015-02-06 11:03:49,854 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down

        2015-02-06 11:03:49,854 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable.

        2015-02-06 11:03:49,854 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:49,854 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads

        2015-02-06 11:03:51,365 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com], timeout = 0

        2015-02-06 11:03:51,366 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20

        2015-02-06 11:03:51,366 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:51,366 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:51,366 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]]

        2015-02-06 11:03:51,367 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to hcpms-p1940887854trial.hanatrial.ondemand.com/155.56.219.22:443

        2015-02-06 11:03:53,594 DEBUG [main] org.apache.http.client.protocol.RequestAddCookies: CookieSpec selected: compatibility

        2015-02-06 11:03:53,595 DEBUG [main] org.apache.http.client.protocol.RequestAuthCache: Auth cache not set in the context

        2015-02-06 11:03:53,596 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down

        2015-02-06 11:03:53,596 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable.

        2015-02-06 11:03:53,596 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://hcpms-p1940887854trial.hanatrial.ondemand.com]][null]

        2015-02-06 11:03:53,596 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads

        2015-02-06 11:03:53,600 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Shutting down

        2015-02-06 11:03:53,600 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection closed

        (0) 
        1. Timo Lakner Post author

          Hi Iris,

          the –host parameter should specify the HCP landscape host, in your case

              –host hanatrial.ondemand.com


          Please change the parameter accordingly.

          Please also check if the HCP application for which you like to apply this configuration is correct:

              –application LogonDemo


          Best regards,

          Timo

          (0) 
          1. Iris ST

            Hi Timo,

            Really appreciate your help.

            I have corrected the host and tested it again. Then, deployment and uploading started and finished successfully. But, from the log, it is said that “Files with extensions other than .war and .jar are ignored by default.”. So, it seems it only applied to JAVA applications.

            (0) 
            1. Iris ST

              Please correct me if my understanding is not right.


              And, in How to on-board user with HANA Cloud Platform mobile services , I have submitted my questions to Midhun VP on how to configure Kapsel applications (in HCPms) to use on-premise LDAP Server which is exposed by SAP Cloud Connector.  

              The log below is just for reference.

              iriss-MacPro-2:tools iris$ ./neo.sh deploy –host hanatrial.ondemand.com –account p1940887854trial –application  LogonDemo –source /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo –user w@gmail.com –vm-arguments “-Dcom.sap.cloud.security.um.user_provider_name=onpremise -Dcom.sap.cloud.security.um.destination_name=onpremiseumconnector”

              SAP HANA Cloud Platform Console Client

              Warning: Specified application name LogonDemo contains capital letters. The following value will be used: logondemo

              Requesting deployment for:

                 application           : logondemo

                 account               : p1940887854trial

                 source                : /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo

                 vm arguments          : -Dcom.sap.cloud.security.um.user_provider_name=onpremise -Dcom.sap.cloud.security.um.destination_name=onpremiseumconnector

                 host                  : https://hanatrial.ondemand.com

                 elasticity data       : [1 .. 1]

                 SDK version           : 2.52.25

                 user                  : w@gmail.com

              WARNING: The following files were not recognized as valid artifacts and will be ignored:

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/sap-e2etrace-2.3.3.13.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/sap-e2etrace-2.3.3.13.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/DataVaultLib-2.3.3.13.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/DataVaultLib-2.3.3.13.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/SupportabilityFacade-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/SupportabilityFacade-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientHubSLL-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientHubSLL-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncore-1.205.1.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncore-1.205.1.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/CoreServices-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/CoreServices-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Common-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Common-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/corelibs-android-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/corelibs-android-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientLog-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientLog-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.authproxy/android/libs/authproxy-android-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.authproxy/android/libs/authproxy-android-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConversation-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConversation-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Request-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Request-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/E2ETrace-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/E2ETrace-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Connectivity-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Connectivity-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientHubSLL-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientHubSLL-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/perflib-1.2.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/perflib-1.2.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConversation-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConversation-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncorecdvplugin-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncorecdvplugin-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/AfariaSLL-7.00.6169.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/AfariaSLL-7.00.6169.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogger-1.205.1.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogger-1.205.1.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncorecdvplugin-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncorecdvplugin-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/simple-xml-2.7.1.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/simple-xml-2.7.1.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.authproxy/android/libs/authproxy-android-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.authproxy/android/libs/authproxy-android-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConvAuthFlows-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConvAuthFlows-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/perflib-1.1.5.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/perflib-1.1.5.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncore-1.206.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogoncore-1.206.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/corelibs-android-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/corelibs-android-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogger-1.206.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.logon/android/libs/maflogger-1.206.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/SupportabilityFacade-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/SupportabilityFacade-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Common-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Common-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/E2ETrace-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/E2ETrace-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConvAuthFlows-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/HttpConvAuthFlows-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Request-3.5.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Request-3.5.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/CoreServices-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/CoreServices-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Connectivity-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/Connectivity-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientLog-3.6.0.jar – Jar file /Users/iris/documents/workspace_SAP/Kapsel_Projects/LogonDemo/plugins/com.sap.mp.cordova.plugins.corelibs/android/libs/ClientLog-3.6.0.jar is not recognized as a bundle and will be ignored for deployment

              Files with extensions other than .war and .jar are ignored by default.

              Password for your user:

              [Mon Feb 09 14:59:01 EST 2015] Deployment started……..

              [Mon Feb 09 14:59:16 EST 2015] Uploading started…..10%…30%…50%…70%..90%…..100%

              [Mon Feb 09 14:59:53 EST 2015] Uploaded 4.63 MB in 36.8 s Speed: 125 KB/s

              [Mon Feb 09 14:59:53 EST 2015] Processing started….

              [Mon Feb 09 14:59:57 EST 2015] Processing completed in 4.2 s

              [Mon Feb 09 14:59:57 EST 2015] Deployment finished successfully

              Warning: No compute unit size was specified for the application so size was set automatically to ‘lite’.

              [Mon Feb 09 14:59:57 EST 2015] Total time: 1 m 18 s

              (0) 
            2. Timo Lakner Post author

              Hi Iris,

              yes, the deploy command is only applicable as of today for Java applications. HANA XS binaries you deploy directly via HANA tools, e.g. HANA Studio.

              Regards, Timo

              (0) 
              1. Iris ST

                Really appreciate all of your replies and patience. I will work from SMP or HCPms side to see how to configure application and using this feature. If any progress and result, I will post it here to share with teams. Thanks again.

                Regards,

                Iris

                (0) 
  2. Christopher Frewin

    Hi Timo,

    I realize this is a very old post but I couldn’t find another way of contacting you directly. I was refered to you by Gregor Wolf about using Web Sockets in the Web IDE, we’ve both found that to get Web Sockets to work in our UI5 Apps, we always need to export them to the ABAP Stack and then test there. Gregor mentioned that Web Socket support was not a priority for the Web IDE team, but I was wondering if you knew of any work-around that would be possible to access the websocket from the WEB IDE, perhaps some sort of data service as a middleman for example.

    I have also installed the local version of the Web IDE…. could it be possible this way to establish a working connection with our Web socket? We have been so far not successful this direction either.

     

    Thank you for your time,

     

    Christopher Frewin

    (0) 

Leave a Reply