10g: problem with similar named listeners

Hi,
env:
2 node OEL cluster (not rac, a linux cluster)
11.2.0.3 GI
11.2.0.3 and 10.2.0.5 DB's
The problem seems to be that lsnrctl in 10g is only using the first 12-13 characters of the listener name.
I have a listener configured with the name listener_prodXXX, when I configure another listener named listener_prodYYY and want to start ist:
lsnrctl start listener_prodYYY
TNS-01106: Listener using listener name listener_prodXXX has already been started.
ps -ef |grep -i listener_prod
oracle 2784 1 0 13:03 ? 00:00:00 /oracle/product/10.2.0/XXX/bin/tnslsnr listener_prodXXX -inherit
is there a rule for naming the listeners?
confused greetings
Daniel

Of course I was searching docs/metalink before but couldn't find anything there, so I was asking here.No sign of searching exists in your posts
If you have only one listener with multiple db's and want to do some maintenance on one of them, how do you avoid user connecting to it?Put the database in restricted session mode
I don't think its forbidden to use multiple listeners, so if I'm having a problem with the configuration the forum should be the place to ask, isn't it?It is not forbidden to use multiple listeners, but in 999 out of 1000 cases it is not required, and people 'think' they need multiple listeners for the wrong reasons.
Your post is no exception.
So, yes, if you want to setup multiple listeners, without apparent and/or sound reasons, I will explain you don't need them/.
There is nothing wrong about that, isn't it? Many people here 'think' they know Oracle, few have experience and know they do.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Rather odd problem with package naming...

    Background info:
    I'm working on a web-based application, on a Tomcat server. Classes (and packages) must be in a subfolder of WEB-INF/classes of the app's root. So the packages are in WEB-INF/classes/com/<package>.
    The older packages are in com/gestion (for the package com.gestion ) and the newer ones are in com/incsolution/<various> where <various> can be either chart, util or pgm - following convention more closely.
    OK! We have a class called SqlBean in com.gestion, which starts off like so:package com.gestion;
    import java.sql.*;
    import javax.sql.*;// stock pour pooled connection c'est dans javax.sql
    import javax.naming.*;
    import java.io.*;
    public abstract class SqlBean
        ...rest of code...
    }and is used in several other objects, like TransferQBean.java, which is in the same package:
    package com.gestion;
    import java.sql.*;
    public class TransfertQBean extends SqlBean
       ...rest of code...
    }Now, i've been working (with others) on this project for 2 years now, and up until last week, there was no problem with the way things were called. Come Monday (April 11), the classes won't compile any more - gives me this error:
    classes/com/gestion/TransferQBean.java [5.1] cannot resolve symbol
    symbol : class SqlBean
    location: class com.geastion.TransferQBean
    public class TransferQBean extends SqlBean
    ....................................................................^
    Now if i add classes to com.gestion to get...
    package classes.com.gestion;
    import java.sql.*;
    public class TransfertQBean extends SqlBean
       rest of code...
    }and same for SqlBean...
    package classes.com.gestion;
    import java.sql.*;
    import javax.sql.*;// stock pour pooled connection c'est dans javax.sql
    import javax.naming.*;
    import java.io.*;
    public abstract class SqlBean
       ...rest of code...
    }...it works, but that's not how it's supposed to be. What puzzles me the most is how this came about suddenly.
    Anyone have an idea what might be causing this? AFAIK, it's abnormal...
    JH

    classes/com/gestion/TransferQBean.java [5.1] cannot resolve symbol
    symbol : class SqlBean
    location: class com.geastion.TransferQBean
    public class TransferQBean extends SqlBean
    ....................................................................^The solution to your problem is simply that your classpath is incorrect at compile-time. How you fix that depends on how you compile (from an IDE, from the command-line javac tool, etc). But whatever you do, don't make your solution depend on a system environment CLASSPATH variable.

  • Forms/Designer 10g - problem with attached libraries

    I've problem with forms with attached libraries. All of libraries have removed paths. I can run all forms without any problem on my local application server from Forms Builder 9i or Designer 9i. I added all paths in registry FORMS90_PATH. WORKINGDIRECTORY in formsweb.cfg is blank.
    Unfortunately I can't do it with Developer 10g on second workstation. I added all paths in registry FORMS_PATH. WORKINGDIRECTORY in formsweb.cfg is blank too. When form is running I get ORA-06508. I can't store all files (fmb, fmx, pll, plx etc.) in one folder because I've to use CVS. In this case I can't set any folder in WORKINGDIRECTORY.

    Assuming Forms 10.1.2.x, FMX, MMX, PLX, and OLB files are found based on the value of FORMS_PATH which is set in default.env and not the Registry. This applies to runtime only. The Builder uses the Registry.
    Understand that "runtime" refers to any time a form is displayed in a browser, regardless of whether is was started from the Builder or Application Server.
    Also, be aware that if you have FMX, MMX, or PLX files which were created in older versions they must be recompiled using the 10.1.2 compiler.

  • 10G Problem with HTTPServletRequests

    Hi everyone, since we put in 10G we have a strange problem with HTTPServletRequests. We use a number of service servlets for loading images and performing data selections etc... Since we put in 10G the HTTPServletRequests seem to get mixed up so that the data selection servlet does not get its proper request but instead the last requrest that was processed by the image selection servlet.
    This is definiteley realted to either a 10G setting that we somehow missed or a 10G bug. When we deploy to the server which runs the old OC4J it works fine and it used to work fine in 9.0.3.
    Any ideas would be appreciated.
    TIA

    Hi everyone, we believe it's a timing issue. We added some logic to dump everything from the HTTPServletRequest to the log which slows down the process. It works much better then and the delay appears to help in getting the proper request to the proper servlet.
    Any comments would be appreciated.
    TIA

  • Problems with re-naming photo files

    Hi there, could anyone please give me some advice on a problem I am having with re-naming photos?
    I have scanned over 2000 photos onto my mac. I scanned a batch of a couple of hundred at a time, and as I went along I would copy each batch into iphoto and then trashed them off the hard-drive (with hindsight I'm not entirely sure why I did that!). I am now trying to back them all up on to an external hard drive and have run into problems. The file names they saved as are for example img001, because of the number of photos I scanned I have about five photos in iphoto all with the same file name, and when I drag them onto the hard drive to copy them I am of course getting the message pop up that says I already have a file of that name on the hard drive and do I want to replace it, which of course I don't.
    So...... I went through all the photos and renamed them so they were all different. However, although they show with new titles, when I click on "Show Extended Photo Info" in the Photos menu, the file name shows as the original one it was scanned as. I have then tried right clicking the photo and going to "Show file", and have renamed the photo there. However it still shows the same file name back in the extended photo info, and when I try to copy it on to my hard drive I get an error message saying "The items on the Clipboard cannot be pasted to this location. One or more of the items may have been deleted or are no longer available".
    This is driving me insane!!! Please can someone help me!?

    several things most of which have to do with what iPhoto is and how it works
    iPhoto is a database program and you must not every make any changes to the contents or structure of the database (the files) except using iPhoto - never via the finder or other programs
    as a database you never use the internal structure but use the database tools to access the photos
    The only way to backup up the database is to copy it intact as a single entity to a different drive - you can not back it up in pieces
    To backup the photos or move them to a different machine you export them from the database (file menu ==> export) and one of the options at that time is to assign new file names
    when I drag them onto the hard drive to copy them I am of course getting the message pop up that says I already have a file of that name on the hard drive
    So now that you understand how iPhoto works you see that there is a simple solution to this - simply export the photos and use the rename option in the export to assign sequential names to them
    I went through all the photos and renamed them so they were all different
    If you did this by typing a new title below the photo then you simply export using the use title as file name option
    I have then tried right clicking the photo and going to "Show file", and have renamed the photo there
    This is using the finder to modify the contents of the iPhoto library and will corrupt your library and make it unusable - to use it you will have to restore it as it was - your backup is the easiest
    LN

  • Problem with the naming service

    Hi All,
    I want to register one distributed object with
    the naming service explicitly. I set the distributed
    property "allowed" for the class, and in the init
    method, i tried to set isAnchored property and tried
    to register the object using REgisterObject method. It
    says, object already registered with the naming
    service. So, i set Distributed Property isDefault, the
    same error pops up. What could be the mistake? I know
    that, from the same partition, we can't register
    twice.
    any help is appreicated.
    Thanks,
    Babu
    Get Yahoo! Mail &ndash; Free email you can access from anywhere!
    http://mail.yahoo.com/

    See https://opends.dev.java.net/servlets/ProjectForumMessageView?messageID=31827&forumID=3292.
    Regards,
    Ludovic.

  • Problem with project naming

    Have anybody managed to change the default project naming parameter? When I import my photos into a new project, the Aperture always name the new project like '16 Dec,2010', and I would rename it as '20101216' every time when I have finished importing. I don't want rename them any more.
    So, how can I change the project naming format to something like '20101216' by default?
    I've tried to change the Folder naming preset in Aperture menu, now my project naming format is 'ImageYear ImageMonth ImageDay', and the example shown above is '20080101', but when importing photos into new project, the new project still names as '16 Dec,2010' and the preset seems doesn't work at all.
    Anybody knows how to deal with it?
    (Now I've checked 'automatically split projects' in the import setting and set 'split projects by date' in preference.)
    Message was edited by: bromoethane

    When you import you can name the project you want to import into. Look at the right hand side of the import browser in the section labeled *Aperture Library*. You're destination can either be an existing project or a new project. If you select new project you can enter the name of the project.
    Unfortunately I don;t believe that there is a way to change Aperture default project naming convention.

  • Problem with Applying Naming Standards to Keys and Constraints

    Hi
    I have an issue, and not sure where to go. I have 3 relational models in 1 design. I set up my foreign key template. I applied it to the first relational model, and it worked like a charm. When I bring up the "Apply Naming Standards" window for the second model and click on OK, nothing happens. The window just stays there and the OK button turns gray. I checked the log, but no messages are written. I just have to click on cancel to close the window. Has anyone got any suggestions on what to do? I even went back in and changed a table name to make sure that a foreign key name should change, and still nothing happens.

    Hi Joep,
    thanks for design. I logged bug for that problem - some FK columns keep information about non existent foreign keys.
    Here is a transformation script you can run for relational model:
    columns = model.getColumnSet().toArray();
    for (var t = 0; t<columns.length;t++){
    column = columns[t];
    nodes = column.getRefColAndAssocIDs().toArray();
    for (var i = 0;i<nodes.length;i++){
       node = nodes;
    if(node.fkAssocId!=null){
    fk = column.getDesign().getDesignObject(node.fkAssocId);
    if(fk==null){
    column.removeFKAssociation(node.fkAssocId);
    column.setDirty(true);
    And of course you have to save design - it's better to use "save as".
    Philip                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 10g problem with ports

    Hi, I need some help:
    I have an application running in an application server (JBoss -4.0.3) in a network. It connects to my 10g db (In other network) through a firewall. I know I have port 1521 open, and can do selects but when I try to make an insert from my application I obtain a connection timed out. I have heard that 10g uses as main connection port 1521 and after renegotiates more ports. Is it true? how can I configure this?
    (The same application in developments enviroment (without firewall) works ok)
    Ty in advance
    FRU

    Are you windows? If yes, setting 'USE_SHARED_SOCKETS=TRUE' (control panel ==> SYSTEM) should resolve the port redirection problem. For a detailed description see on metalink:
    Port 1521 opened in firewall yet cannot connect to Oracle Server (ORA-12535,TNS-12203)
    Note:361284.1
    This is an Oracle Net issue, should be independent from the kind of statements. So I'm surprised that 'select' works, but 'insert' does not.
    Werner

  • Problem with File Naming when Importing in LR 3

    When I previously imported in LR 2, under File Naming, I used a custom template:
    {Custom Text}_{Date(YY)>>}_Sequence # (001)>>}.  Sometimes I added custom text and it showed up in my file name and other times I didn’t and then the file name just included the Date and the Sequence # without the Custom Text.
    I am having a problem when importing in LR 3.  The dialog box on the right is now called File Renaming instead of File Naming. I am using the same Custom Template I used when importing in LR 2.  There is a line in the dialog box for Custom Text as there was in LR 2.  If I add a custom text name, it shows up at the beginning of the file name correctly as it did in LR 2.  But if I leave it blank, you’ll remember in LR 2 the resultant file name just included the Date and Sequence #, but in LR 3 the file name now is “untitled_Date_Sequence #”.
    How do I do this so it doesn’t have “untitled” in the file name?
    Thanks,
    Matthew Kraus

    Thanks for reply.  I am using Windows 7 64 bit. I am using 'Copy", not copy to DNG. There are 2 screen shots attached.  The first screen shot is from LR2 and you can see there is no "untitled" in the file name example.  The second is from LR3 and you can see "untitled" is in the first part of the file name in the example.  Do you need any other information?
    Tnaks,
    Matthew Kraus

  • Oracle 10g - Problem with Date Ranges using Between

    I am keeping track of patients who have not been contacted during a date range. if a nurse adds an event or note and the note is type 1,3,4 then this is a contact. The following works but if the event or note was made on the same day as the report is run, the current contact is not printed. Any help to improve the query and identify the problem would be appreciated. Also, if you add '1' to' n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)' so it is ' n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE) + 1'. It works. What is wrong?
    SELECT upper(symptom_text),
      COUNT(UNIQUE(c.patient_id)) ,
      COUNT(UNIQUE(
      CASE
        WHEN e.eventdate BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)
        OR (n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)
        AND n.note_type_id                                             IN (1,3,4))
        THEN c.patient_id
        ELSE 0
      END)) - 1
    FROM patient c,
      cust_info ci,
      event e,
      note n
    WHERE c.physician_id = 74
    AND c.patient_id      = ci.patient_id
    AND ci.info_type_id    = 32
    AND ci.symptom_text      IS NOT NULL
    AND c.patient_id      = e.patient_id(+)
    AND c.patient_id      = n.pk_id(+)
    AND n.table_name(+)    = 'patient'
    GROUP BY upper(symptom_text)
    ORDER BY DECODE(upper(symptom_text), 'A+', 1, 'A', 2, 'B', 3, 'C', 4, 'D', 5, 99)I suspect the end date is not inclusive. Fields are Date data types. Thanks for any help.

    Hi,
    achtung wrote:
    Understood. Frank was correct. Do you mean about the dates? Is that issue solved now?
    It would help a lot if you posted some sample data (CREATE TABLE and INSERT statements) and the results you want from that data. Simplify as much as possible. For example, if everything involving the e and n tables is working correctly, forget about them for now. Post a question that only invloves the c and ci tables.
    But, additionally, when a record in the cust_info doesn't exist my contact count is inaccurate. How can you explain this conceptually. I understand the query path is checking for this record due to the predicate. Perhaps the query should be redesigned. Thanks for your input!Again, you can see the results, and you know what they should be. Nobody else has that information. Please post some sample data and the results you want from that data.
    In your earlier message you said
    Could there be a problem if a record does not exist in the ci table?The condition:
    AND ci.symptom_text IS NOT NULL
    filters for this right? Maybe this could be part of the problem. why I'm not seeing records when a note is added to a patient's doc. How would this be technically be explained? You're doing a inner join between c and ci:
        AND c.patient_id      = ci.patient_id
        AND ci.info_type_id   = 32
        AND ci.symptom_text   IS NOT NULL ...Rows from c will be included only if there is a row in ci with the same patiend_id: even more, that matching row in ci must also have info_type_id=32 in a non-NULL symptom_text, otherwise, the row from c will be ignored.
    If you want rows from c to be included even if there is no matching row in ci, then do an outer join, like you're already doing with the e and n tables:
      WHERE c.physician_id = 74
        AND c.patient_id         = ci.patient_id (+)
        AND ci.info_type_id (+)  = 32
        AND ci.symptom_text (+)  IS NOT NULL
        AND c.patient_id         = e.patient_id(+)
        AND c.patient_id         = n.pk_id(+)
        AND n.table_name(+)      = 'patient'

  • Interconnect 10g problem with XML which has mixed contents

    I'm having problem to receive a XML message which contains PCDATA and other child element Mixed. Here is the sample DTD. I'm able to create the CV and AV by importing this DTD. But at runtime, if the inbound XML contains PCDATA and other element mixed, it throws error. Any help/ workaround will be appreciated.
    <!ELEMENT VIEW_TRAN_M3 (#PCDATA | PERSON_ID | MP_CODE | STARTDATE | ENDDATE)* >
    <!ELEMENT PERSON_ID ( #PCDATA ) >
    <!ELEMENT MP_CODE ( #PCDATA ) >
    <!ELEMENT STARTDATE ( #PCDATA ) >
    <!ELEMENT ENDDATE ( #PCDATA ) >
    Sample XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE MEALPLAN>
    <VIEW_TRAN_M3>
    ABC123
    <PERSON_ID>12345</PERSON_ID>
    <MP_CODE>1</MP_CODE>
    </VIEW_TRAN_M3>
    Thx
    Saumitra

    Patch Number: 4901802 will fix this problem. Please look at SR Number 4960460.992 for more details.

  • Migration from Access to Oracle 10g (Problem with migration wizard)

    Hi
    I have an access database which I want to migrate to Oracle DB.
    I have created 2 connections.
    1. Access connection with the source database
    2. Oracle connection.
    I have associated the oracle connection to the repository.
    When I go through 'MIGRATION WIZARD' process. I am not able to view the source database file while capturing. Tried it several times.
    Need a help in this
    Regards,
    Arjun
    Edited by: 919650 on Mar 9, 2012 2:47 AM

    Arjun,
    you cannot do an online migration with MS Access as you can do with other foreign datasources. You can only do an offline migration.
    The first step that you need to do is to call the Microsoft Access Exporter. Click on Tools - Migration - Microsoft Access Exporter and chose the exporter of the MS Access version that you are using.
    The exporter creates an xml file for you. After the exporter has finished you can do the migration, click on Tools - Migration - Migrate, but in Step 4 please select "Offline", and then you can select the xml file that the exporter has created. The following steps in the Migration assistant are then doing the migration for you.
    You might also want to read the chapter "Before Migrating From Microsoft Access" in the online help of SQL Developer.
    Regards
    Wolfgang

  • 10g - Problem with PServer CVS

    JDeveloper 9.0.5:
    Configuring CVS to use "Password Server" Access
    (CVSROOT :pserver:user@host:/dir) always brings the following error message:
    internal error: get_cvs_port_number called for invalid connection method (ext): Invalid argument
    Seems to be a bug.
    bye,
    Manfred

    What OS and what version of CVS are you using?
    Thanks.
    Rob

  • [AS] Problem with exporting all pages individually

    Hi, I ain't found any solutions by my self or on the web, so I hope, someone can help here.
    I wrote this piece of AS code. I wish it exports all the pages as separate PDFs.
    Alas, it crashes saying that the script ca't understand the page range.
    Could you please telle me where I do bad ?
    set Fpath to (choose folder with prompt "pick") as string
    tell application "Adobe InDesign CS3"
    set mydoc to active document
    set pcount to count pages of mydoc
    repeat with p from 1 to pcount
    tell PDF export preferences
    set page range to p as string
    end tell
    set docname to "toto" & "_" & p & ".pdf"
    set pdfname to Fpath & docname
    export to file (pdfname) format PDF type using "[PDF/X-1a:2001]" without showing options
    end repeat
    end tell
    thanks in advance,
    Loic

    Hi Loic,
    Here is a little altered version of the ExportEachPageAsPDF script from the examples provided by Adobe. I assume, from the script you posted, that you want exported files to be named in the following way: toto + _ + page number + .pdf. But in my judgement, it would be more reasonable to use the name of active document without extension instead of "toto".
    Why are you trying to reinvent the wheel? Isn't it better to take a ready-made script and remake it to your needs?
    Kasyan
    tell application "Adobe InDesign CS3"
    if (count documents) is not equal to 0 then
    my myChooseFolder()
    else
    display dialog "Please open a document and try again."
    end if
    end tell
    on myChooseFolder()
    set myFolder to choose folder with prompt "Choose a Folder"
    --Get the folder name (it'll be returned as a Unicode string)
    set myFolder to myFolder as string
    --Unofficial technique for changing Unicode folder name to plain text string.
    set myFolder to "class ktxt" of (myFolder as record)
    if myFolder is not equal to "" then
    my myExportPages(myFolder)
    end if
    end myChooseFolder
    on myExportPages(myFolder)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    --set myDocumentName to name of myDocument
    repeat with myCounter from 1 to (count pages in myDocument)
    set myPageName to name of page myCounter of myDocument
    set page range of PDF export preferences to name of page myCounter of myDocument
    --Generate a file path from the folder name, the base document name, and the page name.
    --Replace any colons in the page name (e.g., "Sec1:1") so that they don't cause
    --problems with file naming.
    set myPageName to my myReplace(myPageName, ":", "_")
    set myFilePath to myFolder & "toto" & "_" & myPageName & ".pdf"
    tell myDocument
    --The export command will fail if you provide the file path
    --as Unicode text--that's why we had to convert the folder name
    --to plain text.
    export format PDF type to myFilePath using "[PDF/X-1a:2001]"
    end tell
    end repeat
    end tell
    end myExportPages
    on myReplace(myString, myFindString, myChangeString)
    set AppleScript's text item delimiters to myFindString
    set myTextList to every text item of (myString as text)
    set AppleScript's text item delimiters to myChangeString
    set myString to myTextList as string
    set AppleScript's text item delimiters to ""
    return myString
    end myReplace

Maybe you are looking for

  • Connect to router but not internet

    I recently got a WRT54G Wireless router and easily configured it to run on my Mac but when I try to set it up for my PC it will ping the router but nothing on the internet. Can anyone help me figure out how to setup the corrrect connection on a Xindo

  • Macbook Pro 2.2 GHz Kernel Panic on Startup, except single user mode

    No matter what I have tried, my Macbook Pro will only boot in single user mode. It won't start from my backup drive, or the OS X disc as it always gets a kernel panic after about 15 sec. I am not sure if there is some troubleshooting I can do from th

  • Can't open my programmes

    hello,please i would like you to help me with this problem i mistakenly opened a programe with my widows player nd also set all my programs to open with widows player. currently i can't open any of my programmes  properly. please i want my games,soft

  • 11.2 DB & Data Guard : ORA-16014 how to archive a sequence?

    Hi, I've installed 11.2 Oracle Database in my laptop with Oracle Enterprise Linux 5.3 and I have created two standby databases, orcl (primary) and orclstby (physical standby). I performed a switchover to orclstby and consequently, orclstby was the ne

  • CS4 – display issues...

    Ok... have a done a search... updated video drivers, etc. etc. Here's the problem: 1/ Artifacts across the menus. Others have complained about this. It's like a line drawn across the menu titles. 2/ Time lags and visual glitches when zooming in and o