Testing with AM pooling disabled

We are following the following guideline: “Test the ADF application with AM pooling disabled”:
I believe this forces the ADF application to do activation/passivation of app module instances.
This sounds like a good idea and I found a couple of bugs.
Question: is there a reason not to do so?
Thanks
PS: To disable AM pooling: right click on application module file, select Configuration and then select Edit.
Click on the “Pooling and Scalability” tab and uncheck the “Enable Application Module Pooling” check box.

http://tompeez.wordpress.com/2011/07/08/jdev-always-test-your-app-with-applicationmodule-pooling-turned-off/

Similar Messages

  • SRDemo with application pooling disabled

    Hi Steve,
    We are building an ADF BC/JSF application that can potentially have a high
    number of visitors simultaneously.
    So i took your advice on your blog
    (http://radio.weblogs.com/0118231/2005/05/09.html) and tested our search
    page with application pooling disabled. Unfortunately some functions of the
    search page stopped working.
    Then I tested the SRDemo application (ADF BC/JSF version) with application
    pooling disabled. When application pooling is disabled the SRDemo
    application does not work properly either.
    So I am wondering...Is there a sample application that works with
    application pooling disabled? Among others, I am particularly interested how
    the following scenario would work:
    1. The user enters a search criteria hits the search button and retrieves a
    list of rows in a JSF table.
    2. The user clicks one row in the table and he is navigated to a page where
    he can view the details of the row he clicked
    3. He hits the browsers back button
    4. He clicks another row in the table.
    5. He is navigated to a page where he can view the details of the last row i
    clicked
    6. He goes to step 3 and repeats the process as many times as he desires.
    This simple scenario works in SRDemo in one context when application pooling
    is enabled. It gives a row currency error in another at step 4. When
    application pooling is disabled the application doesn't show any errors but
    behaves incorrectly.
    I would appreciate your insight on how to make this scenario work.
    Thank you
    Yalim

    I am testing with 10.1.3.0. The change you suggested did not make any difference.The two scenarios I described in my previous post still do not behave correctly.
    However I found out that the advanced search tab functions properly even without application pooling once the token validation is disabled. By that I mean that in the advanced search tab I can go through the 6 steps I described in my first post without getting any errors.
    I also did some testing in 10.1.3.1. I downloaded SRDemo for ADF BC from the check for updates option in the menu. Then I ran the application with application pooling disabled. The 2 scenarios in my previous post did not behave correctly in 10.1.3.1 either. I must mention though; the behavior of the application was different.
    On the other hand the advanced search tab seemed to be functioning properly.
    It seems like when application module pooling is disabled, navigating to the details of a record in My Service Requests tab does not function properly whereas the same functionality works just fine in Advanced Search tab under the same condition.

  • Threading with connection pool

    Hi
    My application is an interface to ldap directory. I have not used any ldap open source api to retrieve data from ldap. I have written connection pool that will help the application to connect to the ldap. It's working fine, but it's creating threads which are not invited.
    ConnectionPool class takes care of the connection storage and creation, while Housekeeping thread relases these connection when idle after a given time.
    Can someone please help in finding the problem in the code that creates additional threads.
    package com.ba.cdLookup.manager;
    import com.ba.cdLookup.exception.CDLookupException;
    import com.ba.cdLookup.server.CdLookupProperties;
    import java.util.Vector;
    import javax.naming.Context;
    import javax.naming.NamingException;
    public class HouseKeeperThread extends Thread {
             * Apache Logger to log erro/info/debug statements.
        protected static org.apache.commons.logging.Log log = org.apache.axis.components.logger.LogFactory
             .getLog(HouseKeeperThread.class.getName());
        private static HouseKeeperThread houseKeeperThread;
             * Close all connections existing.
             * @param connections
             *                void
        private void closeConnections(Vector connections) {
         String methodIdentifier = "closeConnections";
         int numOfConn = connections.size();
         try {
             for (int i = 0; i < numOfConn; i++) {
              Context context = (Context) connections.get(i);
              if (context != null) {
                  context.close();
                  context = null;
                  connections.remove(i);
                  numOfConn--;
                  log.info(" connection name:" + context
                       + " removed. Threadcount =" + (connections.size()));
         } catch (NamingException e) {
             String errMsg = "CDLdapBuilder connect() - failure while releasing connection "
                  + " Exception is " + e.toString();
             log.error(errMsg);
         } catch (Exception e) {
             String errMsg = "CDLdapBuilder connect() - failure while releasing connection "
                  + " Exception is " + e.toString();
             log.error(errMsg);
             * Thread run method
        public void run() {
         String methodIdentifier = "run";
         try {
             while(true){
              log.debug("house keeping :" + this + " ---sleep");
              //sleep(100000);
              log.debug("house keeping :" + this + " startd after sleep");
               sleep(CdLookupProperties.getHouseKeepConnectionTime());
              ConnectionPool connectionPool = ConnectionPool
                   .getConnectionPool();
              Vector connList = connectionPool.getAvailableConnections();
              closeConnections(connList);
         } catch (CDLookupException cde) {
             log.error(methodIdentifier + " " + cde.getStackTrace());
         } catch (InterruptedException ie) {
             log.error(methodIdentifier + " " + ie.getStackTrace());
         * @param connectionPool
         * @return
         * Thread
        public static Thread getInstance() {
         if(houseKeeperThread==null){
             houseKeeperThread = new HouseKeeperThread();
         return houseKeeperThread ;
    package com.ba.cdLookup.manager;
    import com.ba.cdLookup.exception.CDLookupException;
    import com.ba.cdLookup.server.CdLookupProperties;
    import com.ba.cdwebservice.schema.cdLookupPacket.LookupFailureReasons;
    import java.util.Properties;
    import java.util.Vector;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    * ConnectionPool class manages, allocates LDAP connections. It works as a lazy
    * binder and retrieves connections only when required. It doesn't allow
    * connection greater then the maximum connection stated.
    * To retrieve a connection the singelton method getConnectionPool is to used,
    * which retruns thread safe singleton object for the connection.
    public class ConnectionPool implements Runnable {
        private int initialConnections = 0;
        private int maxConnections = 0;
        private boolean waitIfBusy = false;
        private Vector availableConnections, busyConnections;
        private boolean connectionPending = false;
        private static int threadCount = 0;
             * classIdentifier
        private final String classIdentifier = "ConnectionPool";
             * Apache Logger to log erro/info/debug statements.
        protected static org.apache.commons.logging.Log log = org.apache.axis.components.logger.LogFactory
             .getLog(CDLdapBuilder.class.getName());
             * To get the attribute a systemaccessfor out of the search result
        private String vendorContextFactoryClass = "com.sun.jndi.ldap.LdapCtxFactory";// "com.ibm.jndi.LDAPCtxFactory";
             * context factory to use
        private String ldapServerUrl = "LDAP://test.ldap.com"; // default ldap
             * server live used by default
        private String searchBase;
             * environment properties.
        private Properties env;
             * DirContext
        private javax.naming.directory.DirContext ctx;
             * default search base to be used in Corporate Directory searches
        private String defaultSearchBase = "dc=Pathway";
             * search criteria
        private String searchAttributes;
             * search filter to retrieve data from CD
        private String searchFilter;
             * CorporateDirectoryLookup Constructor
             * <p>
             * loads the setup parameters from the properties file and stores them
             * Makes a connection to the directory and sets default search base
             * @throws CDLookupException
             * @throws CDLookupException
        private ConnectionPool() throws CDLookupException {
         this.maxConnections = CdLookupProperties.getMaxConnection();// maxConnections;
         this.initialConnections = CdLookupProperties.getInitialConnection();
         this.waitIfBusy = CdLookupProperties.isWaitIfBusy();
         this.searchBase = CdLookupProperties.getDefaultSearchBase();
         //for local env testing
    //      this.maxConnections = 5;
    //      this.initialConnections = 1;
    //      this.waitIfBusy = true;
             * For keeping no of connections in the connection pool if
             * (initialConnections > maxConnections) { initialConnections =
             * maxConnections; }
         availableConnections = new Vector(maxConnections);
         busyConnections = new Vector(maxConnections);
         for (int i = 0; i < maxConnections; i++) {
             availableConnections.add(makeNewConnection());
             *  ConnectionPoolHolder provide Thread safe singleton
             *         instance of ConnectionPool class
        private static class ConnectionPoolHolder {
             * connection pool instance
         private static ConnectionPool connectionPool = null;
             * If no ConnectionPool object is present, it creates instance of
             * ConnectionPool class and initiates thread on that.
             * @return ConnectionPool Returns singleton object of ConnectionPool
             *         class.
             * @throws CDLookupException
         private static ConnectionPool getInstance() throws CDLookupException {
             if (connectionPool == null) {
              connectionPool = new ConnectionPool();
              new Thread(connectionPool).start();
              // Initiate house keeping thread.
              HouseKeeperThread.getInstance().start();
             return connectionPool;
             * Returns singleton object of ConnectionPool class.
             * @return ConnectionPool
             * @throws CDLookupException
        public static ConnectionPool getConnectionPool() throws CDLookupException {
         return ConnectionPoolHolder.getInstance();
             * getConnection retrieves connections to the corp directory. In case
             * there is no available connections in the pool then it'll try to
             * create one, if the max connection limit for the connection pool
             * reaches then this waits to retrieve one.
             * @return Context
             * @throws CDLookupException
        public synchronized Context getConnection() throws CDLookupException {
         String methodIdentifier = "getConnection";
         if (!availableConnections.isEmpty()) {
             int connectionSize = availableConnections.size() - 1;
             DirContext existingConnection = (DirContext) availableConnections
                  .get(connectionSize);
             availableConnections.remove(connectionSize);
                     * If connection on available list is closed (e.g., it timed
                     * out), then remove it from available list and repeat the
                     * process of obtaining a connection. Also wake up threads that
                     * were waiting for a connection because maxConnection limit was
                     * reached.
             if (existingConnection == null) {
              notifyAll(); // Freed up a spot for anybody waiting
              return (getConnection());
             } else {
              busyConnections.add(existingConnection);
              return (existingConnection);
         } else {
                     * Three possible cases: 1) You haven't reached maxConnections
                     * limit. So establish one in the background if there isn't
                     * already one pending, then wait for the next available
                     * connection (whether or not it was the newly established one).
                     * 2) You reached maxConnections limit and waitIfBusy flag is
                     * false. Throw SQLException in such a case. 3) You reached
                     * maxConnections limit and waitIfBusy flag is true. Then do the
                     * same thing as in second part of step 1: wait for next
                     * available connection.
             if ((totalConnections() < maxConnections) && !connectionPending) {
              makeBackgroundConnection();
             } else if (!waitIfBusy) {
              throw new CDLookupException("Connection limit reached", 0);
                     * Wait for either a new connection to be established (if you
                     * called makeBackgroundConnection) or for an existing
                     * connection to be freed up.
             try {
              wait();
             } catch (InterruptedException ie) {
              String errMsg = "Exception raised =" + ie.getStackTrace();
              log.error(errMsg);
              throw new CDLookupException(classIdentifier, methodIdentifier,
                   errMsg, ie);
             // connection freed up, so try again.
             return (getConnection());
             * You can't just make a new connection in the foreground when none are
             * available, since this can take several seconds with a slow network
             * connection. Instead, start a thread that establishes a new
             * connection, then wait. You get woken up either when the new
             * connection is established or if someone finishes with an existing
             * connection.
        private void makeBackgroundConnection() {
         connectionPending = true;
         try {
             Thread connectThread = new Thread(this);
             log.debug("background thread created");
             connectThread.start();
         } catch (OutOfMemoryError oome) {
             log.error("makeBackgroundConnection ="+ oome.getStackTrace());
             * Thread run method
        public void run() {
         String methodIdentifier = "run";
         try {
             Context connection = makeNewConnection();
             synchronized (this) {
              availableConnections.add(connection);
              connectionPending = false;
              notifyAll();
         } catch (Exception e) { // SQLException or OutOfMemory
             // Give up on new connection and wait for existing one
             // to free up.
             String errMsg = "Exception raised =" + e.getStackTrace();
             log.error(errMsg);   
             * This explicitly makes a new connection. Called in the foreground when
             * initializing the ConnectionPool, and called in the background when
             * running.
             * @return Context
             * @throws CDLookupException
        private Context makeNewConnection() throws CDLookupException {
         String methodIdentifier = "makeNewConnection";
         Context context = null;
         env = new Properties();
         log.debug("inside " + methodIdentifier);
         try {
             env.put(Context.INITIAL_CONTEXT_FACTORY,
                  getVendorContextFactoryClass());
             env.put(Context.PROVIDER_URL, getLdapServerUrl());
             env.put("com.sun.jndi.ldap.connect.pool", "true");
             context = new InitialDirContext(env);
         } catch (NamingException e) {
             String errMsg = "CDLdapBuilder connect() - failure while attempting to contact "
                  + ldapServerUrl + " Exception is " + e.toString();
             throw new CDLookupException(classIdentifier, methodIdentifier,
                  errMsg, e, LookupFailureReasons.serviceUnavailable);
         } catch (Exception e) {
             String errMsg = "CDLdapBuilder connect() - failure while attempting to contact "
                  + ldapServerUrl + " Exception is " + e.toString();
             throw new CDLookupException(classIdentifier, methodIdentifier,
                  errMsg, e, LookupFailureReasons.serviceUnavailable);
         log.info("new connection :" + (threadCount++) + " name =" + context);
         log.debug("exit " + methodIdentifier);
         return context;
             * releases connection to the free pool
             * @param context
        public synchronized void free(Context context) {
         busyConnections.remove(context);
         availableConnections.add(context);
         // Wake up threads that are waiting for a connection
         notifyAll();
             * @return int give total no of avail connections.
        public synchronized int totalConnections() {
         return (availableConnections.size() + busyConnections.size());
             * Close all the connections. Use with caution: be sure no connections
             * are in use before calling. Note that you are not <I>required</I> to
             * call this when done with a ConnectionPool, since connections are
             * guaranteed to be closed when garbage collected. But this method gives
             * more control regarding when the connections are closed.
        public synchronized void closeAllConnections() {
         closeConnections(availableConnections);
         availableConnections = new Vector();
         closeConnections(busyConnections);
         busyConnections = new Vector();
             * Close all connections existing.
             * @param connections
             *                void
        private void closeConnections(Vector connections) {
         String methodIdentifier = "closeConnections";
         try {
             for (int i = 0; i < connections.size(); i++) {
              Context context = (Context) connections.get(i);
              if (context != null) {
                  log.info(" connection name:" + context
                       + " removed. Threadcount =" + (threadCount++));
                  context.close();
                  context = null;
         } catch (NamingException e) {
             String errMsg = "CDLdapBuilder connect() - failure while attempting to contact "
                  + ldapServerUrl + " Exception is " + e.toString();
             log.error(errMsg);
        public synchronized String toString() {
         String info = "ConnectionPool(" + getLdapServerUrl() + ","
              + getVendorContextFactoryClass() + ")" + ", available="
              + availableConnections.size() + ", busy="
              + busyConnections.size() + ", max=" + maxConnections;
         return (info);
             * @return the defaultSearchBase
        public final String getDefaultSearchBase() {
         return defaultSearchBase;
             * @param defaultSearchBase
             *                the defaultSearchBase to set
        public final void setDefaultSearchBase(String defaultSearchBase) {
         this.defaultSearchBase = defaultSearchBase;
             * @return the ldapServerUrl
        public final String getLdapServerUrl() {
         return ldapServerUrl;
             * @param ldapServerUrl
             *                the ldapServerUrl to set
        public final void setLdapServerUrl(String ldapServerUrl) {
         this.ldapServerUrl = ldapServerUrl;
             * @return the vendorContextFactoryClass
        public final String getVendorContextFactoryClass() {
         return vendorContextFactoryClass;
             * @param vendorContextFactoryClass
             *                the vendorContextFactoryClass to set
        public final void setVendorContextFactoryClass(
             String vendorContextFactoryClass) {
         this.vendorContextFactoryClass = vendorContextFactoryClass;
         * @return the availableConnections
        public final Vector getAvailableConnections() {
            return availableConnections;
    }

    hi ejp
    Thx for the reply.
    // Enable connection pooling
    env.put("com.sun.jndi.ldap.connect.pool", "true");
    Is this suffice to get the connection pool working,
    Should i merely have a thread to maintain the connection with the ldap that uses sun's connection pool; or allow requestes to create new object for the connection and still this pool will hold.
    for example in the above code instead to housekeep the thread merely maintain connection with the pool
    or
    should I directly connect each object with the ldap?
    I am unable to understand how exactly sun's connection pool is working and how it should be used. I have gone thru the following example but picture is still hazy and undigestable to me.
    java.sun.com/products/jndi/tutorial/ldap/connect/pool.html
    Rgds

  • ODI 11.1.1.7.0 connect to DB with connection pool

    Hello!
    ODI standalone agent 11.1.1.7.0 now make a connect to DB with connection pool and set "client identifier" in the session.
    How to disable connection pooling?
    Thank you

    Solved by downloading and installing
    Version 11.1.0.7.0
         Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
    from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html.

  • Cascaded LOV loose value when pooling disabled

    Hi All,
    I am using jdev 11.1.1.5
    my scenario is i have search VO with transient attributes.Most of attribute are LOV using accessor.
    Few of LOV are dependent on each other. When i am running by enabling pooling true.it is working fine.
    But when pooling disabled, cascaded LOV are not persisting value in the VO. It is happening only for dependent LOVs . I am not sure  why is it so.?
    I am creating a new row of Search VO usng Create Method of VO operation.Should i try anything else?
    Is anyone faces this issue earlier?  any suggestion to handle this. All attribute are passivated and VO have key attribute.
    Please suggest?

    Hi Frank,
    Well all LOV are transient attribute.Problem is this - Everything working with AMPooling enbaled.But when AMPool disabled then only attribute whose value are depend on other LOV are not persist or loose.
    Yes they are marked passivate. and i also override afterRollback and beforeRollback in all ViewObjectImpl.java with commenting super call.
    Seems , variable are setting by bind variable are not passivated the value. I am not sure, is it some strange behavior or i am doing anything wrong.
    What you suggest  to investigate further more on this?
    Regards
    Vinay

  • Thermal event with intelligent throttling disabled

    Hi all
    We have one Oracle unbreakable Linux installed on a HP DL380 G5. Since the install we've been getting error message Tmid Thermal event with intelligent throttling disabled.
    We logged it with HP thinking it could be the memory, HP replaced the motherboard. Yet the message has not cleared. The server has 32GB memory. We removed a pair of memory en tested the server again. still the message appear. We repeated the process with all the modules. We then replaced it with new spare 2GB memory and still the message came back. Then we did a memtest still no luck.
    I am now starting to wonder if the problem does not lay with the Kernel. (it seems to happen when our Oracle DBA are importing migrated tables and data)
    Any ideas or steps to do more test or fix this issue. Not sure if we want to disable the message of showing.
    Here is some info of the server, memory, processors, kernel version and the error message:
    Linux version 2.6.18-92.1.22.0.1.el5 ([email protected]) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Dec 16 16:54:25 EST 2008
    arch
    x86_64
    meminfo
    MemTotal: 32831032 kB
    MemFree: 325276 kB
    Buffers: 699700 kB
    Cached: 30022748 kB
    SwapCached: 90040 kB
    Active: 17000236 kB
    Inactive: 14887732 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 32831032 kB
    LowFree: 325276 kB
    SwapTotal: 8385920 kB
    SwapFree: 8295880 kB
    Dirty: 600 kB
    Writeback: 0 kB
    AnonPages: 1075372 kB
    Mapped: 3769940 kB
    Slab: 401696 kB
    PageTables: 174980 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 24801436 kB
    Committed_AS: 7798452 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 267100 kB
    VmallocChunk: 34359470055 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    Hugepagesize: 2048 kB
    free -m
    total used free shared buffers cached
    Mem: 32061 31738 323 0 684 29326
    -/+ buffers/cache: 1727 30333
    Swap: 8189 87 8101
    cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 23
    model name : Intel(R) Xeon(R) CPU X5260 @ 3.33GHz
    stepping : 6
    cpu MHz : 3333.342
    cache size : 6144 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 2
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
    bogomips : 6671.14
    clflush size : 64
    cache_alignment : 64
    address sizes : 38 bits physical, 48 bits virtual
    power management:
    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 23
    model name : Intel(R) Xeon(R) CPU X5260 @ 3.33GHz
    stepping : 6
    cpu MHz : 3333.342
    cache size : 6144 KB
    physical id : 0
    siblings : 2
    core id : 1
    cpu cores : 2
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
    bogomips : 6666.59
    clflush size : 64
    cache_alignment : 64
    address sizes : 38 bits physical, 48 bits virtual
    power management:
    [cat /var/log/messages | grep -i thermal
    Apr 22 13:46:28 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:29 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:31 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:32 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:38 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:41 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:42 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Apr 22 13:46:43 kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Subject:
    kernel: EDAC i5000 MC0: >Tmid Thermal event with intelligent throttling disabled
    Findings:
    I spend nearly the whole day yesterday investigating this error. This is a bug in the current Kernel Version.
    (Linux version 2.6.18-92.1.22.0.1.el5 ([email protected]) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Dec 16 16:54:25 EST 2008)
    This bug is currently under investigation by Red hat Bugzilla.
    Breakdown of Error:
    error code is EDAC i5000 MC0
    Edac is a memory stat tool in the kernel monitoring the RAM Memory for ECC memory
    i5000 is the chipset memory controller for Intel
    This error seems to happen the majority of the time on HP DL380 G5 and some servers of the Dell range.
    Bios has its own memory stat tool. At the moment the EDAC stat tool is conflicting with the Bios monitor.
    What we done:*
    We done a memtest over 6 hr and it was successful
    we tested the memory modules by removing pairs at a time
    Then we put the original memory back in. (Spare memory)
    HP replace motherboard
    Still the message appear
    Solution:
    As the EDAC is only a memory Stat tool for the kernel and it does not have any impact on the OS or the server(none critical). We can blacklist (stop the error message for popping up) it until the next kernel release when this bug should be fixed.
    Bios are already monitoring the memory via Bios Any memory failure or thermal event will be reported
    The workaround for this problem is to prevent the i5000_edac module from loading. To do this, add the following line to the /etc/modprobe.d/blacklist file then reboot server boot.
    Thanks for both you guys for pointing me in the right direction.
    Edited by: user10737360 on 24-Apr-2009 02:13

  • How to retrieve #  on-line procs in a non-global zone with resource pool

    Is there any way to retrieve the #of on line processors of the machine running in a non global zone with resource pool ?
    sysconf does not return this value. In fact this is an excerpt of the man:
    "If the caller is in a non-global zone and the pools facility is active, sysconf(_SC_NPROCESSORS_CONF) and sysconf_SC_NPROCESSORS_ONLN) return the number of processors in the processor set of the pool to which the zone is bound."

    So, from within a local zone that's in a pool (i.e. in a pool with 8 CPUs) , you want to query how many CPUs really exist in the global zone (i.e. the global zone may actually have 16 CPUs)? I don't think that's possible: in fact for security reasons it's probably intentionally disabled.
    A quick workaround would be a script/cron-job in the global zone that writes a small file in the filesystem of the local zone... then from within that zone you could read the CPU count.
    I'm interested though: what are you trying to set up?
    Regards,
    [email protected]

  • Dbx: internal error: signal SIGSEGV with boost::pool

    When I try to debug the following code:
    #include <iostream>
    #include <boost/pool/object_pool.hpp>
    struct Test
        int v;
    int main(int argc, char** argv)
        typedef boost::object_pool<Test> TestPool;
        TestPool myPool;
        Test *test = myPool.malloc();
        return (EXIT_SUCCESS);
    }compiling with:
    CC -m64 -erroff=wvarhidemem,hidevf,hidevfinvb -errtags=yes -library=stlport4 -mt   -c -g -I/home/gimenero/include -o build/Debug/Sun12-Solaris-Sparc/main.o main.cc
    CC -m64 -erroff=wvarhidemem,hidevf,hidevfinvb -errtags=yes -library=stlport4 -mt   -o dist/Debug/Sun12-Solaris-Sparc/boostpooltest build/Debug/Sun12-Solaris-Sparc/main.o -lboost_system-sw59-mt The debugger gets SIGSEGV:
    [gimenero@tst-bill1 Sun12-Solaris-Sparc]$ dbx boostpooltest
    Reading boostpooltest
    Reading ld.so.1
    Reading libboost_system-sw59-mt-1_39.so.1.39.0
    Reading libstlport.so.1
    Reading librt.so.1
    Reading libCrun.so.1
    Reading libm.so.2
    Reading libthread.so.1
    Reading libc.so.1
    Reading libm.so.1
    Reading libaio.so.1
    Reading libmd.so.1
    dbx: internal error: signal SIGSEGV (no mapping at the fault address)
    dbx's coredump will appear in /tmp
    Abort (core dumped)The pstack of the core is:
    [gimenero@tst-bill1 coreFiles]$ pstack tst-bill1.dbx.20417.core | c++filt
    core 'tst-bill1.dbx.20417.core' of 20417:       /opt/SUNWspro/prod/bin/sparcv9/dbx -g sync,stdio
    ffffffff7e5d80d4 _lwp_kill (6, 0, ffffffff7e5b6e54, ffffffffffffffff, ffffffff7e73a000, 0)...
    ffffffff7e54afd0 abort (1, 1d8, 0, 1ef13c, 0, 0)...
    00000001000c032c ???????? (b, 100400, 1, 100512eec, 10051fb10, 100621000)...
    ffffffff7e5d418c __sighndlr (b, ffffffff7fffbe70, ffffffff7fffbb90, 1000c00bc, 0, a)...
    ffffffff7e5c7d28 call_user_handler (ffffffff7f100200, ffffffff7f100200, ffffffff7fffbb90, 8, 0, 0)...
    ffffffff7e5c7f20 sigacthandler (0, ffffffff7fffbe70, ffffffff7fffbb90, ffffffff7f100200, 0, ffffffff7e73a000)...
    --- called from signal handler with signal 0 (SIGEXIT) ---
    00000001002820e4 void*Heap::alloc(unsigned)...
    0000000100282324 char*Heap::strdup(const char*)...
    000000010024b3e0 Symbol*Symtab::NewSymbol(Scope*,Symclass,Type*,const char*,const char*,Heap*,bool)...
    000000010024e514 Symbol*Scope::new_symbol(Symclass,Type*,const char*,const char*,bool)...
    0000000100291390 void*Dwarf2::Process_variable(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long)...
    0000000100287974 bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100287c7c bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100287c7c bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100287c7c bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100287c7c bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100287c7c bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100287c7c bool Dwarf2::ProcessTag(dwr_TAG_e,DwrIO*,void*,unsigned long,unsigned long,char*,char*)...
    0000000100286530 void Dwarf2::ReadElfDwarf2Of(char*,Objfile*,ElfLayout*,bool,bool,bool)...
    00000001002861c0 void Dwarf2::ReadObjfileFresh(Dwarf2*,char*,Objfile*,ElfLayout*)...
    000000010025a3d4 ???????? (10073d210, 100726790, 0, 1, 0, 100640060)...
    000000010025a1b8 void ReadLazyStabs(Objfile*,bool,bool)...
    000000010024e7c0 Symlist Scope::find_symlist_prim(const char*,ULName,bool(*)...
    000000010024eed8 void Scope::find_helper(Scope*,const char*,Find_bag*,Find_info*,bool*,bool*,int)...
    000000010024f4d4 Find_bag*Scope::find(const char*,Find_bag*,Find_info*)...
    000000010024fa94 void Scope::find_all_global_funcs(Find_bag*,const char*,Find_info*,const ActualTypeList*)...
    000000010024f9d0 Symbol*Scope::find_global_func(const char*,Find_info*,const ActualTypeList*)...
    000000010025218c Symbol*Loadobj::exe_find_main_sym()...
    00000001000c03e4 void show_main(Target*,bool)...
    0000000100231420 ???????? (10051fb10, ffffffff7fffdd30, 100569, 100569d23, 0, 100569)...
    0000000100231710 ???????? (10051fb10, ffffffff7fffdd30, 0, 2, 0, 1)...
    0000000100230a94 bool targ_ppi_init(Target*,PPIOpts*)...
    00000001000c05bc ???????? (10051fb10, 10064e2b0, ffffffff7fffdd30, 10053b9e8, 10053b000, 10053b)...
    00000001000c2fb8 void main_debug(Interp*,char*,char*,char*,unsigned)...
    000000010017ad64 ???????? (10056a, 4, 100705d80, 0, 0, 0)...
    00000001002ce1d8 ???????? (10064e2b0, 400, 1006e4ef0, 100705d70, 0, 1006211d0)...
    00000001002ccff0 int pdksh_execute(Interp*,op*,int)...
    00000001002ba194 int pdksh_shell(Interp*,Source*)...
    00000001002b9bf0 int pdksh_command(Interp*,const char*)...
    0000000100161c50 void MyServantDbx::ksh_cmd(int,unsigned,const char*)...
    00000001002fc934 bool Dispatcher::dispatch(ProtoReceiver*,MsgRcv*)...
    00000001002f8b60 void Messenger::handle_message_help(AuthStyle,MsgRcv&)...
    00000001002f8864 void Messenger::handle_message(AuthStyle)...
    00000001002ebcd0 void Servant::cb_message(int,unsigned short,void*)...
    00000001002e6f08 void CBInfo::dispatch(int,unsigned short)...
    00000001002e73bc void Notifier::invoke(int,unsigned short,CbData*)...
    00000001002e7d00 void NotifierDirect::dispatch_help(int,unsigned short,CBInfo*,bool*)...
    00000001002e8364 bool NotifierPoll::dispatch(bool*)...
    00000001002e7e8c void NotifierDirect::loop(bool*)...
    000000010015f500 ???????? (10064e2b0, ffffffff7fffed3c, 100400, 1005384ff, 10051fb10, 100538)
    00000001002c1454 ???????? (10064e2b0, 100620638, 10057e2fe, 0, 1006e6c20, 10064e2ce)
    00000001002bf528 int yylex(Interp*,int)...
    00000001002bd0b8 int yyparse(Interp*)...
    00000001002bf1a4 op*compile(Interp*,Source*)...
    00000001002b9fc0 int pdksh_shell(Interp*,Source*)...
    00000001000c41a0 void main_cmd_loop(Interp*)...
    00000001000c4f84 main (100400, 100512, 10064e2b0, 100513ba8, 202, 1)...
    00000001000b6fdc _start (0, 0, 0, 0, 0, 0)...OS: Solaris 10 8/07 s10s_u4wos_12b SPARC
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-07 2008/08/22
    So far this has only happened to me with boost::pool. Any clues?

    A dbx "internal error" indicates a problem in dbx, not with the compiler or compiled code.
    If you do not already have the latest dbx patch, 124872-07, please install it. You can get it here:
    http://developers.sun.com/sunstudio/downloads/patches/ss12_patches.jsp
    See if that fixes the problem.

  • Testing a Module Pool

    Good Morning,
    I need to test a Module Pool but i can't. I receive a system message saying that the object cannot be executed.
    Best Regards,
    Pedro Gaspar

    Although i've activated everything and created a transaction, the program returns a ABAP Dump "SUBMIT_WRONG_TYPE".
    Also when i try to execute the transaction i receive the following message:
    "Screen 0001 of program <my program> is not a selection screen".
    This is strange, i've created Module Pools in the past and can run them directly in se80...
    Also i've compared my initial (and only) screen with other initial screens in module pool programs and i can't find any diference...
    Regards,
    Pedro Gaspar

  • Thunderbird locks up all the time and I have restarted with add ons disabled. SOLVED: caused by McAfee

    locks up all the time
    I have restarted with add ons disabled and still locks up.
    want to uninstall and wipe it clean (no account info, old emails, Etc.)
    I have backed up file
    Thanks,
    Bill

    https://wiki.mozilla.org/Thunderbird:Testing:Antivirus_Related_Performance_Issues#McAfee

  • Unit Testing with Microsoft Sharepoint Emulators and Fakes with Visual Studio 2013

    Hi All,
    I have created Test Project and now creating Test cases for Sharepoint. I found a link on MSDN which suggests using Fakes framework but it supports VS2012 and I am using Visual Studio 2013.
    So how can I use it with VS2013 or is there any other way with which I can implement the Test cases with VS2013.
    Please suggest.
    Thanks in advance.
    Himanshu Nigam

    Hi HimanshuNigam,
    According to your descrition, my understanding is that you want to use Fakes framework to create test case for SharePoint project in Visual Studio 2013.
    If you want to test using Fakes Framework, you can use the codeplex extension to achieve it. It supports Visual Studio 2013.
    Here is a detailed article for your reference:
    Better Unit Testing with Microsoft Fakes
    About how to include the Nuget package, you can use the package with the link below:
    NuGet Package Manager for Visual Studio 2013
    Installing NuGet
    If you still have question about this issue, I suggest you can create a post in Visual Studio, more experts will help you and you can get more detailed information from there:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio%2Cvsarch%2Cvsdbg%2Cvstest%2Cvstfs%2Cvsdata%2Cvsappdev%2Cvisualbasic%2Cvisualcsharp%2Cvisualc
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • I am getting this error message when I open Safari.  How do I make it go away?  "Error Safari 6.0 (v8536.25) has not been tested with the plugin SplashId.bundle (null) (v6.0.4(.  As a precaution, it has not been loaded.  ?

    Error
    When I launch Safari on my MacBook Pro
    Safari 6.0 (v8536.25) has not been tested with the plugin SplashId.bundle (null) (v6.0.4(.  As a precaution, it has not been loaded.  Please contact the plugin developer for further information.
    I am getting this message when I open Safari.  How do I make it go away?
    Thanks, Ed Williams

    To Remove plug-in
    1.) Open the SplashID desktop app
    2.) Navigate from Menu bar "File" -> "Plugin for Safari" -> "Uninstall".
    I could not find it in either Library/Internet Plug-ins nor ~/Library/Internet Plug-ins as others have suggested.
    Cheers!

  • Load testing with concurrent users on HTTP Web

    Hello,
    I am trying to do load testing my PHP Web Application.
    I record (with Firefox) and developed the testing script with OpenScript,
    but I found that I could only test with "Iteration" feature.
    Is there any way to do load testing with concurrent users ( multi users login at the same time ) which defined in databank?
    Thanks for help.

    Hi
    You need to load the script into OLT (Oracle Load Testing) you can download it from here you need the first link Oracle Application Testing Suite and run the OATSxxx.exe to install OLT.
    Regards
    Alex

  • Firefox will no longer open any website, not even a Mozilla support page. Resetting, even with add-ons disabled, has not helped.

    The question explains the whole thing. No web page will open at all, except for the blank Firefox page. Typing in an address, clicking on a site in the history, opening a new tab and working from it - nothing works. I've reset it twice, restarted with add-ons disabled. All with the same result. (I just clicked on the Show Details link at the bottom of this page, and nothing happened.

    hello susnyk, please see [[Fix problems connecting to websites after updating Firefox]] &
    [[Firefox can't load websites but other browsers can]]

  • I cannot get GPS Only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX

    It seems like I cannot get GPS only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX, garmin blueChart mobile, and a GPS monitoring tool. All show no signal. If I turn on cell and wifi,  it says I get gps signal, but can't tell if that is from the GPS chip, or just from cell and wifi only (maybe with some gps mixed in)?  Any ideas on how to get iPad working with GPS only??

    Roger that.  Thanks for your time.
    System:
    Windows 7 64bit
    Processor: AMD phenom IIX4 965
    RAM:  Gskill Ripsaw F3-12800CL7D-4GBRM (2-2GB sticks)
    GPU:EVGA Classified Nvidia GeForce GTX 560 Ti 448 core
    PSU: Kingwin 1000W laser gold (LZG-1000)
    Yes. tried the one ram stick, no go.  I have been trying to boot off/install the windows 7 disk but am unable to get to the point where windows starts installing after its gathering information portion of the install.  I can get to the disk selection screen of the install with the WD HD on SATA port 2 but then get the "cant install messages" when I try to select the Vertex 3.  Yes I can see the Vertex 3 Drive as well as the WD drive at this point.  some times I have to hit "scan" a couple of times.

Maybe you are looking for

  • "weather has been running in the background"

    My iPad said "weather has been running in the background," but las I checked iPad didn't come with the "weather" app. What's the deal?

  • Parent/Child communication in CS3

    Hello - I have a movie setup that imports another external swf file. I am trying to get the two movieclips to communicate with eachother. I am able to call a function in the child movie from the parent movie, but I cannot get the child movie to call

  • I cant boot over the Net

    I tried a network boot by choosing F12 showed on the startup menu to connect to a W2K RIS server. the system seems to ignore F12 and starts from the HD. the onboard LAN adapter (Intel 100) is activated. then i tried to make a net-bootdisk with the RI

  • Addition of field on RF screen

    Hi On RF gun i need to add a field for Zero quantity confirmation (to enter remaining quantity) while doing  replenishment and cycle count,the process how it works now is for particular transaction in which the bin is empty i get the message CONFIRM

  • Exporting Photo Library to USB for customer to print

    I have just begun taking photos for customers but I am not sure how to put their photos onto a CD or USB for them to be able to print them as they please. I use a Canon 50d, upload my photos into Iphoto '08, do some editing in Photoshop CS3. Can some