10.1.0.4 listener process spawns a new listener process

Hi
Last week we had a problem with the listener on one of our 10.1.0.4 databases.
the TNS connections were timing out, and no one was able to connect ( unless as a local connection from the DB server ).
When I did ps -ef | grep -i listener I saw TWO listener processes with the same name , one is spawned by the other.
The only way to solve this was to kill -9 the new listener process
Is this a normal behavior for the listener to spawn another listener process ? and if saw - why did it cause all connections to hung ?
Any known bug regarding this ?
I did find a couple of reports of this behavior in 10. but no followup
http://dbaforums.org/oracle/index.php?showtopic=991
http://oracle.ittoolbox.com/groups/technical-functional/oracle-db-l/spawns-new-rogue-listener-with-same-name-as-original-644065
Thanks in advance for any explanation
Orna

I think this is the cause of your problem
http://coskan.wordpress.com/2007/04/05/child-listener-problem/
post based on Note:340091.1
Coskan Gundogar
http://coskan.wordpress.com

Similar Messages

  • Spawning a new process from a java application

    Hi,
    Was wondering if there is any way to spawn a new java application (not as a Thread) from a running application?
    ie, class A and class B are both applications: both have public static void main() methods, and i want class A to spawn a class B application in a separate console window
    I have tried the samy by using java.lang.Runtime and java.lang.Process class but I could not satisfy myself.
    Do you guys have any idea...??

    Hi,
    I tried as you instructed. See, there is one batch file named s.bat in the current directory and I am trying to run my application which in turn executes following command in Runtime.getRuntime().exec() method,
    start command /k s.bat
    on execution of this line it throws IOException as,
    Executing : start command /k s.bat
    java.io.IOException: CreateProcess: start command /k s.bat error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at RuntimeTest.main(RuntimeTest.java:17)
    line no. 17 goes like this,
    Process p = Runtime.getRuntime().exec(cmd);
    Am i wrong at any strage or what..?? I suggest you also try to do the same. I am working on Windows NT 4.0 platform. It may be more restrictive....?? I don't know exact reason why it is not allowing me to do so???
    Any comment??

  • Spawn a new PDF using Java Script within LC Designer

    I am trying to spawn a new PDF file to be created from an existing PDF using Java Script within the LC designer
    I have this example but I can't get it to work
    function createPdf()
        pdf = pdf$();
        pdf.addText('Hello World');
        pdf.writeToFile('c:/temp/hello_world.pdf');
        window.open('file://c:/temp/hello_world.pdf');
    Is it possible to create a PDF like this within LC Designer?

    Hi
    I would like to see if it was possible.  I thought it would be easy, as
    there is a standard batch processing sequence (Print 1st page of all) using
    Java that comes with Acrobat 7.  This allows you to print the first page of
    a number of files that you select when the sequence is run.  Its code is:
    /* Print 1st Page */
    /* This sequence prints the first page of
       each document selected to the default printer.
    this.print
    To my uninformed mind it seemed logical that the same code, slightly
    modified to print all pages, should work from within a form.
    Anyway, if there is a way to choose individual files, I would appreciate
    that.
    Thanks
    Rob

  • Spawning a new browser in hyperlink in java/tomcat

    Post Author: passionlessDrone
    CA Forum: General
    Hello friends -
    I'm going crazy trying to reckon a way to spawn a new browser from a hyperlink field with the java info view / tomcat set up.  Based on some recommendations provided for .NET users, I went ahead and modified viewDHTMLReport.jsp with the following line, diretly after the CrystalReportInteractiveViewer was created:
    viewer1.setHyperlinkTarget("_blank");
    I have confidence this is being called, as I mispelled the function name on my first try and got a 505 returned from Tomcat indicating bad method name, etc.  Tragically, even with a valid method name, the page continues to render 'target="_self" no matter what value is passed in as a hyperlink target.  I have also tried modifiying DHTMLViewer.jsp and ADHTMLViewer.jsp with similar calls directly after the setProductLocale call, but the same results. 
    Is there a chance that processHttpRequest in the Viewer just doesn't pay attention to what gets set in setHyperlinkTarget and will return "_self" no matter what? 
    It also seems a bit naughty that it appears you have to globally set hyperlinks to either spawn new windows or not.
    Any insight or advice is greatly appreciated!
    Take care!
    -pD

    Post Author: passionlessDrone
    CA Forum: General
    Bump.
    Surely someone has either solved this problem or deemed it impossible. 
    Thanks!
    - pD

  • Spawning a new page depending on whether a text field is populated or not

    I am trying to create a form that once the last line is in the description field contains text it will automatically spawn a new page directly below the page being filled in. I am so googled out.
    if (getField("DOD20").value === "");
    else
    var a = this.templates;
      for (i = 0; i < a.length; i++)
      a[i].spawn(this.numPages, false, false);

    The renaming of the form fields is controlled by the spawn method. It is a passed parameter. By default the new page will be inserted after the first page, the fields will be renamed, the form will not overlay.
    Because the fields are renamed in a standard manner, you need to create your scripts to allow for this. I usually do this by using JavaScript to access the focused field name, event.target.name, and split the field name into an array and then compute the field names that need to be accessed.
    Did you open the JavaScript console and see if there are any errors?
    Have you opened the form and looked at the form in the edit mode?

  • How to dynamically load any number of VIs and spawn a new thread for each

    Hi,
    I'm trying to spawn several TCP listening threads, the number of which is dynamic based upon a configuration file which is read at runtime. With with the included code, I am attempting to open and call these listening threads from a for loop, thinking I could run through all the calls I need to make and be finished. However, since the subVI I'm calling (wait_for_and_process_messages.vi) runs a continuous while loop, the for loop in the parent VI does not continue as it is waiting for the first call to finish. 
    How can I design this to simply spawn off a thread each time I call the subVI and continue? The idea is to allow the number of threads be dynamic so it is not so easy compared to knowing the number of needed threads ahead of time. However, I do need to feed data to each call's nodes so I can't just use the "run" method unless there's a way to feed data to the nodes while using "run."
    Attachments:
    database_communicator.vi ‏12 KB

    Check out this Nugget.
    It contains code that should help you get started.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • ProcessBuilder won't spawn a new JVM

    Hello everyone! I have a ProcessBuilder problem that I was wondering if someone could help me with. Basically it works as it's supposed to on one machine that I am using but won't run on some other machines that I shell into and run as a jar.
    The software I have written has a GUI - this GUI has the ability to spawn smaller GUI's that the user may want to have around after the original GUI leaves. By using a MASK I can see if the user wants to run a child GUI as a part of the same runtime or as a stand-alone separate thread. I have been using a ProcessBuilder to accomplish this task and it works fine:
    - The child GUI/Thread runs fine when it is a part of the same Runtime.
    - The child GUI/Thread runs fine when the ProcessBuilder builds the separate JVM.
    When I attempt to run this software on another machine that I am shelling into however I have some issues:
    - The child GUI/Thread runs fine when it is a part of the same Runtim (embedded).
    - The child GUI/Thread does not start at all when the ProcessBuilder attempts to run the separate JVM. (ps -aef is showing that absolutely nothing is happening, as does top or other process watching scripts).
    I am baffled as to why this may be. The systems are different (I am running Fedora Core 3 normally here, and Fedora Core 6 on the other machines). Is there a security option somewhere which is stopping the JVM from being spawned, or an environment variable I am not aware of that needs to be included that I can add to the ProcessBuilder's map? I can gladly provide more information if what I have indicated is not enough, and thanks so much in advance for any help that someone can shed on this matter.
    - Tim

    Fixed! Turns out I was giving a String[] command argument that worked fine in one location but not in another. The lack of errors was surprising - but that's because I was not redirecting the output/errors from the spawned process anywhere so it gave the illusion of mysteriously dying. All working now.

  • How do I guarantee that all windows in Safari start merged rather than spawning a new window?  I know how to "merge windows" but want the default to be tabs inside Safari.  Please help.  Thx ... EZ.

    Safari windows in tabs by default ... EZ.

    Hello EPZ303
    Check in Safari preferences for how Safari handles tab browsing. One you have it configured the way you want, then it is a matter of using it.
    Safari 7 (Mavericks): Tabs pane of Safari preferences
    http://support.apple.com/kb/PH17163
    Regards,
    -Norm G. 

  • Firefox won't spawn a new window, either from the File menu or by right-clicking a link

    I can't get Firefox to open a new window under any circumstances. Not from the file menu, and not by right-clicking on a link. This has been going on for at least a week, and I don't know what changed before it started happening.
    == This happened ==
    Every time Firefox opened

    Disable or Uninstall ZoneAlarm Toolbar. They are still having problems with it in current Firefox.
    https://support.mozilla.com/en-US/forum/1/472881?
    http://forums.zonelabs.com/showthread.php?t=70801&highlight=firefox+3.5

  • Oracle 9i , what starts the server process

    I'm reading the documentation about the server process which communicates with the client process eg sqlplus. But I'm not sure about how the server process is started. Imagine a server where the instance is not running . I log in via sqlplus /nolog , connect as sysdba and execute the startup command. According to the documentation it is the server process which starts the instance , but what starts the server process. Perhaps it is the sqlplus process. And if i log in using sqlplus over the network , I communicate with the listner, in this case is it the listener which starts the server process. ?
    George

    Hi,
    Take a look:
    "... Some user processes cannot communicate with the dispatcher, so the network listener process cannot connect them to a dispatcher. In this case, or if the user process requests a dedicated server, the listener creates a dedicated server and establishes an appropriate connection."
    Oracle® Database Concepts 10g Release 2 (10.2)
    Process Architecture
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#i21918
    How Do Listeners Respond to Connection Requests
    The listener can spawn a new process and pass control of the client session to the process. In a dedicated server environment, every client connection is serviced by its own server-side process. Server-side processes are not shared among clients. Depending on the capabilities of the operating system, two types of dedicated server connections are possible: bequeath connections and redirect connections. Each results in a separate process that handles client processing, but the mechanics of the actual connection initiation process are different.
    Cheers

  • Client and Server in one process

    Hi all,
    I am trying to create a process which can act as both Client and Server.
    How can I do this?
    Thanks!

    AH. That's a better definition or explanation. Thanks.
    This smells of a single process with multiple threads, each thread handling the basic needs of your requirements. In other words, have a thread deal with making one or more client type connections (use a main thread - the client controller - to spawn client-connection threads. This assumes you need multiplicity in your client-connection model.
    Then make another thread - the server controller - to handle inbound connections, spawning a new thread for each inbound connection. Your main thread, the one that contains your main method, can watch everything that's going on and log or report what's going on in your client and server threads.
    Going into specifics would be a lot to do here. Maybe someone is up for the challenge. Of course, this being a "New to Java Technology" forum, these concepts may be a bit beyond your skillset.
    This is not the only way to go about solving your problem, but it's the only way I can think of at the moment given your requirements.
    Hope this helps some.

  • How to run a background process in a J2EE App ?

    Hi guys,
    Here is the requirement which totally stumped me.
    " The web app should have a feature like a background process or something like cron jobs.. which keeps on running in the background and at a particular time each day calls a method". User intervention is not an option.
    Now had this been a stand alone app .. I could have done this using Threads.. but i cant possibly use threads in a J2EE app. Any pointers.. how I can go about realizing this
    Thanks for your replies.
    Cheers!

    You could take the approach that SoulTech mentioned and spawn a new thread from the Servlet's init method. To have the servlet invoke this method with no intervention, you would need to set the following parameter in your servlet definition in your web.xml:
    <servlet>
      <servlet-name>MyStartupServlet</servlet-name>
      <servlet-class>com.my.company.MyStartupServlet</servlet-class>
      *<load-on-startup>1</load-on-startup>*
    </servlet>When you deploy your application, the servlet will be loaded, and its init method will be called.
    If your application is running in a servlet container, I believe you are allowed (by the specification) to spawn your own threads, but you should do so carefully. Since you're writing a scheduler and not some kind of worker threads that are messing with your database, I think you should be okay. Still, just to keep it clean you should add any clean-up logic you may need to your servlet's destroy method. I know that in an EJB container, spawning your own threads can definitely be a problem and the container makes no guarantees that they will function correctly. The J2SE Timer class could be used if you're not using EJB, but the Timer class doesn't have support for J2EE - that's at least part of what led to the introduction of the timer beans in J2EE 1.4. If you're already using EJB, especially EJB 3.0, then the timer service provides a convenient built-in mechanism to do exactly what you want.
    There are always multiple ways to solve any problem...
    Edited by: proflux on May 15, 2008 1:04 PM

  • Process.waitFor doesn't waitFor process to terminated

    I have searched this website and found may people have this problem, but no one has answer the question. Does that mean there is no way around this?
    This is from the API:
    The Runtime.exec methods may not work well for special processes on certain native platforms.
    Is this everyones problem?
    This is the code I'm using:
    String[] callAndArgs = {"open", fileLoc};
    proc = rt.exec(callAndArgs2);
    proc.waitFor();This doesn't waitFor the open file to be closed. How can I waitFor for the open file to be closed? Is there away around this? Any input would be greatly appreciated. Thank you.

    Yes - you are kind of out of luck. The OS is spawning a new process to open that document, so the thread that you initiate with exec is ending, causing control to return to the Java app's .waitFor call.
    Many OSes do have the ability to shell out a command and actually wait for the process to end, but you'd have to invoke a native (JNI) method to do this. For example, I know you can do this with Windows by obtaining the process ID from the ShellExecute command and then performaing a wait on the process ID.
    At this point, though, you are out of the realm of Java programming.
    - K

  • Long Running SQL and ORDS Spawns Multiple Database Sessions

    Hi all.
    We have a strange situation when accessing a long running SQL Report (a single APEX Page).
    The SQL takes about 15 mins to run but when I monitor what database sessions are spawned by the APEX Listener, I see multiple sessions all executing the same SQL. It appears that after 6 minutes, the APEX Listener spawns a new database session to execute the same SQL.
    Has anyone seen this before and if so, is there a key setting I am missing as I don't want this to happen. I am new to the APEX Listener and WebLogic so apologies if this is the way it's meant to work but it seems odd that after a certain amount of time (6 minutes in my case) a new database session is spawned to do the same work.
    We are running:
    WebLogic: 10.3.0.6
    APEX_LISTENER_VERSION 2.0.0.354.17.06
    Datadate: 11.2.0.3.0 Production
    APEX: 4.2.1.00.08
    Cheers for any help.
    Duncs

    Hi Duncan,
    With all respect, you should please rethink your interface.  I would never consider writing a Web application with a request that knowingly takes 15 minutes to return the results.  You can consider doing this asynchronously via DBMS_SCHEDULER and then alerting the user (via email, perhaps) that their results are ready.  Or if you can precompute this in advance, consider using materialized views so that the user's response time is sub-second.
    In an era where the patience of the average end-user is measured in single-digit seconds, it is impractical to ever expect an end-user to wait 15 minutes for their resultant Web page.
    Joel

  • Spawned java app hangs until first is killed

    I am spawning a new process using
    <code>
    Process proc = Runtime.getRuntime().exec(commandLine, // command line
                             null, // environment
                             new java.io.File(strExeDir)); // run directory
    </code>
    The new process is a 2nd JVM called with the following command line:
    <code>
    C:\jdk1.4.2_03\jre\\bin\javaw.exe -jar "my.jar"
    </code>
    "my.jar" contains a manifest.mf with a Main-Class and Class-Path entries. my.jar can be executed with no problems by running that command outside of my application.
    The process is spawned without an Exception being thrown. The spawned process outputs some of my initial logging statements, but then hangs until the first app is killed, no matter how long I wait.
    can anyone tell me why?
    Thanks in advance,
    Mike

    Originally, my app was launching, logging a few lines
    of code, and hanging.
    Since I made the change to cmd /c start, it is now
    executing properly. The second app appears when it
    should and functions properly without hanging. (An
    oddity is, I never see a console window with cmd /c or
    cmd /k. )That's probably because you are using javaw.exe, not java.exe. Citing the documentation, "The javaw command is identical to java, except that with javaw there is no associated console window. Use javaw when you don't want a command prompt window to appear." If your app has a problem, you would apparently benefit if it had a chance to display something about itself - so try to use 'java' instead of javaw.
    In the original way, I was spawning a new process and
    executing javaw.exe directly. Now I am spawning a new
    process to execute cmd.exe to indirectly run javaw.
    I am working on an ant script to pull all the class
    files from the dependenices into my jar. This way I
    can eliminate the class-path parameter from the
    manifest.mf. Apparently, this application has runI think to have a class path (which changes from machine to machine) in the JAR file manifest (which is not supposed to change) is a bad idea. Why don't you just launch your second JVM with the "-classpath" parameter?
    successfully in the past, and it was using this
    technique. I don't really like the idea of putting
    other peoples' class files in my own jar, so when they
    asked me to make some mods, I decided to separate
    them. I created a lib subdirectory and dumped all the
    jars in it, referencing them by relative paths, i.e.,
    lib/log4j.jar, in the manifest. However, this has led
    me to the current problem.
    Does this clarify what I'm doing?
    The question remains, when I execute javaw.exe in my
    execute(), why would it wait for app #1 to exit before
    continuing with app #2?As I said, try java instead of javaw to see if it reports anything. Also, you may try to give not a single string to your Runtime.exec() method, but an array of Strings, each containing and individual "word" from your command string. For me at least the latter method always worked.

Maybe you are looking for

  • Posting goods receipt in migo getting the error

    hi when posting goods receipt in tc migo getting the error ' check table 169p: entry "cocode" does not exist". What does it mean? what is th e solution for this?

  • Appleworks 6 spell checker (spellchecker) window

    Hi everyone, Pages is ok (if you believe that all of your word processing functions should be sliced into tiny pieces of spreadsheet, documents, etc, sorry, ranting)... but I like Appleworks. So I imported Appleworks 6 over from my previous Macbook t

  • List service notifications web service

    I'm not sure where to put this question - so I thought I would try here We use service notifications.  These are created through transaction IW51 and listed through IW58/IW59. We have Microsoft Share Point as well. The Share Point people are asking m

  • Unable to create web reports using WAD in BI 7.0

    We are unable to create web reports using WAD in BI 7.0 because of the missing BI metadata. Please take a look at the error below .

  • Flv player to play swf

    I have a simple swf animation that I would like to post on my website and I am looking for an swf player. I tried using the one bundled with flash professional but it seems that it only accept flv files. So is there any way around this. I could creat