TIMER in the Application

hello everybody,
i have a problem:
i need to make a timer for my application that send one mail to the
admin at every months end.. so i ahev a timer class that do this.
my question is...how and where can i define this timer ??
that when the application is deployed should this timer start to work....
i was trying at a class that implements the ServletContextListener interface,
but the timer in this moment still null... so how can i do it??
should i add something to web.xml or other xml-file?? where and how??
plz help if u have an idea...
thank u

this doesn't seem like a good idea to me as the Java program would have to be running all the time.
what OS are you using? Under Unix there is a feature called Cron that allows you to schedule tasks to run. I'm sure you could find something for windows too. I would look into something like that rather than re-inventing the wheel.

Similar Messages

  • I'm trying to update my Photoshop CS5, but continue to receive the same problem every time. The application manager update dialogue box simply states "some updates failed to install." There's no specific error code, but a link to contact support for furth

    I'm trying to update my Photoshop CS5, but continue to receive the same problem every time. The application manager update dialogue box simply states "some updates failed to install." There's no specific error code, but a link to contact support for further assistance. It doesn't take me to customer support, but does take me to a screen which states. "Error "This serial number is not for a qualifying product." I've checked my account and the product serial number is associated with my account., so I don't see any problem.  I have not been able to find a resolution to this problem, so I hope that someone can point me in the right direction.  Thank you!

    update directly, Product updates

  • Current Time on the Application Express Form

    Hi All,
    I want to display the Current Time on the Application Express Form
    continueusly and change every second or minutes like computer time.
    Please any can help.....
    Regards
    Gaas

    I have found an example for your question over here: http://www.plus2net.com/javascript_tutorial/clock.php
    Just play a little bit with this javascript function.
    Br
    Nico

  • How long is the live time of the Application variable???

    Tell me if anyone knows the default live time of the application variable in JSP. Can i set this time?
    Thanks in advance!

    I believe that the answer is application server dependent, but most application servers will keep the values around until the application server is restarted (or crashes).
    Some of the better (and more expensive) application servers can persist application state across server restarts but I haven't witnessed this firsthand. (I've seen it in action with session state, however).
    Hope this helps ...

  • How to Minimize the starting time of the application in iPhone?

    Please anybody suggest, how can i reduce the starting time of a web application developed for iPhone?
    Application is connecting to the web quickly in the Simulator, but it is connecting the web with some delay in the device.
    I am using GPRS for the internet connection in device.
    Any quick help regarding this will be very much helpful to us.
    Thanks,
    Adam

    Don't make the user wait while you're downloading data. Cache the data in a local file for fast startup, then use NSURConnection to download in the background, and update the UI when finished.

  • Is there a way to delete more than one photo at a time in the Photo application?

    Is there a way to delete more than one photo at a time in the application Photos in the iPad? Thanks.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • JWS is downloading  the Application every time when I launch from desktop

    Hello All,
    We are Facing a strange issue with the JRE6U14 version. first let me tell you about the jnlp config file we have. we Use JWS to install a SWT Based application. For that we are using two JNLP descriptors . One is the main JNLP <application-desc> and the other is <installer-desc> which we use inside it.
    The application is working fine with the JRE6u13. with no exceptions on a windows XP and Vista systems with IE 6&7 browsers . Recently one of our client installed JRE6u14 and they upgraded their IE browser to IE8, after that they installed our application also through Java Web start. Application got installed without any problem , but the problem they faced is when they try to open the application for the next time from the application shortcut on desktop, web start is not launching the application directly ,instead it is trying to download the application again.
    Our jnlp file has the following configuration for <shortcut> element
    *<shortcut online="true">*
    *<desktop/>*
    *<menu submenu="Course Builder"/>*
    *</shortcut>*
    This was working perfect in JRE6u13 but the mess started with JRE6U14 on windows Vista system with IE 8 . This behavior is not consistent again, the JRE6u14 works fine with IE 7 on windows XP. I have no clue about why it fails , Is any body faced this type of issue with Web start deployment.
    Any suggestion or solution will be much appreciated
    Thanks
    Pavan

    Hello Jorge,
    Make sure your computer's software is completely up to date by going to Apple Menu > Software update.
    Remove the following files to the trash and restart the computer (do not empty the trash until you are sure the issue is resolved):
    Home > Library > Preferences > com.apple.ical (There may be more than one of these files. Remove them all.)
    Home > Library > Caches
    Home > Library > Calendars > Caches (There may be more than one of these files. Remove them all.)
    If after restarting the same thing happens try testing iCal in a new user account http://docs.info.apple.com/article.html?path=Mac/10.6/en/8235.html.
    If the issue only happens in your user account follow http://support.apple.com/kb/TS1627.
    If the issue happens system wide reinstall iCal by moving the iCal application to the trash and following: http://docs.info.apple.com/article.html?path=Mac/10.6/en/19535.html.
    Hope that helps.

  • Response Time of MSON Application

    Hello SDN Users,
    we want to use the Mobile Sales Online for CRM (MSON) Application for our Sales Representatives. Currently I'm testing it on a BlackBerry 7230 with a T-Mobile Germany connection. On the location I'm testing the antenna indicates 2 active bars. The BlackBerry Browser is in the default setting. I've started the MSON Application and stopped the time between Get link of "My Activities" and the display of the Search Form. The time was 15 seconds. I think this will not be accepted by our users. I've also tested this with the BlackBerry Device simulator on my local PC connecting directly to the Portal server where the Mobile Sales application is
    running. The time was 4 seconds. Some other pages I've tested:
    Search to Result list:
    BlackBerry 10 sec
    Simulator  2 sec
    Result list to Details
    BlackBerry 9 sec
    Simulator 2 sec
    Questions:
    1. Are they any suggestions to reduce the Response Time of this application?
    2. Has anyone else implemented MSON in real world enviroments?
    3. What where the response times?
    Best regards
    Gregor Wolf

    Hello Gregor,
    There are numerous factors that effect the performance of the MSOn application like data volume and the landscape of the WebAS and CRM backend. In this application the WebAS makes intensive call to the CRM backend, its very important to have the WebAS and the CRM backend close together in order to reduce the network latency. The connection type also has great effect on the application performance.
    Also, in addition to the landscape, the data volume could also reduce the response time of the application. In the search forms if some condition is given , instead of blank form the response time is much faster. In the new SR3 version of the application, atleast one search criteria has to be specified.
    Due to all such variables its difficult to give concrete figures regarding the testing results within SAP.
    Kind Regards
    Gitin

  • The Application Takes long time to Start

    Hello All,
    We ar eon Unix->64 Bit-> Essbase 11.1.1.3.
    Problem Description : The application is taking long to start up. around 5 to 6 minutes. This is very first time it is happening.
    There were no specific changes done to the application in the recent releases.
    I have tried all options 1. Compacating outline, 2. Purging the application log etc. all other applications respond good on this host except this. Usually any application should not take more than 1 to 2 minutes to start up.
    There are no specific errors or XCP files recorded in the logs and folders.
    Appreciate your suggestions
    MS

    Thanks Jitendra and Prabhas,
    I know i have posted this thread sometime back and later I had to jump on a New release, so did not get time to check your inputs.
    Well I am back on this issue again. I have been working on various option to get this issues solved " start of App takes long time"
    Here are some Details. We are on SunOs 64 Bit, has 12CU with dual core,  with Essbase 11.1.1.3 running on it. This is an ASO application and has just 7 dimensions, Out of which the ORGANIZATION Dimension is pretty huge with Multiple Hierarchies enabled ( Both Stored and Dynamic ) and has more than 20,00,000 members including the alternate hierarchies ( Shared members)
    I did a smoke test by building dimension by dimension the app was startiung up in just *40* seconds. and when i reached the ORG dimension and added more than 70,000 memebrs . there i fall sick. the app now gets back to its old issue ( Takes more than 10 mainutes to start).
    CPU Usage ranges between 3.1 % to 4 %
    PID USER NLWP PRI NI VSZ RSS S STIME ELAPSED %CPU COMMAND
    4424 user1 1 59 20 1608 1032 S 18:13:33 00:00 0.0 grep COMMAND
    4428 user1 1 59 20 1608 1032 S 18:13:33 00:00 0.0 grep ESS
    4766 user1 88 55 20 6814168 5684200 O 17:37:48 35:45 3.1 /path/xyz/masked/ASO_APP hgfedc NOCREAT.
    But My question here is, in the last moth cube i still similar number of members in the cube and nothing really had changed.
    Essbase GURU's Please give me some Hint to think out of box now.
    Thanks
    MS

  • Every time I update LR to a new version I seem to need a patch to make it work..... once again here I am SOS! I've just update LR to the 5.7 version and It wont let me start it: The application was unable to start correctly (0xc000007b).

    Every time I update LR to a new version I seem to need a patch to make it work..... once again here I am SOS! I've just update LR to the 5.7 version and It wont let me start it: The application was unable to start correctly (0xc000007b).

    Your system is missing a couple DLLs that LR needs, but the fix at Adobe is to copy them to the LR folder which gets replaced for each install, so you have to redo it after each LR install.  It would be worth documenting the process and saving the DLLs so you don’t have to ask about it each time:
    http://helpx.adobe.com/lightroom/kb/error-unable-start-correctly-0xc00007b.html
    You might also use the AIO210 program to add them as detailed in this YouTube video—maybe this is a more permanent fix, but since the files are from media-fire be very careful about what you do so as not to install a virus on your computer. 
    I’d scan the downloaded ZIP you download with whatever virus and internet security software you have and don’t be fooled by extraneous popups you might see during the download process.  I was able to download the aio210.zip after authorizing one Captcha window and closed at least one bogus popup trying to get me to install other software.  I also scanned the downloaded zip with two virus scanners and both said it was clean.  Here is the YouTube video, where the link to the ZIP to download is in the description once you expand it:
    https://www.youtube.com/watch?v=vlT0N2CX50g

  • Error Message reads: this application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.  I have re-installed, SO many times and I still cant open iTunes.

    Hi Support,
    I am becoming anxious because no matter what I try it doesnt seem to allow me to open itunes.
    Error Message reads: this application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.
    I have re-installed, SO many times and I still cant open iTunes.
    Please help!!

    Click here and follow the instructions.
    (98888)

  • Any time I open a photo program the application freezes.  I want to reinstall OSX from the original disk and then restore my machine from time machine Will a restore from time machine only restore my Apps and data

    Tried to post a question about restoring my i mac from time machine, but this new format makes no sense to me.  I want to restore my i mac from time machine after I reinstall the OS from the original disk.  Will a time machine restore only restore the applications and data or will it restore the current state of the OS.  My machine will not let me open any photo applications (aperture, I photo, NX 2) I have to force quit them every time I try to get some work done.

    06-sep-2012 0:14 
    Me compre un ipod classic de 160gb cada vez que trato de ponerle musica de mi disco duro externo solo copia hasta 1500 canciones y luego me congela el Itune  y no lo puedo cerrar, me pide que restaure el ipod como de fabrica, lo hago y nada.  Trato de cerrar el programa de itune y no me deja, trato de apagar el computador y no lo puedo apagar,  he buscado para ver si tiene errores  el disco del Ipod y me dice que esta bien.  Lo he restaurado como 8 veces y le he puesto musica y videos pero siempre me borra todo.  He aplastado Menu y Seleccion para entrar al sistemade diagnostic o del ipod y le pongo el test manual donde entro al IO y me dice q todo esta bien.  Le he dado ya varios Format directamente desde el Windows 7 y nada tampoco, siempre me borra todo desde que pasan mas de 1300 canciones y me congeal todo el equipo.  Ya no se que pensar de esta compania Apple porque no da ninguna solucion ha este tema.
    I bought a 160gb iPod classic every time I try to put music on my external hard drive only copy up to 1500 songs and then freezes Itune me and I can not close, asks me to restore the ipod as factory, and do nothing . I try to close the program and itune will not let me, I try to turn off the computer and I can not shut, I looked to see if the iPod disk errors and says it's okay. I restored it about 8 times and I've put music and videos but I always delete everything. I crushed and Selection Menu to enter diagnostic sistemade or ipod and I put the manual test where I enter the IO and q tells me everything is fine. I have already given several Format directly from the Windows 7 and anything either, I always delete everything from passing over 1300 songs and I congeal whole team. No longer have to think of this company because Apple gives no solution has this issue.
    iPod classic, Windows 7, ME BORRA TODO Y SE CONGELA 

  • I have a macbook pro 10.8.5 and the Application Safari will not open no matter what i do, I try to open the menu of Safari but it won't let me either, the mouse will just be loading. Each time i open it, it says "Application Not Responding"

    I have a macbook pro 10.8.5 and the Application Safari will not open no matter what i do, I try to open the menu of Safari but it won't let me either, the mouse will just be loading. Each time i open it, it says "Application Not Responding" and I try opening it in my Finder and it'll say "The Application 'Safari' cannot be opened." and below that it'll say "-1712" Please help? I would really like to open it again.

    The application Safari can't be opened -1712
    What to do about "The application 'Safari' can't be opened" -1712 ?

  • I cant open Photos om my mac. Just upgraded to Yosemite. The message I get is: An unexpected error has occurred. Please quit and restart the application. I have done this several times but nothing seems to work. iPhoto is gone. What do I do?

    I just upgraded to Yosemite on my mac from 2010. Everything seems to work, accept Photos. When I try to open it i push the "Get started" button, then the picture with "Preparing Library" comes up. Then a message appears with the text "An unexpected error has occurred. Please quit and restart the application." I have done this several times, but nothing happens. What do I do?

    I just upgraded to Yosemite on my mac from 2010. Everything seems to work, accept Photos. When I try to open it i push the "Get started" button, then the picture with "Preparing Library" comes up. Then a message appears with the text "An unexpected error has occurred. Please quit and restart the application." I have done this several times, but nothing happens. What do I do?

  • My itunes will not open! is giving me error7(windows error 1114) RUNING TIME  ERROR, PROGRAM FILES\ITUNESHELPER.EXE R6034 An application has made an attempt to load the C runtime library incorrectly. I must contact the application support team for imforma

    my itunes will not open! is giving me error7(windows error 1114) RUNING TIME  ERROR, PROGRAM FILES\ITUNESHELPER.EXE R6034 An application has made an attempt to load the C runtime library incorrectly. I must contact the application support team for imformation and  i tried downloading itunes like 10 times and is saying the same thing. Please help! i need to sync my ipads and ipods thank you!

    Follow the instructions of tt2 given in https://discussions.apple.com/thread/5822086

Maybe you are looking for

  • I\updated bios earlier from and now my paviliong6 skype mic is not working. other side can't hear?

    Installed a BIOS update earlier and another driver update(do not recall which) and now my microphone does not seem to work with skype. The other side does not hear me. OS win7 64 home premium. HP pavilion g6. No disk issues or any other application l

  • Wraptor DCP plugin not working with AME CC 2014

    Platform: 10.9.2 on a MacPro 2014, 64GB RAM, D500's 6-core Issue: Media Encoder hangs when rendering a 97 minute project as a DCP using wraptor plugin.  Always gets to a different frame before stalling - furthest i've gotten is 25 minutes in. I've al

  • PRODUCTION ORDER--Qty changed after one operation----URGENT

    Dear Experts         Hope u all R doing well In the production order,after one operation completed(whether it is first ,second  or last ) the system is allowing to change the qty. but we want the system to disallow  the qty change. could anybody can

  • USB trouble...

    I have an intel iMac (intel core duo 2 GHz) and I upgraded to leopard with no problems for nearly a month. Recently I experience an issue with the USB drives and all that are related to it. I am using elgato EyeTV, an external USB hard drive, iSight

  • Wsdl code generating with xsd:choice weblogic 8.1

    I am having a problem generating client code from a wsdl using weblogic 8.1.4 iin which the schema contains xsd:choice keyword. I notice on a couple of forums that this may be a problem. Is it a problem? Is there a fix? Cheers Charlie