How can i make sure ejb container starts before web server

When starting the application server which one starts first?
Our system requires ejb container to start first.
Currently when i test it, the web container starts before ejb sometimes.
Is there any way to force the ejb container to start up before the web container starts?

What exactly is the dependency you have in your application? The Java EE spec does not
impose any requirements on the order in which the different modules within an .ear are
instantiated.
--ken                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How can I make sure that in RAM our sql server is not facing any mermory crunch issue?

    The SQL server process always show RAM is highly used while its a default behaviour of sql server.
    How can I make sure that in RAM our sql server is not facing any mermory crunch issue?
    Thanks

    The SQL server process always show RAM is highly used while its a default behaviour of sql server.
    How can I make sure that in RAM our sql server is not facing any mermory crunch issue?
    Thanks
    The best way to make sure you are not facing memory pressure is to use perfmon counters and monitor various memory counters
    For SQL Server 2005 - 2008 r2 use below counters
    SQLServer:Buffer Manager--Buffer Cache hit ratio(BCHR): IIf your BCHR is high 90 to 100 Then it points to fact that You don't have memory pressure. Keep in mind that suppose somebody runs a query which request large amount of pages in that
    case momentarily BCHR might come down to 60 or 70 may be less but that does not means it is a memory pressure it means your query requires large memory and will take it. After that query completes you will see BCHR risiing again
    SQLServer:Buffer Manager--Page Life Expectancy(PLE): PLE shows for how long page remain in buffer pool. The longer it stays the better it is. Its common misconception to take 300 as a baseline for PLE.   But it is not,I read it from
    Jonathan Kehayias book( troubleshooting SQL Server) that this value was baseline when SQL Server was of 2000 version and max RAM one could see was from 4-6 G. Now with 200G or RAM coming into picture this value is not correct. He also gave the formula( tentative)
    how to calculate it. Take the base counter value of 300 presented by most resources, and then determine a multiple of this value based on the configured buffer cache size, which is the 'max server memory' sp_ configure option in SQL Server, divided by 4 GB.
      So, for a server with 32 GB allocated to the buffer pool, the PLE value should be at least (32/4)*300 = 2400. So far this has done good to me so I would recommend you to use it.  
    SQLServer:Buffer Manager--CheckpointPages/sec: Checkpoint pages /sec counter is important to know about memory pressure because if buffer cache is low then lots of new pages needs to be brought into and flushed out from buffer pool, 
    due to load checkpoint's work will increase and will start flushing out dirty pages very frequently. If this counter is high then your SQL Server buffer pool is not able to cope up with requests coming and we need to increase it by increasing buffer pool memory
    or by increasing physical RAM and then making adequate changes in Buffer pool size. Technically this value should be low if you are looking at line graph in perfmon this value should always touch base for stable system.  
    SQLServer:Buffer Manager--Freepages: This value should not be less you always want to see high value for it.  
    SQLServer:Memory Manager--Memory Grants Pending: If you see
    memory grants pending in buffer pool your server is facing SQL Server memory crunch and increasing memory would be a good idea. For memory grants please read this article: 
    SQLServer:memory Manager--Target Server Memory: This is amount of memory SQL Server is trying to acquire.
    SQLServer:memory Manager--Total Server memory This is current memory SQL Server has acquired.
       8.  Free List Stalls/sec – Number of requests per second that had to wait for a free page
       9. Free Pages – Total number of pages on all free lists (free lists track all of the pages in the buffer pool that are not currently allocate to a data page, and are therefore available for usage immediately)
    NOTE: If you have NUMA system don't use PLE to monitor memory condition it wont give correct value
    From 2012 Onwards
    Memory management has become easy from 2012 onwards as
    Max server memory also allocated memory for requests which require memory >8KB
    SQLServer:Memory Manager:Free Memory (KB)
    SQLServer:Memory Manager:Target Server Memory (KB)
    SQLServer:Memory Manager:Total Server Memory (KB)
    For NUMA system its also wort monitoring each node.
    Object - SQLServer:Memory Node:Total Node Memory
      (KB)
    Object - SQLServer:Memory Node:Target Node Memory
      (KB)
    Object - SQLServer:Memory Node:Free Node Memory
      (KB)
    Ideally if target server memory is less than or equal to total server memory there wont be memory pressure if target is > total it does not always means its memory pressure
    BCHR would also give you good idea about memory pressure
    If memory grants pending is frequently non zero there is memory pressure
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How can i make Event witch is started before the page render.

    hello i want to do this :
    when i open some JSP no matter from where i want to have a backing bean for this jsp that have a method that starts before the render response.
    my ideas is to have a list of records from a sql server and i need a method that makes a conncetion to the sql server and add everythink in the request so when the jsp is displayed to have content.
    i need example of the backingbean method paste plz.

    I think you can add the sql coneection and all those initial things to the constractor of the bean which contains the variable u need in the page..
    and leave the getters and setters of those variables empty..
    if the DB changes frequently, you can make the scope of the bean: page scope
    otherwise let it be session scope..

  • How can I sync my ipod to the i tunes library in my computer? and how can I make sure each Cd I play automatically is saved onto the Ipod?

    How can I sync my ipod to the i tunes library in my computer? and how can I make sure each Cd I play is automatically saved onto the Ipod?
    My problem is that if I open I tunes, the Sync ipod option in the menue is grayed out, and so not available.
    This is starting to irritate me, so any help would be much appreciated.
    Thanks!

    I have the same problem. The Sync ipod option in the menue is grayed out, and so not available. HELP!

  • I want to remove my itunes library to a thumb make memory space - how can I make sure I keep all playlists and organizing intact?

    I want to remove my itunes library to a thumb make memory space - how can I make sure I keep all playlists and organizing intact?

    Do you mean a flash drive?  I don't know if I would trust one of those entirely.  Make sure you make a backup.
    Copy the entire iTunes folder to the flash drive.  Start iTunes while holding down the option/alt key and guide it to the library on the flash drive.  If you forget to plug in the flash drive before starting iTunes in the future you will have to do the option start thing again.

  • Nokia C3 How can I make sure it only connects thro...

    Ive just got this phone for my daughter on Vodaphone contract, I am really worried however that it is going to randomly connect itself to the internet like my old Nokia 5800 used to! How can I make sure it doesn't, I don't want it to end up costing me a fortune. Many thanks

    Only the website (server or domain) that sets a cookie can read that cookie, but there can be an iframe embedded with a different domain that sets so called third-party cookies.
    You can disable third-party cookies.
    *https://support.mozilla.org/kb/Disabling+third+party+cookies

  • HT4946 how can I make sure that itunes saved my contacts and photos on last back up ?

    How can I make sure that itunes saved contacts and photos FROM my iPhone on last back up ?, i just bought this phone and store transfer contacts from old non-smart phone and dont want to loose them !

    Look in whatever software on your computer handles your contacts and photos. Neither will be part of the backup file. This may be of help:
    http://support.apple.com/kb/HT1296
    Regards.

  • I currently own an iPod 4th gen. but would like to upgrade to a 5th gen. How can I make sure the info on the 4th is transferred and cleaned off before handing it over to my daughter?

    How can I make sure that my info on 4th gen. iPod has transferred to my new 5th gen iPod and all pertinent content deleted before transferring old iPod to my daughter?

    Go to Settings > General > Reset > Erase all content and settings
    Also... See the wjosten post here...
    https://discussions.apple.com/message/20294697

  • How can I make sure iTunes doesn't stop updating my podcasts

    OK I'm subscribed to multiple podcasts, but I don't always get a chance to listen to them so some of them will stop updating and it says something like "iTunes has stopped updating this podcast because you haven't listened to any episodes lately".
    How can I make sure it doesn't do that? When I do get to listen to my podcasts, I would really like it if they weren't 3 weeks old.
    Message was edited by: MacAttakk

    someone made a script that fixes this. It seems to work for me. If you want it to do it automatically just make an iCal even for every 3 days or something that runs this script.
    http://dougscripts.com/itunes/scripts/download.php?sc=updateexpiredpodcasts

  • My sister and I share an itunes account so she can click on my email and receive my imessages how can I make sure this stops happening?

    My sister and I share an itunes account so she can click on my email and receive my imessages how can I make sure this stops happening?

    One of you needs to use a separate Apple ID for iCloud, FaceTime & iMessage.
    The Apple ID needs to be a verified email address. Once you have an email address, that can be verified, go here & create the ID:
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleId
    Then on one of the phones, turn off Contacts, Calendars, etc. for iCloud. You'll be prompted to keep the data or delete it from the phone, then turn off iMessage, FaceTime & delete the iCloud account...Settings>iCloud...scroll down...delete account. Then, setup iCloud using the new Apple ID, turn on iMessage & Facetime.
    This will have no affect on the ID you both share for iTunes content, & you can continue to do so.

  • How can I make sure the Presenter Display will show up?

    I use the option "use alternate display to view presenter information", and it works fine with my secondary display at home. The presenter information (Presenter Display) with my notes etc. shows up.
    But when I gave a practice talk at my university, the Presenter Display did not show up, although all settings were the same. Back at home with my own secondary display, it works fine again.
    How can I make sure that the Presenter Display will always show up on the secondary display?

    I have a similar problem. Last year I gave a presention at a client's office using my Macbook. I had the presenter display on my Macbook screen and the presentation on their projector.
    A few months ago I upgraded to the latest Macbook Pro 15" (plus there have been upgrades to OS X and Keynote in that time). This time when I tried to run the same set-up my MBP screen went blank. I tried changing settings for Keynote and System prefs with no success. The only way I cuould give the presentation without needing to look at the projector screen was to mirro the displays (and lose the Notes of course). Maybe there is a bug with the latest Keynote?
    OS 10.5.7
    Keynote 5.0.2 (776)

  • I have changed the email signature on my iPhone, when composing a new email the signature is there, however when I am replying to an email it is not, how can I make sure that the signature is at the end of every email I send?

    I have changed the email signature on my iPhone, when composing a new email the signature is there, however when I am replying to an email it is not, how can I make sure that the signature is at the end of every email I send?

    Yes I know what you mean about it cluttering the thread and for personal emails it is better without the signature. However this relates to sending business emails from an iPhone so I need the signature present on every email.
    I can't find anything in Settings so I was hoping someone may have some knowledge/information/experience regarding this problem.

  • How can I make sure under Windows 8 in Explorer to get a real pdf document content file miniature and not the Adobe logo miniature?

    This is not a typical Windows 8 problem, I had the same problem with all my previous Acrobat versions on all previous Windows versions.
    How can I make sure that when consulting pdf files via Windows explorer the pdf file is represented as a genuine miniature of the document content itself and noit just a document icon with Adobe logo?

    Hi Josialaers,
    Turn the 'Preview Pane' ON and you should be able to see the content of the pdf when clicked.
    When 'Show preview handlers in preview pane ON' is checked in 'Folder Options' of Windows Explorer.
    Regards,
    Rave

  • I HAVE TO INSTAL A PRODUCT C LLED "KUDANI AIR " . FAILURE TO DO SO IS BASED ON  ADOBE AIR , SO I AM TOLD . HOW CAN I MAKE SURE THAT IS THE CASE ?? HOW CAN I SOLVE THE PROBLEM IF THIS IS THE CASE ??

    I HAVE TO INSTALL A PRODUCT CALLED "KUDANI AIR " . FAILURE TO DO SO IS BASED ON  ADOBE AIR , SO I AM TOLD . HOW CAN I MAKE SURE THAT IS THE CASE ?? HOW CAN I SOLVE THE PROBLEM IF THIS IS THE CASE ??

    if you try to install an app that depends on adobe air, you should be prompted to download and install adobe air (unless it's already installed).
    you can download and install directly so you're not prompted by that app, Adobe - Adobe AIR

  • How can i make sure the graphic file from my subcontract create is really llegal?

    how can i make sure the graphic file from my subcontract create is really llegal?
    They have creat the PNG file which creat from Adobe Illustrator CS5.
    I have try checking on Metadata In Adobe Bridge, and it seem to be blank.
    So i would likt to know how can i make sure the graphic file from my subcontract create is really llegal?
    Thanks

    I have try checking on Metadata In Adobe Bridge, and it seem to be blank.
    So i would likt to know how can i make sure the graphic file from my subcontract create is really llegal?
    shoo: if i had to do that for every file i get  i would go insane, as scott said, post contract: files that they (sub contractor) supply you, presume them ok unless you KNOW otherwise, or a copyright flag pops up contradicting ownership.
    G

Maybe you are looking for