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

Using a custom Identity Provider (Google or Facebook?)

$
0
0

Hello there,

 

for testing i want to use a open and free custom identity provider.

Can you recommend an IP which works easily with nwc apps?

 

I do not have an own IP and want to use an open one which i can configure online.

How can I use Google or Facebook as IP?

 

Thanks, Martin


Configure autostart for bundles using eclipse features

$
0
0

Hi,

 

I'm currently trying to configure automatic start for some bundles I'm deploying using the neo sdk tools. When developing my own bundles I can simply add a p2.inf file into the META-INF folder which contains the touchpoint instructions to mark the bundle as started. But for 3rd-party bundles I don't want to go this way because I don't want to create custom forks just for adding the p2 information. I think it should also be possible to define the touchpoint instructions in an eclipse feature and deploy the feature jar together with my bundles but wasn't successful so far. Is this a supported scenario anyway?

 

Best regards,

Tobias

 

PS:

Also adding the contents of my p2.inf file here which is located in the feature (and mentioned in the build.properties):

 

#create a requirement on the fragment we are creating
requires.0.namespace=org.eclipse.equinox.p2.iu
requires.0.name=configure.org.eclipse.equinox.http
requires.0.greedy=true

#create a IU fragment named configure.org.eclipse.equinox.http
units.0.id=configure.org.eclipse.equinox.http
units.0.version=1.0.0
units.0.provides.1.namespace=org.eclipse.equinox.p2.iu
units.0.provides.1.name=configure.org.eclipse.equinox.http
units.0.provides.1.version=1.0.0
units.0.instructions.install=org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact});
units.0.instructions.uninstall=org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact});
units.0.instructions.unconfigure=\
  org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:-1); \  org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:false);
units.0.instructions.configure=\  org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:4); \  org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:true);
units.0.hostRequirements.1.namespace=osgi.bundle
units.0.hostRequirements.1.name=org.eclipse.equinox.http
units.0.hostRequirements.1.greedy=false
units.0.hostRequirements.2.namespace=org.eclipse.equinox.p2.eclipse.type
units.0.hostRequirements.2.name=bundle
units.0.hostRequirements.2.range=[1.0.0,2.0.0)
units.0.hostRequirements.2.greedy=false
units.0.requires.1.namespace=osgi.bundle
units.0.requires.1.name=org.eclipse.equinox.http
units.0.requires.1.greedy=false

Spring Roo: Authentication failed when deploying

$
0
0

I am trying to deploy the Voting application as per tutorial. It went well untill I tried to deploy the project on Cloud.

 

I have gone through the procedure, accepted end user license agreement, logged into my trial account and pre-requisite I am aware of. But, still I get a authentication error when trying to deploy the project on cloud.

 

Also, to mention, I am not behind a proxy.

 

Attached the the capture from my command prompt...

 

Please guide me with this

 

Best regards,

Chinnu

Tools Update sites not working

existing SAP NetWeaver Cloud apps

$
0
0

Hi,

i'm searching for more information about SAP NetWeaver Cloud Apps.

 

In the SAP Store is the flag "Cloud Solutions" (https://store.sap.com/sap/cp/ui/resources/store/html/Solutions.html?pcntry=DE&sap-language=EN&catID=CLD&_cp_id=id-1360219725236-0#All), where are listed about 110 solutions of SAP and Partners.

What kind of apps are this, because the most of them requires SAP Business ByDesign.. so this "Cloud Solutions" doesn't accord with "SAP NetWeaver Cloud" apps?!

What kind of function does they have - only for ByDesign solutions or respectively for the portal, too?

 

For which kind of solution should a SAP NetWeaver Cloud App be!? Is there an example in the SAP Store - and where could I find it?

 

 

Greetings,

Andi

foreward security information

$
0
0

We have decided to split our application into two parts for the cloud:

 

/ui  -- contains all HTML + Javascript + CSS files and is deployed as WAR along with web.xml

/app -- contains REST services whith session handling and so on (spring based), deployed as a seperate WAR

 

Both are seperate WAR artifacts and deployed independent into one cloud instance.

 

The /ui make calls to the /app via JSON REST interface.

 

Now we want to introduce the SAP cloud security concept and found following issue, where we have no real idea howto handle this:

 

- we have setup security constraints as described in https://help.netweaver.ondemand.com/default.htm?enabling_id.html#concept_93EA4D93901D4E63B7F6F447F14AD5D2_106

- we figured out, that we need to setup such constraints in both applications (/ui and /app) to protect the REST services AND become the form for the user login

 

The first call to the /ui application redirects to the FORM and we can give username and password and the UI starts (fine). Then the UI makes a REST call to the /app and the /app wants to get also authenticated ... and this does not work ... /ui seems to hang. (current hack is to call the app in another tab of Firefox, authenticate with same user and refresh the /ui ... then all subsequent calls working)

 

What we want in the end is a way, to authenticate the user in the /ui and protecting the /app . The /app should also get the "real" user information (like userName, firstname and so on) from the user management service. The /ui itself should not be protected.

 

Is it possible to "foreward" an cookie/special header to the /app which tells the /app that a authentication succeeded and no further authentication is required? An if someone access the /app without such cookie/http header he needs to authenticate first?

Differences between the "Starter Accounts"

$
0
0

Hi there..

I read up on the variable accounts for deploying an SAP Cloud App.

In the SAP Store I found the two "small" possibilities, but I didn't find a difference: The count and spezification of the VM unit are the same, but for the price is different...!?

 

There is a "SAP NetWeaver Cloud Starter Package" (https://store.sap.com/sap/cp/ui/resources/store/html/SolutionDetails.html?pcntry=US&sap-language=EN&pid=0000009169) which costs round about 4.300€/year.

But if I would take part in the "SAP NetWeaver Cloud App Partner Program" (https://www.sapcloudappspartnercenter.com/pdf/SAP_NetWeaver_Cloud_Applications_Partner_program.pdf) there are only costs of 1.990€/year.

 

Or is the Partner Programm a must-have!?  So that it's planned, that the "Starter Package" should be the following account after reaching the limits of the Partner Programm-specifications!?

 

 

Greetings,

Andi

I have to become a SAP Cloud partner?

$
0
0

Hi there..

I'm searching for some information about implementing SAP Cloud Apps.

 

I've read about the SAP Partner program - is it necessary to become a partner and publish a developed app in the SAP Store!?

What does I (the developer) need??

I'm right, that I either have to become a prtner (https://www.sapcloudappspartnercenter.com/become-a-partner) or get a "normal" developer account like the Starter Package (https://store.sap.com/sap/cp/ui/resources/store/html/SolutionDetails.html?pcntry=DE&sap-language=EN&pid=0000009169) ??

 

 

Or is it also possible to develop a individual SAP Cloud App, which is only trimmed for one of my enterprise? What does 'I need than - what would you prefer? And what are the requirements for the enterprise, which want to use the SAP Cloud App: a SAP Cloud licences, or where will the app "saved"?

 

 

Thanks for some help..

Andi


NW cloud end-to-end tutorial problem

$
0
0

Hi,

     I am new to UI development. While trying to develop personsdata app, and when trying to debug it on browser it is giving strange error. Can anybody help me out with this error. I have tried to google out the cause but no help. I am putting the snapshot from google chrome debugger and source code down here.

Please help.

 

nw app err.PNG

personsdata.view.js

------------------------------------------

sap.ui.jsview("e2e-nwcloud-app-persons-list-web.personsdata", {      getControllerName : function() {         return "e2e-nwcloud-app-persons-list-web.personsdata";      },      createContent : function(oController) {                                //Create Table                var oTable = new sap.ui.table.Table(                                    {title : "Persons List",                                     visibleRowCount : 7,                                     firstVisibleRow : 3,                                     selectionMode : sap.ui.table.SelectionMode.Single                                    });                                var oToolbar = new sap.ui.commons.Toolbar({                                    items : [new sap.ui.commons.Label({ id : 'firstNameLabelId',                                                                                                                                text : "First Name"                                                                                                                                }),                                                           new sap.ui.commons.TextField({                                                                                                                                         id : 'firstNameFieldId',                                                                                                                                         value : '',                                                                                                                                         width : "10em"                                                                                                                                         }),                                              new sap.ui.commons.Label({id : 'lastNameLabelId',                                                                                                             text : "Last Name"                                                                                                            }),                                              new sap.ui.commons.TextField({                                                                                                                                                 id : 'lastNameFieldId',                                                                                                                                                 value : '',                                                                                                                                                 width : "10em"                                                                                                                                                 }),                                                                      new sap.ui.commons.Button(                                                                                        { id : 'addPersonButtonId',                                                                                         text : "Add Person",                                                                                  press : function () {                                                                                        oController.addNewPerson(sap.ui.getCore().getControl("firstNameFieldId").getValue(),                                                                                                           sap.ui.getCore().getControl("lastNameFieldId").getValue(),                                                                                                                                                                         oTable);}                                                                                                                                            })]                                                   }); // End of oToolbar                                oTable.setToolbar(oToolbar);                                // Creating Columns for Table                oTable.addColumn(new sap.ui.table.Column({                        label : new sap.ui.commons.Label({                                  text : "First Name"                        }),                        template : new sap.ui.commons.TextField().bindProperty("value","firstName"),                        sortProperty : "firstName",                        filterProperty : "firstName",                        width : "100px"                }));                                oTable.addColumn(new sap.ui.table.Column({                             label :  new sap.ui.commons.Label({                              text : "Last Name"                             }),                             template : new  sap.ui.commons.TextField().bindProperty("value","lastName"),                             sortProperty :  "lastName",                             filterProperty : "lastName",                             width : "200px"                            }));                                //binding - (look more tomorrow from DemoKit IE)                oTable.bindRows("/persons");                                oTable.placeAt("content");      }


});

 

personsdata.controller.js

 

sap.ui.controller("e2e-nwcloud-app-persons-list-web.personsdata", {
/**
* Called when a controller is instantiated and its View controls (if available) are already created.
* Can be used to modify the View before it is displayed, to bind event handlers and do other one-time initialization.
*/   onInit: function() {             var oPersonsModel = new sap.ui.model.json.JSONModel();                          oPersonsModel.setData({                       persons : [{                                 firstName : "",                                 lastName : ""                       }]             });                          this.getView().setModel(oPersonsModel);   },             addNewPerson: function(sFirstName, sLastName, oTable) {                       var oPersonsModel = new sap.ui.model.json.JSONModel();                           oPersonsModel.setData({                                 persons : [{                                           firstName : sFirstName,                                           lastName : sLastName                                 }]                       });                           this.getView().setModel(oPersonsModel);                       oTable.unbindRows().bindRows("/persons");                 }
/**
* Similar to onAfterRendering, but this hook is invoked before the controller's View is re-rendered
* (NOT before the first rendering! onInit() is used for that one!).
*/
//   onBeforeRendering: function() {
//
//   },


/**
* Called when the View has been rendered (so its HTML is part of the document). Post-rendering manipulations of the HTML could be done here.
* This hook is the same one that SAPUI5 controls get after being rendered.
*/
//   onAfterRendering: function() {
//
//   },


/**
* Called when the Controller is destroyed. Use this one to free resources and finalize activities.
*/
//   onExit: function() {
//
//   }


});

 

index.html

 

                                                                                                                                             
      

 

 

Thanks & Regards

Gaurav

Web application bundles (wab) on nw cloud

$
0
0

Is it possible (or planned to be supported) to deploy web application bundles on the nw cloud? According to the documentation one can deploy wars and osgi bundles. I just tried to deploy a minimal wab with a single servlet. The wab has a its classes under WEB-INF\classes, a web.xml fle and a manifest with the web contextpath entry and the the bundle class path set to WEB-INF\classes. After starting the app I can see in the log files entries like '

#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#All bundles are active|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#All bundles are active|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#All bundles are resolved|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#Context path [webconsole] not found in any of the web application paths|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#Applications not started yet: {webconsole=Application with context path [webconsole] is not started.}|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#Not all applications started yet|

'

Is there anything else required? I've seen at http://zeroturnaround.com/software/jrebel/resources/documentation/jrebel-how-to-getting-started-with-sap-netweaver-cloud/ that they use a touchpoint action for p2 to extract the bundle but don't know if this is a strict requirement? The documentation is definitely lacking some details here. Also I wasn't able to find a list of the provided bundles/packages in the nw cloud. Sure one can enable the debug level logging (thats what I've done) and look at the output here but this isn't really cool.

NEO SDK release management

$
0
0

Hi,

 

I just recognized that version 1.18.1 of the neo sdk tools is available for download. Is there some resource available which lists the changes compared to version 1.17.0? Also it would be cool to have some mechanism in place where new releases are announced (just in case there already exists such a resource I think it could need some promotion ).

 

Best regards,

Tobias

Custom Cloud Solution SAP Netweaver interfacing with SAP BusinessOne OnDemand

$
0
0

Context: Distributed small retail operations (typically 1-2 people per shop eg small stores, Pharmacies), geographically distributed


Business Problem: Owners have challenges integrating Sales,Stocks,purchasing across distributed retail operations

 

Suggested Solution: Write HTML5 POS software for each retail operation using SAP Netweaver Cloud
POS software in real time updates (AWS) cloud based software with sales, stocks, attendance et al
Cloud based software interfaces with SAP BusinessOne OnDemand to provide Financials, Sales, Purchasing and S

 

Front End Problem:
Can I use SAP Netweaver to write the POS HTML5 App running on the PC in the retail outlet

 

Back End Problem:

Can SAP Netweaver Cloud enable me to code the back end to give me access to the functionality of SAP BusinessOne?

 

SolutionDesign.jpg:

To connect the retail operations to a cloud based SAP BusinessOne OnDemand solution and give the Owner Manager the benefit of SAP BusinessOne being fed by my software

NetWeaver 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

NetWeaver Cloud downtime announcements

$
0
0

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

 

Regards,

NetWeaver Cloud operations team

jdbc driver for SAP HANA?

$
0
0

Hi,

 

I was deployed excel file reader application using tomcat 7. For the back end purpose i used oracle 11g(oracle.jdbc.driver.OracleDriver ). How could I deploy the same application using SAP Netweaver Cloud and which driver i have to use for SAP HANA DB.

 

Thanks and Regards,

Manoj


NW Cloud communiation with IaaS and SaaS ?

$
0
0

Hello,

 

Is there any reference about NetWeaver Cloud Architecture and the types of allowed communication methods with other layers (IaaS, SaaS) ?

 

Any quick help will be appreciated

 

Regards

Servlet 3.0 async support

$
0
0

Hi,

 

I'm currently trying to make use of the servlet 3.0 async api. I have a very simple web app with a single servlet with async supported set to true. If I run this webapp on a local tomcat 7.0.30 it runs fine. But when I run the same web app on either the local or the hosted netweaver cloud I get the following exception:

 

java.lang.IllegalStateException: Async support must be enabled on a servlet and for all filters involved in async request processing. This is done in Java code using the Servlet API or by adding "<async-supported>true</async-supported>" to servlet and filter declarations in web.xml.    at org.springframework.util.Assert.state(Assert.java:384)    at org.springframework.web.context.request.async.StandardServletAsyncWebRequest.startAsync(StandardServletAsyncWebRequest.java:98)    at org.springframework.web.context.request.async.WebAsyncManager.startAsyncProcessing(WebAsyncManager.java:424)    at org.springframework.web.context.request.async.WebAsyncManager.startDeferredResultProcessing(WebAsyncManager.java:403)    at org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler.handleReturnValue(DeferredResultMethodReturnValueHandler.java:49)    at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:69)    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:122)    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:920)    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:816)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)    at com.sap.security.auth.service.webcontainer.internal.Authenticator.invoke(Authenticator.java:147)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)    at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:169)    at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:84)    at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27)    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)    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:662)|

 

I think its maybe one (or all) of the SAP Valves which isn't ready for async support?

Problems with rpm files during installation of Netweaver Cloud Connector

$
0
0

Hello,

 

I try to install the Netweaver Cloud Connector on an Linux Open Suse SLES 11 SP1 VM. I have downloaded the cloud connector and unzipped it. Then I try to start the installation with the command "rpm -i --aid *.rpm" as described in the installation guide (https://help.netweaver.ondemand.com/default.htm?installing_scc.html#concept_DC30B7FCC16A45D78551DA0818521B7A_56).

 

But I got some errors:

 

error rpm.PNG

 

I haven't got Linux experiences, so I don't know what to do and how I got the missing programs. Can anyone tell me how I got the missing files? Is that a missing library or are they included in a service pack?

 

Thanks,

Anne

External HANA connection

$
0
0

Hello everyone,

I need to connect to an external HANA server (not the one provided by JPaaS).

I know this goes against the principles of JPaaS but i need to do it.

 

This is the code i wrote to connect using JDBC:

 

String hanaServer = ""; //Here goes the IP address of the server

String hanaPort = "30015";

String hanaUser = "test";

String hanaPassword = "test";

 

         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");   

        java.sql.Connection conn=DriverManager.getConnection("jdbc:odbc:"+hanaServer+":"+hanaPort, hanaUser, hanaPassword);   

        Statement stmt = conn.createStatement();   

        ResultSet rs = stmt.executeQuery( "SELECT * FROM \"_SYS_BI\".\"BIMC_ALL_CUBES\"" );    //just a SQL query for testing the connection

 

         while( rs.next() )   

         {   

               System.out.println( rs.getString(1));   

               System.out.println( rs.getString(2));    

         }   

 

 

         rs.close() ;   

         stmt.close() ;   

         conn.close() ;

 

When i run this code, i get the following error

 

[unixODBC][Driver Manager]Data source name not found, and no default driver specified

 

Does anybody know how can i make this work?

 

Thanks!

Julian

existing SAP NetWeaver Cloud apps

$
0
0

Hi,

i'm searching for more information about SAP NetWeaver Cloud Apps.

 

In the SAP Store is the flag "Cloud Solutions" (https://store.sap.com/sap/cp/ui/resources/store/html/Solutions.html?pcntry=DE&sap-language=EN&catID=CLD&_cp_id=id-1360219725236-0#All), where are listed about 110 solutions of SAP and Partners.

What kind of apps are this, because the most of them requires SAP Business ByDesign.. so this "Cloud Solutions" doesn't accord with "SAP NetWeaver Cloud" apps?!

What kind of function does they have - only for ByDesign solutions or respectively for the portal, too?

 

For which kind of solution should a SAP NetWeaver Cloud App be!? Is there an example in the SAP Store - and where could I find it?

 

 

Greetings,

Andi

Viewing all 3131 articles
Browse latest View live




Latest Images