Storing data into DB from nearly deleted session

Hi, I want to store the information where is kept in session only when the session is about to destory. Since this information is going to update frequently, so it is a bad idea to use SessionAttributeListener, and catch those update events.
Therefore, I choose HttpSessionActivationListener, and look for willpassivate event. But the problem is it doesn't work. Am I using the wrong listener, so, can anyone give me some insight?

HttpSessionListener is not ok, as listener only gets the messages when it has been destroyed. In other words, all information stored in the session will also be disappeared.

Similar Messages

  • Proxy creation/ access key in the how to guide "push data into BW from XI"

    Hi !
    I'm experiencing troubles with a step of the how to guide "push Data into BW from XI".
    When i want to create the proxy in the BW system (step 10), i'm asked for an access key for the object R3TR CLAS CL_<name of the prefix>_<name of message interface>
    I think that access keys are needed when an object has to be modified. Do I really have to modify this SAP object ? I don't really feel like destroying the whole system...
    Thanks in advance !

    Hi Benjamin,
    you are not destroying anything in the system. Since you generating a class for the implementation of the proxy within the SAP name space, you are asked for the access key (you can register developers and objects via the OSS).
    The system behavior depends on the setting of the system, whether changes are are recorded, etc..
    Ask your basis administrator, who should be able to assist you.
       Cheers
          Andreas

  • How to bulk import data into CQ5 from MySQL and file system

    Is there an easy way to bulk import data into CQ5 from MySQL and file system?  Some of the files are ~50MB each (instrument files).  There are a total of ~1,500 records spread over about 5 tables.
    Thanks

    What problem are you having writing it to a file?
    You can't use FORALL to write the data out to a file, you can only loop through the entries in the collection 1 by 1 and write them out to the file like that.
    FORALL can only be used for SQL statements.

  • Insert Data into Table from TXT or CSV file !!!!!

    Dear All,
    Recently I have started working on APEX. In Oracle Forms, we used to use TEXT_IO for inserting records into tables from txt files. Now I want to do the same thing in apex 3.2. How can I insert data into tables from txt of csv files.
    Waiting of your valuable suggestions.
    With kind regards,
    Yousuf.

    Yousuf
    wwv_flow_files is used by APEX to hold uploaded files.
    If you incorporate a file browse item on you page, browse for the selected file, then submit the page (having the PL/SQL process described as an on suibmit process) then what I detailed should work.
    If you don't need users to have access to this then just go to Home>Utilities>Data Load/Unload in APEX and there is a handy load utility there that does it all for you.
    Cheers
    Ben

  • Copy config and payroll rules & shemas and 2 years data into ECC6 from 4.7

    Hi ,
    we need to copy config and payroll rules & shemas and 2 years data into ECC6 from 4.7 enterprise .
    Please let me now How to do it ?
    I will give points for suitable answers pl
    Thanks,
    Sunitha

    Hi Sonu Gupta,
    Can please explain bit more ...
    Config and Data both i wanted to move 4.7 sytem to ECC6 system . both are diffrent systems .
    what is this peace list ?How to create ?
    in case of Config how to trsnfer .
    Please Help Me ...
    Sunitha
    Edited by: Sunitha Reddy on Apr 10, 2008 3:34 PM

  • Insert data into table from JSP page using Entity Beans(EJB 3.0)

    I want to insert data into a database table from JSP page using Entity Beans(EJB 3.0).
    1. I have a table 'FRIENDS', (in Oracle 10g database).
    2. It has two columns, 'NAME' and 'CITY'. Both have datatype strings(varchar2).
    3. Now from a JSP page, having two textfields, 'NAME' and 'CITY', I want to insert data into table 'FRIENDS'.
    4. In between JSP and database is a Entity Bean(EJB 3.0) and a stateless session bean.
    5. I am using JDev as editor.
    Please provide me code ASAP or link with similar example.
    Thank you.
    Anurag

    Hi,
    I am also trying that scenario. So u can
    Post the jsp form data to a Servlet which will act as a Controller.
    In the servlet invoke the business method.
    Similar kind of app is in www.roseindia.net
    Hope this would help u.
    Meanwhile if u get any optimal solution, pls post it.
    Thanks,
    Happy Java Coding.

  • Can not extract data into BW from SQL SERVER

    Dear All,
      I meet a problem to extract data from database(MS SQL Server 2000(sp3)) into BW now and can not extract data into BW ODS, even PSA, In the monitor, display yellow light(0 from 0 record), detail message just display message "data request arranged" "confirmed with: confirmation" in requests(message) step; "missing message: request received" in extract (message)  step; "no data" in processing(data packet) step and so on. but in fact, there are two records in my database test table and DB connection is OK. Even I can extract data from another test oracle database into BW ODS successfully.
       Our BW system has two BW applicaton server and use oracle database. the one application server locates on IBM AIX host. the another one locates on one NT server. the application server on NT server is used for data extration from MS SQL SERVER  database into BW oracle database. and MS SQL SERVER and NT platform application server locate on same one host. DBSL was installed on the NT application server already. and DB connector also was created successfully for MS SQL SERVER and datasource also was generated. DBSL type is Kernel640-WIN-IA32bit-unicode. my BW system is ECC5.0/UNICODE/ORACLE. all table/view/field name of MS SQL server is upcase and have not any specific character. for example: ZDEMO etc.
    wait your help.
    Thanks in advance.
    Billy

    Hi  Ravi,
    Could you help me to get knowledge about the followings:
    approximately how many records    extracting and transfering  from SAP R/3 to BIW  in an organisation. for that how much time  will take .
    How to extract data from  two are three source system  to BIW. Kindly help me with step by step explanation .If any screen shots with documents pls fwd to my ID. "[email protected]"
    Your help highly appreciated.
    Thanks.
    Hema

  • How can i insert data into DB from my page programatically in Oracle ADF..?

    Hai, this is praveen.
    I have created  an EO and VO, when i have inserted data by dragging and dropping from DataControl -->Operations-->Create. I have successfully inserting data. But how can i do it programatically. What are the pre-defined steps that i can use over there to insert data into table programatically. Could u plz help me?

    Hi,
    You have to create an action Listener in the bean for any button.
    Then call an AM method.
    In that you have to do the following
    ViewObject yourVO = getYourVO();
    Row r = yourVo.createRow();
    r.setAttribute("Column1", value1); //the name of column should be as it is in your vo attribute.
    yourVO.insertRow(r);
    this.getDbTransaction().commit();
    Thanks

  • Publish dates into iCal from Numbers

    I am trying to publish dates from a chart in Numbers to iCal or Outlook calendar. Is this something that can be done?

    Solved, I think! What you need to do is log on to your icloud account at www.icloud.com, go to the calendar screen, click the gearwheel and choose New Calendar. Create a calendar here (ie up on the iCloud) with the name you want for your imported calendar data. Then switch to iCal - you may have to quit and relaunch for the new iCloud calendar to appear (or it will probably do so automatically if you wait long enough) then import the data using File->Import->Import... When you get to the step where it asks which calendar you want to import the data into, choose the new iCloud calendar you've just created. Job done!
    To be complete in my answer, I don't think you can exactly do what you want to do, at least not at present. There doesn't seem to be any way to publish a calendar to iCloud after the first time you set up iCloud on your Mac when it exports any calendar data that is on the Mac at that time. I suppose that Apple feel that the way I have described works by exporting from one calendar and importing into another, so no need to provide a way of doing it directly.

  • Export data into Excel from PL/SQL Block

    Hi,
    Please tell me how to export data into excel comming out from PL/SQL code in APEX.
    We can simply export data into excel if we have Report region, but my query is dynamic for which i had to use PL/SQL block. Now i want to export that data into excel.
    Thanks & Regards,
    Smith

    Hi,
    Take a look here http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Regards
    Paul

  • Import data into oracle from a text file?

    hi guys,
    How can we import data into oracle9i release 1 from a text file with comma seperated or tab seperated delimeters?
    please help,
    Imran

    table is already created, just have to populate data into table through a dat or text file. As suggested, you would either:
    1). use SQL*Loader to load the data into this table.
    2). create external table on that data file and then do:
    INSERT INTO your_real_table
    SELECT * FROM that_external_table ;

  • Import data into Numbers from web?

    Is there a way to import data from the internet directly into Numbers without programming/writing an applescript or using a different program?
    Can you do this while using only Numbers and the web?

    And how is Numbers to know how to extract the exact data you want from an external source, unless that source is in a format familiar to Numbers, which HTML isn't? For an automated process like this, you will need scripting, and that means learning to program/understand scripts.
    For example, here's some HTML code from a web page that includes volume data for one symbol:
    <td class="mbi_left" align="left" width="35%">BM&FBOVESPA SA</td><td align="right" width="10%">12.37</td><td align="right" width="10%">0.22</td><td align="right" width="10%">1.81</td><td align="right" width="20%">11,611,700</td><td align="right" width="15%">09/18</td>
    Numbers can't interpret this without being told exactly what to extract. Also, Numbers doesn't go out to the web on its own at fixed intervals (as I suspect you may want) without a program telling it what to do. This is just a spreadsheet after all.

  • How to insert Date into Database from workbench.

    Hi
    I have requirement where  I need to  insert the currentDate and Time to the database.   Here I am using  as
    At SQL Statement Info Editor ,have like these :
    Type     value
    Date     parse-dateTime(current-dateTime())
    At DB I have Datatype  as DateTime( Using MySQL). Here i am getting error like :
    Caused by: com.adobe.idp.dsc.jdbc.exception.JDBCIllegalParameterException: Type mismatch is found when preparing SQL statement. Expecting type 'date', but got type 'String'.
    Could  any one tell me where I can find  detailed log say hibernate type... where exatly we are  getting error.(Expect jboss's server log).
    Please tell how to  insert the date into the DB ASAP.
    Thanks
    Praveen

    Thanks for   all replies.
    Eventually I  got  the solution  the post
    From the Form (Using DatePicker) , we will get the DateTime  datatype to the Workbench. All  we need to  do is assign the  same to DateTime variable in the workbench and inserting the data to the DB.
    It works.
    Thanks
    Praveen.

  • How to import data into TimesTen from Oracle

    I want to import data from Oracle into TimesTen,but not found tools provided by TimesTen. I hope TimesTen may convert Oracle's dump file(exp).
    thanks for your suggest.

    TimesTen cannot read Oracle's data pump export files.
    If you are using Cache Groups to cache Oracle tables into TimesTen, then the LOAD CACHE GROUP statement will automatically load the data from Oracle into TimesTen for you.
    If you are using TimesTen as a standalone database, then you can SPOOL out the Oracle table data into text files, and use them as data files to feed the TimesTen ttbulkcp command line utility. ttbulkcp is similar to SQL*Loader except it handles both import and export of data.
    For example, the following command dumps the contents of the table foo from a TimesTen database mydb into a file called foo.dump.
    ttbulkcp -o dsn=mydb foo foo.dump
    The file foo.dump will give you an example of what the default ttbulkcp dump file format looks like. You can then generate a new dump file based on the above, but populate it using the data from Oracle.
    The following command loads the rows listed in file foo.dump into a table called foo in database mydb, placing any error messages into the log file foo.err.
    ttbulkcp -i -e foo.err dsn=mydb foo foo.dump
    For more information on the ttbulkcp utility you can refer to the Oracle TimesTen API Reference Guide.
    You can also use SQL Developer to export data from Oracle table into ttbulkcp file format, via the Export Data option. Please note that this option is meant for small tables say with a few thousand rows, exporting large tables can be slow in SQL Developer and could require a lot of client side memory.

  • Update data into Cube from 2 ODS

    Hello Guys !
    I have error in updating data from my 2 ODS to Mu infoCube.
    I get this error :
    10 records sent (0 received)
    Any one have some idea why it doesn't work.

    I have 2 ODS, I need to update my infocube with these 2 ODS.
    on the ods context Menu : Update ODS data into Target ...
    I get a Yellow Icon on the monitor.
    on the details tab under Extraction, I get a yellow warning :
    it says : 10 records sent (0 records received)
    I'll check out the updates rules between ODS and my Cube.
    thanks for your help.

Maybe you are looking for

  • Tab Strips are not appearing correctly

    Hi all, We are using SAP Portal 7.3 and we are using Custom theme. The tabstrips are not appearing properly (half broken). I have tried changing the properties "Background color of selected tab" , "Background color of non-selected tab" and others in

  • Sometimes I can't copy files to a network drive...

    Hello, I am new to the mac. I have a couple of USB drives attached to my UR Robotics 8200 router. The router uses an Intel processor and Linux. The drives are formatted for FAT32. You can create users in the router and give them read and or write acc

  • Can you include two movies and formats in a keynote presentation?

    One being a video podcast, the other being a clip from a store bought movie. And how would you include them? Thanks

  • Help with Payment Medium Workbench - DMEE transaction

    Hello SDNers, I am using DMEE trxn to generate a DME file (through F110). Currently the file i am generation looks something like this: {4:<LF> :20:0901260000000001<LF> :12:151<LF> :77E::B01:090126<LF> :B1T:0000000001BGN1200,00        <LF> :52D:TTBB9

  • How to read configuration (CUXI_GET_SINGLE_CONFIGURATION)

    Hi All, I need to read the configuration for several orders (one at the time), and I use FM: CUXI_GET_SINGLE_CONFIGURATION. When I read one order it works fine, but when I loop at several orders it doesn't seem to change the retrieved values from fir