JVM Pooling -- Why ??

What is the purpose of JVM pooling, We are not using JAVA at all, we have only Forms and Reports stand alone. Is it still good for us. Can somebody explain.

I think we need more details
The later versions of Forms uses java on the client, servlet and server "tiers". E.g. the Forms servlet and the Listener servlet is java, running on oc4j, which also is java. Which "java" are we talking about here?
Forms JVM Pooling, if this is what op asked about, refers to the Forms runtime process use and sharing of JVMs for executing java code of Forms modules.

Similar Messages

  • WebUtil and JVM Pooling

    I have looked at the java importer functions in the webutil library supplied with 10.1.2.0.2 and it seems that it has not been prepared for JVM Pooling.
    Is a version of the pll available which has the javaclasses re-imported with JVM pooling options?

    Hi,
    according to Forms development WebUtil 1.0.6 (aka 10.1.2.0.2) has jvm pooling compatible pll file.
    Frank

  • Solaris: memory not freed after JVM exits - why?

    Hi all,
    A client of ours has a Java application that appears to leak memory. Yawn, shrug.
    However, when the application and the JVM exit, some memory still remains missing, as evidenced by vmstat.
    On average, per run of the application 67 MB of memory and 95 MB of swap space 'disappears', eventually rendering the machine unusable. The only way to get the memory back is to reboot the machine.
    This baffles me; I'd expect the JVM to return all memory to the free list when it exits.
    System: SunOS 5.10 Generic_137111-01 sun4u sparc SUNW,Sun-Fire-15000, 32 GB physical memory.
    java version "1.5.0_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode)
    Java is invoked with:
    java -server -d64 -Xmx20G -Xms20G ...
    Has anyone seen this phenomenon before? If so, do you know what causes it? And better yet, is there a known solution for it?
    Thanks!
    Mark

    The old JVM is not my choice. My client has several Java applications running and currently doesn't have the manpower to do the retesting required when employing a newer JVM.
    I have asked the supplier of the offending program whether it will run with Java 6. They are currently looking into it.
    Mark

  • Thread with static resources fails in Sun JVM. Why?

    Hi All,
    My applet uses threads to put locks on 2 static resources (a Hashtable and a Vector). It works smoothly in browsers with Microsoft JVM. When i changed browser plugin to Sun's JVM 1.3, the applet failed to run and following exceptions thrown to Java Console continuously:
    java.lang.NullPointerException
    at sun.awt.SunToolkit.postEvent(Unknown Source)
    at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source) Here is the code:
    Resource declaration:
    public static Hashtable stateTable = new Hashtable();
    public static Vector vtElementOrder = new Vector(); 2 methods to add/remove resource elements
    private static void addElementHashTable(String ObjectName, ViewPanel viewPanel)
            try
                stateTable.put(ObjectName, viewPanel);
                vtElementOrder.addElement(ObjectName);
            catch(Exception _ex) { }
    private static void removeElementHashTable(String s)
            try
                for(; stateTable.containsKey(s); stateTable.remove(s));
                for(; vtElementOrder.contains(s); vtElementOrder.removeElement(s));
            catch(Exception _ex) { }
        }Main method for manipulation
    private static synchronized void performHashTable(boolean flagInOut, String ObjectName, ViewPanel viewPanel)
            if(flagInOut)
                addElementHashTable(ObjectName, viewPanel);
            else
                removeElementHashTable(ObjectName);
        }The performHashTable() method is called at init() and stop() events of the Applet.
    Please note that if I remove "static" from all resources and methods above, the applet works smoothly.
    Please let me know the reason and how to fix it?
    Thanks in advance.
    Chinh

    egads!
    for(; stateTable.containsKey(s); stateTable.remove(s));
    time for thedailywtf.com !

  • Attach java imported codes to jvm pool process

    Hi,
    we are using oracle forms 10gR2, here is my forms version :
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    also my server version is 10.1.2.0.2.
    we imported some java codes and create a new jvm controller myjvm at jvmcontrollers.cfg.
    we set jvmcontroller=myjvm at sections of formsweb.cfg...
    after all we started jvm with enterprise manager console.
    in spite of these changes any of forms sessions using imported code did not attach to myjvm. we did not see it either at log file or at enterprise manager metrics.
    is there something we are missing?
    Regards, Engin.

    hi,
    we found a workaround by opening a tar.
    using jvmcontroller=myjvm as parameter at formsweb.cfg does not work.
    to make it available we need to add it to otherparams.
    otherparams=jvmcontroller=myjvm
    regards, Engin.

  • Connection pool,why

    E:\bea\wlserver6.1\config\mydomain>java utils.dbping oracle administrator
    wincha
    nnel database:1521:winchdb
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw
    java.lang.Unsatis
    fiedLinkError: no weblogicoci37 in java.library.path
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:167)

    see my reply to your previous posting.
    Michael
    polo wrote:
    E:\bea\wlserver6.1\config\mydomain>java utils.dbping oracle administrator
    wincha
    nnel database:1521:winchdb
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw
    java.lang.Unsatis
    fiedLinkError: no weblogicoci37 in java.library.path
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:167)--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • JVM termination with standalone oc4j

    Hi,
    We have several (around 15) standalone oc4j instances running on a Sun machine, the details are as follows:
    Machine: SunFire V1280 with 8 processors (sun4u sparc) and 24 GB RAM
    OS: SunOS 5.9 Generic_117171-02
    oc4j version: 9.0.4.0.0
    There is also a 10g installation on this machine.
    We are finding that quite regularly one or more of the oc4j instances shuts down without warning. the only information in the log files (jms.log, rmi.log etc) is a "Stopped (JVM termination)" message. I cannot find any other logs on the machine which can help me with this error.
    I am after one of two things:
    1. Potential reasons for this happening (preferably with solutions!)
    2. A possible for a log file created by the JVM detailing why it is terminating.
    Can anyone help?
    Thanks

    http://blogs.oracle.com/shay/2005/10/24#a55

  • Please help: Connection Pooling...

    Hi everybody,
    I am seeking help from our experienced fellows and senior programmers/developers.
    I am working with Struts framework, TomCat and JavaBeans and developing a website.
    I wanna make my own Connection Pooling class to handel all the connections.
    Actualy, I don't wanna make Connection to the DB through my each Action Classes,
    which are accessing the Database.
    Would you please advise me that how it is possible and how I will refere to
    my Connection Pooling Class within Struts framework. And if possible just give the
    hints about the structure of the Connection Pooling Class.
    Your kind help will be highly appreciated...
    VeeJay...
    [email protected]

    Hi..
    Is it a requirement that u must use u'r own connection pool??
    Coz each application server provides its connection pool.why dont u exploit one of those.. as u r using tomcat, definitely it wud also be providing a pool of its own.
    Kris

  • Memory Leak in Spawned JVM?

    I have set up the Activatable RMI example form Sun and noticed something unusual while monitoring the Windows Task Manager.
    When I run the client program for the first time two JVM's are spawned instead of one. When the client program finishes executing one JVM terminates while the other is left running. Everytime I execute the client program after that a new JVM is spawned and terminates (I assume this is the client program) while the other JVM grows by about 4-28k. Finally, when I terminate the rmi daemon the 'other' JVM terminates.
    What is running in this 'other' JVM?
    Why does it appear only after the first execution of the client program and not when the rmi daemon is started or when the setup program is run?
    How can I terminate this JVM without killing the rmi daemon?
    What is causing the memory leak?
    Any ideas would be greatly apreciated, thanks.

    Obviously the second JVM is for the Activatable object!
    OK.
    So when I run the client for the first time two JVM's are started one for the client program and one for the activatable object. When the client program finishes executing its JVM terminates. Meanwhile the activatable object's JVM still hangs around (and leaks memory).
    I don't want this JVM to hang around too long. Ideally I would like to control how long an activatable object hangs around after the client is finished with it. Is there anyway to shutdown the activatable Objects JVM programatically?

  • What is the need for calling default constructor by JVM?

    What is the need for calling default constructor by JVM? why the JVM should intiializes default values to the data
    fields if the constructor is not there in our class?

    mahar wrote:
    What is the need for calling default constructor by JVM? Huh? The JVM does not need to call the default constructor. It needs to call a constructor.
    You decide which one by the way you use "new".
    why the JVM should initialize default values to the data fieldsHuh?
    ... if the constructor is not there in our class?Huh? The default constructor is always there. It may be private but it is still there.

  • Build my own Connection Pool

    Hi,
    I have to build my own connection pool.
    Any resources and help will be appreciated.
    cheers,
    vjoy

    Hi,
    I have to build my own connection pool.Why?
    Any resources and help will be appreciated.There are some open-source connection poolers, most notably DBCP; you can see how they did it.

  • Difference between pool pair relationship and Backup registrar configuration

    Hi,
    I would like to difference between pool pair relationship and Backup registrar configuration?
    Are both concepts are reffering same for DR site resiliency in Lync 2013?
    Thanks

    Backup Registrar works the same in Lync 2013 as it did in Lync 2010. This allows for registration in the event the primary registrar is unavailable. Pool Pairing is built on top of the Backup Registrar functionality.
    Take a look at the following:
    Backup Registrar Functionality in Lync Server 2013: http://blogs.technet.com/b/dodeitte/archive/2012/08/08/backup-registrar-functionality-in-lync-server-2013.aspx
    Lync Paired Pools - Why it Matters: http://blogs.perficient.com/microsoft/2012/12/paired-pools-why-it-matters/
    Backup Registrar relationships in Lync Server 2013: http://technet.microsoft.com/en-us/library/jj205033.aspx
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Why resultset in memory?

    hi
    I am going to ask a stupid question here ..........
    (if my memory saves me) i am giving something that i came to know.As per my knowledge,10g and 9i does not contain any results of pl/sql code in shared pool.why 11gR1 containing it in sga?how 11g evaluating that which pl/sql code and result to store and which one not to?
    thx in advnc
    regards

    Pre-11g we would define a Materialized View to hold aggregates.
    Now, if the aggregate is to be only a single row or a small set of rows, a RESULT_CACHE could be used.
    An example for a use for an MV would be
    sum(order_quantity) group by customer_id -- this would be very many rows if the org has very many customers.
    However, if there are only 5 customers (but still with very many orders !), then the result set could be a RESULT_CACHE if all queries are always for all customers together. (a query for a single customer can use an MV but not RESULT_CACHE of 5 customer aggregate).
    An example for a RESULT_CACHE would be
    sum(basic_salary) for all employees
    Of course, the query defining the RESULT_CACHE must match the query being used frequently -- else the RESULT_CACHE wouldn't be reused.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Web Service (SOAP) From Oracle Forms

    From the exaples of calling web services (soap) from pl/sql, it seems very poor and troublesome. I've seen a few articles with good points about why not to do this from pl/sql. So, I was hoping someone in the forums could share their opinions and approaches to using web services from forms based applications. I would ideally like to hear reasons people chose not to use pl/sql.

    There are some examples of calling web services from forms on the Forms OTN page - works fine although I would encourage the use of the new JVM pooling features as this will aid scalability and performance.
    Regards
    Grant Ronald
    Forms Product Management

  • Driver for oracle enterpririse user

    does creating a connection pool in weblogic for oracle enterprise user needs any special driver? ,
    I can create connection pool for any normal user but if it is enterprise user connection to database is denied , what care should I take for an enterprise user ,
    as for my database knowlwdge I donot know the difference between normal user and enterprise user , why enterprise user connection id different ?

    That's an awfully old Oracle version - unless your company is paying out their rear-end, I doubt Oracle supports it at all. Even Oracle Technology Network only goes back as far as Oracle 8i (AKA 8.1).
    I doubt you'll be able to find such an old driver and if you do, I'd wonder about how well it might work with any recent (last several years) JVM.
    Why are you stuck with such an old version?

Maybe you are looking for

  • Unable to log in

    My enviroment is ERP6.0/Oracle 10.2.0.2/Solaris 10 I just done a system copy which concluded without errors however I'm unable to log into one client. The message name or password is incorrect (repeat logon) results. I can succesfull loginto other cl

  • Adding drop-down list in a custom schema

    Is it possible to create a field with a drop-down list of items in a Prelude custom schema? Or, perhaps the ability is provided in the styles: (Integer, Real, Text, Boolean) and I am just not selecting or using those properly. I notice it is done in

  • Save as swf file using httpconnection and file io

    I have one application which is fatch the swf file from web and i want to save as in same to swf file format. when i have fatch the swf file and save as .swf format i have unable to view as flash animation in browser and micromedia. Anyone suggest me

  • I can't log into FaceTime any suggestions?

    Having trouble logging into facetime. I get a message that I cannot connect with the FaceTime server. I can connect with everything else .

  • How to retrive the records with in the range

    hi, I want to read the records from the table with in the date range. for example select empID,empName from EmpTable where stardat to lastdate please somebody help me... thanx in advance cinux