Is it possible that a session ....

Hi
I have a question, which is driving me nuts. I have 2 j2ee applications (ap1 & ap2) deployed under tomcat. The ap1 has a login option, which is serviced by a servlet in ap2. If the ap2 sets a session attribute ("logged", "yes") then can a jsp page in ap1 access this attribute?
If yes, how? If not, what is the work around? Unless I am missing something I think not.
Thanks
Eddy

HttpSessions are local to the webapp and not meant to be shared.
A work around is to use pseudosessions. Search the oreilly web site for how to implement pseudosessions.

Similar Messages

  • Is it possible that get session by ID?

    Hello,
    I put session id into URL as a parameter.
    Now the problem is, how can i get session by session ID?

    The container handles session management. Tomcat allows you to write and implement your own session manager, and other containers may as well, but if you didn't specifically write your own manager, you have to rely on the container to retrieve your session for you.
    By standard, the parameter that defines the session is JSESSIONID, and you can try putting this parameter in your URL, but this may not be the current session. You can compare session.getSessionId() with request.getRequestedSessionID() to see if you're working with the same Session object.

  • I am suddenly unable to receive calls on my iPhone 4S.  Is it possible that the age of the phone will affect its ability to receive calls? HELP!

    I am suddenly unable to receive calls on my iPhone 4S. 
    I have spent 2 hour-long sessions with technical support and although they were very nice, it is still not fixed.
    When I try to call the phone from a land line, it doesn't ring AND it doesn't recognize that a call is coming in (no missed call) BUT if I leave a message, it records it.
    Is it possible that the age of the phone will affect its ability to receive calls?
    HELP!

        MarketingMary,
    I am truly sorry to hear that your are unable to receive calls on your device. Thank you tbo27 for providing great troubleshooting steps. Making sure call forwarding is not active by dial *73 is great. Have you already reset network settings also? http://vz.to/RTz70g Are you able to make calls fine? Make sure Do not Disturb is not active. Settings>Do Not Disturb
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • Stockbroker states that "invalid session" message is due to brownser how can I avoid this?

    I tried to cover a short sale while trading online. Could not execute the trade. Got a message in red "invalid session". Broker tech support stated that it was not their software, it was cause by the browser, Firefoz 5.0 running on Windows XP. How can I avoid this?

    That is not very easy to answer, because the cause of the corruption is unknown.<br />
    In severe cases you may even need to delete the file cookies.sqlite that stores the cookies.<br />
    There is also a possibility that security software or cleanup software is causing such problems.
    If you've never seen it before then it may not happen again, but it is not that difficult to remove the cookies in such a case.
    See also:
    *https://support.mozilla.com/kb/Clear+Recent+History

  • Can it not possible that i can retrive it for all line items in a single qu

    I have to make report for my application in which I am facing a following problem:
    In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
    When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
    to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
    SELECT * FROM parts_events
    WHERE vendorid = ? AND partid = ?
    AND visible = 'visible' AND active = 1
    AND entrytime = (SELECT MAX(entrytime) as
    entrytime from parts_events
    WHERE vendorid = ?
    AND partid = ?
    AND entrytime < ?
    AND visible = 'visible'
    AND active = 1)
    the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?

    maybe if you can post some sample data and output will help us analyze more youre requirement.

  • Is it possible that a document (in this case an Appleworks or Movie Magic Screenwriter) can be lost forever, but it's contents somehow remain as other file types elsewhere? I have an old hard drive and I need to locate the contents of these files.

    I have a 20 gig hard drive from a 2001 iBook. When my iBook crashed back in '04, there was a screenplay on there that was not saved anywhere else. It has tremendous sentimental value to me, and I would really like to retrieve it. I've ran some data recovery software that's uncovered a gargantuan amount of data, most of it being completely unreadable to me.
    Additionally, I have found an AppleWorks file that could be the script, but it is ZERO bytes in size, and Pages won't even open it, saying that it is not a valid AppleWorks file.
    So I'm curious...is it possible that the document is lost, but somehow the contents of it are somewhere else on the drive as metadata in other unreadable formats. And if that's the case, how would I go about translating the unreadable data back into something that IS readable? 

    Hello,
    toddisalive wrote:
    Additionally, I have found an AppleWorks file that could be the script, but it is ZERO bytes in size, and Pages won't even open it, saying that it is not a valid AppleWorks file.
    if the size of this file is really ZERO bytes, either the original file contained an empty data fork and a resource fork which was stored elsewhere (*) or the file is too damaged to retrieve anything. Moreover, as AppleWorks never generates file with empty data fork, at least to my knowledge, ....
    Concerning the Movie Magic ScreenWriter files, the application seems to exist for Yosemite http://www.write-bros.com/movie-magic-screenwriter.html ( but it seems "expensive"  and I do not know if it accepts to import old files )....
    (*) maybe in .TOTO or __MACOSX/.TOTO if the filename is TOTO

  • After updating my I pad, I have problems with getting new apps. After filling in my Apple Id, I fill in my  3 secret questions. But than I get à Message that this session had to break of, without results.

    Alter updating my IPad, I have problems getting new apps. After filling  in my Apple Id, and answer my 3secret questions, I get THE answer that this session had to be ended without results.

    Wow ! I got it running again ! :-)
    I called support and got helped by a very friendly guy:
    We tried serveral things, what worked for me was to reset my cookies:
    - Close all apps by doubleclicking the "home" button - you see all running apps in the lower part of the screen. Then click an hold the first icon until it starts "shaking". Klick the small minus, proceed like that until the row is empty. 
    - Go in to the control center (don't know what it's called in english, in swedish it's "Inställningar")
    - Klick the tab "Safari"
    - Klick on Clear cookies and data ("rensa cookies och data")
    - Close the control center and start App store
    If you now try to download an app you still get the request for the three safety-questions, but when filling them in it works and you can proceed after that. The questions will not turn upp again afterwards...
    Good Luck !
    Other things we tried was:
    - disconnecting the wifi and restarting it
    - log out from app-store (in control center, tab "itunes and appstore")

  • Annoying bug in finder....how is possible that this thing was not noticed?

    I can understand that is not possible to see all the bugs, but this is kinda bothering me, because is not exactly a bug that require a lot of efforts at all....here we go, maybe you know about it so iw ould love to know when it will be fixed.
    format an USB disk as "apple partition map" (not GUID or boot), now copy a lot of stuff on it (20-30-50 Gb, doesn't matter once that you have more than 5 Gb and you are dealing with a lot of files or packages, and you will see that everything goes fine.
    Now copy FROM the USB drive to anywhere else... now start to cry, because you will see messages from finder, saying that an error has occurred and the file is unreadable (-36); then the bar of the copy window stay stuck on the screen and you need to restart finder to make it work again.
    a workaround is to copy small quantity of data...but if you deal, like me, with big data moving and stuff like that you wikll understand that is not possible to loose hours to copy stuff one by one, instead of select the entire folder and wait that it will copy.
    It works from USB to USB (apple partition map), same from computer to USB (apm) but not on the other direction, so can't be the drive, and i've tried with another USB drive formatted with GUID and it works fine in both directions, while when you format it in APM it won't work form USB to computer (or any other device).
    I've updated to the latest 10.5.1, is still doing it.... hoping that 10.5.2 will fix the issue, and please don't tell me to move 2 Tb of data somewhere else because i need to format my disks as GUID and not as APM would be too much to take LOL
    BTW, every computer that is sold after Oct receive free leopard even if it does not came with it.... now i wonder if you do the same with the computer bought in september, since i spent money for a mac pro that came with tiger... would be really nice since you put on it all the latest software (ilife 08 and iwork 08) to have also Leopard, since is a business machine that cost 3k and not a toy like a pc that cost 500 dollars
    I have a picture to show the issue; but i don't see anything here that let me attach pictures (btw the thing is so evident that you don't need one)
    I've upgraded from Tig to Leo; could be possible that this is the problem, but even in this case i would expect that an upgrade, if offered as option, should be able to let the machine to work without flaws like this one...honestly is not acceptable at all, especially from your company.
    And please: add the discussion link on the Leopard page in the support section...it took me 20 minutes to find a way to go in the discussion forum (had no idea if there is one, since is not mentioned on the Leopard support page), and is even harder to find a link to post a bug or to send a message to the dev team about issues like that.
    Thanks, hope that somebody will take care of this!

    Thanks Ashka and Larry.
    I will send a message to the link that you have pointed out; hoping that somebody will see it and fix the issue.
    I was expecting that an Apple representative would be on teh forum monitoring the things and checking what happens here....but seems that is not the case
    BTW i am glad that i was able to test-drive Leopard....now i know that i can stick with Tiger until the issues are resolved
    At the moment the only way that i have to copy files is using the console instead of finder:
    ditto -V -rsrc [source] [destination]
    with this command you can copy entirely the files (works differently from cp and is specific for mac, since is a dev tool from apple included in any MAc OSX); so if you have issue like mine you can use this command in terminal and you will be able to copy stuff that won't copy using finder.
    BTW now i know that there is a direct url at discussions.apple.com; before i was simply going in the specific software/hardware section and clicking on the link "visit the discussions here", while on Leopard page (and also on other pages, like imovie or itunes), there is no link to the discussions, so if you are not so smart you are basically not able to find the discussion forum site

  • Is it possible that iMac corrupts connected external hdd-s drive via USB?

    Is it possible that iMac corrupts connected external hdd-s drive via USB? (two wd cav. green 2tb from different purchase went down in one day, both from the backside usb ports)
    First one of my video storage hdd, full of files suddenly got extremely slow, and a few minutes later, it unmounted itself, but with the unmount error, but nobody even touched the cables, electricity etc. When I tried to mount it again, it did not respond, just give a periodical load light and ticking. First I thought it must be hardware failure, but since I bought a brand new drive today and it made the same problem as soon as I tried to format it. I got suspicious. The consol, said about these - i googled all but now solution so far. (WesternFresh is my drive)
    Oct 23 17:10:58 xxxx fseventsd[47]: disk logger: failed to open output file /Volumes/WesternFresh/.fseventsd/636573acca1d6550 (No such file or directory). mount point /Volumes/WesternFresh/.fseventsd
    Oct 24 10:55:42 xxxx com.apple.kextd[10]: Can't create kext cache under / - owner not root.
    Oct 24 17:23:05 tmdc diskarbitrationd[16]: unable to probe /dev/disk1 (status code 0xFFFFFFFA).
    and there was an I/O faliure not but it was on another mac - where i hoped itt will come back to live.
    I think - if it is possible - that the OS maybe misunderstand something about these drives, and try to change - maybe permissions - all the time if a usb external connects...? (I am not really into it as you see )
    Also about Disk Utility - it does not see any partition on the old hdd, but i shows the name of the product. If I connect the new hdd via the keyboard usb, the disk utility is able to see and format it, but the hdd will be still slow and tikking after it.
    Also I tried Disk Warrior (freezd out) and Techtool Pro 6 thanks to some ol'frineds - which also not saw the old hdd, but did nothing useful with the new one.
    About cav green: I have 3 of them and no error so far, and got 4 1tb cav green in 2 mybook studio II also without any problem.
    Iam a bit scared, and try not to plug in any usb hdd-s now, but I have to continue work, so I need solutions.
    I hope if it is not hardware failure, maybe some tricky terminal code will bring back the viability of my old hdd - and I won't have to spend a lot of money to recover data.
    strange.
    if anybody has a clue?
    update 1:
    i found this post also:
    https://discussions.apple.com/message/15905481#15905481
    I also made the mentioned steps - but it is a bit different sice it reproduce itself and I cant use DU.

    It turned out that WD is the big bad guy in this game.
    According the data rescue company where I asked for an inspection, both of the drives had their reader head loose. And in the one, which was my already-in-use disk its even damaged the platters... xxxxx
    So its time to pay bunch of money to recover, and take a walk to wd service to bang on the desk.
    Also note - it may be somehow related to intellispeed technology - since macs not really friendly with wd-s built-in solutions.
    On the other hand, with WD GP 1Tb there is no problems at all for ages.
    thanks guys, thread is closed

  • Is it possible that Verizon could have screwed things up more than this?

    I contacted Verizon 10 days ago about internet and cell phone service the person I spoke with told me that Verizon did not offer internet in Illinois and I should call something called Frontier Communications
    I should have taken this as a sign that I shouldn't do business with Verizon
    Instead I went to your office on State street in Chicago. I was told that
    Verizon does in fact have internet, they have an arrangement with ComCast. I was told
    if I signed a 2 year contract, the first 6 months would be  $20 a month and then the price
    would be $40 a month for rest of the contract.
    I signed up and was given an account number and a number to call ComCast
    When  I spoke to Comcast, I was told that there was no agreement with Verizon
    I went back to Verizon, Verizon called Comcast. Now Comcast was saying there was a agreement but the terms were different
    It was now $20 a month for 6 months, but no contract. After 6 months there was no guarantee what could happen
    to the price. There could be another promotion,  it could go up
    I agreed reluctantly and signed up
    The earliest appointment was the following Monday.
    I had to leave work early for the appointment. I won't get paid for this missed time
    I was given a time frame for when the ComCast Technician would show up. He was late; he arrived after the timeframe
    I had ordered wireless internet. I know I ordered wireless because I discussed this with the comcast rep when I placed the order
    We talked about how many devices could use the wireless at the same time, how far I could be from the router, whether there was a separate router and modem or if it was one unit, if I could buy my own rather than rent it, etc.
    The technician did not have wireless equipment with him. He said the order didn't indicate that it was wireless.
    I asked if he could install what he had since I had been waiting almost a week for the internet and then I could go to their office to swap it
    He said no, a technician had to install it. If he installed what he had and they sent out another technician later with a wirelss router
    they would charge me a second installation charge
    The worst part though, is the earliest they can have someone back out is Wednesday ,ten more days later
    That means almost three weeks with no internet at home and I have to take off from work again and lose more pay to wait for the technician again
    I do computer support. I'm on call for work. If I get called out at night and don't have internet, I have to go downtown in the middle of the night

    I understand that you are frustrated with the yes/no/yes regarding internet through Verizon.  I am assuming you are referring to DSL or fiber optic internet with Wi-Fi, since you state the internet service is actually provided by Comcast.  That is as far as my understanding goes.  Your post is titled "Is it possible that Verizon could have screwed things up more than this," but the rest of your complaints (please understand I do not argue the validity of your anger or frustration) are, in fact, regarding services rendered (or not) by Comcast.
    I used to have a bundle with Centurylink internet, Directv satellite, and Verizon Wireless.  I got a separate bill from Verizon but I got a discount for the Centurylink and Directv bill by linking my cell phone numbers and creating a "triple play."  Centurylink had ridiculous scheduling issues with their techs, and it took five calls and two weeks to actually get the internet hooked up, at 1.5 mbps as the lines couldn't accommodate the 10 mbps the rep offered.  I was upset with Centurylink, not Verizon.  I had upgraded my cell phones through Centurylink, but if/when I had any issues, I called Verizon.
    The issues you are describing are not within Verizon's control, which should have been clear when you had to speak with Comcast to set up the account and order.  You need to call Comcast to resolve it, and the sooner the better.  I had a horrible time trying to recoup money I paid to Directv after breaking the bundle, and eventually Centurylink refunded my money since the were the ones refusing to release my payments to Directv, saying I had a bundle but they could not discuss billing for Directv service. Almost all companies have a window for refunds and billing disputes, and Centturylink gave me the runaround until I demanded escalation.  Once the dispute period is over you don't have a leg to stand on for credits or anything else.  I had to get noisy to get results, and you might have to as well.
    Step one is calling Comcast and placing the blame where it belongs, then work toward a solution to rectify the lost time and frustration.

  • ITunes store keeps saying that my session has timed out when trying to buy a product from the store

    I Tunes is telling me that my session has timed out when trying to buy a gift voucher, which i have done many times before.
    The most recent change i'v made to my computer before this happened was to download an update (MacOSX updatecombo 10.7.3dmg)
    a couple of weeks ago. I'v turned off the firewall as suggested whilst trying to transact and turned it back on again, but don't know
    what else to try. The problem is three days old as i left and came back to it to see if there might be a glitch in the system.
    I'v been able to access the credit i have in the store, but not buy the itunes voucher to email to my own a/c. Please help someone if you can
    Sandystone.

    Thanks for your suggestion Ned01, I tried this as a last ditch attempt, unfortunatly it made no difference in my case, but i'm pleased it did for you. However, because you reminded me to have another go at this problem, i tried something else (which i'd unsucsessfuly tried before), that is, i deleted the 'CLICK & SAVE " a/c i'd set up recently,  and reverted to my previous payment me and would you know it , this time it worked !! I set up a trail purchase and it worked.
    It seems to me that other poeple with this problem have to solve it by trail and error, but thank you for your help.Sandystone..

  • HT204088 Every time I try to look at my purchase history on my account, I keep getting a message saying that my session has timed out. How do I correct this?

    Every time I try to look at my purchase history on my account, I keep getting a message saying that my session has timed out. How do I fix this problem?

    Same thing happens to me as well. Might be a community wide problem, I tried entering my information on multiple devices and it doesn't wanna work, it gives me the same error when trying to purchase it's a good day to die hard

  • Can't seem to download any app despite entering the correct password and answering 3 security question but still in the end it comes up the message that my session has timed out no matter what! Please help, many thanks in adv!!

    Can't seem to download any app despite entering the correct password and answering 3 security question but still in the end it comes up the message that my session has timed out no matter what! Please help, many thanks in adv!!

    Try doing it on your computer with iTunes and then sync to your iPad to see if it clears the problem.

  • HT1491 Hi - I am trying to change my payment information but I keep getting the message that my session has timed out. I have turned my phone off but that doesn't seem to help.

    Hi - I am trying to change my payment information but I keep getting the message that my session has timed out. I have turned my phone off but that doesn't seem to help.
    Does anyone know what I need to do?
    Thanks. :-)

    What are the exact error codes that are appearing when trying to update?
    Have the steps for troubleshooting those errors as listed in the article from which the question was posted been tried?

  • TS1646 When I try to purchase a song, it will not let me use the gift card that I redeemed. It directs me to my billing info and says that my session has timed out. How can I fix this?

    When I try to purchase a song, it will not let me use the gift card that I redeemed. It directs me to my billing info and says that my session has timed out. How can I fix this?

    For some reason this worked for me. I went into my account and changed my first name, maybe it causes itunes to reset. What ever it does my itunes works now.

Maybe you are looking for

  • Is there anyway Verizon can save text messages so I can erase them off my phone?

    I have over 200 text messages from my ex-boyfriend, I have a restraining order against him so I need to save or be able to get them if he was to do anything against the order. Is there anyway to save them to my Verizon account or something?

  • Rebate agreement conditions

    Dear All , I am facing a problem in configuration of the Scenario.. Can any one help me Scenario 1: The business wants the average net sales to be a controlling factor for the rebate program. The business will pay the rebate to the customer only when

  • Adobe Reader 11.0.10 not visible in SCUP

    Problem with the regional node here for Hamburg, Germany?

  • Crashes upon rearranging photos in grid view

    3.5, and also happened in 2.7. I don't remember before that. Dell Precision with Windows 7 Pro 64x, 4Gb RAM, NVIDIA Quadro FX 880M. When I do a lot of rearranging (more than a few), by dragging the thumbnails to another place, frequently LR crashes a

  • KO88 error

    Hi, When I was trying to settle production order faced error as follow. Error in assigning the tax group Message no. FF716 Diagnosis To guarantee a connection between the automatically created tax items, the initiating line items, and the tax informa