Sys_refcursor spawning maximum threads

Hello All , i have a procedure which outputs 10 refcursors. It is called called by a .NET utility which then writes the data to 18 different flat files. The proc is of below format
CREATE OR REPLACE PROCEDURE FILE_EXTRACT
(OUTREC1 OUT SYS_REFCURSOR,
OUTREC2 OUT SYS_REFCURSOR,)
AS
BEGIN
OPEN OUTREC1 FOR
SELECT /*+PARALLEL(A,8)*/
COL1,COL2
FROM TABLE A;
OPEN OUTREC2 FOR
SELECT /*+PARALLEL(B,8)*/
COL1,COL2
FROM TABLE B;
I have used parallel hint because all the tables used in the queries a huge tables and this is a nightly batch job. The issue here is that i have expected oracle to use 8 processes for this execution so all my select statements have parallel hint with degree 8 , but unusaully the procedure is erroring out on production databases because of maximum number of connections are being spawned and the database is not able to create any new session.
When i debuged and did a quick test proc where i used only one out refcursor it ran only 9 threads . then i ran by adding one more out ref cursor it spawn 17 threads. I think its the way .NET is fetching data from each of these cursors.When i print the first refcursor i do see queries which are running for the second along with the first causing the parallel queries run more than expected. The cause of the problem here is all the refcursors are executed and waiting to return data. SO when .net starts reading first cursor the other queries also run.
Can somebody suggest me a better approach where we are not using lots of processes and still try to parallise things ??

I have checked the open cursor of my session:
SQL> SELECT o.sid, s.username, substr(machine,1,32),
count(*)
2  FROM v$open_cursor o, v$session s
3  WHERE o.sid = s.sid
4  GROUP BY o.sid, s.username, machine
5  HAVING COUNT(*) > 1
6  ORDER BY count(*) desc;
SID USERNAME
SUBSTR(MACHINE,1,32)
COUNT(*)
146 MAD                            bello
557This proves nothing as the cursors may have been closed after the SQL finished.
The problem is that for each row of data you are opening a ref cursor, but these opened cursors are not being closed for each row.
Can you not just join to the address table that is in the function and retrieve the data as an additional column? It doesn't really seem like you need to use a function in this case.
Also bear in mind that calling user defined functions from within SQL causes a performance issue when dealing with lots of rows of data due to the context switching between SQL and PL/SQL that has to take place.
If you can do it just in SQL then do that. Ony resort to PL/SQL when absolutely necessary.

Similar Messages

  • Does setQueryTimeout still spawn a thread with Microsoft JDBC Driver 4.0?

    Hi,
    Does setQueryTimeout still spawn a thread with Microsoft JDBC Driver 4.0?
    This link here indicates this was fixed awhile ago:
    http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx
    However, we are using Microsoft JDBC Driver 4.0 but are noticing that a setQueryTimeout thread is being spawned (of class com.microsoft.sqlserver.jdbc.TimeoutTimer) for every query we execute.
    And, the thread seems to stay around even after the query has finished executing.
    Can anyone confirm whether this is actually fixed?
    Or, does anyone have any ideas how we can avoid having a new thread spawned for monitoring for a query timeout?
    Thanks! 

    Hi,
    Does setQueryTimeout still spawn a thread with Microsoft JDBC Driver 4.0?
    This link here indicates this was fixed awhile ago:
    http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx
    However, we are using Microsoft JDBC Driver 4.0 but are noticing that a setQueryTimeout thread is being spawned (of class com.microsoft.sqlserver.jdbc.TimeoutTimer) for every query we execute.
    And, the thread seems to stay around even after the query has finished executing.
    Can anyone confirm whether this is actually fixed?
    Or, does anyone have any ideas how we can avoid having a new thread spawned for monitoring for a query timeout?
    Thanks! 

  • Spawning multiple threads ?

    Hi,
              In our application, the content of the main page is being
              retrieved from different databases. All the requests originiate from
              one JSP to different databases to retrieve the info. As the JSP
              processes each of the request sequentailly, there is considerable delay
              before the contents are displayed to the user.
              What I want to acheive is spawn multiple threads and display the content
              to the user in fractions as each thread returns. For eaxmple, if the
              user has subscribed to three news servers.. I want to be able to
              display the news from first server to the user without waiting to
              recieve response from the other two servers.
              What is the best approach to follow for such requirements ?? Any
              thoughts on this would be highly appreciated.
              Thanks,
              Sam
              

    I think you may need to spawn it into HTML frame. Each frame will perform
              and download independently.
              Is it what you need ?
              Siros
              "sam ernie" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              > In our application, the content of the main page is being
              > retrieved from different databases. All the requests originiate from
              > one JSP to different databases to retrieve the info. As the JSP
              > processes each of the request sequentailly, there is considerable delay
              > before the contents are displayed to the user.
              >
              > What I want to acheive is spawn multiple threads and display the content
              > to the user in fractions as each thread returns. For eaxmple, if the
              > user has subscribed to three news servers.. I want to be able to
              > display the news from first server to the user without waiting to
              > recieve response from the other two servers.
              >
              > What is the best approach to follow for such requirements ?? Any
              > thoughts on this would be highly appreciated.
              >
              > Thanks,
              >
              > Sam
              >
              

  • Maximum thread constraint ClusterMessaging is reached

    Hello,
    I am running Weblogic 10.3.4 on Red Hat Linux 5.6. I have a JMS cluster of 2 nodes and I connect to the JMS server with something like "t3://ip1,ip2".
    I'm running a long duration test over a few days and I notice that after a while, my JMS message insertion rate slows down and I see some messages like these in my log files:
    ####<Apr 5, 2012 2:42:52 PM EDT> <Info> <WorkManager> <linpe685001> <linpe685001-Server1> <weblogic.cluster.MessageReceiver> <<WLS Kernel>> <> <> <1333651372247> <BEA-002936> <maximum thread constraint ClusterMessaging is reached>
    I've looked around for a way to increase this thread constraint but I have not been able to find anything. Can someone please tell me how to change this configuration in hopes to fix this message?

    Hi,
    I took a quick look at the code and the thread pool in question appears to be related to WebLogic's multicast cluster implementation; furthermore, it looks like it can only safely have a single thread (so adding threads is not an option). There's step-by-step cluster troubleshooting guidance in the WebLogic documentation, or, alternatively, I'd bet that reconfiguring your cluster to use "unicast" instead of "multicast" mode would take care of the log message.
    That said, I think it's hard to say whether the log message is related to the lowered performance. Thread dumps, JVM profiles, and wl statistic dumps could help with diagnosis.
    HTH,
    Tom

  • Servlet spawning multiple threads causes server to freeze PC

    I'm attempting to write a servlet which, upon receipt of a particular GET request, spawns a thread to do various work which can then be queried by a different GET request. A third type of GET request stops a specified thread.
    This is working fine, except that I can only seem to have spawned one thread at a time. When I spawn another thread, my entire PC stops responding (even Windows Task Manager becomes so sluggish that I cannot kill the server) , and I have to do a hard reset of my PC. I'm using Sun Java System Application Server. The server logs do not contain any errors. I've tried the NetBeans debugger a bit, and it seems to happen when I call the start() method of the Thread.
    This is my first experience with servlets, as well as my first experience with Sun Java System Application Server. I'm also not a Java expert by any means. I'm sure I'm doing something stupid, but I haven't a clue what.
    I can post my code if necessary, but does anyone have any idea what could be causing the server to stop responding just because a servlet spawns two threads? Should I post my code?
    Sorry if this is a n00b question. Thanks in advance.

    I think you may need to spawn it into HTML frame. Each frame will perform
              and download independently.
              Is it what you need ?
              Siros
              "sam ernie" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              > In our application, the content of the main page is being
              > retrieved from different databases. All the requests originiate from
              > one JSP to different databases to retrieve the info. As the JSP
              > processes each of the request sequentailly, there is considerable delay
              > before the contents are displayed to the user.
              >
              > What I want to acheive is spawn multiple threads and display the content
              > to the user in fractions as each thread returns. For eaxmple, if the
              > user has subscribed to three news servers.. I want to be able to
              > display the news from first server to the user without waiting to
              > recieve response from the other two servers.
              >
              > What is the best approach to follow for such requirements ?? Any
              > thoughts on this would be highly appreciated.
              >
              > Thanks,
              >
              > Sam
              >
              

  • Kernel parameters -maximum threads per process

    How can we change the kernel parameters also how can we increase the maximum number of threads allowed .
    How can we increase maimum perocess per used id .

    There is no kernel parameter limiting the maximum
    number of threads allowed. If you are talking about
    user level threads, you will run into virtual address
    space limitations at about 3000 for a process
    assuming 32-bit address space and default
    stack size of 1M per thread, and assuming you are
    not using the alternate thread library (see threads(3thr))
    or Solaris 9. If you need more than this many
    threads at the same time, I suspect you are doing something
    incorrectly. Otherwise, try using a smaller stack size
    per thread. If you are running on Solaris 9, or using
    the alternate thread library, both give you a 1x1
    thread model, i.e., each user thread has a corresponding
    kernel entity (lwp). In this case, you will cause
    your machine to hang by eating up all available
    space for lwp's. In either case, the question should be:
    "how do I limit the number of threads per process?", since
    there is currently no limitation other than space.
    In Solaris 9, you can use resource management to
    limit the number of lwp's (and therefore user threads)
    per process.

  • HttpServer - what is maximum threads allowed to connect?

    I'm using Java6 and the HttpServer that comes with it. But I've hit a maximum that I cannot find what the value is or how to set it higher. I'm getting connection refused once that max is hit.
    HttpServer server = HttpServer.create(new InetSocketAddress(8000), 0);
    server.createContext("/admin", new AdminHandler());
    server.setExecutor(Executors.newCachedThreadPool());
    server.start();
    It must be in the newCachedThreadPool() used. I like that it will reuse idle threads, and close them once an idle period passes, so that the number of threads does not grow or need to be fixed. But... I'm unclear as to how many incomming connections this will allow. Or how to change that default?
    Or, should I be using another kind of Executor?
    Thanks for any help.
    -G

    perhaps there is some jvm limit or something... but I used the same code in a servlet under tomcat and our stresstests all passed then. I simply removed tomcat and the servlet and wrapped my code inside the HttpServer to see how it would handle. and my stress tests now fail.
    any further ideas? we'd like to ditch tomcat because this is just a quick little webserver to perform some business logic.
    Thanks :)

  • Holy! Kernel spawns 16k threads and growing!

    My 10.7.5 has serious issue.
    The kernel process spawn threads non-stop, and continues to eat up all available RAM. Number of threads is 16k and growing. Real Mem is at 800MB and growing.
    In Console, I have tons of these :
    28/9/12 12:49:31.000 AM kernel: Backtrace 0xffffff80006288b3 0xffffff8000623068 0xffffff7f81f3894e 0xffffff7f824d9db0 0xffffff7f824e1909 0xffffff7f824db981 0xffffff7f824e0f7c
    28/9/12 12:49:31.000 AM kernel: Kernel Extensions in backtrace:
    28/9/12 12:49:31.000 AM kernel: com.apple.iokit.IOAudioFamily(1.8.6f18)[8D690452-BF17-3DA0-BCAD-F1BCF1495926]@0 xffffff7f81f33000->0xffffff7f81f5ffff
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.kext.OSvKernDSPLib(1.3)[3D9EA2A9-E433-3F0A-AEFC-24E4B964505E]@0xfffff f7f81f2d000
    28/9/12 12:49:31.000 AM kernel: com.apple.driver.AppleHDA(2.2.5a5)[AF748B07-3A60-38D7-805E-7E9E351F4A0F]@0xffff ff7f824c7000->0xffffff7f82541fff
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.driver.AppleHDAController(2.2.5a5)[D206E58E-D672-3190-8B19-40E17F0050 67]@0xffffff7f82408000
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f808de000
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.iokit.IOAudioFamily(1.8.6fc18)[8D690452-BF17-3DA0-BCAD-F1BCF1495926]@ 0xffffff7f81f33000
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.iokit.IOHDAFamily(2.2.5a5)[D49E7BD7-D244-36F1-81FD-C4C3269A3D71]@0xff ffff7f823f9000
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f808a5000
    28/9/12 12:49:31.000 AM kernel: dependency: com.apple.driver.DspFuncLib(2.2.5a5)[DF597284-FA3E-332E-A827-D8D68044663D]@0xff ffff7f8241c000
    28/9/12 12:49:31.000 AM kernel: AppleHDAEngineOutput: bad busy count (255,1)
    This list of error msg repeats continuosly too!
    Christ, am I having HW problems?!

    Same problem here. MacBook Pro, OS X 10.7.5.
    90,371 (...) kernel_tasks...  and a kernel.log full with these msgs:
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: Kernel Extensions in backtrace:
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: com.apple.iokit.IOAudioFamily(1.8.6f18)[8D690452-BF17-3DA0-BCAD-F1BCF1495926]@0 xffffff7f81eed000->0xffffff7f81f19fff
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.kext.OSvKernDSPLib(1.3)[3D9EA2A9-E433-3F0A-AEFC-24E4B964505E]@0xfffff f7f81ee7000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: com.apple.driver.AppleHDA(2.2.5a5)[AF748B07-3A60-38D7-805E-7E9E351F4A0F]@0xffff ff7f8247c000->0xffffff7f824f6fff
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.driver.AppleHDAController(2.2.5a5)[D206E58E-D672-3190-8B19-40E17F0050 67]@0xffffff7f823bd000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f808ed000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.iokit.IOAudioFamily(1.8.6fc18)[8D690452-BF17-3DA0-BCAD-F1BCF1495926]@ 0xffffff7f81eed000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.iokit.IOHDAFamily(2.2.5a5)[D49E7BD7-D244-36F1-81FD-C4C3269A3D71]@0xff ffff7f823ae000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f808b4000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: dependency: com.apple.driver.DspFuncLib(2.2.5a5)[DF597284-FA3E-332E-A827-D8D68044663D]@0xff ffff7f823d1000
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: AppleHDAEngineOutput: bad busy count (255,1)
    Jul 17 14:55:14 ErwinsMacBook kernel[0]: Backtrace 0xffffff80006288b3 0xffffff8000623068 0xffffff7f81ef294e 0xffffff7f8248edb0 0xffffff7f82496909 0xffffff7f82490981 0xffffff7f82495f7c
    It appears to be related (cause or effect) to non-functional head phone output.

  • JRE 1.1.8 spawning extra thread on Solaris and causing hang

    Hi,
    I am using jre 1.1.8 on SunOs (sparc & 5.9v). I am doing some native upzipping operation using java Runtime and Process class. I made my application in multi-threaded fashion. It works fine if the job queue (number of zip files) is small. But if the number of zip file is more (> 100) then the jre is spawning an extra thread which is the clone of itself. This extra thread is making the application to hang there.
    This problem is not there with jdk1.3. Is there any known work around?
    Pls help.
    Thanks in advance,

    Dear Sisir,
    Look like we are experiencing similar problem with threads hanging applications on OS/390 using 1.1.8. Has there been any resolution?
    we are in the process of migrating the environment to JAVA 2, did you find any such problems in JAVA 2.
    Thank you in advance for your time.
    Peggy Conway

  • Can I intercept "System.exit" in a spawned GUI thread?

    I am writing a large GUI application that optionally spawns other GUI threads. These spawned threads are special-purpose text editors. It is important that the editor knows when it is about to be closed, so that it can prompt the user to save a modified file.
    The editors are based upon javax.swing.JFrame, and I have overridden the "windowClosing" method of a WindowAdapter to check file status and prompt when necessary. This method performs as desired when I close the editor window manually. However, when I close the main application (which calls System.exit(0) ), the editor frames also close without any invocation of my windowClosing method.
    Is there any way the dependent editor JFrame can be alerted that the virtual machine is about to be ended? I could probably keep a list in my main application of all the dependent processes that need to be cleanly ended, but it would be much simpler (and so much more object-oriented) if the dependent thread could take care of itself!

    I was not aware of the Frame.getFrames() method; this is apparently good enough to find all the dependent windows I have created. Thanks for pointing this out.
    As to the spawned threads, perhaps you could comment on my method. I was actually hoping to open the editors as independent applications that would persist after the main GUI was closed. To do this, I gave my editor class an associated static Runnable, like so:
       public static class Starter extends Thread {
             String[] arguments = new String[0];
             public void run() {
                MyEditor re = new MyEditor();
                if( arguments.length > 0) re.setFileName(arguments[0]);
                re.setVisible(true);
             public void copyArguments( String[] args) {
                arguments = Arrays.copyOf(args, args.length);
       }which I invoked from my main GUI in the following code:
       Starter starter = new Starter();
       String[] startArgs = {"myfilename.txt", "more parameters"};
       starter.copyArguments(startArgs);
       starter.setDaemon(false);
       starter.start();This does indeed start the editor, but it is in the same virtual machine, since the editor stops when the GUI stops. Is this method setting me up for trouble? Is there a way to do what I originally wanted, starting the editor in a new virtual machine?

  • ITunes iPodService.exe spawns service thread that consumes 40%plus CPU use

    I have 7.1.1.5 loaded. all was well then I noticed that the program became unresponsive, lost coms with the iPod and developed the above symptom.. I have deleted all iPod temp files, iTunes related files in local data and have deleted and reinstalled iTunes - still the same problem, as soon as ipodsvcs comes up it spawns a service thread that will run forever at 40% usage....
    I can see the iPod in windows so it is not a comms issue with the iPod - just an iTunes issue.There doesn't appear to be a way to get Apple to respond to this issue. They seem to archive all such threads so you cannot update??
    WIn dual core   Windows XP Pro  

    if it was a windows drive letter confusion, i'm afraid that that one is due to the way that Windows assigns drive letters. it hits other devices as well. for possible symptoms for ipods and/or other devices, see:
    Windows confuses iPod with network drive or hard drive and may keep iPod from mounting or songs may seem to disappear
    "iTunes has detected an iPod in recovery mode - Use iTunes to restore"
    New drive or mapped network drive not available in Windows Explorer

  • Maximum thread in java

    I have created a program to check max no of thread in java
    public class Test extends Thread {
    static int count;
    public static void main (String [] args){
    for(;;){
    count++;
    System.out.println(count);
    new Test().start();
    @Override
    public void run() {
    try {
    Thread.sleep(100000000);
    } catch (InterruptedException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    First iteration -Xmx1024m ,max thread = 2011 > Second iteration -Xmx512m ,max thread = 3350 > third iteration -Xmx2m ,max thread = 5112
    I have also tried with setting -Xss1m ,max thread = 1011, then I have set -Xss256k max thread 4900+
    Can anyone suggest me
    1)what is relation of stack and heap size in java?
    2)On what factor does max no of thread depends in java?

    1)what is relation of stack and heap size in java?Essentially nil.
    2)On what factor does max no of thread depends in java?It depends on the operating system, the thread stack size, the amount of virtual memory available, ...

  • Spawning multiple threads inside a Servlet

    Hi All,
    We have a situtation where we need to crawl various sites/databases for information to perform a search. As we all know, the most efficient way is to multithread the application. Since J2EE discourages custom Multithreading, we had to search for alternatives to accomplish this task.
    We came across few interesting solutions using JMS/MDB. Other than using these is there a simpler way to accomplish this. Any help is appreciated...
    Thanks,
    Srini

    oc4j/orion is the fastest servlet engine on the planet. Those
    guys in Sweden don't let you mess around with the number of
    servlet instances available. The message here is that you do not
    have to resort to any tricks that other servlet engines use to
    make sure your servlet will be available to be served up...it
    will.
    The only thing that slows it down are lack of memory or lack of
    resources (the database isn't replying fast enough). You can
    solve these problems by clustering your servers on several
    machines.
    regards,
    the elephantwalker
    www.elephantwalker.com

  • Java Logger incrementing thread ids for a thread spawnned via JNI

    Hi all,
    I have a Java Logger object that I am passing to a JNI dll written in C++.
    If I spawn a thread from the JNI dll and log from that thread, the thread id in the log file increments for each log entry.
    To test this I wrote an infinite loop on the thread to make sure that the logging originated from a single thread. The thread id keeps incrementing in the log and the memory usage of the process increases too. However, the thread count in Task Manager does not increase.
    I will let the process run overnight to determine if the thread id will overflow or if an out of memory exception occurs.
    Has anyone else seen this behavior? Does anyone know what I might be doing wrong? I'm using jre 1.5.1.
    Thanks,
    William

    (1)
    has anybody ever tried to use a native library from
    JNI, when the library (Windows DLL) is not thread safe?
    Now we want many Java clients.
    That would mean each client makes its calls
    to the library in its own thread. Because the library
    is not thread safe, this would cause problems.Right. And therefore you have to encapsulate the DLL behind a properly synchronized interface class.
    Now the details of how you have to do that depends: (a) does the DLL contain state information other than TLS? (b) do you know which methods are not thread-safe?
    Depending on (a), (b) two extremes are both possible:
    One extreme would be to get an instance of the interface to the DLL from a factory method you'll have to write, where the factory method will block until it can give you "the DLL". Every client thread would obtain "the DLL", then use it, then release it. That would make the whole thing a "client-driven" "dedicated" server. If a client forgets to release the DLL, everybody else is going to be locked out. :-(
    The other extreme would be just to mirror the DLL methods, and mark the relevant ones as synchronized. That should be doable if (a) is false, and (b) is true.
    (2)
    Now we discussed to load the library several times -
    separately for each client (for each thread).
    Is this possible at all? How can we do that?
    And do you think we can solve the problem in this
    way?The DLL is going to be mapped into the process address space on first usage. More Java threads just means adding more references to the same DLL instance.
    That would not result in thread-safe behavior.

  • Spawning Threads inside the Web Container

    What are the ramifications of a developer spawning off threads from a "helper"
    object called from a servlet service() method ?
    Thanks in advance.

    That's what I said, it is not at all advisable but if you know what you
    are doing it can work just fine.
    The biggest issue is migration since the behavior is not defined in the
    spec and thus all vendors can implement it differently and it can change
    from version to version, which in turn defeats the J2EE portability
    advantage.
    That is why I highly recommended using JMX timers since it is going to
    be available on all J2EE servers and then the only vendor dependent
    thing is to get the MBeanServer.
    Dejan
    DN wrote:
    Hello
    I was also doing the same thing from my servlet but using another class which
    extends thread.
    I was using JDBC calls in the new thread , eventhough it worked fine I was getting
    warning messages in the console when I was using WSAD.(websphere studio).
    My app is deployed to WLS , i did not see any messages in WLS.
    When I post this issue in a forum , some one advised me that it is not advisable
    to open up threads from the servlets and this is what he said 'quote'
    so eventually (i.e.
    J2EE 1.4) spun threads from a Servlet accessing a
    database outside of a transaction will not be
    supported either.
    "Deyan D. Bektchiev" <[email protected]> wrote:
    Whit,
    If you are not careful you can very well starve the JVM, lose your
    security, transaction contexts and probably some other bad things I
    don't know about...
    But having said all those scary things, I must admit that we do it all
    the time and don't have any issues with that.
    For most purposes you should try to use the JMX timer service instead
    of
    spawning your own threads. You callback will be called in a different
    thread from the Weblogic thread pool and I guess this will be sufficient
    for most cases.
    Regards,
    Dejan
    Whit Armstrong wrote:
    What are the ramifications of a developer spawning off threads from
    a "helper"
    object called from a servlet service() method ?
    Thanks in advance.

Maybe you are looking for