Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all 3131 articles
Browse latest View live

SAP HANA Cloud Connector - no connection due to SSL issue

$
0
0

Hi @all,

 

I have a strange issue after initially setting up a Cloud Connector when trying to initially establish the connection to the HCP account.

 

The CC is installed on a SLES 11. As it is a Sandbox environment with an SAP Java system on it, the JAVA_HOME path points to the SAP JVM delivered with this system.

 

After I started the CC daemon (with root user), the CC runs and I can connect to the admin UI. After entering the data to my account at hanatrial.ondemand.com and my logon data, the CC tries to connect - and fails.

 

 

The Connector State shows that the required URLs can be reached from the SLES host.

 

The logs show an issue with the SSL communication between the CC and the HANA-Trial instance.

 

 

ConnectorState - Issue overview.JPG

 

 

The log shows that the CC is not able to connect to HCP with issues verifying the SSL connection:

 

 

 

2014-10-13 17:02:01,698#ERROR#com.sap.scc.rt#http-bio-8443-exec-8#          #Tunnel Connect Failed

 

javax.net.ssl.SSLHandshakeException: General SSLEngine problem

 

    at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:1015)

 

    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:485)

 

    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:753)

 

    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:721)

 

    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)

 

    at org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1282)

 

    at org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:917)

 

    at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)

 

    at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:310)

 

    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)

 

    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)

 

    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)

 

    at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)

 

    at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)

 

    at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)

 

    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)

 

    at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:622)

 

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

 

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

 

    at java.lang.Thread.run(Thread.java:722)

 

Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem

 

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)

 

    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1528)

 

    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:243)

 

    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)

 

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1206)

 

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:136)

 

    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)

    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)

 

    at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533)

 

    at java.security.AccessController.doPrivileged(Native Method)

 

    at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952)

 

    at org.jboss.netty.handler.ssl.ImmediateExecutor.execute(ImmediateExecutor.java:31)

 

    at org.jboss.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1450)

 

    at org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1323)

 

    ... 14 more

 

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323)

 

    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217)

 

    at sun.security.validator.Validator.validate(Validator.java:218)

 

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)

 

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)

 

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)

 

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1185)

 

    ... 22 more

 

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)

 

    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)

 

    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318)

 

    ... 28 more|

 

The certificate of hanatrial.ondemand.com was imported into the (initially) not existing keystore of both user "root" and "sccadmin"; OS permissions on the files should also not be an issue.

 

 

Any idea what I should look for to further analyze and solve the issue?

 

 

Thnx and best regards,

 

Timo


Hana Cloud - Unable to share XS project

Serving content from HCP without setting session cookies

$
0
0

Hi,

 

I'd really like to be able to expose some content from my HCP account to the internet but not have HCP set cookies on it when it is requested.

 

Even using non-authenticated content, HCP still seems to set a cookie - eg:

 

  1. Remote Address:210.80.140.227:443
  2. Request URL:https://entjunglediscoverypartner.ap1.hana.ondemand.com/enterprisejungle/HomepageTiles/images/first-time/icon-logo.png
  3. Request Method:GET
  4. Status Code:200 OK
  5. Request Headersview source
    1. Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    2. Accept-Encoding:gzip,deflate,sdch
    3. Accept-Language:en-US,en;q=0.8,en-AU;q=0.6
    4. Connection:keep-alive
    5. Host:entjunglediscoverypartner.ap1.hana.ondemand.com
    6. User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36
  6. Response Headersview source
    1. Accept-Ranges:bytes
    2. Content-Length:4540
    3. Content-Type:image/png
    4. Date:Mon, 13 Oct 2014 04:11:31 GMT
    5. ETag:W/"4540-1413113585000"
    6. Last-Modified:Sun, 12 Oct 2014 11:33:05 GMT
    7. Server:SAP
    8. Set-Cookie:BIGipServerentjunglediscoverypartner.ap1.hana.ondemand.com=!Wjonifb/bNadplktoQj1pi3WDlnePHanj1YCK4n3KwsTwaQbnLRcwBKQKxplkcfPBA4VMrdB5929Ag==; path=/; httponly; secure






 

 

 

Is there any way to stop this behaviour? Problem is Safari refusing to surface any content from HCP if user has not authenticated/connected to HCP due to 3rd party cookie rules.

 

Any suggestions much appreciated!

 

Cheers,


Chris

 

 






Issue when creating CDS artifacts.

$
0
0

Hello Experts


I'm still following the Open SAP tutorial for development in Hana, i was trying to create a CDS artifact but i'm getting the following error:


Failed to generate CDS artifact "p12345trial.myhanaxs.ivyrepxs::partner" to schema "XYZ" as index server config switch "view_activation_for_hcp" is set. In this mode only generation to schema "_SYS_BIC" is allowed.


I thought that the DEV Schema was supposed to be there for using it during tests, is there anything else that is missing for been able to work with it?


This is the code that i'm using:


namespace p1101189trial.xstrial1.XSProject3.data;

 

  @Schema: 'DEV_1VKKPRJI2LZT43BFTKBIJ510A'

 

 

context user {

  type SString : String(40);

  type LString : String(255);

 

  @Catalog.tableType: #COLUMN

    Entity Details{

      key PERS_NO: String(10);

      FIRSTNAME: SString;

      LASTNAME: SString;

      E_MAIL: LString;

    };

 

};



Thanks

Francisco

SAP HANA Cloud Application Challenge - OPAL

Destination creation problem in Cloud Environment

$
0
0

Hello,

 

I am having a problem with the creation of a destination (hana.ondemand.com) - Import from File method.

The destination I am creating has a password that looks like this: 0!8)^(mH3p*V2>p

 

When I used this destination I got a 401 error from the server I was trying to connect to.

This doesn't happen on a local server (SDK 1.51.16), and when I edit the destination -> password the issue is fixed.

I am guessing that the special characters used in this password falls under some escaping rules that were changes in the Import from File feature.

 

This file was used to create a destination in the past (multiple times) without any problems - so this is a new bug.


How can I create a bug for this?

Do I need to add escaping characters to my password?



Thanks,

-Eran Bergman

High cpu load based on fillInStackTrace and ClassNotFoundException

$
0
0

Hi,

We are currently migrate our solution from JBoss to SAP HANA Cloud Platform.

 

After solving the most issues, we are fighting on a problem with high CPU load.

After startup when the system is used the first time, the system is slowing down.

 

The profiler shows that a most time is consumed by

-> java.lang.Throwable.fillInStackTrace

          ->after ClassNotFoundException

 

00002.screenshot.png

 

 

After some debug sessions it looks for us that the problem is that the classloader tries to load the classes from the system and bootstrap loader and then at the end from the /WEB-INF/lib where the classes then found.

 

For our understanding, this is the normal classloader hierarchy for JEE but the high CPU load looks not OK.

 

Is there a way to change the classloader order or to avoid the fillInStackTrace time consumption?

 

 

HAND (have a nice day)

Achim

Why are Schemas and Tables created in my hana trial account from Hana Studio not shown in the catalog view

$
0
0

Hi,

 

I am new to HCP and have followed this article to create my first XS application in HCP. Now I created a data folder in my project and added a schema(.hdbschema file) and table(.hdbtable) file and activated them. It got activated also so I assume it got created. But I cannot see them in catalog folder. I assume this is because of some access restriction. Could you please tell me what do I have to do to access and see them? Thanks is advance.


Numeric Overflow via JDBC in HANA

$
0
0

Hi,

 

Now, i met a problem that using JDBC to connect to the HANA DB via a Java Tool.

 

We defined a table have one column which type is decimal(38,0), then we use java statement like below:

 

PreparedStatement st = hana.prepareStatement("insert into abc.test values (?)");

 

st.setBigDecimal(1, new BigDecimal("15950736261379882735954044794195154896"));

 

st.executeUpdate();

 

After we execute this example application we got the exception like below:

 

com.sap.db.jdbc.exceptions.jdbc40.SQLDataException: [314]: numeric overflow:

  at com.sap.db.jdbc.exceptions.jdbc40.SQLDataException.createException(SQLDataException.java:40)

  at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:278)

  at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:185)

  at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:100)

  at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1130)

  at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:877)

  at com.sap.db.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:492)

  at com.sap.db.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:341)

  at com.sap.db.jdbc.CallableStatementSapDB.executeUpdate(CallableStatementSapDB.java:884)

  at com.sap.db.jdbc.trace.PreparedStatement.executeUpdate(PreparedStatement.java:174)

 

But in the HANA studio i can execute same sql statement successfully. Do someone knows the root cause? is that we need to apply for a new JDBC version for HANA?

 

Thanks

 

Steven

Hana Cloud Platform - SAP IDM Integration

$
0
0

Hi,

For one of our project, we want to HCP with the Identity management taken care by SAP IDM. We are looking out for the possibility of HCP - IDM integration. I understand that HCP-IDS integration is already available out-of-the-box in HCP.

 

Is there support for HCP - IDM integration already by HCP? Are there any documents or some material available for the same or any pointers how to go about with the HCP - IDM integration?

 

Regards,

Avinash G

Need help for Eclipse installation issue

$
0
0

Can anyone suggest/guide for my issue:

 

I am trying to install “eclipse-jee-kepler-SR1-win32” for my 32 bit system on Windows 7 Enterprise, it installs I believe by default settings. However, it is not found anywhere in desktop or in system tray. Search options do not show “Eclipse”. I have Java Version 7 Update 67 (build 1.7.0_67-b01). Need suggestion, please!

Cannot delete Database Schema: Internal Server Error (500) - Unexpected exception in deleteSchema()

$
0
0

Hello

since ~ 2 days I get the following error when I try to delete a Database Schema:

 

 

Unable to delete schema 'appeleon': Internal Server Error (500) - Unexpected exception in deleteSchema() called with account 'a68bbba9f', and schema 'appeleon'. Root cause is: unregister of DeveloperUsers from DB instance 'JFJ' failed with Data receive failed [Connection reset].

 

I get the same error if I use the Cockpit or neo command line.

 

Thx for any hint - Achim

Problem with upgrading SAP Cloud Connector

$
0
0

Hi,

 

we have installed SAP Cloud Connector 1.3 and we need the latest Cloud Connector.

I followed the instruction of the help page

SAP HANA Cloud Platform

 

by update the rpm package with: rpm -U com.sap.scc-ui

 

I restarted the cloud connector and cleared my browser cache and still see Version 1.3 displayed in the admin interface.

 

Any idea?

 

Best regards,

 

Antonio Del Negro

How to manage GIT repositories on HCP (trial)?

$
0
0

Hi,

 

for some reason (I don't know what's in there) my GIT repository on HCP has exceeded the 100 MB space.

Does anyone know how I can have a look at my repositories and how I can manage (delete) them?

 

Thanks in advance

Helmut

Connection failed. Could not connect to the SAP HANA Cloud Platform System

$
0
0

Hi Rui,

 

When working on Week 2 Unit 1 I was trying to create a db-tunel and got the following error message when adding a SAP HANA Cloud System:

 

"Connection failed. Could not connect to the SAP HANA Cloud Platform System. Check the error log for more details."

 

Event Details:

Message: Could not add SAP HANA Cloud Platform system

Exception Stack Trace:

com.sap.jpaas.infrastructure.console.exception.CommandException: Failed to connect the tunnel

  at com.sap.core.persistence.commands.tunnel.connection.DbTunnelManager.startTunnelClient(DbTunnelManager.java:69)

  at com.sap.core.persistence.commands.tunnel.api.CommandTunnelHandler.openTunnel(CommandTunnelHandler.java:97)

  at com.sap.cloud.tools.eclipse.hana.tunnel.ui.CloudSystemHelper.openTunnel(CloudSystemHelper.java:270)

  at com.sap.cloud.tools.eclipse.hana.tunnel.ui.CloudSystemHelper.connectToSapSystem(CloudSystemHelper.java:327)

  at com.sap.cloud.tools.eclipse.hana.tunnel.ui.CloudSystemConnectionWizard$1$1.call(CloudSystemConnectionWizard.java:87)

  at com.sap.cloud.tools.eclipse.hana.tunnel.ui.CloudSystemConnectionWizard$1$1.call(CloudSystemConnectionWizard.java:1)

  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

 

Thanks in advance for the help.

Felipe


_SYS_BIC missing

Data Preview for Analytic View does not work in SAP HANA Cloud trial account

$
0
0

Hi all,

I am following this excellent blog Using HANA Modeler in the SAP HANA Cloud.

Modeling works pretty well. E.g. I can model and upload tables, create and activate attribute views and analytic views. Data Preview for attribute views works fine as well. However when trying Data Preview for Analytic View a pop-up occurs with message

 

SAP DBTech JDBC: [257]: sql syntax error: Error:insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2443

After that the analytic view is displayed without any objects.

 

Consuming the same analytic view with advanced analysis excel works fine, all data is shown correctly.

 

Analytic Privilege is disabled in the definition of the Analytic View.


My database user DEV_.. does not have any analytic privilege, nor do I see any analytic privilege at the assigned roles. Might this cause the issue?

 

Does anybody manage to execute a Data Preview for Analytic View using a SAP HANA Cloud trial account?

 

Thanks for your answers!

Klaus

How to authenticate to my first ODATA service in HANA trial cloud?

$
0
0

Hi,

 

I try to pull data from my very first ODATA service created in SAP Hana trial cloud. I can do it be entering the corresponding URL in Browser. I am asked for my credentials and after that I can see the data I would likt to provide as xml. But if I try to do it in a small C# app, I fail. Maybe someone has an idea what's the pitfall.

 

WebRequest request = HttpWebRequest.Create(new Uri("https://s7hanaxs.hanatrial.ondemand.com/p13XXXXXXXtrial/hihanaxs/TodoApp/todo.xsodata"));

todoService.Credentials = new NetworkCredential(username, password);      

    

var todos = todoService.TODO.ToList();

foreach (var todo in todos) {

    MessageBox.Show(todo.DESCRIPTION);

}

I double checked the username an password. The todo-object is the service reference I added from metadata-file in VS (without problems).

 

I think it's a problem with the credentials because a plain webrequest ends up in the markup for login mask.

 

best regards

 

Benjamin

Viewing table in _SYS_BIC

$
0
0

Hi,

 

I have looked at below description and tried to execute on this.

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9063f922-81e2-3110-c9b9-b4b0c119956e?QuickLink=index&overridelayout=true&59407987747113

 

But I am stuck in an issue whereby I can’t see the table (person) that I create using the CDS script.

 

After running the command CALL "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS", I am able to see _SYS_BIC, but I don't see the table person.

 

The only reason that I see _SYS_BIC is that I manually created a calc view using eclipse.

 

Is a table not an "activated object"?

 

Best regards

 

Thomas

Creating a Fiori app on the SAP HANA Cloud Trial Version

$
0
0

Hi,

Currently the SAP HANA Cloud supports application developments related to:

1. SAP UI5

2. HTML5

3. JAVA

4. HANA XS

 

Is there any possibility of developing Fiori apps in the HANA Cloud trial version in the near future?

Viewing all 3131 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>