Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all 3285 articles
Browse latest View live

With neo-sdk-javaee6-wp-2.10.0.1 I get "VirgoJsfInjectionProvider' does not implement the InjectionProvider interface"

$
0
0

Hi,

 

when trying to run my application in eclipse Juno with the SAP HANA Cloud local runtime from neo-sdk-javaee6-wp-2.10.0.1 I get on startup of the server the following error:

ERROR#javax.enterprise.resource.webcontainer.jsf.application##anonymous#Start Level Event Dispatcher###JSF1029: The specified InjectionProvider implementation 'org.eclipse.virgo.web.enterprise.jsf.support.VirgoJsfInjectionProvider' does not implement the InjectionProvider interface.

 

And indeed the injection does not seem to work, as I have inside a @ManagedBean an @EJB annotated member  with a class type annotated with @Stateless @LocalBean and I get a NPE when accessing that member from a JSF page.

 

What can I do?

 

Any ideas to further diagnose the problem?

 

Thanks in advance,

Wolfgang


Getting IP address of connected user in servlet

$
0
0

Getting the IP address of the client connecting to an HCP servlet should be easy.

 

(eg if using Spring MVC)

 

@Controller
@RequestMapping(value = "MyIPAddress")
public class GetIPAddressServlet {  @RequestMapping(method = RequestMethod.GET, produces = "application/json")  @ResponseBody  public String get(HttpServletRequest request, HttpServletResponse response) {  return "{\"ipaddress\":" + request.getRemoteAddr() +"\"}";
}  }

However, this always returns the IP address of what I can only guess is a reverse proxy server that is feeding requests to my app.

 

How do I get access to the real client's IP address? Is it possible? or do I have do do something client side to speak to another (non HCP) server to do the same thing and then send it to HCP?

 

The IP address is getting logged in the HTTP access log - so it must be available somewhere, but how do I get it in my application?

 

Thanks for any pointers!

 

Cheers,

 

Chris

SSO from HCP App to SAP Jam

$
0
0

Hi, we are currently working on an SAP internal project which is actually an App deployed to HCP. We are delegating the user authentification to SAP ID Services and to be exact we are using FORM Authentication. In the App, we have links to SAP(internal) Jam(https://jam4.sapjam.com/).

 

In most cases our scenario works. However, if we use Firefox to access our App, since it does not take the SAP SSO certificate automatically(for Chrome you get a pop up to select your SAP SSO certificate), we are prompted to enter the SCN user and password(auth. 1). This is so far ok. However, after authentication and after I have logged in the App, I click the SAP Jam link inside to App, I am again prompted to enter my SCN user and password(auth. 2). This is not so nice.

 

I know, the first authentification(auth. 1) checks only if the user has a valid scn user and password and the second time(auth. 2), since I am accessing an SAP internal Jam group, I am or at least should be checked agains my SAP company internal credentials.

 

My questions:

1. during the second authentification(auth. 2), why it works, when I enter my SCN credentials not my SAP company internal credentials? I have different password for my SCN credentials and my SAP credentials. Maybe it is because they have the same ID(my D-number?)?

2. how can I get rid of the second authentification(auth. 2)? We have application logic already in our App to check, that the users of our App are SAP internals(D-number or I-number), so it would be really nice that somehow SAP ID Services can provide some API to do a silent login, like the scenario in my question 1.

 

Really appreciate your help. Thank you.

 

Regards, Yashu

Source and procedure to install SAPUI5 tools in eclipse environment?

Stuck on deployment of JS application in hanatrial

$
0
0

Hi,

 

I wrote a simple hello world application in JS and deployed it on the hanatrial server. After a couple of successful deployments my Eclipse was stuck on the publishing phase (about 8%) for a long time. Stopping and redeployment, as well as restarting Eclipse didn't help, so I've deleted the project, hoping, that I could simply delete the app from the platform cockpit. However, when I looked on the Java pane, my application was listed there as "starting". Now I can't delete it from the platform cockpit, as the delete button is disabled. How can I solve this problem? Maybe there is a way to put the account to the "factory state" or something like this?

 

Regards,

K.

container "Java Web Tomcat 7" and JSTL support

$
0
0

Hi,


I am confused about the JSTL support in the runtime container "Java Web Tomcat 7".

The documentation says that is a supported API.

https://help.hana.ondemand.com/help/frameset.htm?0009b930ede54f388c88592a6828abc3.html

But there is nothing under the api directory in the SDK.

neo-java-web-sdk-2.17.6/api/
=> no jstl related jar

 

Contrary to the "Java EE 6 Web Profile" container where the doc and the sdk are in sync.

doc => https://help.hana.ondemand.com/help/frameset.htm?be583e0a135640bcb06ef2db6a6ff51a.html

sdk => neo-javaee6-wp-sdk-2.53.18/api/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar

 

Thanks.

Cant access HANA cloud IDE - HANA XS Critical

$
0
0

Hi,

 

I am not able to access HANA cloud IDE since yesterday, it shows HANA trial instance health as CRITICAL. Is anyone else facing this issue or something wrong with my account?

 

Regards,

Amit Gupta

Deployment of WEBIDE application to SAP ABAP repository

$
0
0

Hello,

I have built an UI5 application using SAP WEBIDE. Now I want to deploy it to my back end ABAP repository. So in my WEBIDE, I try to deploy the project to ABAP repository, I am able to select my backend system. But it gives me an error 'Forbidden error'. No additional details. Please see the screenshots of error and y desitnation configuration of my HCP. Kindly help.

 

deploy_abap.PNG

 

Destination configuration:

destination_hcp.PNG

 

Thanks and Regards,

Sandhya


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

Download SAP HANA Cloud Documentation guide

Installation of "UI development toolkit for HTML5" fails

$
0
0

Hi all,

 

I have installed UI development toolkit for HTML5 (version 1.26.5) in Eclipse Luna. After Eclipse restart a problem occurred:

25-02-_2015_10-30-40.jpg

 

ABAP communication layer is not configured properly. This might be caused by missing Microsoft Runtime DLLs VS2010. Consult the installation guide or download page for further details on how to install this component.

Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

 

In installation guide or download page I could not find any instruction whether to install the component Microsoft Runtime DLLs VS2010.

 

The error log shows several entries from the restart:

25-02-_2015_10-30-49.jpg

I wonder whether there is something missing in the installation guides or the versions of SAPUI5 tools and Eclipse Lunado not match?

 

It would be nice to get some help on how to find a way out of this deadlock.

 

Regards, Heiner

Massive import of groups/roles in HCP cockpit

$
0
0

Hi all,

I'm currently looking for options to perform massive assignment of roles/groups to users.

I am aware of assertion-based groups, but my IdP at the moment does not support custom attributes.

I'd be really glad to use any "massive import" feature on HCP cockpit (like uploading a json formatted file) but not sure about how to do so.

Anyone knows how this can be achieved or whether there's any plan to implement it?

Thanks, regards

Vincenzo

Role management in Hana Cloud Platform: make app publicly available

$
0
0

Hi experts,

 

quick question about roles management in Hana Cloud Platform (trial account).

 

We have the following scenario:

1. we have created a hana cloud portal site that is publicly available

2. within this portal site we included a html widget that contains a UI5 app that is also deployed to the Hana Cloud Platform

 

This application should also be publicly available (i.e.without the user having to log on).

 

We succeeded in the first step: every user can access the site without having to log on, however, in the widget of the application he still needs to provide credentials (see screenshot).

 

Is it possible to deploy an app to Hana Cloud Platform and make it publicly available?  Or is this a restriction related to the fact that I'm using a trial account.

 

Many thanks for your much appreciated input.

 

Kr,

 

Tom

ESA App Camp Barcelona – Invent and Build Solutions Using Earth Observation Data Together With HANA Cloud Platform

$
0
0

Earth observation data provided by the European Space Agency (ESA) are an interesting source for innovative products and service offerings. At the ESA App Camp, participants show how they can use HANA Cloud Platform for implementing their ideas using SAPUI5 and HANA’s high performance spatial capabilities.

 

From February 26 until March 1, six teams, altogether 23 participants from 11 countries, compete in the final of the ESA App Camp in Barcelona which is sponsored by SAP University Alliances.

 

During the preselection events in January, they convinced already representatives of ESA and SAP with their ideas and plans how to develop geospatial data related solutions on HANA Cloud Platform:

Sustainable fishing, improving renewable energy business or helping farmers at their work are just some of the ideas the teams are currently building HCP applications for.

 

Six technical experts from SAP (Hinnerk Gildhoff, Dr. Jens Glander, Daniel Knecht, Stephan Lange, Christian Schütz and Sascha Zorn) support the participants with their insights how to use SAP’s technology platform best. They also provided the participants with an example application on how to use HANA spatial functionality for analyzing earth observation data.

 

Participant Ana Cristina van Oijhuizen: “We are excited to implement our idea on HANA Cloud Platform. Thanks to the SAP team for the great technical support.

 

On Sunday the teams will present how their business ideas had become a real running application on HCP. We are looking forward to share these results with you as soon as we have seen them.


BildFuerBlog.jpg

Filename case sensitivity problem in SAP HANA Web-based Development Workbench

$
0
0

Hallo, I am using the "SAP HANA Web-based Development Workbench" tool and it seems, that there are some filename case sensitivity problems in the background. I tried to change a filename in one position to a capitalized letter and the tool let me no more change any content or delete these files: (filename createperson --> createPerson) 15:56:32 >> Error while renaming file: Server Error:TypeError: target is null 15:56:43 >> Error while renaming file: Server Error:TypeError: target is null 16:02:04 >> Error while loading file: File inconsistent, could not load: p1941217271trial/dev/perslist/procedures/createperson.hdbprocedure 16:02:23 >> Error while activating deletion of file: "p1941217271trial.dev.perslist.procedures:createperson.__DT_CATALOG_OBJECT__": runtime object not foundUnknown object "p1941217271trial.dev.perslist.procedures::createperson". 16:02:24 >> Error while loading file: File inconsistent, could not load: p1941217271trial/dev/perslist/procedures/createperson.hdbprocedure Is there a way to handle this problem ? Thanks a lot! Peter


500 error - Unable connect to HCP trial instance

$
0
0

Dear HCP Experts,

 

I am trying to connect to HCP trial instance and having few errors as in the screenshot. For a moment the instance was connected and i am able to access the catalogs also , but got disconnected in the very next minute.

 

My system is n't behind proxy and i can see no maintenance / downtime from HANA Cloud Trial downtime announcements 

 

The error logs are as added below :

 

Error when adding the Hana Cloud system and connecting to trial instance in Eclipse Luna :

 

Hana Connection failure.png

 

Error Log : 500 Internal server error

HCP Connection Error Log.png

Stack Trace of the error : which shows 500 Error in the server.

 

Stack Trace-1.png

Health of the system :

Health.png

Is there any maintenance / downtime of the system now ?

 

Regards

Virinchy

Internal host in cloud connector

$
0
0

Hi,

 

I want to specify internal host in cloud connector.

 

How can i do this? Do i need to create a service or something on local and host it in iis?

 

Any example?

 

Thanks

 

Vishul

Limitations for HCP Developer Trial

$
0
0

Does anyone know what are the limitations on the HCP Developer Trial (Free version)?

 

From the cockpit it looks like I only have about 4GB disk space.  What about memory?

 

Also, what are the other limitations as opposed to the paid version?  I am an SAP Partner (PartnerEdge).

 

I am looking to develop and test an application on it.  I have about 1TB worth of data

 

Thanks

Tipton

HCP Connecting to Backend

$
0
0

Hi,

 

I don't see any widgets connecting to backend system in Hana cloud Portal.

I am just trying to understanding the flow...

 

I have developed the UI5 Application which get access to Odata service via hana cloud connector.

How can I publish in Hana cloud portal...I don't see any widgets for any html5 /backend applications

If I want to publish a t-code from backend system I don't see any template/widgets in hana cloud portal...

 

 

 

Any idea...?

 

 

Regards,

Swathi

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

Viewing all 3285 articles
Browse latest View live