Tomcat saves the sessions even if I stop application!!!

Hi all,
I have deployed a web application and now whenever I stop it from tomcat/manager and restart it shows the number of whole previous sessions (right now it is 7 ) I reload the context but no chance. Again stop/start application and it does not help too.
Is this a bug? Have you ever encountered it?
-Thanks

Hi,
why don't you post this question on the Apache forum and see what the folks over there have to say ?
Frank

Similar Messages

  • How to save the session states for a tabular form WITHOUT using check boxs?

    Greeting guys,
    As you know that we can use collections to save the session states of a tabular forms, described in the how-to doc of manual tabular forms. However, what I am trying to do ( or have to do) is to provide a manual tabular form, and save the session states for validation, without using the check boxes. Because a user can put contents into some columns in a row without checking the corresponding checkbox, according to the requirements. So basically what I tried is to loop over all the rows and save Every entry into a collection. However, sometimes I got "no data found" error with unknown reasons.
    My current solution is to use the "dirty" Retry button that gets back the history, which IMO is not a good workabout. So, I'd appreciate if somebody can shed some light on a better solution, especially if it is close to the one in that how-to doc.
    Thanks in advance.
    Luc

    The following is the first collection solutin I've tried:
    htmldb_collection.create_or_truncate_collection('TEMP_TABLE');
    for i in 1..p_row_num loop -- Loop on the whole form rows
    if (htmldb_application.g_f01(i) is not null) or (htmldb_application.g_f05(i) <> 0)
    --If either of them has some input values, the row should be saved into the colleciton.
    then
    htmldb_collection.add_member(
    p_collection_name => 'TEMP_TABLE',
    p_c001 => htmldb_application.g_f01(i),
    p_c002 => htmldb_application.g_f03(i),
    p_c003 => htmldb_application.g_f04(i),
    p_c004 => htmldb_application.g_f05(i),
    p_c005 => htmldb_application.g_f06(i),
    p_c006 => htmldb_application.g_f08(i)
    end if;
    end loop;
    Some of columns have null values, but I don't think that's the reason. Because once I clicked all the check boxes, there would be no error no matter what values were in other columns.
    Another issue would be extract the values FROM the collection, which has been tried because I had problem to store the data into the collection. I used "decode" functions inside the SQL to build the tabular form. I am not sure whether it will be the same as a regular SQL for a tabular form, like the example in the How-to doc.
    Also I didn't use the checksum, for it is not an issue at the current stage. I am not sure whether that's the reason which caused the NO DATA FOUND error.

  • Save the session data in the database !

    Hello everybody,
    I read an article on JavaWorld website about saving the session data of an application in the database instead of mantaing them in memory.
    In this way, the web application is more scalable and in case the application server crashed the session data can be taken by another application server.
    I was sure that this was a good motivation of writing a class to save the session data of my application in the database, but i read another article where a good methodology to
    create a scalable web application was to save the session data in more application server so if one application server crashed another application server can take the control of the entire application.
    I think that at the moment i have just a bit of confusion in my mind.
    Any suggestion ?
    Cheers.
    Stefano

    What you've read was a method of "load balancing" where "state" is maintained by a backend server instead of the web servers themselves. Yes, if done properly, this would achive true web server independance, and if one crashed, another would pick up where it left off. Of course, you'll still need an HTTP load balancer in front of the web server farm, so it can dynamically shift the load.
    From an architecture standpoint, it's a good way to go, but only IF you really need 7x24 with zero downtime. Reason being twofold. 1) It's a huge performance hit, becase each GET/POST requires a trip to the DB, because it's holding state. 2) It's a lot of work, because you're now taking on the role of "managing" sessions (e.g. when to expire, reading the cookie/URL for session IDs.
    I was once responsible for a 7x24 Intranet that ran core business applications. My service level agreement with my customers was 7x24 alright, but with the risk of a possible "blip" (meaning, if one server crashed, simply reconnect and continue your work). Worst case, one lost just that one page worth of work.
    I hope that helps explain!
    bRi

  • Where can i save the use's data of external application?

    where can i save the use's data of external application?and whether will it accumulate to some synchronic problem?
    The way i am doing by is to save the information in providersession by initSession() of ProviderInstance,then to get the information back by using session.getAttribute(),which is in jsp. is it right?and what problem will be caused?
    so i want to know what is the standard method to use the information in external application to page.

    Hi Alf,
    Please have a look at the POINT portlets. most of them are based on external apps. That could give you a fair enough idea of how to go about with your designs.
    http://www.oracle.com/technology/products/ias/portal/point.html
    thanks,
    Harsha

  • How to find the sessions connected to oracle through application server?

    Hi all,
    i want to restrict my application server users from the deletion of the data in my database.
    for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
    is there any view to find the sessions and applications which are connected to oracle database?
    Thanks,
    Sandeep

    hi pavan,
    Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
    please suggest me on this?
    --sandeep                                                                                                                                                                                                                                                                                                                                                                                                       

  • SAVING ISSUES!!! Firefox won't save passwords, won't ask to save them. I've used this for 2 years +. I know where the settings are. New comp, Windows 7, Ffx 4. Prompted to save the password 5 times and stopped

    The settings are all correct. New machine. Only has the operating system and Firefox. No conflicting programs. It did 5 then stopped. Nothing has been added or changed since downloading FF.

    Same issue here. I am '''NOT '''running in Private Browsing mode.
    This may be an issue related to other add-ons, or not. I tried the remember-password bookmarklet with one site and it Worked! But when I looked in the saved passwords, the new userid and password were not there. I waited a few minutes and looked again, and mysteriously, it was there. Perhaps a caching issue. Exceptions box is empty.
    I think this in an important issue that must be tracked and not assumed is always an operator-error.

  • Is Is the option: "Do you want to save this session?" gone? I can't find it anywhere in options.

    When one closes the Firefox browser in 3.xx versions, if the "warn me about closing multiple tabs" button is enabled, option listed as the following question: "Do want to save this session?" would be given as "yes" or "no". This provided the convenience of opening the browser with all the original tabs from the last session: a VERY usable option. It is nowhere to be found with 4.xx versions. If it was removed please re-install with the next upgrade release. If its still available, tell me how to enable it. Reese

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • Since installing 4.0.1 I can't right click on the Icon in my task bar and have Firefox give me the option of "close and save" the tabs. Only let's me know I'm about to close multiple tabs. How do I get "save and close" back?

    Before installing 4.0.1 I could right click on the Firefox icon on my computer's taskbar and hit close window. It would then give me the option to "save tabs and quit" or "close all tabs."
    Now it just alerts me that I'll be closing multiple tabs.
    It was convenient to be able to close Firefox and open it with all of the tabs in place. There is nothing more irritating than having multiple tabs lost because your computer did an update overnight and restarted. Also it was helpful when you wanted to run a tun-up or cleaner that asked you close out of your browser for optimum result's.
    How do I get "save and quit" back?
    Thanks

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • Keep the session in LSMW

    Hi
    I have a problem in LSMW ..we have ECC 6.0 ..I have completed 14 steps and created a session ..i processed fore ground as well as background ...there was no errors but the session was disappered...i wanted to see the session even if there are no errors...i used to see like this when i was working on 4.6, 4.7.
    I tried checking the box Extended log..and there was no option  (keep the session checkbox) in ECC
    Please let me know how to keep the session regardless of success or falilure of the session..
    Thanks
    Madhusudhan

    If your Session has deletion indicator selected, than it would be deleted as soon as it is successfully processed.
    To set this deletion indicator by default from LSMW program, you need to select "Keep batch input folders" checkbox.
    Once the Session has been created, you can go to SM35 to change this indicator
    Select the Session (double Click)
    Press button Folder Header
    Here you would find a small button next to Deletion Indicator. It should be blank in order to retain this Session.
    Regards,
    Naimesh Patel

  • What does ServletAuthentication put in the session?

    Quick question,
    The API documentationo for the ServletAuthentication class states: "It performs
    the authentication call through the Realm and sets the user information into the
    session."
    What exactly does the ServletAuthentication class put into the session when calling
    the weak() method? Does it put something into the session even if FAILED_AUTHENTICATION
    is returned?
    Thanks for your help,
    Scott

    Hi, Dana. There is no way to be sure what SSD Apple might install in an MBP that you order today. It might or might not be the same unit that was in MBPs built a month or two ago, or yesterday. Just as Apple buys its hard drives from several different manufacturers, it may buy SSDs from several manufacturers, or different models from the same manufacturer.
    But if it is the Toshiba SSD, then I'm better off getting an SSD of my own and putting it in myself.
    Only if it works. There have been quite a few reports here of various SSDs installed by users not working properly, and it isn't completely clear whether there's a single reason why they don't, or several different reasons, or whether there are brands/models that always do or always don't work. Until the dust settles and there's a bit more clarity, if you really want a working SSD in your machine, it may be wisest to have Apple install one, regardless of what make and model it turns out to be.
    Message was edited by: eww

  • Save the o/p of the query in Application Server, Filename with Timestamp

    Dear Experts,
    I have a scenario that on 1st of every month, a query needs to execute and save the output of that query in Application Server, Filename along with Timestamp.
    For ex: Production_19/09/2011
    So, I Created a Query Extract in RSCRM_REPORT and gave the path name and scheduled. The output of the query is saved successfully in Application Server.
    But I need Timestamp along with Filename.
    Please help me out with the timestamp issues, how could I include Timestamp with Filename (Query Name).
    Thanks,
    SAP BI

    Hi chaith,
    You can achieve the result with out any code. You have to use the APD concept to extract the query to a file.
    check the following link which help you to create a logical path
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e86545-9940-2d10-9f89-eb5bce1f9228?quicklink=index&overridelayout=true
    you can use the path in the APD.
    Regards,
    Ranganath

  • Firefox 6 doesn't ask me to save a session with mutiple tabs even that I've checked the * browser.tabs.warnOnClose, * browser.warnOnQuit and * browser.warnOnRestart. Thanks in advance

    even that I've checked the options:
    * browser.tabs.warnOnClose,
    * browser.warnOnQuit.
    They all are set to true.
    Thanks in advance

    The option mentioned in the reply appears available but doesn't restored the session I needed at all. Now, I tried to close this session and Firefox warned me, just the way it used to. :|
    Why it seems to be working normally again? Are there any options I should de/activate not to occur this once again. Some of the tabs I've lost ain't even in the browser history... Yes, I have to start using bookmarks.
    Thanks a lot

  • When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the o

    When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the original in my work folder. I need to know how to stop this from happeing and get it back to the way it has been working he last 6 months since i purchased this program.

    Hi pissedadobeuser,
    Does this issue occur with any particular web page?
    Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
    Which Browser version, OS version and Acrobat version are you using?
    Regards,
    Rave

  • I try to export my Imovie and I always get the error code"Unable to prepare project for publishing...File already open with write permission"  it even does it when I am just trying to export to my external hard drive to save the file

    I try to export my Imovie and I always get the error code"Unable to prepare project for publishing...File already open with write permission"  it even does it when I am just trying to export to my external hard drive to save the file

    Thanks!!! I had same error (with -49) and the mac had an external hard drive attached.. and it was doing a backup.  Stopped, disconnected and the project exported!

  • When I try to save a file from the Web, even with web complete, it saves it as an MS Word file. How do I change this?

    I cannot execute the Save Page As for any files on Firefox. Each time I try it saves it as a .htm file -- even if I choose Web Complete, and it opens as an illegible MS Word document.
    The error message says Windows cannot find C:\Documents and Settings, etc with my file folder.
    I think that the problem began when a old version of the Netscape browser I had stopped working, so I removed it.
    Please advise how I can save Web files properly. Thank you very much.

    removed firefox and installed V.10. Back to normal! Interestingly did not have problemm on Blackberry so not sure where the problem was!!!!!!!!!

Maybe you are looking for