Creating a thread inside doPost

Hello,
I have a process which consumes approx 20-30 minutes. I don't want the user to wait till the processing is complete. I would like to display a response as soon as the data is sent to server. So I plan to create an instance of Thread and put the processing logic in the run(). And immediately send the response.
Will this logic cause any problems with the server performance? I don't have the option to use either MDB or JMS.
Thanks in advance,
Ajit

Hi,
It depends on what the process is ... I've done this in the past for large DB to DB transfers and there was no noticeable performance hit!
I used the users session to keep track of the thread. Basically, then I made an instance of the thread, I passed the users session to the thread and then the thread passed progress information to the users session. I then redirected the user to a please wait page that refreshed every 30 seconds to see if the thread was still running (by checking the status in the users session).
HTH.

Similar Messages

  • Error creating DaemonSession thread

    Hi All,
    I am having the "JVMCI015:OutOfMemoryError" with my Sun ONE Web Server 6.1 SP1 on IBM AIX platform. I am using IBM JDK 1.4.1.
    I always hit this error when trying to load test the web server with 1500 concurrent users. I have set yhr RqThrottle tp 1536 and the MaxKeepAliveConnections is 1024. Java Heap Size is 512m. I even tried increase the heap size to 1.5 G, but the error still occur.
    Would appreciate if any solution is given.
    The detailed error is :
    [28/May/2004:17:04:09] info (28120): CORE3274: successful server startup
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
    [28/May/2004:17:05:50] failure (28120) https-uob: for host 10.128.1.33 trying to POST /servlet/LiveGiverServlet, service-j2ee
    reports: StandardWrapperValve[LiveGiverServlet]: WEB2792: Servlet.service() for servlet LiveGiverServlet threw exception
    javax.servlet.ServletException: WEB2664: Servlet execution threw an exception
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:793)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    ----- Root Cause -----
    java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore threads due to memory or resource constraints
    at java.lang.Thread.start(Native Method)
    at com._3rdfrontier.livegiver.servers.pushchannel.LiveGiverClientConsumer.<init>(LiveGiverClientConsumer.java(Compiled
    Code))
    at com._3rdfrontier.livegiver.servers.pushchannel.LiveGiverAggregator.subscribe(LiveGiverAggregator.java(Compiled Code
    at com._3rdfrontier.livegiver.servers.pushchannel.LiveGiverAggregator.handleRequest(LiveGiverAggregator.java:838)
    at LiveGiverServlet.doPost(LiveGiverServlet.java:1094)
    at LiveGiverServlet.service(LiveGiverServlet.java:437)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    magnus.conf
    # The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
    # They will not be supported in future releases of the Web Server.
    NetsiteRoot /package/SUNWwbsvr
    ServerName AIX1
    ServerID https-test
    RqThrottle 1536
    DNS off
    Security off
    PidLog /package/SUNWwbsvr/https-test/logs/pid
    User qgdev
    #StackSize 131072
    StackSize 524288
    TempDir /tmp/https-test-5328a767
    PostThreadsEarly on
    KernelThreads off
    #enabling statistic
    UseNativePoll off
    KeepAliveThreads 2
    MaxKeepAliveConnections 1024
    AsyncDNS off
    Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
    Init fn="load-modules" shlib="/package/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
    Init fn="stats-init" update-interval="5" virtual-servers="1" profiling="yes"
    server.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright (c) 2003 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Web Server 6.1//EN" "file:///package/SUNWwbsvr/bin/https/dtds/sun-web-server_6_1.dtd">
    <SERVER qosactive="false">
    <PROPERTY name="docroot" value="/package/SUNWwbsvr/docs"/>
    <PROPERTY name="accesslog" value="/package/SUNWwbsvr/https-test/logs/access"/>
    <PROPERTY name="user" value=""/>
    <PROPERTY name="group" value=""/>
    <PROPERTY name="chroot" value=""/>
    <PROPERTY name="dir" value=""/>
    <PROPERTY name="nice" value=""/>
    <LS id="ls1" port="5050" servername="AIX1" defaultvs="https-test" ip="any" security="off" acceptorthreads="4" blocking="false"/>
    <MIME id="mime1" file="mime.types"/>
    <ACLFILE id="acl1" file="/package/SUNWwbsvr/httpacl/generated.https-test.acl"/>
    <VSCLASS id="vsclass1" objectfile="obj.conf" rootobject="default" acceptlanguage="false">
    <VS id="https-test" connections="ls1" mime="mime1" aclids="acl1" urlhosts="AIX1" state="on">
    <USERDB id="default"/>
    <WEBAPP uri="/" path="/projects/test/web/http" enabled="true"/>
    </VS>
    </VSCLASS>
    <JAVA javahome="/package/SUNWwbsvr/bin/https/jdk" serverclasspath="" classpathsuffix="" envclasspathignored="true" nativelibrarypathprefix="" debug="off" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1">
    <JVMOPTIONS>-Djava.security.auth.login.config=/package/SUNWwbsvr/https-test/config/login.conf</JVMOPTIONS>
    <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
    <JVMOPTIONS>-Dorg.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB</JVMOPTIONS>
    <JVMOPTIONS>-Dorg.omg.CORBA.ORBSingletonClass=com.ibm.rmi.corba.ORBSingleton</JVMOPTIONS>
    <JVMOPTIONS>-Djavax.rmi.CORBA.UtilClass=com.ibm.CORBA.iiop.UtilDelegateImpl</JVMOPTIONS>
    <JVMOPTIONS>-Djavax.rmi.CORBA.StubClass=com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl</JVMOPTIONS>
    <JVMOPTIONS>-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.ibm.rmi.javax.rmi.PortableRemoteObject</JVMOPTIONS>
    <JVMOPTIONS>-Xms512m</JVMOPTIONS>
    <JVMOPTIONS>-Xmx512m</JVMOPTIONS>
    <SECURITY defaultrealm="file" anonymousrole="ANYONE" audit="false">
    <AUTHREALM name="file" classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
    <PROPERTY name="file" value="/package/SUNWwbsvr/https-test/config/keyfile"/>
    <PROPERTY name="jaas-context" value="fileRealm"/>
    </AUTHREALM>
    <AUTHREALM name="native" classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm">
    <PROPERTY name="jaas-context" value="nativeRealm"/>
    </AUTHREALM>
    <AUTHREALM name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
    <PROPERTY name="directory" value="ldap://localhost:389"/>
    <PROPERTY name="base-dn" value="o=isp"/>
    <PROPERTY name="jaas-context" value="ldapRealm"/>
    </AUTHREALM>
    </SECURITY>
    <RESOURCES/>
    </JAVA>
    <LOG file="/package/SUNWwbsvr/https-test/logs/errors" loglevel="info" logvsid="true" logstdout="false" logstderr="true" logtoconsole="false" createconsole="false" usesyslog="false"/>
    </SERVER>

    Hi Elving,
    I agree with you that we don't need so many threads to support concurrent many users for normal web application.
    But what happen is that if i have an application which will take a very long time to process a request and probably will not complete the request for a few hours. So if i want to test for 1500 concurrent users, i need to have at least 1500 threads to service this kind of request. Otherwise, some of the users may need to wait for a few hours in order to get serviced by web server.
    Thus, is there a way to allow OS or web server to create this many of threads?

  • Creating a Thread so that I don't wait on a Method?

    Good Evening All!
    I have a simple java program that reads a file containing XML and then posts that XML to a webserver. When I run the program I would normally have about 5,000 xml "documents" in the file that need to be posted to the webserver. Today, I have create a method to read from the file and then a method to post the data and that is contained in a do loop. The issue that I have is that it takes sever seconds for the webserver to respond to each request. Thus it takes about 5 seconds for each call to post. (The Post method that I have created does not return any data. It does connect to a logging database and logs the result that it received. )
    Instead of waiting for the call to Post to come back, could I create a thread and then run post inside of its own thread so that I can read the next line in the file and post it before the first finishes?
    Thanks,
    Doug

    Thanks Again Paul.
    If I can ask one more...How do you pass a recordSet to run? I may have over stated how simple my program is. The code is below. It is reading an exce file and then passing two of the cell values to my post method.
    I have tried a couple of things, but so far no matter what I do I can't put the rs.getString() calls in run without the Microsoft driver producing errors.
    So, in this case do you have any advice?
    Thanks,
    Doug
    public static void main(String[] args)
    Connection c = null;
    Statement stmnt = null;
    try
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    c = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=" + args[0]);
    stmnt = c.createStatement();
    String query = "Select * from [data$]" ;
    ResultSet rs = stmnt.executeQuery( query );
    while( rs.next() )
    XML.Post( rs.getString(1) + rs.getString(2) );
    catch( Exception e )
    System.err.println( e );
    }

  • Is it possible to create a thread and run it in background in nokia ??

    Is it possible to create a thread and run it in background in nokia series 40 mobile phones using j2me ??

    Probably a good question for ForumNokia. If you mean start up a thread and run in the background while your MIDlet UI does other things, then sure, why not. If you mean that you want to exit your MIDlet, but leave a thread running in the background, then I don't believe you can do this on series 40. S60 is another story since it supports multiple tasks.

  • Error while importing WSDL file created in JDeveloper inside BS

    Hi All,
    I am facing error while importing WSDL of the DBAdapter service created using JDeveloper inside my business service in OSB.
    The error in OSB is 'The Resource Mapped Does not exist'

    Which version of OSB are you using? You need to upload schema (.xsd) files as well. WSDL has references to that schema(s) but they are not uploaded hence this error. On sbconsole, if you click on a WSDL name to see it, a button comes with name "Edit References". Click that to point to the xsd's you uploaded.
    Regards,
    Anuj

  • Creating a PDF inside of Word

      When I create a PDF inside of Word Doc and save it to my desktop it looks just like another Word Doc so what am I doing wrong?
      It should look like a PDF Cion not a Word Doc right?

    Icons don't matter. What actually is it? Can you open it with Adobe Reader? (Don't double click! That's a timesaver, but not a test).

  • Error logs message " HTTP3090: Failed to create logging thread " ?

    hi, i need your help.
    i have "sjs web6.1sp8" on hp-ux machine
    below message suddenly appear at load testing.
    [Jul/2010:03:01:52] failure ( 6477): HTTP3090: Failed to create logging thread (Insufficient resources)
    [Jul/2010:03:04:53] failure ( 6477): Error creating DaemonSession thread
    what's mean message? how do action?
    thank for rep..
    Edited by: swardseven on Aug 1, 2010 10:38 PM

    First - 6.1sp8 is old. Very old. You should be testing with the latest SP of 6.1 if at all possible.
    Second - According to the error the process is somehow resource constrained. Are you out of RAM? Swap? Is the process out of file descriptors? Some other resource? Check your OS limits and per-process limits and compare them to the Web Server consumption.

  • What is better way for creating a thread? Why?

    A thread can be create in two way, extending Thread class or implimenting Runnable.
    What is better way for creating a thread? Why?

    Implementing Runnable
    See FAQ #1 here [http://forum.java.sun.com/ann.jspa?annID=9]

  • Memory leak when creating new thread.

    Hi,
    Each time i create a thread, it causes 8 bytes memory leak. The testing code is as below and you can see mem usage increasing in Windows Task Manager. But if i don't call ::OCIEnvCreate(), no memory leak.
    Memory validator shows the following call stack information:
    ........largest allocation 8 bytes at .......
    =>OraOCIEI10.dll ss_mem_thread_attach
    =>OraOCIEI10.dll sscoresetserverflag
    =>OraOCIEI10.dll slzgetevar
    =>ntdll.dll LdrInitializeThunk
    Anyone knows what is goiing on?
    /Yue
    #include <stdio.h>
    #include <windows.h>
    #include <process.h>
    #include <oci.h>
    static OCIEnv *env;
    static unsigned int counter = 0;
    unsigned __stdcall ThreadFunc(void* pArg)
    counter++;
    printf( "In %uth thread...\n", counter );
    Sleep(100);
    _endthreadex( 0 );
    return 0;
    int main( int argc, const char* argv[] )
         sword rc = ::OCIEnvCreate(&env, OCI_DEFAULT, NULL, NULL, NULL, NULL, 0, NULL );
         for(;;)
              HANDLE hThread;
              unsigned threadID;
              // Create the second thread.
              hThread = (HANDLE)_beginthreadex( NULL, 0, &ThreadFunc, NULL, 0, &threadID );
              WaitForSingleObject( hThread, INFINITE );
              // Destroy the thread object.
              CloseHandle( hThread );
         return 0;
    }

    Hi,
    I'm not suprised.
    OCI offers the feature OCIThreadKey that allow you to store a pointer within a thread context (without using OCIThread, just using natives threads).
    So OCI needs to catch thread creation to be able to register storage for its OCIThread key value and be able, once the thread is finished to call a callback with the pointer value associated with the thread....

  • How to create a table inside a table in the dictionary

    I need to create a table in the dictionary that one of the components has to be a table.
    Someone known how to do it.
    Thanks.

    Hi
    U cannot create a table inside another table.
    The data storage is not supported in that manner.
    If you need multiple fileds based on a single line entry then , first figure out the relationships between these tables.
    Then create a second table with a part of the primary key as the first and a unquie primary key to be defined for adding all the rest of the entries in the second table.
    Also maintain the foreign key relationships between these tables.
    This is the way to have multiple entries for a single line of a table entry.
    Regards,
    Radhika.

  • Unable to create native thread in Normal Condition

    I am trying to analyze the "OOM unable to create native thread" error that occurred in our application. I wrote a sample program which has to creates 5000 threads and monitored it using JConsole.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    * ThreadJvmMemory.java
    * Created on June 1, 2007, 9:49 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author Administrator
    public class ThreadJvmMemory extends Thread{
    /** Creates a new instance of ThreadJvmMemory */
    BufferedReader in = null;
    public ThreadJvmMemory() {
    public static void main(String args[]){
    ThreadJvmMemory dummy = new ThreadJvmMemory();
    dummy.waitTillEnter();
    for(int i=0;i<5000;i++){
    if(i%1000==0){
    System.out.println(i);
    dummy.waitTillEnter();
    ThreadJvmMemory dummy1 = new ThreadJvmMemory();
    dummy1.start();
    public void run(){
    //System.out.println("Here");
    Object dummyObject = new Object();
    try {
    in = new BufferedReader(new InputStreamReader(System.in));
    in.readLine();
    } catch (IOException ex) {
    ex.printStackTrace();
    System.out.println("Came out of the thread");
    public void waitTillEnter(){
    try {
    if(in==null)
    in = new BufferedReader(new InputStreamReader(System.in));
    in.readLine();
    } catch (IOException ex) {
    ex.printStackTrace();
    I started the program using the following command line option..
    "c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" -Dcom.sun.management.jmxremote.port=9979 -Xmx512m -Xminf0.1 -Xmaxf0.1 -XX:MaxPermSize=256m -XX:PermSize=256m -XX:+<GCTYPE> -XX:+PrintGCDetails
    where GCType will be UseTrainGC or UseSerialGC or UseParallelGC or
    What i observe in all the cases, there are no more than 1000 threads getting created . After completion of 1000 threads garbage collector keeps running and no more threads get created. Since i have configured heapsize to be 512m, PermGenSpace to be 256 and default value for process sapece is 2gb, JVM would be able to create only 1000 threads as per the formula "NoOfThreads = Process space - (Heap + permGen+some for VM initialization)/Stack Size" (correct me if i am wrong). But why i am not getting OutOfMemoryError while creating native thread. Moreover i can observer non-heap (Perm Gen) space keep growing overtime. But there is enough space in all other spaces.So my doubts are
    1. Actually when we will get OOM error saying unable to create Native thread. To be more specific when which space occupied i will get this error.
    2. Is there any way to configure process space. IMO No ?? Confirm ??
    3. Does any one tried using a a tool that analyzes verboseGC output of SUN JVM. If so can you give any pointer. I have read through GCPortal, but i havent fully deployed it.
    Java version is 1.5.0
    OS Windows 2k3
    Snippet of GC Output
    [GC [DefNew: 5208K->38K(5824K), 0.0072564 secs] 32049K->26879K(34636K), 0.0080451 secs]
    [GC [DefNew: 5222K->24K(5824K), 0.0070320 secs] 32063K->26868K(34636K), 0.0078097 secs]
    [GC [DefNew: 5208K->39K(5824K), 0.0082161 secs] 32052K->26883K(34636K), 0.0090173 secs]
    [GC [DefNew: 5223K->27K(5824K), 0.0080766 secs] 32067K->26874K(34636K), 0.0089273 secs]
    [GC [DefNew: 5211K->39K(5824K), 0.0071186 secs] 32058K->26886K(34636K), 0.0078970 secs]
    [GC [DefNew: 5223K->25K(5824K), 0.0070952 secs] 32070K->26875K(34636K), 0.0078766 secs]
    [GC [DefNew: 5209K->21K(5824K), 0.0069871 secs] 32059K->26872K(34636K), 0.0077657 secs]

    I am trying to analyze the "OOM unable to create native thread" error that occurred in our application. I wrote a sample program which has to creates 5000 threads and monitored it using JConsole.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    * ThreadJvmMemory.java
    * Created on June 1, 2007, 9:49 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author Administrator
    public class ThreadJvmMemory extends Thread{
    /** Creates a new instance of ThreadJvmMemory */
    BufferedReader in = null;
    public ThreadJvmMemory() {
    public static void main(String args[]){
    ThreadJvmMemory dummy = new ThreadJvmMemory();
    dummy.waitTillEnter();
    for(int i=0;i<5000;i++){
    if(i%1000==0){
    System.out.println(i);
    dummy.waitTillEnter();
    ThreadJvmMemory dummy1 = new ThreadJvmMemory();
    dummy1.start();
    public void run(){
    //System.out.println("Here");
    Object dummyObject = new Object();
    try {
    in = new BufferedReader(new InputStreamReader(System.in));
    in.readLine();
    } catch (IOException ex) {
    ex.printStackTrace();
    System.out.println("Came out of the thread");
    public void waitTillEnter(){
    try {
    if(in==null)
    in = new BufferedReader(new InputStreamReader(System.in));
    in.readLine();
    } catch (IOException ex) {
    ex.printStackTrace();
    I started the program using the following command line option..
    "c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" -Dcom.sun.management.jmxremote.port=9979 -Xmx512m -Xminf0.1 -Xmaxf0.1 -XX:MaxPermSize=256m -XX:PermSize=256m -XX:+<GCTYPE> -XX:+PrintGCDetails
    where GCType will be UseTrainGC or UseSerialGC or UseParallelGC or
    What i observe in all the cases, there are no more than 1000 threads getting created . After completion of 1000 threads garbage collector keeps running and no more threads get created. Since i have configured heapsize to be 512m, PermGenSpace to be 256 and default value for process sapece is 2gb, JVM would be able to create only 1000 threads as per the formula "NoOfThreads = Process space - (Heap + permGen+some for VM initialization)/Stack Size" (correct me if i am wrong). But why i am not getting OutOfMemoryError while creating native thread. Moreover i can observer non-heap (Perm Gen) space keep growing overtime. But there is enough space in all other spaces.So my doubts are
    1. Actually when we will get OOM error saying unable to create Native thread. To be more specific when which space occupied i will get this error.
    2. Is there any way to configure process space. IMO No ?? Confirm ??
    3. Does any one tried using a a tool that analyzes verboseGC output of SUN JVM. If so can you give any pointer. I have read through GCPortal, but i havent fully deployed it.
    Java version is 1.5.0
    OS Windows 2k3
    Snippet of GC Output
    [GC [DefNew: 5208K->38K(5824K), 0.0072564 secs] 32049K->26879K(34636K), 0.0080451 secs]
    [GC [DefNew: 5222K->24K(5824K), 0.0070320 secs] 32063K->26868K(34636K), 0.0078097 secs]
    [GC [DefNew: 5208K->39K(5824K), 0.0082161 secs] 32052K->26883K(34636K), 0.0090173 secs]
    [GC [DefNew: 5223K->27K(5824K), 0.0080766 secs] 32067K->26874K(34636K), 0.0089273 secs]
    [GC [DefNew: 5211K->39K(5824K), 0.0071186 secs] 32058K->26886K(34636K), 0.0078970 secs]
    [GC [DefNew: 5223K->25K(5824K), 0.0070952 secs] 32070K->26875K(34636K), 0.0078766 secs]
    [GC [DefNew: 5209K->21K(5824K), 0.0069871 secs] 32059K->26872K(34636K), 0.0077657 secs]

  • How to create Table Popins inside a table using Java Webdynpro

    Hi All,
    I am working on a Java Webdynpro project and one of our requirements is to create Table popins inside the Table. I need to popin data beneath the row based on a value selected from the DropDown Box which is one of the  column in the Table.
    Also, I need to display vertical scrollbar instead of  Table Footer to scroll thru the table rows. Any ideas.........
    I would appreciate if you can let me know how can I do this. I am working on the 7.0 version of Java Webdynpro.
    Thanks for your time and consideration!
    Regards,
    Madhavi

    Hi,
    Please refer the following link:
    Re: Table popins
    step by step procudure to create table popin on lead select.
    thanks & regards,
    Manoj
    Edited by: Manoj Kumar on Apr 1, 2008 10:17 AM

  • Creating TestStand threads from a DLL

    I have a DLL function that creates a thread to maintain a LabWindows/CVI user-interface. I'm interested in having UI events trigger the execution of a sequence in TestStand.
    In the TestStand API, I can find methods to start a whole new Execution. But I was really hoping to create a TestStand thread within the original Execution. I can't find a way to do that. Is it possible?
    I'm using TestStand 2.0, by the way.

    The only way to start a thread within an execution is with a sequence call step.
    To accomplish what you describe, your sequence could start a thread that waits for requests to start new threads (requests sent via any convenient mechanism such as TestStand events or queues, Windows synchronization primitives, TestStand or DLL variables, etc.). When the thread receives a request, it would use a sequence call step to launch the appropriate new thread.

  • Creating a method inside a constructor

    Can we create a method inside a Constructor??

    Encephalopathic wrote:
    uj_ wrote:
    Pascal doesn't have classes so it has no constructors either.Its latest incarnation, object pascal / Delphi did. I was working with that in the early '90s.Isn't the relation between Pascal and Object Pascal like that of C to C++?
    C didn't become C++. It stays C. And Pascal didn't become Object Pascal. It stays Pascal.
    So Pascal doesn't have classes or constructors. A company driven Pascal derivate called Object Pascal has.

  • Failure: Error creating DaemonSession thread

    Hi All,
    I am getting failure: Error creating DaemonSession thread errior when I start the web-server instance as follows
    bash-3.00$ ./start
    Sun ONE Web Server 6.1SP2 B04/07/2004 17:28
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1.05] from [Hewle
    tt-Packard Company]
    info: WEB0100: Loading web module in virtual server [https-myWebServer] at [/sea
    rch]
    info: HTTP3072: [LS ls1] http://hpux-lab:8000 ready to accept requests
    failure: Error creating DaemonSession thread
    startup: server started successfully
    bash-3.00$
    Please reply with a solution

    This was related to kernel level settings
    The attribute max_thread_proc was set to 64 which was not enough. So increase that to 2048 and the Web-Server Instance wil start.

Maybe you are looking for