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

Blank Fiori Launchpage

$
0
0

Hi All,

 

I am getting a blank screen in my Fiori Launchpage. I couldn't see any content inside my launchpage. I developed this fiori launch page through my sap hana trial account. And also I see some error in my console.

 

 

Error Console :

 

 

2016-03-10 15:34:08.110995 Error in OData response for GET "/sap/opu/odata/UI2/PAGE_BUILDER_PERS/Chips('57319550-87fe-4306-a710-8b3d99e6c78d')": HTTP request failed - {"requestUri":"/sap/opu/odata/UI2/PAGE_BUILDER_PERS/Chips('57319550-87fe-4306-a710-8b3d99e6c78d')","statusCode":500,"statusText":"Internal Server Error","headers":[],"body":"<html><head><title>Error report</title></head><body><h1>HTTP Status 500 - An internal application error occurred.\nRequest: 2974412851 p1940664083trial:flpportal</h1></body></html>"} sap.ui2.srvc.PageBuildingService

 

 

2016-03-10 15:34:08.110995 Failed to load chip instance -  sap.hana.uis.flp.model.UISFioriModel


SQl Script procedure semantic error: unresolved table types

Can not delete java application.

$
0
0

Hi experts,

could you please help with application maintenance.

 

Java application was deployed on HANA Cloud trial instance with Dashboard. ( it was loaded existed .WAR file , not using Eclipse).

Application has  now status as stopped , but it is possible to run it from URL.

 

hana-java-stopped1.jpg

 

 

It is not possible to stop or delete application:

                   Alert

                   Could not delete application ochat: Internal Server Error (500)

 

Not any other applications can be started.

 

hana-java-stopped.jpg

 

Thanks,

Viktor

Insufficient Privilege (EXECUTE on REPOSITORY_REST)

$
0
0

Hi,

 

I am using the hana.ondemand.com platform.

 

My studio modeler is remotely connected to the platform. Under the Content folder, i have this error "Insufficient Privilege (EXECUTE on REPOSITORY_REST)" as screen shot below:

 

hana_cloud_error.png

I am using Studio revision 60. What is the cause?

 

Regards.

YS

Custom IDP on HCP breaks my WebIDE

$
0
0

Hi,

 

On our productive HCP account, we've made a custom Trust relation with our ADFS system.

This works great, and our users are now able to logon with their domain user id, into our HCP apps.

trus.png

 

The problem is a bit with the administration.

Now that ADFS is the trusted IDP, we have authorization issues with:

- WebIDE

- HCPms cockpit

unauthorized.png

 

These two expect an S-user.

In our HCP, we've also defined a couple of S-users in the members section, as administrators and developers.

 

members.png

 

One of the ideas I had, was to define a secondary IdP (as you can see in the first screenshot) to Accounts.sap.com, so that I could navigate to the webide and HCPms cockpit with the addition of "?saml2idp=accounts.sap.com" to the url.

 

Unfortunately, I didn't get that to work because:

A) I don't know the exact settings for Accounts.sap.com

B) I'm not sure that this will work with our custom Trust provider.

provider.png

 

Bear in mind that I know very little of SSO and IdP, and most of the above setup is done by trial and error. I'm already very happy that I got the ADFS connection working for the end-users.

 

Any suggestions how to get the WebIde and HCPms cockpit working again?

IoT MMS doesn't work

$
0
0

Hi,

 

I'm using Internet of Things service on HCP account Custom Development IoT-challenge.

I've deployed the latest version of a Message Management Service and it stopped working.

Now it reports an error: Access to the requested resource is not authorized (HTTP 401).

But before updating it worked OK.

 

There are stacktraces available

 

Error in SAML2 configuration. JPaaS SAML2 Login module initialization failedjava.lang.IllegalStateException: Error while parsing configuration for tenant configuration of tenant ConfigurationCacheEntryId [tenantId=e6d44f67-9447-4af5-90b5-650fb4fa70a3, account=null, tenantAlias=null]

  at com.sap.core.jpaas.security.saml2.service.cfg.SAML2JPaaSConfigurationReader.modifyConfigurationEntry(SAML2JPaaSConfigurationReader.java:269)

...

Caused by: java.lang.NullPointerException: while trying to invoke the method java.util.List.iterator() of a null object returned from com.sap.core.jpaas.security.saml2.service.cfg.json.TrustedProvidersConfiguration.getIdentityProviders()

  at com.sap.core.jpaas.security.saml2.service.cfg.SAML2ConfigurationJPaaSImpl.addPasiveModeIdPsFromCfg(SAML2ConfigurationJPaaSImpl.java:219)

 

and another one

 

Error while parsing configuration for tenant configuration of tenant ConfigurationCacheEntryId [tenantId=e6d44f67-9447-4af5-90b5-650fb4fa70a3, account=null, tenantAlias=null]java.lang.NullPointerException: while trying to invoke the method java.util.List.iterator() of a null object returned from com.sap.core.jpaas.security.saml2.service.cfg.json.TrustedProvidersConfiguration.getIdentityProviders()

  at com.sap.core.jpaas.security.saml2.service.cfg.SAML2ConfigurationJPaaSImpl.addPasiveModeIdPsFromCfg(SAML2ConfigurationJPaaSImpl.java:219)

  at com.sap.core.jpaas.security.saml2.service.cfg.SAML2ConfigurationJPaaSImpl.initializeSAML2CfgFields(SAML2ConfigurationJPaaSImpl.java:213)

...

 

Full stacktrace in the attached file.

 

Could you please suggest a solution how this issue can be resolved?

 

Regards,

Yuriy Budenko



Multiple IdPs along with SAP Id Service

$
0
0

Dear All,

 

My usecase is to use a third party idP for certain users and the default SAP Id service for some others. The application knows when to use what. To achieve this I configured the third party IdP in the trusted IdP section. However I don't find the option to have the SAP Id service together with this. Is there a possibility to configure the SAP Id service the same way you define a third party IdP? If yes, how do I get the metadata file? Or is there a simpler way to always have the SAP IdP?

 

As per the documentation, when you have multiple IdPs, you could choose by using the parameter saml2idp, as follows.

 

https://<app name>.hana.ondemand.com/index.jsp?saml2idp=<idp name>

 

Where do I get the <idp_name> from? Is it the name that you find in the metadata file (which is a URL!)? . And could there be a special value for the SAP Id service?

 

Thanks,

Sandeep

got "HTTP Status 405 - Bad Method" on HCP tenant

$
0
0

Hi,

 

We are developing Fiori app on HCP and using sap.ui.unified.FileUploader to upload documents to HCP Document Repository. I developed a Document Service Servlet to handle loading uploaded documents to Document Repository. The whole scenario works fine on our development tenant.

 

On our testing tenant.

1) I deployed and registered the Fiori app to the tenant Launchpad;

2) I then subscribed my Java application (The Document Service Servlet) on tenant.

 

When I try to upload document from Fiori app on the testing tenant, I receive "HTTP Status 405 - Bad Method" from Servlet. 

 

The doPost method of Servlet is very well tested on Dev. tenant. Why does it return the error to Fiori client?

 

Any help will be highly appreciated.

 

Thanks,

Ken


Missing Workbench for Hana database

$
0
0

Hi HCP enthusiasts,

I created a "HANA <shared>" schema within the "Database&Schemas" option in the HCP cockpit. Now I would like to fill the database with some test data, but get no access to the Wokbench since the hyperlink is missing. Besides I only have the option to create "HANA <shared>" schemas - no HANA XS or HANA MDC options are availiable.

dbcreation.PNG

Does anybody know the reason for that or can help me to solve this issue?

 

Kind regards,

Tizian

Error while opening Message Management cockpit

$
0
0

Hello Experts,

 

I am working on SAP HCP trial account and trying to access IoT services. While accessing message management cockpit I am getting below error:

 

error.JPG

 

Earlier I was able to access, but now it is giving error. Please help me on this.

 

 

Thanks & Regards,

Pragati Gupta

Cannot unistall SCC 2.7.1 nor install the new 2.7.2

$
0
0

I keep getting these error when I try uninstalling SAP Cloud Connector 2.7.1 even though I have JDK 7u80 and the paths have been maintained.

 

jdk.pngjvm.png

Doesnt allow me to install the new SCC2.7.2 without uninstalling the old version too. Stuck! Could somebody help me resolve this?

HCP - Transporting UI5 Applications from Dev to Prod tenent

$
0
0

Hi,

 

What are the ways to "move" the UI5 application from DEV to PROD environment/tenent on HCP?

 

Export/Import would work but this would go against all the sophistication that was built around transport management. Can someone help understand the options?

 

Thanks

Jayant

Unable to configure HCP Mobile Services - Error at accessing HCPms Service

$
0
0

Hi everyone! I've been asked in my job to configure the HCP Mobile Services but I can't manage to get it working!

 

I followed the documentation to configure HCPms (SAP HANA Cloud Platform Mobile Services), the service is "Enabled".

 

The errors that come up are:

 

  1. When trying to subscribe to HTML5 Application "hanamobileprod" and trying to save it says: "Subscription or Application with name mobile already exists. Names must be unique across HTML5 applications and HTML5 subscriptions."
    If I type any other subscription name, let's say "othermobile", it appears to be working, but it's not listed in the table and it still says "Subscribed HTML5 Applications (All: 1)".
  2. Can't subscribe the account to the mobilejava JAVA application because there's not any option to subscribe any JAVA application.


Maybe those 2 points are no longer necessary to make HCPms work, because I've created a trial account and couldn't make those 2 points, but the HCPms Service can be accessed anyway and it works well.

When I try to enter the HCPms Service in my "productive" HCP account, I get the next error:


"HTTP Status 500 - An internal application error occured. Request: [reqnumber] [account]:mobile"

[reqnumber] is a number like 375289375

[account] is the account name like a01b00001


And it does that when I try to access any other HTML5 application, like the webide app, that is Subscribed (the only app list as subscribed).


Can you help me to get this to work? Any ideas you could give me is really appreciated.


Thanks in advance.

SAP HANA Cloud Connector on Windows 10

$
0
0

Hello Community,

 

Does SAP Hana Cloud Connector work on Windows 10 ?

 

After installation of Windows 10 I get Blank Screen after logon in https://localhost:8443/

 

Thank You !!!

 

Ugo Romano

Custom IDP on HCP breaks my WebIDE

$
0
0

Hi,

 

On our productive HCP account, we've made a custom Trust relation with our ADFS system.

This works great, and our users are now able to logon with their domain user id, into our HCP apps.

trus.png

 

The problem is a bit with the administration.

Now that ADFS is the trusted IDP, we have authorization issues with:

- WebIDE

- HCPms cockpit

unauthorized.png

 

These two expect an S-user.

In our HCP, we've also defined a couple of S-users in the members section, as administrators and developers.

 

members.png

 

One of the ideas I had, was to define a secondary IdP (as you can see in the first screenshot) to Accounts.sap.com, so that I could navigate to the webide and HCPms cockpit with the addition of "?saml2idp=accounts.sap.com" to the url.

 

Unfortunately, I didn't get that to work because:

A) I don't know the exact settings for Accounts.sap.com

B) I'm not sure that this will work with our custom Trust provider.

provider.png

 

Bear in mind that I know very little of SSO and IdP, and most of the above setup is done by trial and error. I'm already very happy that I got the ADFS connection working for the end-users.

 

Any suggestions how to get the WebIde and HCPms cockpit working again?


Unable to open Web Based Workbench from trial MDC

$
0
0

When  I tried to open Web based development workbench from the link which is written in my MDC trial database,

then input  'SYSTEM' and password  on login screen, following error is showed and can not open Workbench?

 

Untitled.gif

 

 

Does anybody know what's wrong ?

 

Br,

Masashi

Login problem to SAP HANA Web-based Development Workbench

$
0
0

Hi,

 

i have sucessfully created a HCP account and a HANA MDC instance under "Databases and Schemas". My hana instance is running.

When i start my SAP HANA Web-based Development Workbench a Login-Screen appears.

After input of my credential data i am allways get an error message: "Login failed: wrong credentials".

 

What is wrong?

 

I have allready tried with my S-user and my HCP-user with my password which i entered when creating the instance.

 

Greetings

 

Waldemar

IOT Cockpit Device Management is not loading with Devices

$
0
0

Hi Experts,

 

IOT Cockpit Device Management is not loading with Existing Device Types, Message and Device. Its was working before and some problem occurred today.

I am using SAP Hana Trial --> IOT Service.

 

 

iot Device management not loading.png

 

Thanks & Regards,

Arun

JCO_ERROR_COMMUNICATION: Initialization of repository destination

$
0
0

Hi,

Can someone please advise on where to look to fix this error, we are trying to get the sflight application running on hana (connects to our on premise server using cloud connector). The connection is established because we do see the logs in Cloud connector, but the logs show that access was denied to user. We made all settings exactly as in the tutorial [Cloud Connector - Build an on-premise extension with JCo/FRC]

 

The application server logs show following trace

 

2015 11 12 01:03:32#+00#ERROR#org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sflight-web].[

or servlet [CXFServlet] in context with path [/sflight-web] threw exceptionjava.lang.RuntimeException: org.apache.cxf.interceptor.Fault: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination dest_sflight failed: Opening connection to backend failed: Opening connection denied. Expose the system in your SAP HANA Cloud connector in case it was a valid request.

    at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:331)

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)

    at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158)

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243)

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:168)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.sap.core.communication.server.CertValidatorFilter.doFilter(CertValidatorFilter.java:151)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.eclipse.virgo.web.enterprise.security.valve.OpenEjbSecurityInitializationValve.invoke(OpenEjbSecurityInitializationValve.java:44)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

    at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)

    at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215)

    at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94)

    at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:24)

    at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

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

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

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

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

Caused by: org.apache.cxf.interceptor.Fault: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination dest_sflight failed: Opening connection to backend failed: Opening connection denied. Expose the system in your SAP HANA Cloud connector in case it was a valid request.

 

 

 

Any help is greatly appreciated

 

Thanks,
Sohel

SMTP destination and Keystore

$
0
0

Dear all,

 

I have Java application running in Hana Cloud Platform, and some time its send notifications by email using a SMTP server.

 

I have created a SMTP destination, and every works fine running locally in my PC, but when I deploy the APP on hanaondemand, I get  the following error

 

javax.mail.MessagingException: Exception reading response;

  nested exception is:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)

 

I think that the exception it is raised because Hana server doesn't recognize the SMTP server certificate, it does ?

 

Can you tell me if there a way to include this certificate into the TrustStore  validation chain used by Hana Server?

 

The documentation explain how to upload a JKS certificate for HTTPS connection.

Can I use this tool to upload the JKS certificate of the SMTP server?

 

And finally, which kind of JKS file is needed: the TrustStore containing the server certificate, or I have to include the root CA certificate also?

 

Thanks,

Viewing all 3131 articles
Browse latest View live


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