Execute ejb after weblogic10.3  startup

Hi,
I have ejb which polls the DB for an entry for every 10 secs. I added this as an startup class.
This class affects the starting process of weblogic server and the server does not start completely.
Is there a way to configure to invoke the class after the server startsup completely.
Let me know if there is any other way of doing it.
Thanks,
Rekha
Edited by: user12975572 on Jun 23, 2010 12:09 PM

Hi Rekha,
TimerManager and JobScheduler are the best way to achieve ... the goal for your environment. And the Best Suitable stuff for your requirement.
Please follow the bellow Link: http://weblogic-wonders.com/weblogic/2010/05/02/weblogic-timermanager-for-scheduling-tasks/
Thanks
Jay SenSharma

Similar Messages

  • How can i run a executable right after a rman job has run?

    How can i run a executable right after a rman job has run?
    I have a rman job that execute every night. The backup is local.
    I want to have a duplicate of the backup on another machine.
    I want the executable to sync the directory to execute right after the rman backup.
    How can i do this using the job scheduler?
    Normaly, i would configure rman to run the backup on both location. But im having trouble with rman regarding this:ORA-600 [2103] on RMAN Backup to NFS mounted file system

    Hi,
    If the rman job is in fact a Scheduler jobs (appears in the dba_scheduler_jobs view) then you can create a second event-based job that runs after the rman job (and set the raise_events attribute for the rman job).
    Instructions are here
    Create Event based job
    Hope this helps,
    Ravi.

  • Executing a java application during startup

    {color:#0000ff}Hi
    Can anybody help me how to execute a java program during startup?
    Is there any java inbuilt codes to execute the program in startup?{color}

    hi,
    just create the java file and compile it in to .class file.
    create a batch file (open notepad write these commands.
    cd directory name where your java class is
    java classname
    then go to control panel and click on schedule tasks and schedule this .bat file at system startup.
    it will run......

  • Subroutine should execute just after Commit

    Hi All,
    I am working on user exit. I am writing the subroutine in the user exit. This user exit is in SAP Standard program and this sap standard program have the commit statement. My requirment is that subroutine should execute just after the commit statement, not before.
    What can I do for that. I tried with perform on commit and in update task but both execute just before Commit. Pls help me out.
    Thanks,
    Rakesh

    Hi,
    Check the below link for documentation.
    Hope it would be of some help to you.
    http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4e3a79e11d1950f0000e82de14a/content.htm
    Regards,
    Vara

  • I have a VI A. I want A to call another VI B and execute. After B executes, I want it to close automatically and go back to A. Is this possible ? I tried using open reference and those methods, but I am not able to do it. Can someone help me ? Thanks !

    Thanks !
    Kudos always welcome for helpful posts

    Re: I have a VI A. I want A to call another VI B and execute. After B executes, I want it to close automatically and go back to A. Is this possible ? I tried using open reference and those methods, but I am not able to do it. Can someone help me ? Thanks !Hi Stephan ! Thanks ! I guess I explained my question not so right. I've created a customized menu and at the instance of me selecting a menu, a VI should load itself dynamically. I am using call by reference. Sometimes it works and sometimes it won't. In short, what I want to achieve is load VIs dynamically and close them dynamically once they finish executing. Thanks !
    Kudos always welcome for helpful posts

  • How to execute code after JSF startup?

    Hello,
    I need to execute some initialization code after JSF startup, so I cannot do the usual ServletContextListener trick, as that runs before JSF is completely initialized. Any ideas?
    Kind regards,
    Ulrich

    I can think of one way to do this (which might be a bit cumbersome for what you are trying to do) : use the Spring framework's web integration classes.
    You can specifiy a context listener in your web.xml :
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    That way, Spring will load an ApplicationContext, and in that context you can specify a Spring bean that will be instantiated at application startup, which will perform whatever logic you need to do.
    More info here :
    http://static.springframework.org/spring/docs/2.0.x/reference/webintegration.html

  • How can I restore my Microsoft Word Documents which became Unix Executable Files after my Macbook Pro Crashed?

    After my MacBook Pro suddenly crashed, we had Best Buy's Geek Squad attempt to save the files. According to them, they were successful in doing so and put all of the saved files in a folder on my desktop which they labeled "Backup". The problem is, all of the files are in a Unix Executable format. When you double click on any of them, they pull up the terminal and that's it. After researching the issue and trying to grasp what was going on, I learned that you can open these files in Text Edit and sometimes find the file extension (.png .jpeg .amr .qt) that belongs at the end of the filename in order for it to be pulled up. In doing this, I had some success restoring some photos, audio files, and videos. However, no luck at all in restoring any of my Microsoft Word documents or even finding out which Unix Executables are Word documents. I've even tried to add .docx to various files just to see if I would luck out. Nope .  Any help would be SO SO greatly appreciated!!!

    Just to make sure, your Mac meets Snow Leopard's requirements?
    Mac OS X v10.6 Snow Leopard - Technical Specifications
    Yes, Lion does require that  you have Snow Leopard installed so you have access to the Mac App Store.
    And you do need to be running v10.6.8 in order to upgrade to Lion >  http://www.apple.com/macosx/how-to-buy/
    When you verified the startup disk using Disk Utility, what were the results?
    Wouldn't hurt to do that again. From your admin account launch Disk Utility. Select MacintoshHD in the panel on the left then select the First Aid tab. Click: Verify Disk  (not Verify Disk Permissions).
    If the startup disk needs repairing, boot from your install disk to make repairs >  Using Disk Utility to verify or repair disks
    While you have the DU window open, check Capacity & Available at the bottom of the window. Make sure there is a minimum of 15% free disk space.

  • How can I execute program after using F4_Filename function?

    Hi all,
    I'm a new user on the forum. I've been working with ABAP and SAP for a few weeks. I wrote a program for importing data from excel file to SAP using BDC. During searching this forum I found information about F4_Filename function which allows users to browse the disc for a file. I'd like to add this function to my program. I have a parameter for a file name but this is an ordinary static string field. When I added the code which I found in the message on this forum the rest of program doesn't execute.
    This is simple program for example:
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    f_name = p_file.
    write:/ f_name.
    This program works correctly. There is a field for parameter. I can change the default name for a file.
    After all, I can run the program (F8) and rest of the code is executed. The field for parameter dissapears from the screen and the file name is displayed. ( command write)
    Now I added a function F4_Filename
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                program_name  = syst-repid
                dynpro_number = syst-dynnr
                field_name    = 'p_file'
           importing
                file_name     = p_file.
    f_name = p_file.
    write:/ f_name.
    I can browse a computer for a file now but after selecting the file I can't run the rest of the code. When I click on the icon or press key F8 the field for parameter doesn't dissapier and the command write is not executed.
    What do I do wrong?
    Could anyone suggest me a solution? How can I executed the code after using this function?
    Thanks in advance.
    Regards,
    Arek.

    Hi arkadiusz,
    1. simple
    2.
    <b>start-of-selection.</b>
    f_name = p_file.
    write:/ f_name.
    regards,
    amit m.

  • Blank screen after logo at startup

    I have an HP laptop (G72-B66US) running on 64-bit Windows 7 Home Premium. Since I bought it over a year ago, it had been running fine, until one day it failed to boot up to Windows, leaving only a blinking cursor in the upper-right corner of an otherwise blank LCD screen.
    By pressing ESC before the HP logo screen ends, I am able to access a Startup Menu:
    F1  System Information
    F2  System Diagnostics
    F9  Boot Device Options
    F10 BIOS Setup
    F11 System Recovery
    ENTER - Continue Startup
    Various tests (HDD, memory, etc.) provided in System Diagnostics (F2) all completed successfully.
    I also booted up from a repair disc and ran Windows Startup Repair Tool, which found no problem.
    I even restored a system image I created right after purchasing the laptop, but the problem persists.
    A hard reset after the removal of the battery didn't help.
    There are two things I haven't been able to do, however:
    1. I connected an external monitor to the laptop, but the display didn't switch to the external monitor, even after I pressed F4 repeatedly. Same result with fn + F4.
    2. Pressing F8 at any stage of the startup didn't get me into the Windows Safe Mode. Same result with fn + F8.
    I wonder whether the two functions are somehow disabled by the HP Startup Menu, otherwise why are they not listed as options in the menu?
    In any case, any suggestions on how to proceed from here?
    This question was solved.
    View Solution.

    Hi,
    Boot from the Rescue/Repair CD you have, select Repair Your Computer and choose the Command Prompt.  When this loads, enter the following commands and hit enter after each one - include spaces as shown.
    Bootrec.exe
    bcdedit /export C:\BCD_Backup
    c:
    cd boot
    attrib bcd -s -h -r
    ren c:\boot\bcd bcd.old
    bootrec /RebuildBcd
    bootrec /fixmbr
    bootrec /fixboot
    Remove the Rescue CD and try rebooting now.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Error while executing query after migration

    I have migrated a  query to 7. While executing the report following error occurs
    When I attempt to open a query, (I get past the login and query selection screens) I get the following error:
    "Creation of item TEXTELEMENT_xx Failed" (20 or so lines)
    After which the variable entry screen pops up, but no data is displayed when the query returns due to the creation of the elements failing.
    Excel 2007 Office SP2. SAP GUI 710
    Please suggest.
    Regards,
    Raj.

    Hi Raj,
    I also faced this problem with Excel 2007 BI
    I was able to resolve the problem with the following
    This problem is because changes to excel in the 2007
    first try reinstalling the GUI components If it works with the reinstallation then its fine
    if not try Installing FEP 900 (Latest patch for BEX Suite) and GUI 7.10 patch 13
    this definitely solves your problem
    Thank you

  • Execute javascript after update and submit in Skillbuilders Modal Page

    Hi,
    I'm editing, say, list of my employees in a tabular form opened in Skillbuilders Modal Page.
    I have to execute same javascript code after the changes in the tabular form have been submitted.
    I've tried using a Dynamic Action fired on Page Load, but that gets executed before the update is completed.
    Does anyone have an idea how to accomplish this?
    Thank you!

    Thank you for your answers.
    Yes, I'm trying to execute javascript code on the child page, the modal one.
    Basically, there's a button on my parent page which opens the modal page. The modal page has buttons Cancel, Delete and Save. Clicking Save button submits the changes and if there are errors, errors are shown and we stay on the modal page.
    My modal pages are all of fixed dimensions and if there are errors, I have to adjust the other regions (adjust their height, add a scrollbar, etc) in order to show everything in the modal page.
    I have written a function that does exactly that, but I have to execute the function after the page is loaded and the regions are shown. But, if I execute it using onload attribute, or setting a dynamic action which fires on page load, the function gets executed during the submit, before the regions are shown.
    I hope I have managed to clear up the problem.
    As always, thank you.

  • Satellite A210 - Screen turs off after the Windows startup screen

    when I boot my windows there is the startup screen. After this my screen turns off and can't login to windows.
    Satellite A210
    ATI Mobility Radeon HD2600
    Where can I get some old drivers for the ATI Mobility Radeon HD2600, which I can install without starting windows?

    > Where can I get some old drivers for the ATI Mobility Radeon HD2600, which I can install without starting windows?
    Please dont understand me wrong but I think you are on the wrong way.
    Device drivers (graphic card, LAN, etc.) have to be installed within running system (i.e: Windows OS, etc)
    Im sure; driver isnt the problem if nothing is visible on the screen.
    First of all I would recommend you to connect the notebook to an external screen/monitor just to check if something would be visible on the 2nd display.
    But just one question: did you try to boot the notebook using a bootable disk (windows installation disk, Toshiba recovery disk or similar???).
    Maybe the Windows system is muddled up and therefore you are not able to boot up the system? In my opinion you should test this option.

  • My query is not executing properly after applying patches(bi.7

    iam working bi.7 support package 13
    after applying patches
    my query is not executing properly in production my problem with FI queries
    the query is executing properly but ihav created newformula using formulavariable that fields are not getting data in report if i click on currency conversion iam getting popup but currency translation coversion list is not coming and currency type(target currency also not dispalying)
    but if i execute same query in development its working properly newformula fields are getting data and currency conversion also working in development
    can u please help me in this issure
    i hope as soon i will get solutions from bw gurus

    That currency conversion problem is solved
    i checked TCODE:RSCUR IN PRD its not showing any details
    again i checked in dev and moved all currency types dev to production
    now its wokring
    i hope check with this it will work

  • Problem in executing update after rollback transaction

    Hi all
    I am using type4 driver oracle9i ,Stateless session Beans CMP. Problem is: after doing rollback i am trying to execute an update query on same id which was rolled back.System is not able to do the same.
    Manmeet

    got the solution.
    cannot rollback and do update in a transaction.

  • Java Code to be executed on Oracle Service Bus startup

    Hello
    I have a problem that i would hope to find some help on the best practices given my specific requirements.
    I need to have a piece of java code executed on every startup of my OSB server. This piece of code's function is part of an OSB project, and I need the Jar to be in a folder inside that project.
    I'm avoiding creating an external project so I don't have to give support and write documentation to two projects instead of one.
    Can somebody help me please?
    Best Regards
    Hélder Ribeiro

    I dont't have visibility on your requirements and the technical details. They way you've described doesn't seem to be the best way to implement it.
    But if you want to do this anyway, you can use weblogic startup class to invoke a webservice exposed by your osb project, which will invoke a java method in a class inside the jar under your osb poject.
    In the class which will be invoked by the weblogic startup class, you will have to retrieve the managed server host and port.
    Regards,
    Fabio Douek.

Maybe you are looking for

  • Phone no longer can send / receive picture messages after "support" call

    Hoping someone can help. A few weeks ago my phone was having intermittent problems sending picture messages (text are fine). I would sometimes have to retry several times for it to go through, but I could always get it to go through. I have a LG VX94

  • XQuery Modify cannot be compiled

    Hi Gurus. Oracle EE 11.2 running on Linux. SQL Dev 3.2.30.09. I am fairly decent with XPath and XSLT but am new to XQuery. I've implemented a few simple FLOWRs but I am getting a bit more complex. I have an XQuery where I am trying to replace some da

  • Is it Possible to get the User./developer activity report in BW system

    Hi,   Is it possible to have a trace of the development user activity in BW. I would like to know what perticular object( info*  , ODS , Routines, Queryes, web template ETC) the user has viewed/changed or deleted?   Is this at all possible? and is ye

  • Can 2 apple tvs operate independently in the same home?

    I was thinking of bying another apple tv to set up on another tv in our house? Can they run independently on the same I tunes account?

  • Where is the "Motion Tracking Mode" button in PE11?

    In PE10 by clicking "Motion Tracking Mode" button i can add a tracking object and click "Track button" to create keyframes.  Cannot find this function in PE11.  Actually i need to blur patient's eyes and nose.  The goal is to show lips and neck movem