SessionDestroyed works, but not sessionCreated!
Any idea why my stdout.log in Tomcat would be recording print statements from sessionDestroyed but not sessionCreated?
public class OurSessionListener implements HttpSessionListener {
public void sessionCreated(HttpSessionEvent se) {
HttpSession session = se.getSession();
UserAcctBean user = (UserAcctBean) session.getAttribute("currentuser");
String loginID = user.getLoginID();
System.out.println("Added session: " + session.getId() + " for user " + user.getLoginID());
SystemControl.addActiveUser(session.getId(), user.getLoginID() );
public void sessionDestroyed(HttpSessionEvent se) {
HttpSession session = se.getSession();
SystemControl.removeActiveUser(session.getId());
System.out.println("Removed session: " + session.getId());
}This has been frustrating me for a while. I thought it simply wasn't listening, but apparently it is since I do get statements beginning with "Removed session" in the log file!
serlank is right
sessionCreated method works when the session is being created , how do you have a user object in the session at that time
Similar Messages
-
Still have a problem with the drivers in Windows 8 release preview, for my HP B109 a-m all-in-one, have printer working but not scanner, is there any chance of a fix before final release of Windows 8 ?.
Review my post here:
http://h30434.www3.hp.com/t5/Windows-8-Release-Preview/SOLUTION-Get-Win-7-Printer-Drivers-HP-Solutio...
And see if something similar will work for you. -
My Mac Mini doesn't recognize my Avengers DVD--it keeps saying "Supported disc not available." I've tried other DVD's which work, but not this one. itunes and everything else has been updated to the newest versions. Help? Also...It doesn't recognize the digital copy DVD.
I have ALL the exact same symptoms as on my home computer.
It sure sounds to me like something on the iPod is broken. If it's under warranty then I would send it back for repair. If not, check out some of the web repair services, such as iPodResQ etc. -
all the links in the header of any websites are not working, the cursor is not changing into pointer and no way to click on any link located at the top of any website page. I reinstalled firefox and it s the same. No problem in others browser. the tool bar is working but not the links inside any web page located between the top 300px height.
So I can t tlog into any website, i cant write an email as the compose button is located in the top of the page.. Please help, i have all my bookmarks into my firefox...Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
or gaming youtube, while call or voice recording playing - all works fine, so speakerphone is working but not on all apps. hard reset done - no changes.
iphone 4
SOLVED plugin to charger solved it - so problem was with contacts -- no idea why - phone is new - no water - no havy dust - usual using
hope will never return. ThanksWe checked it with an iPhone 5 in house multiple times and could not reproduce this Problem. Must be something specific to your device. Maybe your speakerphone volume is turned down completely?
Follow the latest Skype Community News
↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓ -
Hi!My 6 month old MBP 13" has suddenly stop charging.Mac is working,but not charging
Troubleshooting MagSafe adapters http://support.apple.com/kb/ts1713
If you need to pursue further you can do it on-line, start here
https://selfsolve.apple.com/agreementWarrantyDynamic.do -
My iPad cannot connect to my internet. the internet is working but not with my ipad.
my iPad cannot connect to my internet. the internet is working but not with my ipad.
Call your ISP (Internet Service Provider) and explain them your issue, it could range from having your router configured incorrectly to having a wiring issue. Personally, I have Comcast and they are great, no issues, and awesome customer service.
Hope you get up and running ASAP -
My volume down button doesn't work on my iPhone. The UP buttown works, but not the down button. I have tried a hard reset and that didn't fix it.
Try this.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up. -
ICloud keeps asking for password but will not take it. All other devices work but not my IMac???
Exactly which password are you inputting? iCloud looks for your AppleID password.
-
Wake on Lan (works, but not always)
Iam trying to get Wak on Lan working on my iMac. It works, but not always. When I put my mac to sleep en send the magic package, my mac turns back on. But when my mac turns to sleep and I wait a few hours (the next morning), my Mac doesn't respond to the same magic packag. When I wake up the Mac by hand, and put it back to sleep again, the magic package works again en turns the mac on.
It almost looks like the mac goes into a deeper sleep mode after a few hours. Does anyone knows what could ben the reazon.mmm, It seems like my mac doesn't always turns to sleep mode. Most of the time it only turns off the screen (solid light). My energy settings are 10 minutes for the screen and 15 minutes for the mac. But after turning of the screen it never turns to sleepmode. Ecxept when I put it to sleep manualy.
Strange thing is: when the screen is turned of, shouldn't I be able to get tot my files... (I can't actualy). -
Sap xi SCENARIO source directory working ,but not working target directory
sap xi SCENARIO source directory working ,but not working target directory..
plz help meHi,
Be more specific on the problem you are facing so that the ppl here can help..
looks like your are trying to file to file scenario and the file is not generating at the target folder ...
then check the communication logs of the receiver adapter using RWB->CC logs..
post the error you have received there..
HTH
Rajesh -
can't sync ical on my iphone and imac. email and note work but not ical. can anyone help.
thanks
bmoreimacSo how can i make it work that way, i asked one of my friends, and she says it works like that...when she delete the email on her iphone it is deleted on the mac too, what do i do to change this?....my mail it's hotmail, i don't know if its relevant
-
TS1702 facetime on my iphone works but not on my ipad
Facetime on my iPhone 4S works but not on my iPad (3rd or 4th Gen)
From the iPad User Guide:
To use FaceTime, you need an Apple ID and a Wi-Fi connection to the Internet. When you open
FaceTime, you may be prompted to sign in using your Apple ID, or to create a new account.
Make a FaceTime call: Tap Contacts, choose a name, then tap the phone number or email address the person uses for FaceTime.
You can also make a FaceTime call from the Contacts app.
Rotate iPad to use FaceTime in either landscape or portrait orientation. To avoid unwanted orientation changes, lock iPad in portrait orientation. See Portrait and landscape orientation on page 20. -
Just bought an iPhone 5C.. Safari is non-functional! A blank frozen screen... What gives? Safari is Apple's browser for gods sakes! Google Chrom works but not Safari? This is nuts. This is an "upgrade"?? Anyone else experiencing this? Or should I just give up and return this
Are you always like this?
First try a Reset: Hold down the home and sleep buttons, wait for the Apple logo, let go of the buttons. -
I was working with my Apple IPad 4G suddenly the sound stopped,I flipped the back of device slowly and it started to work but not properly and again stopped working.
Now it is not working even with fliping, is the problem with hardware or software?
Is any soloution to solve the problem?The Basic Troubleshooting Steps are:
Restart... Reset... Restore from Backup... Restore as New...
Restart / Reset
http://support.apple.com/kb/ht1430
Backing up, Updating and Restoring
http://support.apple.com/kb/HT1414
If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
Be sure to make an appointment first...
Maybe you are looking for
-
Enter condition type several times in a sales order
Hello Gurus, I have a Pricing Procedures with net price minus some discounts and sales price. This is standard. One of the discount condition types you can enter manually in a sales order. Now my problem. This discount condition type you can enter s
-
Sending a picture...
All, When I send an mms picture to someone with out a iPhone they don't see the picture. Does anyone know why this would be happening, or having this problem? Message was edited by: Nade 23
-
pls i am new to the following items i have seen on the oracle web site and i am very curious to know what are the functionality below are in real business case: pls assist me Compensation Workbench Create and Maintain Plans Definition, Types & Years
-
Mysterious routing problem / interface determination
Hi, I have a very very strange routing problem with XI. A message is sent from R/3 to XI and then send via adapter to an external party. The routing is configured well. But sometimes I have the following problem: A message is received by XI (from R/3
-
HT1657 How can I find a specific movie I want to rent in the Itunes store?
It's easy to find the movies they want me to rent, but how do I find the particular one I am looking for?