CPU Work load optimization in SAP HANA

Hi All,
In virtual SAP HANA , there is an option to assign/optimize the vCPU to corresponds to Physical CPU as mentioned in the document below,
.http://www.vmware.com/files/pdf/SAP_HANA_on_vmware_vSphere_best_practices_guide.pdf
But,in Physical SAP HANA Systems, are the below mentioned features available,
Can we assign dedicated CPU cores manually to a particular user/users ?
Or, Is there a way to reserve  certain CPU cores for particular Application/Schema Threads/Sessions?
Thanks for your help!!
-Gayathri
Message was edited by: Julie Blaufuss

Nope, there is no such cpu-core based allocation option available.
You can limit how many worker threads will be created, in case you need to balance the CPU usage on in a multi instance setup.
However, you don't have any control on the actual amount of CPU resource that any SAP HANA instance, let alone DB user or query has.
Comparing this with what you can do in vSphere is not suitable, as we are looking at a different level of abstraction here.
To SAP HANA the machine that vSphere emulates will have x cores and SAP HANA will use these x cores - all of them.
It's important not to forget that you have an additional layer of indirection here and things like CPU core binding can easily have negative side effects.
For the SAP HANA users it would be more interesting to have a workload management within SAP HANA that would allow to manage different requirements on responsiveness and resource usage (it's not just CPU...). And that is what the SAP HANA development is working on.
Maybe we're lucky and see some features in this direction later this year.

Similar Messages

  • SAP HANA calculation field

    Hello,
    I have a query on the new calculated field in SAP HANA. What is the usage of this field, what are the pre-requisites and potential case when it is recommended to use such fields? Do we need to have a calculative view to use the calcluated field or can it be used directly in ABAP code?
    Kindly let me know. We are in the process of code optimization for HANA.
    Best Regards,
    Mohit

    Hey Mohit,
    can you please give a bit more details, e.g. documentation about what you refer to as "the new calculated field in SAP HANA".
    Concerning the details of usage within HANA, i.e. whether you need a calculation view etc. you might have a look at the SAP Help (Introduction - SAP HANA SQL and System Views Reference - SAP Library)) or maybe directly in the HANA SQL reference (http://help.sap.de/hana/SAP_HANA_SQL_Script_Reference_en.pdf).
    From my answer I think you can directly guess, that there's no way in directly accessing the calculated field from ABAP - except of course if you access it using native SQL (ADBC or EXEC SQL).
    For code optimization in SAP HANA (from an ABAP developers perspective), you might want to have a look at our Open SAP course (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler) or in the documentation given in our "Get Started" Section of ABAP for SAP HANA namely ABAP for SAP HANA Reference Scenario and ABAP for SAP HANA Reference Scenario - AS ABAP 7.4 Support Packages.
    In case you need more HANA (less ABAP) related information for your question, you might additionally contact the HANA experts on SAP HANA Developer Center.
    Cheers,
    Jasmin

  • Open HUB ( SAP BW ) to SAP HANA through DB Connection data loading , Delete data from table option is not working Please help any one from this forum

    Issue:
    I have SAP BW system and SAP HANA System
    SAP BW to SAP HANA connecting through a DB Connection (named HANA)
    Whenever I created any Open Hub as Destination like DB Table with the help of DB Connection, table will be created at HANA Schema level ( L_F50800_D )
    Executed the Open Hub service without checking DELETING Data from table option
    Data loaded with 16 Records from BW to HANA same
    Second time again executed from BW to HANA now 32 records came ( it is going to append )
    Executed the Open Hub service with checking DELETING Data from table option
    Now am getting short Dump DBIF_RSQL_TABLE_KNOWN getting
    If checking in SAP BW system tio SAP BW system it is working fine ..
    will this option supports through DB Connection or not ?
    Please follow the attachemnet along with this discussion and help me to resolve how ?
    From
    Santhosh Kumar

    Hi Ramanjaneyulu ,
    First of all thanks for the reply ,
    Here the issue is At OH level ( Definition Level - DESTINATION TAB and FIELD DEFINITION )
    in that there is check box i have selected already that is what my issue even though selected also
    not performing the deletion from target level .
    SAP BW - to SAP HANA via DBC connection
    1. first time from BW suppose 16 records - Dtp Executed -loaded up to HANA - 16 same
    2. second time again executed from BW - now hana side appaended means 16+16 = 32
    3. so that i used to select the check box at OH level like Deleting data from table
    4. Now excuted the DTP it throws an Short Dump - DBIF_RSQL_TABLE_KNOWN
    Now please tell me how to resolve this ? will this option is applicable for HANA mean to say like , deleting data from table option ...
    Thanks
    Santhosh Kumar

  • Sap Hana cloudshare links don't work for me-Blank page

    Hi Experts,
    I'm working on SPS06 Hana studio on cloudshare, now while executing data generator on IE, I'm getting blank page.Though Heading of blank page says Hana login at IE bar.
    Actions I took so far after reading so many forums are below:-
    I imported UI5 libraries
    I made sure Xsengine.ini is correct as per Thomas post[Check in xsengine.ini configuration - section application_container and make sure that libxsauthenticator]
    Ran snappit programme from Thomas
    [update "_SYS_REPO"."ACTIVE_OBJECT" 
      set "ACTIVATED_AT" = to_timestamp('2013-Nov-30', 'YYYY-MON-DD') 
    where "ACTIVATED_AT" >= to_timestamp('2013-Dec-01', 'YYYY-MON-DD');  ]
    But still same issue.
    I'm using below URL:-
    http://hanacloud:8000/sap/hana/democontent/epm/admin/ui/WebContent/admin.html
    Pls help.
    Thx

    Maybe the links are underneath something else that is transparent?

  • RDP Error: Your credentials did not work. SAP AS ABAP 7.4 SP5 incl. BW on SAP HANA 1.0 SP7

    Hi Experts,
    I have created instances from the SAP Application Server ABAP 7.4 SP5 incl. Business Warehouse on SAP HANA 1.0 SP7 [Developer Edition] free trial solution, as it is described in documentation. But I cannot connect to the Frontend Server instance (Windows 2008) via Remote Desktop Connection, I got a message: Your credentials did not work. User: Administrator, with the master password (pwd not mistyped, while it works on PUTTY, via Saplogon, etc.). I have a 64-bit Windows 7.
    I have done the following so far:
    First I have created an instance with the Public option, but the same RDP error. Then I have created a new instance as a Corporate Network. The result is: I can connect to VPN service, I can ping the Windows server, but I cannot log on to it with RDC. On AWS I have opened all ports for this instance. Then I updated my RDP, JAVA, enabled RDP on Firewall. Just for a test, I have also switched off Firewall and the AntiVirus program, still nothing. I have tried a Remote Desktop Connection to my Windows Instance from another laptop with Windows 32 bit system (from home and work too), and still facing the same problem: Your credentials did not work. Then I have also tried a tip from windows site (enablecredsspsupport:i:0 into .rdp). When I start the RDC, I get a certification error: The server name on the certificate is incorrect, but I can proceed.  Now the windows logon screen on the remote system appears, but still the same result: The user name or password is incorrect.
    I would really appreciate some help.
    Thanks,
    Andrea

    Hi Yogesh,
    Unfortunately this problem is not solved, I still cannot use the Frontend Instance. I use another solution:  I manage to access the SAP Backend instance ( SAP HANA and AS ABAP ) from my local client (laptop). The disadvantage of this solution is that I had to install myself the client part ,but at least  it works.
    Regards,
    Andrea

  • SAP HANA Performance Optimization

    Hi Experts.
    Is there any documentation out there that relates to optimizing SAP HANA components such as optimizing the SAP Hana models, data loading using SAP LT, etc. I would like to fine-tune what I have already built.
    Thanks,
    Regards,
    Thatoyame
    Email: [email protected]

    Hello Thatoyame,
    since HANA is pretty fast in so many cases, there isn't much available about general performance tuning. In cases where performance isn't great, a detailed root cause analysis (i.e. trace) is the way to go. See SAP HANA Appliance Software – SAP Help Portal Page (Admin section) for some details on tracing.
    For data modeling, check Werner Steyn's webinar at Building Advanced Data Models with SAP HANA - Webinar Details.
    Regards,
    Marc
    SAP Customer Solution Adoption (CSA)

  • SAP HANA Load Controller

    Dear HANA Guru,
    Help needed,  Can you provide some pointer on Load Controller ?
    Regards,
    Manoj.

    Hello,
    like what it is good for?
    It is part of Sybase Replication scenario and it controls replication. You can read more in SAP Master Guide:
    page 21 - chapter 2.4 Log-Based Replication
    https://service.sap.com/~sapidb/011000358700000604552011
    The SAP HANA Load Controller, a component that resides in SAP HANA, coordinates the entire replication process: it starts the initial load of source system data to the SAP HANA database in SAP HANA, and communicates with the Sybase Replication Server to coordinate the start of the delta replication.
    Tomas

  • SAP HANA modelling Standalone

    Hello Experts,
    We are in the process of HANA Standalone implementation and design studio as reporting tool. When I am modeling, I did not figure out answers to some of the below questions .Below are the questions. Experts, please help.
    Best way of modeling: The SAP HANA LIVE is completely built on calculation view; there are no Attribute and Analytical views. I have got different answer why there is only Calculation view and there are no Alaytic view and Attribute views. We are in SP7 latest version. This is a brand new HANA in top of non-SAP (DB2 source).  What is the best way to model this scenario, meaning, can we model everything in the Calculation view’s like SAP HANA live or do you suggest using the standard attribute, analytical and calculation views to do the data model. Is SAP moving away from AV & AT to only calculation Views to simply the modeling approach?
    Reporting: We are using the design studio as front end tool. Just for example, if we assume that we are
    Using the BW, we bring all the data in to BW from different sources, build the cubes and use the bex query. Here in bex query we will be using the restricted key figures, calculated key figures calculations etc. From the reporting wise, we have the same requirements, calculations, RKF, CKF,Sum, Avg etc. if we are Using the design studio on top of standalone HANA, where do I need to implement all these calculations? Is it in different views?  (From reporting perspective, if it’s BW system, I would have done all the calculations in BEx.)
    Universe: If we are doing all the calculations in SAP HANA like RKF. CKF and other calculations , what is the point in having additional layer of universe , because the reporting compnets cam access the queries directly on views .In one of our POC , we found that the using universe affect performance.
    Real time reporting: Our overall objective is to give a real time or close to real time reporting requirements, how data services can help, meaning I can schedule the data loads every 3 or 5 min to pull the data from source. If I am using the Data services, how soon I can get the data in HANA, I know it depends on the no of records and the transformations in between the systems & network speed. Assuming that I will schele the job every 2 min and it will take another 5 min to process the Data services job , is it fair to say the my information will be available on the BOBJ tools with in 10 min from the creation of the records.
    Are there any new ETL capabilities included in SP7, I see some additional features included in SP7. Is some of the concepts discussed are still valid, because in SP7 we have star join concept.
    Thanks
    Magge

    magge kris wrote:
    Hello Experts,
    We are in the process of HANA Standalone implementation and design studio as reporting tool. When I am modeling, I did not figure out answers to some of the below questions .Below are the questions. Experts, please help.
    Best way of modeling: The SAP HANA LIVE is completely built on calculation view; there are no Attribute and Analytical views. I have got different answer why there is only Calculation view and there are no Alaytic view and Attribute views. We are in SP7 latest version. This is a brand new HANA in top of non-SAP (DB2 source).  What is the best way to model this scenario, meaning, can we model everything in the Calculation view’s like SAP HANA live or do you suggest using the standard attribute, analytical and calculation views to do the data model. Is SAP moving away from AV & AT to only calculation Views to simply the modeling approach?
    >> I haven't read any "official" guidance to move away from typical modeling approach, so I'd say stick with the usual approach- AT, then AV, then CA views. I was told that the reason for different approach with HANA Live was to simplify development for mass production of solutions.
    Reporting: We are using the design studio as front end tool. Just for example, if we assume that we are
    Using the BW, we bring all the data in to BW from different sources, build the cubes and use the bex query. Here in bex query we will be using the restricted key figures, calculated key figures calculations etc. From the reporting wise, we have the same requirements, calculations, RKF, CKF,Sum, Avg etc. if we are Using the design studio on top of standalone HANA, where do I need to implement all these calculations? Is it in different views?  (From reporting perspective, if it’s BW system, I would have done all the calculations in BEx.)
    >> I'm not a BW guy, but from a HANA perspective - implement them where they make the most sense. In some cases, this is obvious - restricted columns are only available in Analytic Views. Hard to provide more complex advice here - it depends on your scenario(s). Review your training materials, review SCN posts and you should start to develop a better idea of where to model particular requirements. (Most of the time in typical BI scenarios, requirements map nicely to straightforward modeling approaches such as Attribute/Analytic/Calculations Views. However, some situations such as slowly-changing dimensions, certain kinds of calculations (i.e. calc before aggregation with BODS as source - where calculation should be done in ETL logic) etc can be more complex. If you have specific scenarios that you're unsure about, post them here on SCN.
    Universe: If we are doing all the calculations in SAP HANA like RKF. CKF and other calculations , what is the point in having additional layer of universe , because the reporting compnets cam access the queries directly on views .In one of our POC , we found that the using universe affect performance.
    >>> Depends on what you're doing. Universe generates SQL just like front-end tools, so bad performance implies bad modeling. Generally speaking - universes *can* create more autonomous reporting architecture. But if your scenario doesn't require it - then by all means, avoid the additional layer if there's no added value.
    Real time reporting: Our overall objective is to give a real time or close to real time reporting requirements, how data services can help, meaning I can schedule the data loads every 3 or 5 min to pull the data from source. If I am using the Data services, how soon I can get the data in HANA, I know it depends on the no of records and the transformations in between the systems & network speed. Assuming that I will schele the job every 2 min and it will take another 5 min to process the Data services job , is it fair to say the my information will be available on the BOBJ tools with in 10 min from the creation of the records.
    Are there any new ETL capabilities included in SP7, I see some additional features included in SP7. Is some of the concepts discussed are still valid, because in SP7 we have star join concept.
    >>> Not exactly sure what your question here is. Your limits on BODS are the same as with any other target system - doesn't depend on HANA. The second the record(s) are committed to HANA, they are available. They may be in delta storage, but they're available. You just need to work out how often to schedule BODS - and if your jobs are taking 5 minutes to run, but you're scheduling executions every 2 minutes, you're going to run into problems...
    Thanks
    Magge

  • SAP HANA D3 Library errors - "queue" is not a function

    Hello all,
    i have a question regarding D3 Integration into SAP HANA and hope one can help me.
    The last days i developed a D3 Choropleth (spatial data) with hover effects, tooltips and a legend. I have an existing SAPUI5 and HANA XS application running and now i wanted to integrate my D3 Choropleth.
    1 ) First of all, i added the following tags into the head section of the index.html file of my SAPUI5 project as i need those libaries.
    <script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
    <script type="text/javascript" src="http://d3js.org/queue.v1.min.js"></script>
    <script type="text/javascript" src="http://d3js.org/topojson.v1.min.js"></script>
    2) Then, i added the program code of my D3 Choropleth into the view.js of my SAPUI5 project:
    var html2 = new sap.ui.core.HTML("d3choropleth", {
                    content: "<div class='D3Choropleth'>" + "</div>",
                    preferDOM: false,
                    afterRendering: function() {
                                  .... here is my code ...
    I have a SAPUI5 shell with different NavigationItems (tabs) and for this D3 Choropleth tab i am writing:
    case "WI_choropleth":
    oShell.setContent(html2);
    break;
    When i start my SAPUI5 project and klick on the tab where the D3 Choropleth should be rendered, i get the following errors:
    d3.scale.threshold is not a function
    d3.geo.albers center is not a function
    queue is not a function
    Moreover, i have to say that my D3 Choropleth works standalone outside HANA very well, that is why i assume it is a library integration issue.
    In my browsers (firefox) developer console i can see that there is a D3 library loaded by default (as it is one of SAPUI5s components) with the path: sap/ui5/1/resources/sap/ui/thirdparty/D3.js.
    BUT this is a really old version of D3 (2.9), the current release is D3 (3.4), so maybe the problem is that the D3 libary that is loaded by default overwrites my integration of D3 (script tag above)?
    Does anyone have the same issues and knows how to solve that? Furthermore it seems that the d3 queue library is also not integrated as the error "queue is not a function" occurs and i also ask me how to solve that error.
    We have SAP HANA Developer Edition Revision 80 (by AWS), HANA Studio and Client are on revision 73 (64bit).
    It would be great if anyone could help me with my issue.
    Further question: Is the current release of D3 going to be integrated into the next HANA revision?
    Thanks a lot & regards,
    Andreas

    Hi Andreas,
    You are right. The way you integrate the libraries in your code is not the way that will work for HANA XS projects. This is why it doesn't accept the queue function (library is not loaded) and also why the 3.x only D3JS funcitons are not accepted (only the internal D3JS library is loading and these functions were not a part of 2.9 yet).
    To integrate third party libraries, you need to add XSJSLIB files to your project. These need to pass the server-side JSLint checks before accepted by the XS engine. (Client-side checks that fail might not count though).
    Please see this post from David Brookler for more information.
    http://scn.sap.com/community/developer-center/hana/blog/2013/12/23/db001-using-libraries-in-xs
    Best regards,
    Tobias

  • Unable to run SAP HANA Cloud Connector on windows 8.1

    Hi Experts,
    I am trying to run SAP HANA Cloud Connector on Windows 8.1 machine , i could see the go.bat command response as below:
    But when i run https://localhost:8443 URL in a browser, i don't see any response. Just a blank screen.
    By looking at the logs:
    #ERROR#com.sap.scc.jni#Start Level Event Dispatcher#  #Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: no sapscc20jni in java.library.path)
    As per this reference https://help.hana.ondemand.com/help/frameset.htm?204aaad4270245f3baa0c57c8ab1dd60.htmlInstallation on Microsoft Windows OS it doesn't talk anything about support of HCC on Windows 8.1, just wondering if above error is because of it.
    For more details, PFA log files.
    Regards,
    JK

    As a workaround have tried copying sapscc20jni.dll file from auditor folder at sapcc-2.4.0-windows-x64 into Windows\System32 and it worked like a charm
    Thanks Virinchy P
    Regards,
    JK

  • SAP HANA XS and SAPUI5 - how to live update a chart?

    Hi all,
    we are developing with SAP HANA Developer Edition and SAPUI5.
    We read data with an XSJS File out of the Database ( i read the recent 40 datasets of the table with an SQL statement and LIMIT).
    This is the code in my controller.js which calls the XSJS service that reads the data out of HANA DB.
    loadChart: function() {
            var model = new sap.ui.model.json.JSONModel();
            var aUrl = '../../../dev/data_HANAXS/services/readdata.xsjs?cmd=loadChart';
            jQuery.ajax({
                url: aUrl,
                method: 'GET',
                dataType: 'json',
                success: function(data) {
                    model.setData({modelData : data});
            return model;
    Then in my view.js i set the model for the line chart and i can see my data.
    var model = oController.loadChart();
    linechart.setModel(model);   
    What i want to do now is to live update the chart in regular time intervals, i am using SETINTERVAL ( you can also use jQuery.sap.delayedCall ) for that:
    function updateChart() {
                var model = oController.loadChart();
                linechart.setModel(model);
    setInterval(updateChart, 5000); // every 5 seconds refresh the chart
    And this works fine BUT the COMPLETE CHART (including x-axis and y-axis) is drawn again every 5 seconds , what i want to know is how can i realize it so that ONLY the DATA LINE is drawn again every 5 seconds?
    It would be great if anyone could help me regarding this issue?
    It must be possible to do a live update of a chart especially for cases where you get steadily new data that has to be visualized.
    Regards & Thanks,
    Andreas

    Hi Micha,
    yes i tried that some days before but it did not work. After your message here, i tried it again but same result, what i get after some seconds is "No Data". Moreover i am not quite sure how to set the data with model.setData().
    What i do is the following, maybe you know if there is a mistake: this is the code for updating the chart in the controller.js:
    update: function(oController) {
            var model = new sap.ui.model.json.JSONModel();
            var aUrl = '../../../xxxx.xsjs?cmd=loadChart';
            jQuery.ajax({
                url: aUrl,
                method: 'GET',
                dataType: 'json',
                success: function(data) {
                    model.setData({modelData : data});
                    oController.onUpdateCall(model, oController);
    onUpdateCall: function (updateJSONModel, oController) {
            oController.updateModel = updateJSONModel;
            var linechart = sap.ui.getCore().byId("linechart");
            var oModel = linechart.getModel();
            var oUpdateData = oController.updateModel.getData();
            oModel.setData(oUpdateData);
    I use the same cmd parameter and i call the same xs service method "loadChart" (which always returns the newest datasets - data is continuosly pushed in our HANA DB) that initially loads the data for the chart.
    I get no error messages in my browser.
    When i do oController.update(oController) in my view.js after 5 seconds, i get "No Data" but analysing the data in browser shows me that the xs service returns the data, so data is definitely there.
    Regards & Thanks,
    Andreas

  • SAP HANA studio plugin errors

    Hello,
    I am facing an plugin error in my Hana studio.
    In the SAP HANA DEVELOPMENT perspective under the Repository tab, I am getting an error as,
    "Plug-in com.sap.ndb.studio.dwb.team.ui was unable to load class com.sap.ndb.studio.dwb.team.ui.views.RepositoryBrowserView."
    Please find the attached image and please help me to resolve this issue.
    Thanks and Regards,
    Vicky.

    Hi Bhupender,
    Its working fine now. But I don't know how it happens.  I have just uninstalled Hana Studio server and client completely from my system including all the cache files.
    1. Freshly installed the client and then server.
    2. Then click Help->install new software->added the link->"https://tools.hana.ondemand.com/kepler"
    3. Installed the plugins one by one and restarted the studio, accordingly. eg. first select the package  "UI development Toolkit for HTML5" and download the plugins and restart the studio. next "SAP HANA Cloud Integration Tools", next "SAP HANA Cloud Platform Tools" and finally "SAP HANA Tools". Install "Modeling Tools for SAP BW powered by SAP HANA", if required.
    Note:  install "ABAP Development Tools for SAP Netweaver" only if it is necessary. Because I faced some plugin errors in Hana studio. Do not install eclipse plugins in Hana studio unnecessarily, because some plugins are vulnerable and it makes the studio, heavy.
    The above procedures are working fine for me, till now. Now my studio is healthy and working as expected, without any plugin errors.
    Thanks and Regards,
    Vicky.

  • Creating REST API on SAP HANA cloud

    Hi,
    I have installed sap hana sdk in my eclipse and created a dynamic web project and deployed it. I have created a sample REST service using Jersey.
    I have also tested this REST service in Apache tomcat and when I call it it gives me proper response. But same REST service when I call on SAP HANA i get following error: Please help me in resolving this error.
    URL: http://localhost:8181/HelloWorld/rest/UserInfoService/name/girish
    Response:
    Status
    500 Internal Server Error Loading time: 35
    Request headers
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36 
    Content-Type: text/plain; charset=utf-8  
    Accept: */* 
    Accept-Encoding: gzip,deflate,sdch 
    Accept-Language: en-US,en;q=0.8,kn;q=0.6 
    Response headers
    Content-Type: text/html;charset=utf-8  
    Content-Language: en  
    Content-Length: 5473  
    Date: Tue, 06 May 2014 09:49:15 GMT  
    Connection: close 
    Server: SAP  
    com.sap.security.auth.service.webcontainer.internal.Authenticator.invoke(Authenticator.java:192)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:221)
    com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:103)
    com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:24)
    com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    java.lang.Thread.run(Thread.java:744)
    </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError: javax/annotation/Priority
    org.glassfish.jersey.model.internal.ComponentBag.modelFor(ComponentBag.java:483)
    org.glassfish.jersey.model.internal.ComponentBag.access$100(ComponentBag.java:89)
    org.glassfish.jersey.model.internal.ComponentBag$5.call(ComponentBag.java:408)
    org.glassfish.jersey.model.internal.ComponentBag$5.call(ComponentBag.java:398)
    org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    org.glassfish.jersey.model.internal.ComponentBag.registerModel(ComponentBag.java:398)
    org.glassfish.jersey.model.internal.ComponentBag.register(ComponentBag.java:235)
    org.glassfish.jersey.model.internal.CommonConfig.register(CommonConfig.java:410)
    org.glassfish.jersey.server.ResourceConfig.register(ResourceConfig.java:420)
    org.glassfish.jersey.server.ResourceConfig.registerClasses(ResourceConfig.java:496)
    org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.&lt;init&gt;(ResourceConfig.java:1177)
    org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.&lt;init&gt;(ResourceConfig.java:1144)
    org.glassfish.jersey.server.ResourceConfig.createRuntimeConfig(ResourceConfig.java:1140)
    org.glassfish.jersey.server.ApplicationHandler.&lt;init&gt;(ApplicationHandler.java:317)
    org.glassfish.jersey.server.ApplicationHandler.&lt;init&gt;(ApplicationHandler.java:284)
    org.glassfish.jersey.servlet.WebComponent.&lt;init&gt;(WebComponent.java:311)
    org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:168)
    org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:358)
    javax.servlet.GenericServlet.init(GenericServlet.java:244)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    com.sap.security.auth.service.webcontainer.internal.Authenticator.invoke(Authenticator.java:192)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:221)
    com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:103)
    com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:24)
    com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    java.lang.Thread.run(Thread.java:744)
    My web.xml file :
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
      id="WebApp_ID" version="2.5">
      <display-name>HelloWorld</display-name>
      <servlet>
      <description></description>
      <display-name>HelloWorldServlet</display-name>
      <servlet-name>HelloWorldServlet</servlet-name>
      <servlet-class>com.hana.servlets.HelloWorldServlet</servlet-class>
      </servlet>
      <servlet-mapping>
      <servlet-name>HelloWorldServlet</servlet-name>
      <url-pattern>/</url-pattern>
      </servlet-mapping>
      <!-- <display-name>HelloWorld</display-name>  -->
      <servlet>
      <servlet-name>Jersey REST Service</servlet-name>
      <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
      <init-param>
      <param-name>jersey.config.server.provider.packages</param-name>
      <param-value>com.hana.rest.services</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
      <servlet-name>Jersey REST Service</servlet-name>
      <url-pattern>/rest/*</url-pattern>
      </servlet-mapping>
    </web-app>
    My REST service code:
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.PathParam;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.MediaType;
    @Path("UserInfoService")
    public class UserInfo {
      @GET
      @Path("/name/{nameParam}")
      @Produces(MediaType.TEXT_XML)
      public String userName(@PathParam("nameParam") String nameParam) {
      String name = nameParam;
      return "<User>" + "<Name>" + name + "</Name>" + "</User>";
      @GET
      @Path("/age/{j}")
      @Produces(MediaType.TEXT_XML)
      public String userAge(@PathParam("j") int j) {
      int age = j;
      return "<User>" + "<Age>" + age + "</Age>" + "</User>";

    Hi,
    I have an alternative example. Your resource extends Application:
    public class MyResource extends javax.ws.rs.core.Application
    Then register:
       <servlet>
            <servlet-name>package.to.MyRestResource</servlet-name>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>package.to.MyRestResource</servlet-name>
            <url-pattern>/rest/*</url-pattern>
        </servlet-mapping>
    I use jersey 1.18. You may need to change the version of web.xml to 3:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3.xsd" id="WebApp_ID" version="3">
    cheers,
    peter

  • Fİle Upload problem sap hana ui5.

    Hello everyone, ı have a problem. i want to upload file(as like image) in sap hana ui5. i am using demokit from this link " https://sapui5.netweaver.ondemand.com/sdk/#test-resources/sap/ui/commons/demokit/FileUploader.html. " but it gives error. error is "Failed to load resource: the server responded with a status of 405 (Method Not Allowed) ". what can i do about this problem. thank you for help.  i shared codes and interface.you can check error from images. my codes are in images.

    I very much disagree with Wenjun; it doesn't at all seem like you are missing any resources.
    What exactly is your target URL of ../cms/resources/upload_images/?  Odd that its just a folder. You can't upload to the HANA Repository and expect the file to be written into the Repository.  That's just not how it works.  Generally you would need to upload to an XSJS service to handle the incoming request if the target is the HANA server.

  • "Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'"

    Hi!
    As you can see from here :
    http://www.fabiocavallo.it/sap/maxdb.jpg
    MaxDB seems to work fine, but after starting application server i have got an error :
    SAPGUI Logon Error Message:
    http://www.fabiocavallo.it/sap/sapguilog.jpg
    ...here comes dev_w0 :
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL 1
    ACTIVE TRACE COMPONENTS all, MJ
    B
    B Thu May 22 19:58:50 2008
    B create_con (con_name=R/3)
    B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
    M Error 126 = "Impossibile trovare il modulo specificato."
    B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    http://dbcon.c 4726
    M sysno 00
    M sid NSP
    M systemid 560 (PC with Windows NT)
    M relno 7000
    M patchlevel 0
    M patchno 95
    M intno 20050900
    M make: multithreaded, ASCII, optimized
    M pid 3376
    M
    M kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    M length of sys_adm_ext is 360 bytes
    M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) http://dpxxdisp.c 1301
    I MtxInit: 30000 0 0
    M DpSysAdmExtCreate: ABAP is active
    M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M
    M Thu May 22 19:58:51 2008
    M DpShMCreate: sizeof(wp_adm) 6328 (904)
    M DpShMCreate: sizeof(tm_adm) 3605136 (17936)
    M DpShMCreate: sizeof(wp_ca_adm) 1200 (60)
    M DpShMCreate: sizeof(appc_ca_adm) 1200 (60)
    M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M DpShMCreate: sizeof(comm_adm) 528048 (1048)
    M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M DpShMCreate: sizeof(slock_adm) 0 (96)
    M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M DpShMCreate: sizeof(file_adm) 0 (72)
    M DpShMCreate: sizeof(vmc_adm) 0 (1280)
    M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
    M DpShMCreate: sizeof(gw_adm) 48
    M DpShMCreate: SHM_DP_ADM_KEY (addr: 06420040, size: 4205552)
    M DpShMCreate: allocated sys_adm at 06420040
    M DpShMCreate: allocated wp_adm at 06421A28
    M DpShMCreate: allocated tm_adm_list at 064232E0
    M DpShMCreate: allocated tm_adm at 06423310
    M DpShMCreate: allocated wp_ca_adm at 067935A0
    M DpShMCreate: allocated appc_ca_adm at 06793A50
    M DpShMCreate: allocated comm_adm at 06793F00
    M DpShMCreate: system runs without slock table
    M DpShMCreate: system runs without file table
    M DpShMCreate: allocated vmc_adm_list at 06814DB0
    M DpShMCreate: allocated gw_adm at 06814DF0
    M DpShMCreate: system runs without vmc_adm
    M DpShMCreate: allocated ca_info at 06814E20
    M DpShMCreate: allocated wall_adm at 06814E28
    X EmInit: MmSetImplementation( 2 ).
    X MM global diagnostic options set: 0
    X <ES> client 0 initializing ....
    X Using implementation view
    M <EsNT> Memory Reset disabled as NT default
    X ES initialized.
    M ThInit: running on host PCFABIO
    M
    M Thu May 22 19:58:52 2008
    M calling db_connect ...
    B create_con (con_name=R/3)
    B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
    M Error 126 = "Impossibile trovare il modulo specificato."
    B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    http://dbcon.c 4726
    M ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) http://thxxhead.c 1426
    M in_ThErrHandle: 1
    M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) http://thxxhead.c 10240
    M
    M Info for wp 0
    M
    M stat = WP_RUN
    M waiting_for = NO_WAITING
    M reqtype = DP_RQ_DIAWP
    M act_reqtype = NO_REQTYPE
    M rq_info = 0
    M tid = -1
    M mode = 255
    M len = -1
    M rq_id = 65535
    M rq_source =
    M last_tid = 0
    M last_mode = 0
    M semaphore = 0
    M act_cs_count = 0
    M csTrack = 0
    M csTrackRwExcl = 0
    M csTrackRwShrd = 0
    M control_flag = 0
    M int_checked_resource(RFC) = 0
    M ext_checked_resource(RFC) = 0
    M int_checked_resource(HTTP) = 0
    M ext_checked_resource(HTTP) = 0
    M report = > <
    M action = 0
    M tab_name = > <
    M vm = no VM
    M
    M *****************************************************************************
    M *
    M * LOCATION SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
    M * ERROR ThInit: db_connect
    M *
    M * TIME Thu May 22 19:58:52 2008
    M * RELEASE 700
    M * COMPONENT Taskhandler
    M * VERSION 1
    M * RC 13
    M * MODULE thxxhead.c
    M * LINE 10439
    M * COUNTER 1
    M *
    M *****************************************************************************
    M
    M PfStatDisconnect: disconnect statistics
    M Entering TH_CALLHOOKS
    M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm http://thxxrun1.c 720
    M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed http://thxxtool3.c 260
    M Entering ThSetStatError
    M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M Entering ThReadDetachMode
    M call ThrShutDown (1)...
    M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) http://dpnttool.c 327
    File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\), maybe i have to set environment variable in windows for SAP.
    Could you help me, please ?
    I don't know how to set these variables.......
    Many thanks.
    Regards.
    Fabio

    Hello Fabio,
    -> You wrote:
    "File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\)"
    => Please check the version of this file.
    < Go to file properties ->Version && update with 'file version', Platform,
       Product Name, Product Version information >
    -> What version of the SAP system did you install?
         "I suppose that i can download this patch from Sap MaketPlace, but i can't register there, because i have no
          Customer or   Installation Number! (i can't Logon in SAP....) "
         From were did you get the SAP software installation or CD?
    -> Could you upgrade the database client software on the application server to the version 7.7.04.08 or higher.
        You pointed "As you can see from here : http://www.fabiocavallo.it/sap/maxdb.jpg u2026 "
       => If the database and application were running on the same server, you installed the database
    Software version 7.6.02.17. Please run 'sdbregview -l' to review the list of all installed packages
    on the server.
    -> "MaxDB seems to work fine, but after starting application server i have got an error"
         Was the system working fine before? What was changed?
         Or you was not able to start the application server after installation. ?
    Thank you and best regards, Natalia Khlopina

Maybe you are looking for

  • SharePoint 2010 migrated to claims - strange error

    Hi We have successfully migrated our portal web application and users to claims based authentication. We notice not however that site owners (sharepoint group) can no longer create sub sites from our to main site collection. If they are made Site adm

  • Acrobat Pro has bitten the dust and I really, really need it - HELP!

    I'm hving some real 'issues' with Acrobat Professional nd I can't really pinpoint when they started. Adobe seems clueless. Everything works fine on my Intel iMac but the app now simply freezes on my MBP - literally freezes. All processes stop, no way

  • Finding a song fast in a specific genre.

    My iPod has the following folder: Music > Genres > Pop. The alphabetical order of the songs in Pop is messy. I can't find a song i want easily. Conversely, the songs in the folder Music > Songs are in the right alphabetical order. Does anyone know ho

  • Installing SMB 4.6D

    Hi, I recently purchased ABAP objects and am trying to install the SAP Mini Basis 4.6D on the included CDs. I can not get it to install beyond 88%.  I listed the errors below.  Any assistance would be greatly appreciated. Thanks! Error: DBR3LICENSECR

  • Passing data from JSP to Oracle Reports

    Hi, We have a requirement to query and display data in JSP pages and when clicked on 'Report' button of the JSP, an Oracle report should be called. The data which is queried in JSP should be passed to the Oracle report. Is there any way of doing it?