Hi everyone, please be informed that the course "Introduction to SAP HANA Cloud Platform" was updated with new functionalities of the platform. Some of the units from the first course in 2013 no longer work seamlessly. To avoid issues on your side, please look into the repetition of the course "Introduction to SAP HANA Cloud Platform". There is also a course guide available with the links to all blog posts I wrote for the updated course.
Hi everyone,
the first week of the openSAP course Introduction to SAP HANA Cloud Platform will provide you with some basics around the platform.
We'll look into cloud services in general and into SAP HANA Cloud Platform specifically including the development environment and its' setup.
At the end of this week you'll have your first application deployed in the cloud and on your local environment.
This document is a detailed blog post around all the units of week 1. The parent document of this blog post provides you with an overview about all blog posts I'll write throughout the weeks of the course.
You can find more detailed explanations around the definition of Cloud Services on various places.
The one I really like is on Wikipedia, that you can find under http://en.wikipedia.org/wiki/Cloud_services#Services
You can get detailed information about the SAP Data Center on the SAP Data Center home page.
Find a more detailed explanation on the official documentation.
Get a detailed drill-down of the prices and the various resources you can purchase for the SAP HANA Cloud Platform here.
You'll find a difference in the look-and-feel of your account cockpit compared to the one you see in the videos.
This is due to a change in the colors of the user interface. There are also additional tabs due to an update of the platform with additional functionality.
In the new design the "Applications" have been renamed to "Java Applications".
You also have a new tab called "HANA Packages" for the HANA XS applications that you can also deploy on SAP HANA Cloud Platform.
For the oAuth support there is also an additional tab called "oAuth".
Former design:
New design:
Read the list of product restrictions to get to know how you can use the SAP HANA Cloud Platform.
You need Java 6 or Java 7 installed on your machine. You need also to make sure that the java path is set in the "PATH" environment variable and also as "JAVA_HOME" - Get more details.
Open a command window in the <HCP_SDK_PATH>\tools folder. Execute "java -version" to check what is the version of your java and verify that it is the one you expect. <HCP_SDK_PATH> is the path in the file system where you unzipped the HANA Cloud Platform SDK.
You can check if the JAVA_HOME is correctly set by executing the “set” or “env” command – both commands are listing all the environment variables you have.
When adding a server of type "SAP HANA Cloud local runtime" it can happen that you'll be assigned another port than 8080 to that server. This is the case whenever that port is already used by an application running on your machine.
For the course this is no issue at all. Simply use that port instead of the standard port 8080. If you forgot the port number of your local SAP HANA Cloud Platform runtime just double-click on the server entry in Eclipse and you'll see the port inside the newly opened window in Eclipse (see screenshot below):
On Windows you can find out which applications are running on which ports with the following commands in your command line:
netstat -a -b -p TCP
There should be a line like
TCP 0.0.0.0:8080
or
TCP 127.0.0.1:8080
In the next line the file name of the program is given.
Nearly all of the sample projects use JRE 6. In case you have another JRE installed on your machine you can either install JRE 6 on your machine and point Eclipse to that installation (Eclipse Preferences>Java>JRE).
Alternatively you change the project properties of each sample project by right-clicking the project and clicking on Properties > Java Build Path > Libraries. After that double click the JRE System Library entry and select the other (Alternate) JRE you are using:
For those of you installing the sap jvm don't forget to add this setting to the eclipse.ini after the -vmargs option:
-XX:MaxPermSize=256m
Without this you will experience weird things with eclipse hanging all the time.
Get more details about this at https://help.hana.ondemand.com/help/frameset.htm?76137f42711e1014839a8273b0e91070.html.
After installing SAP HANA Cloud Platform Tools and restarting Eclipse, there is no "SAP > SAP HANA Cloud" node in the "New Server Runtime Environment". My colleague vladimir.pavlov provided a blog post with a workaround for this issue.
In case you have no experience at all with Eclipse I can recommend the free video course Eclipse and Java for Total Beginners. The course assumes you have no experience with Eclipse or Java and brings you up-to-speed in 16 lessons.
7
When deploying your first application to the cloud you might run into some issues.
The most prominent one is the usage of wrong connection details.
Ensure you are using the correct host for your trial account. This is hanatrial.ondemand.com and NOT hana.ondemand.com
Also be sure to use the correct account name and user.
The account name is something like Pxxxxxxxxxxtrial and the user name is Pxxxxxxxxxx.
You can get your account name at your account cockpit. It's at the top left corner under the text "Account".
In such cases you should follow the following steps:
If you follow those steps you should be able to deploy the app.
Sometimes users forget their password for their account or don't know it (e.g. if they are SAP employees that get to the account cockpit with SSO).
In such cases you can follow these steps:
Please be aware that you can change your password only once within every 24 hours.
If you get this message in the Console view of your Eclipse when deploying an application to your local machine you can try the following possibilities:
When switching to the Console view you see an error message telling you that 'findstr" is not recognized.
The problem is most probably related to your system PATH variable. This means that C:\Windows\System32 is not inside you PATH. Just add it and restart Eclipse and this should work. Find some detailed descriptions how to add something to your PATH in these instructions:
Best,
Rui
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 |