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

error ''no sapjco3 in java.library.path" when start server local runtime

$
0
0

Hi,

 

I have Eclipse Luna, windows 8.1 64 bits and when I try start server local runtime occurs error below:

 

2014 10 04 11:01:32#0-300#ERROR#org.osgi.service.log.LogService##anonymous#org.eclipse.virgo.medic.log.osgi.OSGiLogServiceListener@56af4653####Bundle com.sap.conn.jco.cloud_3.1.1.10, FrameworkEvent ERRORorg.osgi.framework.BundleException: Exception in com.sap.conn.jco.NeoActivator.start() of bundle com.sap.conn.jco.cloud.

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

  at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

  at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)

  at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)

  at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

  at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Caused by: java.lang.RuntimeException: Cannot load the JCo native library. (exception java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path)

If you don't develop a JCo scenario for HANA Cloud, you can ignore this issue.

Check if you have installed the Visual Studio 2010 runtime libraries in the correct version. (vcredist.msi)

The 64bit msi can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=14632

 

 

  at com.sap.conn.jco.NeoInitializer.processLoadError(NeoInitializer.java:70)

  at com.sap.conn.jco.NeoInitializer.initJCoRuntime(NeoInitializer.java:40)

  at com.sap.conn.jco.NeoActivator.start(NeoActivator.java:20)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)

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

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

  ... 12 common frames omitted

Caused by: java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

  at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:175)

  at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:95)

  at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)

  at com.sap.conn.jco.rt.neo.NeoRuntimeFactory.getRuntime(NeoRuntimeFactory.java:12)

  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 com.sap.conn.jco.NeoInitializer.initJCoRuntime(NeoInitializer.java:32)

  ... 16 common frames omitted

|

 

I tried to do many things I found in SCN but the error still occurs. Please help me.

 

Thanks


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

SAP HCP: OAuth Implicit Grant Support

$
0
0

Does anyone know if the OAuth stack on the HCP supports the "Implicit Grant" authorization code flow described in the OAuth 2.0 spec? I tried invoking the authorization server using URL query string parameter response_type="token" and got it seems this option is not supported. Was this purposefully omitted? Any information concerning this would be most appreciated.

 

Thanks,

 

James

Problem with Keystore Service

SAP HANA Cloud Platform trial version, not able to see created Views in Lumira, problems with privileges

$
0
0

Hi everyone.

 

I have a problem with the privileges in the SAP HANA Cloud Platform trial version. I want to create some analytic views in SAP HANA Studio and visualize them with SAP Lumira later. Unfortunately I can’t see any views in Lumira.

 

According to the following thread I tried different commands.

 

http://scn.sap.com/community/developer-center/cloud-platform/blog/2013/07/16/using-hana-modeler-in-sap-hana-cloud

 

I have tried to execute

 

CALL "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS"

 

But unfortunately I always get the following error message:

 

Capture.JPG

 

In this Thread it’s told that after executing the command from above you should see a new schema named _SYS_BIC. This schema is critical because it stores the column data which is used by the programs (Lumira in this case) to access the views.

 

http://scn.sap.com/docs/DOC-44560

 

Unfortunately because I am not able to execute this command, I don’t have the schema _SYS_BIC either.

 

The strangest thing about that is that I had the _SYS_BIC schema and I was able to create views and make them visible in Lumira some days ago. Now I’ve created new views again, but I have neither the _SYS_BIC schema nor can I execute the command above any more.

 

In this thread they have a similar problem:

 

http://scn.sap.com/thread/3465914

 

But the most important command is always this one:

 

CALL "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS"

 

If you are able to execute this, you get the _SYS_BIC schema and everything should work.

 

I’ve also tried to create a new trial account, but I didn’t work, too.

 

Is there anyone who can help me with this error message above, so I can execute the CALL command?

Or just tell me why the schema _SYS_BIC can disappear?

 

Thanks

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

Need a bit of clarity on continued use of Cloud server

$
0
0

I am now in the process of taking "ABAP Development for SAP HANA" In order to do this, I have a free AWS instance of "SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA 1.0 SP8 ". I have also installed a "mini-license" for access to a developer's key. Everything is working great.

 

In 3 months, I know the  "mini-license" will expire. I am an incorporated  one person independent practice. I would like to continue using this instance for investigations.  I would be using this instance for one person, for non-productive work. Any link  I can look at to make this happen? Costs?

 

I suppose this is a rather dumb question. My apologies.

 

Dave

Trial Hana Instance : critical state

$
0
0

Hi,

 

I'm creating an HANA instance on the Cloud Platform but after a minute the instance is in Critical state. Therefore i cannot reach it in Hana Studio.

The error i have is on metric HANA DB Alerting Availability :  "JMX CRITICAL - Status.details = CRITICAL Data receive failed [Connection reset]."


Anyone getting the same troubles lately?

 

 

Thanks

Aurélien


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

HANA Cloud Trial downtime announcements

$
0
0

In this discussion we are going to announce NetWeaver Cloud Trial landscape infrastructure downtimes.

 

Regards,

NetWeaver Cloud operations team

Reporting on HCP data using on premise Business Objects

$
0
0


Hi all,

 

Does anyone know if it is possible to use our on premise Design Studio / Web Intelligence tools to query a Hana database on SAP HCP?

 

From what I've read the Hana Cloud Connector only supports HTTP and RFC, and Hana Cloud Integration supports a few more protocols but not JDBC/ODBC.

 

I saw that the Hana console client can be used to open a tunnel to HCP, which then allows you to configure an ODBC connection locally. But unless I'm missing something this only works for up to 24 hours, and has to be initiated manually.

 

Any insights much appreciated!

 

cheers,

Guy

Unable to share an XS Project in Eclipse

$
0
0

Hi,

 

I am following this link to create a test XS Project SAP HANA Cloud Platform.

 

In "5. Create an XS Project" and step 5 "Open the context menu of the hello folder and choose Start of the navigation pathTeamNext navigation stepShare ProjectEnd of the navigation path.". I got stuck:

I cannot share this project, because the Finish button is greyed out.

1.png


Could someone help out? Thank you.


BTW, is there a feedback channel for this documentation? I found some errors there.


Regards, Yashu



HanaCloudTrial doesn't allow revoke OAuth-tokens

$
0
0

Hi,

 

I follow the course reg HANA next steps in Cloud and try now to revoke an OAuth-token. I get the confirmation question, if I really wanna do it, but I get in the next step an error-message:

 

 

If I search again for my user, the tokens are still the same, nothing revoked.

 

Q: Hints what the error means resp. what should be done to do it properly? (Resp. which info is missing for a more specific response?)

 

roland

oData Authorization Error

$
0
0

Hi All,

 

I've created a trial account and I'm trying to expose a table using an oData service (xsodata file).

 

The service is created correctly, since when running https://...myhanaxs/tweet.xsodata and https://...myhanaxs/tweet.xsodata/$metadata I'm able to see the corresponding pages.

 

The problem is that, when I try to GET from the service, I receive the following error message:

 

<exception>

exception  1: no.71000258  (ptime/query/checker/query_check.cc:2547)    Not authorizedNO exception throw location recorded. Stack generation suppressed.

</exception>

 

I've tried to create my table in both schemas (the one starting with DEV_ and the other starting with NEO_) but both tables, when referenced by the xsodata file result in the same error.

 

Do you know what is missing?

 

Thanks and regards,

Roberto Falk

Unable to create an XS project on the SAP HANA Cloud Platform


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

Looking for a data flow example

$
0
0

Googled a while, but didn't really find an example to understanding how data flow and data integration with Hana Studio and HCP works.

Appreciated your tips!

Cheers

Olli

HCP Application Services onPremise?

$
0
0

Question has probably already been asked.

 

Is it possible to get the HCP application services also with a onPremise installation?

I know I can install Hana, but I would like to have a JEE development environment like the one I have with HCP, but not in the cloud.

What are the possibilities here?

 

Cheers

Olli

Getting java.lang.IllegalArgumentException while deploying the code to Cloud

$
0
0

Hi,

I have tried to deployed to hello-world to HANA on Cloud server logged in using HANAtrial login but not able to login to deploy the code

getting the following error.

Kindly help because I am stuck here, not able to proceed further.

For more refer the attached screen shots.

1.JPG

 

2.JPG

 

Please let me know, What might be the issue, Since I am not able to proceed further.

Installing Cloud connector 2.0 on clustered servers

$
0
0

Hi All,

 

Does anyone know if the cloud connector requires a different installation procedure (or different installation files) to be installed on a clustered server? I can't see any mention in the help files or installation notes so presume it should be possible using the standard installation files found here: SAP Development Tools for Eclipse

 

Has anyone successfully installed the connector on a clustered server?

 

Thanks,

Malcolm

Viewing all 3131 articles
Browse latest View live


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