Determining the name of listeners

DB version: 10.2.0.1.0, 11.1.0.6.0
If there are two listeners running on the same machine. How can i determine the name of each listener?

Go into $ORACLE_HOME/network/admin/listener.ora - You will all listeners definitions there
LISTENER =
  (ADDRESS_LIST =
        (ADDRESS= (PROTOCOL= IPC)(KEY=EXTPROC))
        (ADDRESS= (PROTOCOL= TCP)(HOST=testdb)(PORT=1521))
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = ORA816)
      (ORACLE_HOME = /u01/app/oracle/product/8.1.6)
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /u01/app/oracle/product/8.1.6)
      (PROGRAM = extproc)
  )the istener= part will be there for each listener defined.
Oded
[www.dbsnaps.com]
[www.orbiumsoftware.com]

Similar Messages

  • Determining the name of the jar file running from JAVA

    Hi everyone,
    This is probably a silly question, but how do you determine the name of the jar file running from within the jar file.
    E.g. If I'm running the jar file "Test.jar", then how can I get the String value "Test.jar" from within my program?
    Any help would be appreciated! Thanks:)

    I think that you can use the solution above to get the jar file resources associated with a particular jar file, and then use the JarFile class to get a manifest of whats in there, and then find your class?
    This is only off of the top of my head, and I haven't tested it. Let me know if it works

  • Transaction Code to determine the Names of Lock boxes

    Hi ,
    Is there any Transaction Code to determine the names of Lock boxes and to which Co-Code they belongs to?

    OB10

  • "Who ran me" - how to determine the name of the dbms_scheduler job that ran me

    Hi Community
    I can see plenty of examples out on the interweb which shows how you can use dbms_utility.format_call_stack to find the hierarchy of procs, functions and packages that got me to a particular point in my code.
    For example, if proc (procedure) A calls proc B, which in turn calls proc C, in the code for proc C, I can query the call stack to find out that proc C was called by proc B which in turn was called by proc A
    However, I want to extend this further.
    For example, using the example above, if proc A in turn was started by a dbms_scheduler job, I want to determine (within proc C) the name of the dbms_scheduler job which started the whole process off.
    The reason I want to do this is that I have inherited a (massive) system which is undocumented. In many places within the code, email alerts are sent out using a custom "MAIL" package to designated users (now including me) when certain long-running processes reach certain milestones and/or complete.
    I have added to the custom "MAIL" package a trailer on the mails to show the call stack. I also want to show the name of the dbms_scheduler job which started it all.
    Over time, this info may help me in building the "map" of how the whole undocumented system hangs together and in the meantime, to assist in troubleshooting problems
    Looking forward to hearing from you
    Alan

    Use USER_SCHEDULER_RUNNING_JOBS or DBA_SCHEDULER_RUNNING_JOBS there is column SESSION_ID and when you know your session ID build query is very simple.
    select owner, job_name
    into ...
    from dba_scheduler_runnig_jobs
    where session_id=sys_context('USERENV','SESSIONID');
    You must declare local variables in PL/SQL procedure to read owner and job_name into them. Second thing, you must handle possible exception no_data_found than can be raised when procedure is not run from job.

  • How do I determine the name of a file from a watched folder

    I would like to generate a log to track the names and outcomes of files processed from a watched folder.  I don't see a way to access the name of the file from within the process.  I have a variable "inPDF" which is data type "document" and "outResult" which is type "xml" but I don't see a way to access the file name (or path) of the "inPDF" "document" object.  Is there a way to access the file name and path?

    Thank you, this sounds promising.
    Where can I find documentation describing the attributes that can be retrieved using the getDocumentAttribute function?  Also, where can I find a complete reference on the Document object?
    Best Regards,
    Noam

  • How to determine the name or type of a control in a existed VI?

    I got a couple of VIs other engineers created before. There are a couple of controls I can not tell the type or name of that control.
    I used LabVIEW ctrl-H to try to figure out what control was used but failed. I also tried to use "Edit\Customize Control" to determine that control, still could not find it.
    Please advise how can I figure out what kind of controls were used in some existed VI. Thanks,
    RY

    The name of the control is its label. It may have an empty label, meaning no name. It's also possible its label is invisible. Right click it and go to Visible Items to find out.
    As for the type, the color and shape of the icon is usually the best way to tell.
    Right click the diagram terminal of the control and select View as Icon. This might help you. If it doesn't, I suggest you post the 2 controls in an empty VI, and I'm sure someone can figure it out.
    Try to take over the world!

  • How to determine the schema name from stored function or procedure

    Hi all
    I need to find the way to determine the name of shema in which the given stored procedure residing. This SP is created with AUTHID CURRENT_USER what means that expression like SYS_CONTEXT('USERENV','CURRENT_USER') or SYS_CONTEXT('USERENV','CURRENT_SCHEMA') will be return the name of user or schema of user which calls given SP.
    can somebody help me?

    What is the problem you are trying to solve?
    Presumably, when you're creating a stored procedure, you know what schema owns it. So it's pretty trivial to simply create a local variable L_OWNER in your procedure, assign it the value of the schema owner, and then use that owner. Most people don't really need to figure out at runtime what they already knew at compile time.
    Barring that, you could inspect the data dictionary as user130038 suggested. That requires that you know the name of the procedure (which would likely also have to be a local variable that is initialized to a hard-coded value. And if there are multiple users that own procedures with the same name, it may not be reliable.
    Inspecting the call stack is the most reliable and dynamic approach. But it is also the most costly in terms or runtime performance and in terms of code complexity.
    Justin

  • Cisco Unity 7: Voice mail cann't get the name or Number phone of the caller

    Hi,
    I have installed Cisco Unity Messaging Unified version 7 and integrated with Exchange 2010.
    I have two scenario, and I want to know if are normal or not:
    1.       If the 2 IP phones are subscribed with Cisco Unity: the first IP phone call the other IP phone and let a voice mail. When the second IP phone check his message vocal it can get the name of the caller or his number phone (the message is: You have One message from XXXX) and he get e-mail as objet: Voice Mail from XXXX.
    2.       If one IP phone is not subscriber with cisco unity call other Ip phone subscribed with cisco unity and let him a voice mail. The second IP phone when check his message vocal it can’t get the name of the caller or his number phone: The message is: You have one voice mail xxxx; without indicate from!! and he get a e-mail as object: Voice mail from Unknown.
    Please, I want to know if the second scenario is normal ? if not, who to resolve this problem? I want that he indicate the number of caller same he isn't subscriber with cisco unity?
    Thanks a lot,
    Best regards,
    Omar YUNSI

    So for the 2nd scenerio you would want to check what your Message Subjects were set to.  For Unity 7 open Web SA, click Configuration and then Message Subjects.  Make sure that the Outside Caller Message has %CALLERID% in it somewhere.  The value %CALLERNAME% will return unknown if we do not receive a name from the PSTN.
    Try setting the Outside Caller Message to:
    %U% %P% Voice Message from %CALLERID%
    and that should get you your desired results.
    The default Message subject is:
    %U% %P% Voice Message from %CALLERNAME% (%CALLERID%).  So with that it would say Voice Message fom Unknown (xxxx) if it was not able to determine the name of the user which is usually normal from a PSTN call.
    Just to note, the From address is always going to say from Unity Messaging System, it will only be the subject that has the extension in it.
    Bryan

  • How to get the name of the local computer

    Hi,
    I want to be able to determine the name of the server that I am executing my program on. The only thing I can come up with is InetAddress.getLocalHost() and then call getHostName() but I was wondering whether there is an easier way? Any suggestions welcome.
    Thanks,
    Jim

    Look in System.getProperties, maybe one contains what you want. I do not know them all by heart and I don'T have the time to check but I think I saw it once.
    Regards

  • How to "hover" over a smiley / emoticon to determine its name

    I have recently been transitioned from my Torch to the Z30.  I'll spare my comments on the various frustrations.  However, one minor item I haven't found an answer to is how to determine the name of a smiley / emoticon in BBM before inserting it.  Previously, with the torch, I could scroll through the emoticons before selecting one.  While scrolling, the name of the current emoticon would display without it having to be selected.
    I can't figure out how to determine the name of an emoticon on my Z30, whether or not I have selected it.  I can hit the backspace once I've selected/inserted it, which will give me the text representation, but that doesn't tell me, for example, what "=]Y" means.  How do I determine the name of a smiley before inserting it so that I don't inadvertently pick the wrong one?

    If I understood the question, you are talking about migrating Active Directory. After checking your event viewer and keep your old "primary" DC running without problems, all you need is to:
    1. Promote the new server as additional server
    http://social.technet.microsoft.com/wiki/contents/articles/20098.setting-up-additional-active-directory-domain-controller-with-windows-server-2012.aspx
    2. Transfer FSMO rules to the new one
    http://blogs.technet.com/b/canitpro/archive/2014/04/02/step-by-step-active-directory-migration-from-windows-server-2003-to-windows-server-2012.aspx
    3. Install DHCP on the additional server and configure the scope
    http://blogs.technet.com/b/teamdhcp/archive/2012/08/31/installing-and-configuring-dhcp-role-on-windows-server-2012.aspx
    4. Demote the old server
    http://technet.microsoft.com/en-us/library/jj574104.aspx
    and voila...
    I recommend to keep your network infrastructure connected to a UPS instead of the nature to avoid failure by lightning.
    Regards,
    If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY
    suggestion in a test environment before implementing!

  • Programmatically determine the TAB I am on ??

    HI,
    I am building an POrtal that would have
    few different tabs. In each of these I do
    something different in the Portlets, and so would like to programmatically know what TAB the User is seeing at a given point in time.
    Q1 - Do, the TABS also have unique page ids
    OR are they the same for all the TABS in
    given page ??
    Q2 - If they all have the same pageid, I am using the session variable to determine the name of the tab. I have an API that stores the name of the TAB in a cookie.
    But there is a time delay betw. storing and fetching the cookie value after the tab has been rendered.
    So, is there a better way to do this ??
    thanks
    -Ananth

    Good question. We too are interested in doing this. If I come across anything I'll be sure to post it as a reply.

  • Determining service name and operation name in handler

    Hello.
    Is there a way to determine the name of the web service and the name of operation being invoked from inside the JAX-RPC handler class?
    By the name of the web service I mean the name that was used in its deployment descriptor file.
    With axis, I was able to determine service name using 'MessageContext.getTargetService()' and 'MessageContext.getOperation()' .
    are there similar ones in weblogic?

    Using Weblogic v8.1 I was also able to get the port and operation via DefaultMessageContext. However, this no longer works on WebLogic v9.0.
    Any idea how to do this in v9? I think I have the Operation Name by using another undocumented API:
    weblogic.wsee.ws.server.OperationName (it's a property in the MessageContext). There's also an EndpointReference class that has 'portName' and 'serviceName' but for my server these are always null??
    Any ideas?

  • Determining the LogFile created for a partition

    We have created a facility to log all exceptions to a single partition's
    log using LogMgr. Is there some method within Forte to determine the name
    of file being used written by the current partition's log manager?
    Thank you!

    Hello Don Burn,
    To know whether a Visual Studio version is installed on your OS, actually you can refer to the registry by refer to the following blog:
    http://www.mztools.com/articles/2008/MZ2008003.aspx
    However your issue seems more complex, since msbuild tool version is different when compare to Visual Studio version. And you can use different msbuild toolversion
    https://msdn.microsoft.com/en-us/library/bb383796.aspx
    So I'm not sure if I unstandand want you want to do here. Do you want to specify Visual Studio version or actually MSBuild version?
    Have you ever referred to the following registry:
    http://stackoverflow.com/questions/328017/path-to-msbuild
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\2.0
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0
    On x64 machine you need to check WOW64node. And then you will see the MSBuild installed location on your OS.
    Hope the above info helps you know what you should do here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • A problem determining the JNDI Name of a local EJB with WL 8.1

    Hi,
    I created a very simple local EJB and deployed it with Weblogic8.1. When I test
    it in the Weblogic server admin page, I got the following message:
    "The EJB MyLocal has not been tested successfully. There was a problem determining
    the JNDI Name of the given bean."
    Can anyone help figure out the problem?
    Thanks
    Henry

    Does the ejb have a target server specified?
    Does the Ejb have a Jndi binding as specified in the <local-jndi-name></local-jndi-name>
    element of weblogic-ejb-jar.xml?
    thanks,
    Deepak
    "Henry" <[email protected]> wrote:
    >
    >
    Hi,
    I created a very simple local EJB and deployed it with Weblogic8.1. When
    I test
    it in the Weblogic server admin page, I got the following message:
    "The EJB MyLocal has not been tested successfully. There was a problem
    determining
    the JNDI Name of the given bean."
    Can anyone help figure out the problem?
    Thanks
    Henry

  • Using File Name to determine the Receiver

    Hi All,
    I have to determine the receivers based on the Input file name. I am using the context object File Name in the condition editor. But based on the first 4 characters of the FileName I have to route the file. Can anybody please help how to formulate this expression in the condition editor?
    Thanks,
    Geetha

    Hello Geetha,
             You need to specify this in you mapping as in condition editor you can not specify values at runtime. What you need to do is
    -> Select the Extended Reciever Determination in ID
    ->In IR specify the mapping for determining the receiver (You need to use the another mapping for this)
            . Here copy the MessageType 'Receivers' from the component  as your target MT
              SAP BASIS 7.0 (Depends on your version)-> "htt://sap.com/xi/XI/System" namespace.
           .  Define Message Mapping between Outbound Message Type(The one with your filename) and 
             Standard Message Type u201CReceiversu201D which is as Inbound message type and which is in the SAP
             BASIS -->http://sap.com/xi/XI/System
           . In mapping specify your service based on your First 4 character of your file name(Use SubString)
    IF filename -> SubString(0,4) ->Equals ->   filename -> SubString(0,4)  Then  Select Your Service  ( Service in Constant value). ELSE (your logic)
    Once you finish this remaining as usual in IR, while InterfaceMapping you select two mapping programs.
    Remmber to use the Extended Interface Determination in ID, This resolves your issue.
    Regards,
    Pasanna

Maybe you are looking for