Java Thread is not able to see global Data

In my Windows application, I am creating a new thread using CreateThread and loading JVM into my application and attaching new thread to this JVM.
After loading JVM, none of the functions (ofcourse JNI functions) are able to see the global data. Do i need to take care something while loading JVM?
please, let me know if any of you have faced this problem previously
Thanks,
Lokesh

Thanks for response,.
you are right about the problem
Yes, all the global data is declared in a C file and in all other source files (including files with JNI functions), this global data is declared as external.
e.g.
"char *Strbuf, int ThreadContext " are two globals declared in a C file, and declared as external in all other source files. These two variables are initialized before JVM is loaded. after loading JVM, JNI methods are not able to access these two variables, and as soon as the JNI methods access these two variables, my application hangs/crashes/disappears.
Thanks,
Lokesh
Your problem statement is underspecified. I interpret
it to say that
1. You have a C program that specifies some global
data, and then creates a JNVM. Something that is
called in the JVM then calls a native method through
JNI, and the JNI method can't see the global data.
Is that the problem?
Is the global data declared to be external? Does the
native method declare the global data to be external?
How about posting some code?

Similar Messages

  • Not able to see the data in the report

    Hi All
          In my cube i am having data.But when i am running the report ,i am not able to see the data.
        The error its throwing is -No Applicable data found.
        what could be the problem,please provide me the idea to solve the problem.
    Thanks&regards
    syam prasad dasari

    HI,
    See that any restrictions are there in the report(Filters)....Give the same restrictions in Listcube and see if you are getting data or not.....
    Thanks

  • Report exection problem for one user - not able to see the data.

    Hello Friends ,
    Need some help . I have got the one ticket from bussniess side about the report execution .
    Unfortunately , I am also not having authorisation of that report due to sensible data.
    Problem - User is executing the report but some how he is not ABLE TO see the data for one company code Hierachy .
    I executed the same report through RSSMQ via his user id , and I got the  below message.
    All value were selected . Hierachy Authorisation cannot be used.
    A displayed hierachy requier a hierachy authorisation .
    But when i checked his authorisation , I am able to see that he should have authorisation to all the hireachy .
    could you please let me know , how can I check more ?
    Regards,

    after accessing the report , u go to su53 tcode and check the authorization and u can see what is problem in authorization for the that user and u can send the details to secuity team to rectify the issue ,

  • I am not able to see the data By request id in ODS

    HI Gurus,
    I am trying to do data loads from flatflies based on Region to ODS(We have flat files based on region for each region we have one flatfile) .I have loaded 2 files into ods.But when i am checking the data in ODS by request id .I am seeind 2 regions data on one request id .I am not able to see the data for other request id.
    For example:
    We have two flat files one is region 1: 5100 and region 2: 5030
    Request id 1: contains region 5100 data
    request id 2 : contains region 5030 data.
    But when i am checking the data in ODS its showing 5100&5030 data onn request id 1.I am not seeing any data for requestid 2.
    Please help me out.

    Hi,
    Active data cant be seen by Request id but definitely change log table contains request id and list of records per request
    Go to Manage ---> Contents tab --> New Data. Over here you can enter the request number and check the data request wise.....The same can be done for Change log
    Check the log in SM37 if it exists there or not.
    May be the number of records will be more and depending upon the system processses it will be taking time to load.ID request is loaded to ODS then it could be activation time
    Hareesh

  • Problem in Compresses file.Not able to see the data in file

    Hi All,
    I am downloading file into application server.
    Using:
    OPEN DATASET file FOR OUTPUT FILTER 'compress'.
    OR
    DATA: l_command(100) type c.
       CONCATENATE 'compress ' p_file INTO lw_command SEPARATED BY space.
        ENDIF.
        CALL 'SYSTEM' ID 'COMMAND' FIELD lw_command.
    When I see the file content it contains junk characters.
    If I want to see the data Do I need to uncompress the file.
    con't we see the data without uncompressing the file?.
    Regards,
    vinod

    Hi,
    Uncompress is required to read the content of an Compressed file.
    OPEN DATASET DSN FOR OUTPUT FILTER 'compress'.
    OPEN DATASET DSN FOR INPUT FILTER 'uncompress'.
    The first OPEN statement opens the file so that the displayed data can be read into it in compressed form.
    The second OPEN statement opens the file so that the data is decompressed when it is read from the file.
    http://www.sapnet.ru/abap_docu/ABAPOPEN_DATASET.htm#&ABAP_ADDITION_8@14@

  • Variable input help-Not able to see-Specify Data Service Runtime Parameters

    Hi Team,
    i am doing R&D on input help for Variables in SAP NetWeaver Visual Composer.
    The issue i am facing is :
    After selecting Master data table for Get data from, in select data service window.
    It is not taking me to Specify Data Service Runtime Parameters screen.
    I am getting finish option even before i do this setting
    Is there a place where i can actualy do this input output selection.
    Please Help me.
    I have gone through the docs & blogs in sdn so please don't give links of the same.
    Thanks in advance.
    Regards,
    Raghu
    Edited by: Raghu tej harish reddy on Sep 16, 2008 12:50 PM

    Hi,
    this is due to the Chcek Box : Hide advanced configuration options (BI systems only)
    Configure the advanced options on the Specify Data Service Runtime Parameters screen (optional for BI systems u2013 this screen appears only if you have deselected the Hide advanced configuration options (BI systems only) checkbox on the Add Value Help for Select Input Field screen)
    Check below link
    http://help.sap.com/saphelp_nw04s/helpdata/en/b5/036d391f074f769e00602634ee9960/frameset.htm
    Govindu

  • Commit misbehaving, not able to see committed data properly.

    Hi,
    Please advice for the following problem.
    Problem Desc:
    =============
    Note : In actual scenario many tables(min. tables which are inserted around 4) are inserted and than once everthing is ok for transaction commit is done. I have taken a sample scenario, for your investigation take this point into consideration.
    1) Insert into table A{schema}==> Trigger fires==> It insert Primary Key of Master table A into TableB{Schema B} once commit is done by original session. =========> This process is continuous.
    2) Now EAI program is always running which checks whether any Primary Key is present in Table B, if found, it queries table A and gets the remaining data.
    Problem occurs here, when it finds Primary key in Table B, but when it queries in Table A it shows no record, failure occurs and transaction is not processed further by EAI. But when we manually query the table we found out the Primary Key is present in the table A.
    We suspect either this due to some block level contention in SGA or the dirty block buffers states are not updated really qucik in DB buffers. So when the commit if fired the lastest block queried by Table B seems to become ditry blocks(committed) and later on block for A.All this seems to happening very fast, unfortunately we can't mesaure this event in terms of time. While all this happening i guess EAI query table B, find data, queries A, no data found.

    By default, Oracle9i RAC systems are set up with a MAX_COMMIT_PROPAGATION_DELAY set to 7 seconds. This might be the cause of your problem.
    This means that for 7 seconds the 'other' nodes can not see the committed data and any queries that occur in tat time from the 'other' nodes will use their last known CR block to reconstruct the data.
    Frustrating as anything to understand and, until one catches on, totally scary for anyone believing in Oracle's transaction management . The initialization parameter has been defaulted to 0 in 10g.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96536/ch1107.htm#1019345

  • Not able to see costcenter data in 0TCTUSERNM

    Dear SDN's,
    I made 0costcenter as a navigational attribute to 0TCTUSERNM,and written a trnasfer routine to fetch the data into the report.
    When i executed the report it is showing not assigned to all the costcenters.
    Is i have to any changes in the 0BWTC_C10 multiprovider (or) i have to enhance all the BI Statistics cubes with 0OCSTCENTER.
    Thanks an

    Thanks to all

  • Not able to see Enhanced Data type in SPROXY in SRM

    Hello Experts,
    We are planning to use an outbound (SRM to PI) Proxy between SRM and PI to send XML messages. Our SRM team has requested a Datatype enhancement of SAP's predelivered SCV, SAP SRM SERVER 7.0 component i.e. RFQRequest. So, In ESR we have created a new Enhanced data type based on RFQMessage (SAP's pre delivered datatype). I've added their (SRM team's) 6 extra elements to this new Enhanced Data Type, RFQMessageExtension. And, saved and activated it.
    Now, to generate the Proxy I went into SRM -> SPROXY, but I donu2019t see my Enhanced Datatype, RFQMessageExtension. Please let me if you've come across this problem or know the solution. I was following this blog [/people/michal.krawczyk2/blog/2006/11/14/xipi-data-type-enhancements-standard-business-partner|/people/michal.krawczyk2/blog/2006/11/14/xipi-data-type-enhancements-standard-business-partner]
    Thanks,
    Mayur

    Hi Mayur,
       Have you read this article?
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d
    Regards,
    Ravi kanth talagana

  • Not able to see data in the qualifier table of the main tbl , Data Manager

    Hi,
    I have an issue of not able to see the data of two qualified table after populating them.
    It is in mdm-5.5 ps4.
    When populating data first time ,it shows up in those two table slots in the right side of the Data Manager.
    However subsequently it does not show up in those slots , only by right click on the table and selecting "View/edit", the window pops up where those data shows up.
    However unlike other qualified tables the data does not showup automatically for these two tables.
    Appreciate any suggestion or feedback on this.
    regards,
    -reo

    You may have checked the Filter Check Box next to the Qualified Lookup cell in Data Manager, when the current table is the Main Table.
    You use the Filter Checkbox to limit the qualified table records by the current search selections.
    Secondly, you have see if there are any Qualified Links to the main table record you are viewing.
    If not, create the Qualified links in Data manager, for the main table record and the Qualified Table Record.
    Once this is done, you will see the Display fields of the Qualified table for which the links exists for the given main table record.
    Message was edited by:
            Adhappan Thiagarajan

  • Not able to see the records in master data

    Hi friends
    My requirement needs the data to be loaded from a RDM table.I created a data source in the R/3 and by using the extracto checker i am able to see the data.I created the info packages one for Attr and other Txt,replicated the datasource and loaded the data.I am able to see the data in the PSA and when i go into monitor in the infopackage it says the data has been loaded and it shows no errors.But I am not able to see this data in the master data info object.Can anyone please help me out???
    Mouli

    Hi
    Check out your infopackage setting: if its upto PSA or to MD table also
    Open Master data table in SE11 and check the OBJVERS field wether the MD is activated or not!
    Regards
    GSK

  • Not able to see the history period and data

    Hello
    I have 2 time planning bucket periods - history of 24 months and future 14 months.
    have assigned both in the data view.
    i have loaded the data from infocube to planning area and i got the successful message.
    during the transfer i have used the key figure assignment feature and used my key figure which is zhistory.
    i have not used 9AVHISTORY.
    my issue is i am not able to see the history periods and hence not able to see the data in history.

    Hi
    The data get loaded and its also available in the planning area, as you defined the time bucket profile according it  i.e.24 month in past and 14 month in future. Its only while definition of data view you have not defined these flags you were unable to view this data.
    Hence as I mentioned data has correctly loaded in the planning area just not getting viewed.
    I hope this answers your question.
    Thanks
    Amol

  • Help! I have an iPhone 4 and when I tap the "messages" thumbnail I'm not able to see a list of my text message threads.

    Help! I have an iPhone 4 and when I tap the "messages" thumbnail I'm not able to see a list of my text message threads.

    I contacted Verizon (my phone's carrier) and they told me to simultaneously press the on/off button and the menu button. That rebooting fixed the problem, but will I have to do this all the time? Wonderinf if I should take the phone back to the Apple store and get a new one. I've had the phone about two weeks.

  • Not able to see the Adapters@Integration Directory!!

    Hi,
    I have created Data types,Messages Types, Message Interface in Integration Repository.
    I have created a scenario in Directory and assigned Business systems too(I'm doing file to file scenario) and while trying to create Communication channels i'm unable to see the adapters under Parameters Tab.
    <b> Its not showing any Adapters in ADAPTER TYPE option and also
    Transport Protocol and
    Message Protocol are blank.</b>
    What could be the reason??
    Please guide me in order to complete my scenario.
    Thanks in Advance.
    LNM

    hi madduri,
    check these links....
    Not able to see the adapter types in ID
    Adapter Engine not found in ID
    <b>check the last post here.... u will get ur answer !!!</b>
    Adapter Type not found
    Do these steps
    1) Download XI7_0_SAP_BASIS_7.00_10_00.tpz which is available in a zipped format from the SAP Service Market Place.
    2) Unzip the contents and copy the file XI7_0_SAP_BASIS_7.00_10_00.tpz (if you are using PI 7.0 or else download the file for your XI version) to
    /usr/sap/<SAPSID>/SYS/global/xi/repository_server/import/
    3) Goto Repository (Design)
    4) Choose -> Tools -> Import Design Objects
    regards
    BILL
    **mark the thread  answered when u got ur answer

  • Not able to see Data in Xcelsius 2008

    Hi everyone,
    My question is I am not able to see data in Xcelsius spreadsheet although I am able to connect to SAP BW and also able to see and select query but when I select Cross Tab Data in output Values it is not displaying in Xcelsius spreadsheet
    System Info
    Xcelsius 2008 Enterprise Trial Version SP 3.0
    SAP BW 7.1 SP 6 ABAP and JAVA
    Any help would be appreciated

    Hi Rashid,
    When you are using the BW conenction in Xcelsius you will not see any data in the spreadsheet at design time or at preview time.
    To see the data you need to go SAP > Publish, then SAP > Launch to test the dashboard in the NetWeaver Portal as that is the only place where the data can be viewed.
    Regards
    Matt

Maybe you are looking for