Which listener should it be running?

When Grid Control Management Service is installed, it starts a listener. Provided that there is a database on the same box, then it has also a listener. Which listener should we be using? Should we be using the OMS listener and shutdown the database listener?
Thanks,
Mustafa

You should find the answers here:
C:\Java\Tomcat 4.1\webapps\tomcat-docs\servletapi\index.html
Most of them say it in the top of their description if they are required to be declared in web.xml
Never heard of a ServletRequestListener, or a RequestAttributeListener

Similar Messages

  • Which listener should be used for JTextArea

    Hi,
    I need to add a listener for JTextArea particualy when
    the text in the jtextarea is changed. I don't think
    mouse listener is enough, since the user can use tab to
    get to the jtextarea and edit the text. In this case,
    which listener should I use. Sample code would be
    helpful.
    In addition, I have a problem with the jtextarea that
    when user uses tab to go to different gui components,
    such as jtextfield, jcombobox, jtextarea, jlist, etc, the
    tab stays in the jtextarea and keeps appending to it. It does
    not go to next component, such as jlist. How can I make it
    work?
    Thanks in advance,
    Pin

    It doesn't work. Are you using 1.4 or 1.3? I am using
    1.4.
    In the 1.4 API, it says that isManagingFocus is
    "Deprecated".
    Here is what I have:
    JTextArea descrptArea = new JTextArea() {
    public boolean isManagingFocus() {
    return false;
    descrptArea.setRows(3);
    descrptArea.setLineWrap(true);
    descrptArea.addKeyListener(new KeyAdapter() {
    public void keyTyped(KeyEvent e) {
    // DO SOMETHING
    I found the following code which says it will do it.
    However, I got the exeception:
    java.lang.ClassCastException:
    n: javax.swing.KeyStroke
    at java.util.TreeMap.compare(TreeMap.java:1081)
    at java.util.TreeMap.put(TreeMap.java:459)
    at java.util.TreeSet.add(TreeSet.java:205)
    Set forwardTraversalKeys = new TreeSet();
    forwardTraversalKeys.add(KeyStroke.getKeyStroke('\t'));
    forwardTraversalKeys.add(KeyStroke.getKeyStroke(KeyEven
    .VK_TAB,
    InputEvent.CTRL_MASK));
    textArea.setFocusTraversalKeys
    (KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
    forwardTraversalKeys);
    Set backwardTraversalKeys = new TreeSet();
    backwardTraversalKeys.add(KeyStroke.getKeyStroke(KeyEve
    t.VK_TAB,
    InputEvent.SHIFT_MASK));
    backwardTraversalKeys.add(KeyStroke.getKeyStroke(KeyEve
    t.VK_TAB,
    InputEvent.SHIFT_MASK |InputEvent.CTRL_MASK));
    textArea.setFocusTraversalKeys(
    KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
    backwardTraversalKeys);
    Any idea???
    PinI'm not using 1.4 but the class cast exceptions look like they come from : Set forwardTraversalKeys=new TreeSet() etc
    try : TreeSet forwardTraversalKeys=new TreeSet()
    you cant cast from a Set to a TreeSet because a TreeSet is a Set but a Set is NOT a TreeSet.
    hope this helps.

  • Which listener should I use?

    Now I want to listen the JFrame's location changing event. Which listener should i use?

    Add a ComponentListener to the JFrame

  • Which listener should be used in a standalone grid infrastructure env?

    gurus:
    I installed a 11.2.0.2 standalone grid infrastructure on a linux box and created a database manually. I then used netca to create my listener which created 2 listener files:
    a. under my DB home:
    aml6:/u00/app/oracle/product/11.2.0/dbhome_1/network/admin > cat listener.ora
    # listener.ora Network Configuration File: /u00/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_ETL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = aml6.lynk.lynksystems.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER_ETL = /u00/app/oracle
    b. under my grid home:
    aml6:/u00/app/11.2.0/grid/network/admin > cat listener.ora
    LISTENER_ETL=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ETL)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_ETL=ON # line added by Agent
    I observed that the one under my DB home was the one that really got used when I tried to logon to a database.
    Here are my questions:
    1. what is the use for the listener under my DB home?
    2. what is the use for the listener under my grid home?
    3. the grid infrastructure document says that the default home for listener and tnsnames files are grid home, however, it seemed that I have to use the listener under my db home directory.
    4. which listener is the ASM instance use?
    Thanks a lot for your help.
    dz

    Raj Mareddi wrote:
    Thanks Levi and Sebastian.
    We have separate listeners in DB homes for Stand Alone grids.
    Cluster Grids have got the listeners (SCAN..etc) running out of Grid Home. Still, we have exceptions for the Cluster grid for EBS databases where SCAN is not supported yet and still have a separate listeners for the databases.
    This OTN doc also describes a listener in the DB home: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/gridinstss/gridinstss.htm
    Hi Raj,
    In this OBE, the author explains why he is setting a new Listener for ASM.
    To Configure EM Database Control to manage ASM, perform the following steps:
    To manage the ASM instance in Enterprise Manager Database Control. you must configure the ASM Instance as a target.
    When you configure the ASM target, you must provide the port for the ASM listener.
    The Grid Infrastructure installs a listener by default on port 1521, and configures the ASM instance to use this listener.
    In this tutorial the database is already installed and has a listener configured on port 1521, the Grid Infrastructure places a listener on port 1522 and the ASM instance is registered with the grid listener.Before Install Grid Infrastructure he already had a database running with the Listener configured and running.
    To ensure that the service of ASM will be registered in the Listener of same release he set a new Listener using GUI HOME.
    This procedure is correct because the Grid Infrastructure (ASM) is the highest release (So, it's necessary configure Listener in same release), to not use a Listener with prior to release of the Grid Infrastructure(ASM) he created new Listener.
    He also could deconfigure the Listener of Oracle Home (database) and configure in the GUI Home. It's a matter of choice.
    Observing requirement of the paragraph below, we can set listener from anywhere there is no restriction, it is a matter of best practices only.
    The release of the listener must be the same as or later than the latest release of all Oracle databases being serviced through the listener.Cheers,
    Levi Pereira
    Edited by: Levi Pereira on Nov 8, 2011 4:23 PM

  • Which listener should not be registered in web.xml ?

    i want to know out of 8 listeners which listeners are not required to be registered in web.xml
    ServletRequestListener
    ServletRequestAttributeListener
    ServletContextListener
    ServletContextAttributeListener
    HttpSessionListener
    HttpSessionAttributeListener
    HttpSessionBindingListener
    HttpSessoinActivationListener

    You should find the answers here:
    C:\Java\Tomcat 4.1\webapps\tomcat-docs\servletapi\index.html
    Most of them say it in the top of their description if they are required to be declared in web.xml
    Never heard of a ServletRequestListener, or a RequestAttributeListener

  • Have family plan with 250 data which I almost use each month.  Going on vacation and will be on the road for two weeks.  Should I up my data for a month then change back.  Is it worth it or should I just run over and pay the extra 15 per gig?

    have family plan with 250 data which I almost use each month.  Going on vacation and will be on the road for two weeks.  Should I up my data for a month then change back.  Is it worth it or should I just run over and pay the extra 15 per gig?

    Hello mlazaretti. Vacation time is awesome. (Especially a road trip!) Since you will be going out for two weeks, you never know if having extra data may come in handy. I highly recommend switching to the next tier up so this way you have more data. This way it is only $10.00 more versus $15.00, and you dont have to worry about overages. Then change back at the start of the next billing cycle.
    If you need help making this change let us know! Have a safe trip!
    NicandroN_VZW
    Follow us on twitter @VZWSupport

  • Sharepoint 2013 - Which Server Should Run Microsoft SharePoint Foundation Sandboxed Code Service

    We have just deployed Sharepoint 2013 and also CRM 2011..
    Our Sharepoint 2013 Environment has a WFE and an APP server and we have a CRM 2011 box.
    We have been getting the following error in IE when Users in CRM are clicking on the Document Link under accounts which links to Sharepoint 2013
    "This Content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
    It seems like it is a IE Security Issue, but I am suspecting it could be the Microsoft SharePoint Foundation Sandboxed Code Service.
    Which server should be running the Microsoft SharePoint Foundation Sandboxed Code Service| WFE or APP.
    Also which server should run the Windows Service: SharePoint User Code Host
    Thank you in advance.

    Hi,
    Please have a look at the following post:
    http://technet.microsoft.com/en-us/library/jj219591.aspx
    As it describes, the recommendation is for both services to start it on the Web Front End servers.
    Cheers,
    Vincent

  • Which Listener I should use if I drag and Drop an image/icon into a JPanel?

    Dar Friends:
    Happy new year.
    I try to drag and Drop an image/icon into a JPanel, and hope I can immediately detect it after DND,
    Which Listener I should use in this JPanel if I drag and Drop an image/icon into a JPanel??
    Thanks

    Thank camickr .
    I can dnd an image into a JPanel called JPanelOld already, I hope to use another JPanel or JTree to listen to any Dropped Image in JPanelOld later on so I can take some action in another JPanel or JTree.
    so what kind of Listener I should use for my purpose??
    where to add this Listeners??
    Happy New Year.

  • Can someone tell which player I should use to run flv,avi file in my iPad 3 after download from any site ????

    Can someone tell me which player I should use to run flv,avi file in my iPad 3 after downloading video from any site ????

    Can someone tell me which player I should use to run flv,avi file in my iPad 3 after downloading video from any site ????

  • Friend help me to fix my laptop and runing the program Piriform CCleaner and is finish but which button should I click - Analyze or Run Cleaner

    Need a big help!! A Friend help me to fix my laptop and runing the program Piriform CCleaner and is finish but which button should I click - Analyze or Run Cleaner

    Laptop? this is the ipad forum.
    Is your laptop a macbook? If so I can have the hosts move your post there
    But for specific info about a non-apple program, the best place to look is on the site for the program you're using, In your case Piriform's site.

  • Which Firmware should I use and other questions

    Question 1: I am going to get a mac OS x either 10.0 or 10.1 disk on this iMac once I increase the RAM and exchange the processor with a 400 Mhz g3 powerPC processor (From a friends iMac) and get a external hard drive. So which Firmware should I get in this tray loader? I currently have mac os 9.2.2 and plan on updating this baby with mac os x. Can someone please provide a link to the FirmWare?
    Question 2: Could I get a cp100 256mb ram and put it in one of my ram slots while I have my original 64mb Ram so it would equal to 320mb? And if so, would mac os x work well with 320mbs of ram?
    Question 3: Also, one more question, my brother has a macintosh REALLY old computer and it has Apple Audio CD Player, and I really want to play Audio CDs on this, I also have iTunes 2.0.4 and when I put in a music CD to listen to it on iTunes, it doesnt read it so I then browsed my computer and clicked on iDisk and the computer froze. I also would like to burn CDs onto iTunes, any help would be great. Thanks. Peace. Lata'.

    When you are asking about the ram requirements, you mean what kind fo ram does a tray loader take? In that case, it uses SODIMM PC66 ram.
    As for Cd-Burners, externals would have you limited to USB 1 connections since you ahve a tray loading iMac, which is a max 4x speed (slowwwwwww). wegenermedia.com sells an internal replacement if you wanted to go that route, but you're starting to talk about putting a lot of money into an old machine at that point.
    You don't need 9.2 to install OS X. The only thing you need to have done is the firmware update.
    If you used firmware update 1.2 and it said you may already have newer firmware, then you probably ran it a long time ago and forgot. If you check your apple system profiler, I believe its supposed to say the boot rom is version 3.03f.
    10.3 shouldn't be any slower than 10.2 I don't think. Apple's done a good job optimizsing each version of OS X better than its predcessor. But 10.2 was a fine OS as well and can run most OS X software.
    external hard drives, like the CD-RW drive option, would be limited to USB 1 speed, which is good only for backup purposes. a better option would be an internal upgrade. see http://www.djonmac.com for instructions.
    I understand your concern about buying things with your credit card online, but here's the reality of that situation: far and away most idendity theft occurs from people going through your trash, or using "phishing" email scams, or from friends and relatives. Many of the high profile credit card company breaches have been at the credit card processors themselves, so whether you used your card online or not didn't make a difference to those security breaches. You could get scammed by the employee at a physical store as easily or easier than an online store in many cases. Buying from the internet is safe when you buy from reputable sites with secure pages (indicated by the little yellow lock at the bottom of your browser). if you feel really unsafe about it, some credit cards offer random one time use number generaters for buying online, or you could get a visa gift card or secured credit card which would prevent anyone from having access to any more money than you have on there.

  • HOW i can identify  which instance is associated with which Listener

    Hi all,
    i created one DB instance. suppose named as "B". but there is already another DB instance present. Named as "A".
    Then i created one listener for DB instace "B".
    Now my Que. is that HOW i can identify which instance is associated with which Listener,.
    2) if i create listener then a service also created. if i stopped that service and then can i fire query OR Login again, WHAT will be the expected result.
    I tried by asking people for my answer. but not satisfied.
    Please Help me For this.
    Thanks in Advance

    856376 wrote:
    i want to start my carreer in DBA.
    In what manner i ahve to prepare my self.
    Your guidance will help me lot
    Thank youLike everything else, the answer is "it depends".
    What is your background and experience with computers, networks, operating systems, programming languages?
    What are you currently doing?
    What formal and or on the job training have you had?
    As Aman said, build yourself a test system and play with it. You can do this at no cost by ...
    1) download and install VMplayer (vmware.com). It is legally free. For an investment in your career of about US$185, you can buy VMworkstation, which has the same fundamental capability plus some nice management features.
    2) download and install Oracle Enterprise Linux (oracle.com). It is legally free. If you want a support contract, you pay for that.
    3) using (1) and (2) create a virtual linux server
    4) download and install Oracle Enterprise edition database (oracle.com). It is legally free for personal eduction.
    5) install (4) on (3).
    Beyond the above questions I have some boilerplate replies that fit here . . .
    if people want to be professionals in ANY field, the first knowledge they need to acquire is how to locate AND USE+ the fundamental reference materials for that profession. And the most important trait, the one for which they are really hired, is the ability to do independent research, and having a modicum of curiosity that would drive one to do that research. We don't mind helping newbies, and even the most experienced person on this board will run into something they are not familiar with, or occasionally just require a second set of eyes to look at something. But a professional+ needs, above all, a willingness and capability to check the docs. A professional isn't necessarily someone who has all the answers at their fingertips or has a full understanding about every arcane subject in their field. It certainly isn't someone who has an encyclopedia full of memorized answers but little understanding of how it all fits together. It's someone who knows where to find the answers when needed, how to recognize them when he sees them. It's less about knowing than it is about attitude. Everything you asked can be answered in the Oracle Concepts Manual at tahiti.oracle.com. You should bookmark that site.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • CC installed 3 versions of Photoshop. Which one should I use? How do I get bridge to point to this version?

    I use Photoshop CC (64). I have all my action scripts and hot keys set up there and everything works fine. Until I try to use bridge to run a batch in Photoshop.
    When I try to run a batch operation from bridge in Photoshop using an action I made in version Photoshop CC (64). Nothing happens. Photoshop doesn't open the batch screen and bridge acts like I never tried to run the batch (keep in mind, this happens while I have bridge and Photoshop CC (64) open.
    If I shut down Photoshop and then try to run the Batch operation. Bridge opens a version of Photoshop I don't use, therefore it doesn't have any of my actions scripts that I want to use. (I'm guessing it is opening CC 2014. Is this better than CC (64)? Should I just go ahead and use it instead?
    Keep in mind I'm using Bridge labeled Bridge CC (64bit) so in my mind it really should be looking at Photoshop CC (64).
    I tried using bridge preferences to pick CC (64) for the file type but this didn't work/help.
    I don't mind using CC 2014 but I think Bridge should have an option to pick which version of Photoshop to run the batch in. This saves me time having to save out my actions and load them up in another version of Photoshop.
    Anyway. Please let me know which version is the latest/best. I have Photoshop CC, Photoshop CC (64) and Photoshop CC 2014. It would be nice to be able to remove the ones I don't really need.

    There are three Cloud versions of Photoshop: CS6 13.1.2,  CC 14.2.1.570 and CC 2014 15.2.1. There are two two version of Adobe Bridge:  CS6 5.0.2.4 and CC 6.1.0.116.  Bridge CS6 works with Photoshop CS6,  Bridge CC works with Photoshop CC 2014.  There is no Bridge for Photoshop  CC except Bridge CC with out the Bridge CC updates. The Photoshop Version are not fully compatible with prior versions of Photoshop. Subscription CS6  removed some Plug-ins support that in perpetual CS6 so some Plugin that work in perpetual CS6 don't work in Cloud CS6, Photoshop CC is quite compatible with Subscription CS6,  CC 2014 had Flash Panel support removed so old extensions like mini bridge don't work in CC 2014.  There are bugs in CC that are not in CS6 and there are bugs in CC 2014 that are not in CC.

  • Why do I have both photoshop cc and photoshop cc (64 bit) in my menu? Which one should I be using?

    Why do I have both photoshop cc and photoshop cc (64 bit) in my menu? Which one should I be using?

    The majority of the time using the 64 bit version is better, since you have more resources available (ram)
    If you need to run some older third party plugins that were only ever offered as 32 bit plugins, then the 32 bit version is the choice.
    Or if you happen to use a scanner with twain, then the 32 bit version.

  • I'm 51 years old and recently retired. I have a new IPad Air. Which MacBook should I buy to go with it?  I don't understand flash storage.  It feels like I would have a bunch of flash drives to keep up with.  Help an old lady out!!!

    I'm 51 years old and recently retired. I have a new IPad Air. Which MacBook should I buy to go with it?  I don't understand flash storage.  It feels like I would have a bunch of flash drives to keep up with.  Help an old lady out!!!

    Depends on how you want to use it. Flash storage on the newer macbook and macbook air are built in. A macbook air is the most light weight and a very good machine. It will do all you want it to do unless you are running some very intensive programs. If you go to the apple store on line you can compare  the different macbook pro" and macbook Air's.

Maybe you are looking for

  • How to move multi select rows(records)from one datagrid to another datagrid completelly in flex4

    hi friends, I  am doing mxml flex 4 wep application i am using 2 forms, each form i am using datagrid,i am struck in this place, my proplem is, in first form i am having a grid with 10rows and columns,i am having 10 records and one move button. Next

  • Restricting  access to some of the LDAP users in obiee 11g.

    Hi Experts, I have successfully integrated LDAP with OBIEE 11g and user's are Authenticated to login to obiee using their LDAP credentials. But the case is All the employees in the company who have ldap are able to login(any way this is expected as w

  • Updating Output Preview window

    Hello. I have a problem with output preview window. I found the thread with the same question: How to update Output Preview window? . But there are no answers. May be anybody can answer now. Thank you.

  • Hierarchical tree query

    dear all, plz can you explain to me what is this query mean plz i need it piece by piece rg_emps := Create_Group_From_Query('rg_emps','select 1, level,last_name, NULL, to_char(employee_id) '||' from employees '   ||'connect by prior employee_id = man

  • POP UP menu with image not pull down

    I'm new to fireworks. I've looked at tutorials, but it seems all the pop up menu features are for pull down menus. I want to press the button and have a blank ( separate window 360x 303 pixals ) pop up with a jpeg image in it. How do I do this?