Pool question

Hi good afternoon, I'm new using captivate 5 and I have a question of how to use the pool question, I have a question pool already created and used to create a test with ramdom question now my question is, how could I take the questions from this pool, selected them and put them in a new test ? can be this?  I want use a few not all them ......!... Excuse the mess with the word question, but my English is a bit bad I hopeyou understand... gracias!!!

Just open your current project that contains the question pool and it's questions, then open the new project in another tab in Captivate 5.
Then you can just copy and paste question slides from one project to the other.

Similar Messages

  • Easy JNDI + Connection Pool Question

    This is an easy question:
    Once I get the object represented by my connection pool from the
    Weblogic JNDI tree, how do I get a connection from the returned object
    of type weblogic.common.internal.ResourceAllocator?
    I keep getting ClassCastExceptions. I have tried
    ConnectionPoolDataSource, Connection, and DataSource.
    String conPool = "weblogic.jdbc.connectionPool.demoPool";
    try {
    Object obj = ctx.lookup(conPool);
    msg(DEBUG,"FROM LOOKUP" + obj.getClass().getName());
    //DataSource ds = (DataSource)ctx.lookup(conPool);
    //con = ds.getConnection();
    } catch (NameNotFoundException e) {
    // binding does not exist
    msg(ERROR,"BINDING DOES NOT EXIST",e);
    } catch (NamingException e) {
    // a failure occurred
    msg(ERROR,"NAMING FAILURE OCCURED",e);
    } catch (Exception e) {
    msg(ERROR,"SOME RANDOM ERROR",e);
    Thanks,
    -Jacob

    "Jacob Meushaw" wrote in message
    Once I get the object represented by my connection pool from the
    Weblogic JNDI tree, how do I get a connection from the returned object
    of type weblogic.common.internal.ResourceAllocator?
    I keep getting ClassCastExceptions.
    DataSource ds = (DataSource)ctx.lookup(conPool);I think, you must use narrow operation:
    Object reference = ctx.lookup(conPool);
    DataSource ds =
    (DataSource) PortableRemoteObject.narrow (ds,DataSource.class);
    I haven't got time to check it, but I hope that works.
    Wojtek

  • Connection Pooling Questions

    Hi there,
    I was previously using the jferner/node-oracle module with the "generic-pool" (https://github.com/coopernurse/node-pool) module for connection pooling. 
    I'm trying out a setup with connection pooling with node-oracledb and have a few questions:
    * If an execute call fails with a connection i've retrieved from the pool, and I want to destroy that connection and remove it from the pool, how do I do that?  Is it done implicitly for me? 
    * Is there any way to validate a connection before it's used?  Or again, is this done implicitly?  Is there a way to toggle it on and off for perf tuning?
    * Is there any way to tune how frequently Oracle checks for idle connections?  (In generic-pool this was called reapIntervalMillis)
    * Is there any way to turn on any logging of how the connection pool behaves for development debugging?  I just want to make sure my setup is behaving as I think it should be.
    I'm making some good headway on getting the module working and it wasn't too difficult a conversion from node-oracle, either, that's good!
    -Matt

    You should release() bad connections to the pool so the pool can replace them.
    Validating connections is generally not worth it: between validation & use there could be a failure, so your executions need to handle errors anyway.  Why reduce scalability and performance by doing an extra "round trip" for validation? Also you can use FAN which can proactively clean up idle sessions in the session pool that are affected by the DB instance disappearing (due to network glitches etc).
    The client-side pool is handled by Oracle session pooling, so the algorithms are opaque.

  • NAT Pool question

    I have a question on how NAT pools, or sNAT works with ACE in one-arm mode.
    As I understand it, when the client sends the request to ACE, it changes the destination IP to a rServer and source IP to the sNAT address.  When the rServer responds, it sends traffic back through the ACE via the sNat.  How exactly does this work?  I can't ping the sNAT address I configured, so how is the sNAT associated with the ACE in any way?  How does traffic make it's way back to the ACE when the sNAT doesn't seem to be advertised externally in any way.  And one more quick question, should the sNAT be on the rServer subnet or the ACE subnet?  Just trying to understand so we can make good design decisions.

    Tbone,
    When you use SNAT you generally use a nat-pool address that will bring the traffic back to the ACE interface that the traffic left on. In a typical one-armed mode the Nat-pool would be in the same subnet as the ACE interface and rservers.
    If the servers are local to the ACE you usually point the servers default gateway to the SVI or FW interface rather than the ACE. If SNAT is not used the client IP enters the ACE destined to the VIP. ACE will change the destination address to the rserver. Since the original client IP will be seen by the server it will reply to the default gateway. If the ACE does not get the server reply it cannot change the SYN ACK back to the VIP address that the client originally sent the connection to. This would result in a connection failure. When you use SNAT with a Nat-pool that is local to the server it will not use it's gateway but will reply directly back to the ACE since it owns this IP.
    If the servers are not local to the ACE you would want to configure the nat-pool IPs to be local to the interface vlan the traffic egresses to get to the rserver. This way your routing will bring the server reply back to the ACE.
    Let me know if this helps with your understanding or if you have more questions.
    Best regards
    Jim

  • Sender Pool Question

              Hi,
              I ve been working with the JMS technology for a while now.
              I want to improve the performance. When sending one message can take some "time"
              (all lookups on CFactories, creating Connections, Sessions, lookup on Queues and
              Topics ).
              So I started to read the Weblogic JMS Performance Guide (WebLogicJMSPerformanceGuide.pdf
              I saw an example about using a Sender Pool.
              I found it great about its caching mechanism, but I ve a question about the SenderPool.close(
              ) method ? Do I need to call the close method at all ? If yes, when do I need
              to call it ?
              Guess this is a question to mr T Barnes :)
              Is there any other implementations for the Sender Pool, maybe with some time lease
              feature etc ?
              Thank you, J C!
              

    Hi John,
              John Cokoulo wrote:
              > Hi,
              > I ve been working with the JMS technology for a while now.
              > I want to improve the performance. When sending one message can take some "time"
              > (all lookups on CFactories, creating Connections, Sessions, lookup on Queues and
              > Topics ).
              >
              > So I started to read the Weblogic JMS Performance Guide (WebLogicJMSPerformanceGuide.pdf
              > )
              >
              > I saw an example about using a Sender Pool.
              > I found it great about its caching mechanism, but I ve a question about the SenderPool.close(
              > ) method ? Do I need to call the close method at all ?
              In a word, yes!
              In several words:
              In order to ensure timely cleanup of scarce resources, it is
              best practice not to rely on garbage collection and not
              to rely on automatic clean up on a failure. In
              particular, relying on java finalizers is notoriously
              problematic.
              > If yes, when do I need
              > to call it ?
              On any type of failure, and when the app is done with resource.
              >
              > Guess this is a question to mr T Barnes :)
              >
              > Is there any other implementations for the Sender Pool, maybe with some time lease
              > feature etc ?
              >
              - I'm not aware of other pool implementations in BEA
              samples/examples.
              - One common alternative pooling method is to leverage the
              application pooling built into servlets and EJBs by
              simply initializing and referencing reusable resources
              right inside an EJB instance and calling the EJB to
              invoke methods on in its cached instance. (Is
              this info in the white-paper? Hmmm. I think I'll
              throw it in the next version. But I've got to
              trim that thing down! Sigh.)
              - BEA contexts, JMS connections, JMS sessions, etc.
              don't use up server resources once created except
              for some memory, so a leasing mechanism might
              not be necessary if the app in question creates
              less than a few hundred of these. But if you end
              up writing your own lease feature (presumably by using
              WebLogic timers to periodically sweep the pool), I
              encourage you to post it.
              > Thank you, J C!
              

  • BC4J Application Pool Question

    Hi,
    I have created a Application Pool using
    PoolMgr.getInstance().createPool(poolname,
    appModName,connectString,env);
    Now the question is, if the connectString is invalid, even then
    it creates a pool. Is there a way where i can check the validity
    of the connect string before we create the app pool or during
    the creation of app pool.
    Thanks
    Ramna

    I recommend that you immediately try and use an application
    module from that pool after the pool has been created. If the
    use (checkout) call fails then simply remove the pool from the
    pool manager which will also release the pooled application
    modules. If not, the application module can be released. For
    example:
    try
    // Only perform if the named pool did not already exist.
    ApplicationPool pool =
    PoolMgr.getInstance().createPool(poolName, appModName,
    connectString, env);
    ApplicationModule appModule = pool.checkout();
    pool.checkin(appModule);
    catch (Exception e)
    PoolMgr.getInstance().removePool(poolName);
    // Do other application exception handling here.
    This strategy has the advantage of not requiring an "extra" JDBC
    connection to test the connection info. The same JDBC connection
    that was used during the checkout call will be reused when the
    application reuses the application module that was checked out
    from the application pool above.
    Please note that 9i supports "session" level connection strings.
    This allows a single application pool instance to support
    multiple JDBC connection strings. With this support the strategy
    above changes slightly; instead of having to test/remove the pool
    if the connection fails upon the first checkout the connect
    string can be dynamically validated when it is provided by the
    application. Please see the javadoc for the class,
    oracle.jbo.common.ampool.EnvInfoProvider for more information
    about dynamically providing/validating JDBC connection
    information.
    Thanks,
    JR

  • Failure actions ignored on imported question pool questions

    If I import a question pool, the settings for a failed answer still reflect those of the original pool except that the Back button is enabled.  When I preview the project after inserting random questions from this pool,  the number of attempts allowed on the questions is always 1, regardless of how many attempts I allow, even if set to Infinite.
    On the other hand, if I create the questions within the project, either in a pool or just a question slide, they function as they should.
    Has anyone else encountered this?

    Actually, it doesn't work, but thanks for the suggestion.  Adobe Support has been able to confirm that importing pools in Captivate 4 causes this behavior; something that worked in version 3 but not in 4.  The ONLY way we have found around this so far is to create the question pool within the project it is intended for, which unfortunately means a lot of work for us 6 days before launch.  If I receive word of a workaround from Adobe, I'll post the info here.
    One other note regarding importing of questions in Captivate 4, if you had disabled the Back button in the pool, it will be re-enabled after your import.

  • Management API : memory pools question

    Hie,
    I have big issues when trying to find out the actual cycle of life of an object in memory pools. Does anybody have documentation about it ?
    What I kinda understood is :
    1. instantiation of a class : the object goes directly in the Eden Space mem pool
    2. a first run of gc processes this object (this first run of gc() is quite immediate after instanciation) :
    * object is still visible : gc() puts it in the Tenured Gen pool (? or in survivor space???)
    * object is not : there it's quite obscure, gc() randomly collects it...
    What I want to measure is the actual peak of memory heap (that is objects that are still visible and non-collectable).
    So far, i uses getPeakUsage() of the tenured gen pool, which seems to be quite correct...
    so here are my questions :
    * how often do gc() run on each memory pool ?
    * how do gc decide whether an object goes in 'survivor space' or in 'tenured gen'
    Thanks !

    1) There are two types of collecion:
    minor (newgen only)
    major (full)
    minor collection are rather frequently and fast, major are time consuming and rare. GC tries to adaptively set size of newgen to optimize overhead.
    use -XX:+PrintGCDetails switch
    2) This mostly based on object age (how much minor collection it has before, after number of collection passed object considered long-living and been promoted to tured gen) and size (big object can be allocated in tenured).

  • Connection Pool Questions

    I have a JSP/Servlet application I am developing. I would like to create one OraclePooledConnection for the application. I then have a set of repository classes(CommonRepository, EmployeeRepository, etc) that access the database and create JavaBeans for the JSP's to use. I would like each of these repository classes to access the single OraclePooledConnection.
    Currently I have a DataSourceWrapper class that extends the OraclePooledConnection class. This DataSourceWrapper class is a singleton class, so I am assured of only one class and in the Init() function I call super(url, user, pwd). (Source is below.) It seems to work, but I am not positive in is creating a Connection Pool. How could I test this? If it is not how would I do this?
    TIA,
    Gerald
    public class DataSourceWrapper extends OraclePooledConnection
    * field containing the driver used to connect to the database
    private static String driver = null;
    * field containing the url address of the database
    private static String url = null;
    * field containing the user name used to connect to the database
    private static String user = null;
    * field containing the password used to connect to the database
    private static String pw = null;
    * handle to the current Repository instance
    private static DataSourceWrapper instance;
    * handle used to get a database connection
    private PooledConnection ds = null;
    * Private Class Constructor.
    * <P>
    * Only one instance of this class is ever wanted, which means this class is a
    * singleton class. To accomplish this, the Class Constructor scope is private
    * to this class only. A static function <code>getInstance()</code> is used to
    * create the initial instance of this class and passes the handle all other
    * classes that need to access it.
    public DataSourceWrapper() throws SQLException{
    //Initialize the DataSource
    super(url,user,pw);
    * Returns a handle to this singleton Repository object.
    * <P>
    * If first time the method has been called it creates a Repository object by
    * calling the Class Constructor. If this is not the first call to the method
    * it returns the stored reference to this object
    * @return static reference to this singleton Repository
    * @throws RepositoryException thrown if error occurs during initialization
    protected static DataSourceWrapper getInstance() throws SQLException {
    if (instance == null)
    instance = new DataSourceWrapper();
    return instance;
    public void finalize() {
    try {
    ds.close();
    } catch (Exception e) {} //Application is closing who cares
    * Sets the the database connection information
    * @param newDriver driver used to connect to database
    * @param newUrl url address used to connect to database
    * @param newUser user id used to connect to database
    * @param newPassword password used to connect to database
    public static void setConnectInfo(
    String newDriver,
    String newUrl,
    String newUser,
    String newPassword) {
    driver = newDriver;
    url = newUrl;
    user = newUser;
    pw = newPassword;
    }

    I have a JSP/Servlet application I am developing. I would like to create one OraclePooledConnection for the application. I then have a set of repository classes(CommonRepository, EmployeeRepository, etc) that access the database and create JavaBeans for the JSP's to use. I would like each of these repository classes to access the single OraclePooledConnection.
    Currently I have a DataSourceWrapper class that extends the OraclePooledConnection class. This DataSourceWrapper class is a singleton class, so I am assured of only one class and in the Init() function I call super(url, user, pwd). (Source is below.) It seems to work, but I am not positive in is creating a Connection Pool. How could I test this? If it is not how would I do this?
    TIA,
    Gerald
    public class DataSourceWrapper extends OraclePooledConnection
    * field containing the driver used to connect to the database
    private static String driver = null;
    * field containing the url address of the database
    private static String url = null;
    * field containing the user name used to connect to the database
    private static String user = null;
    * field containing the password used to connect to the database
    private static String pw = null;
    * handle to the current Repository instance
    private static DataSourceWrapper instance;
    * handle used to get a database connection
    private PooledConnection ds = null;
    * Private Class Constructor.
    * <P>
    * Only one instance of this class is ever wanted, which means this class is a
    * singleton class. To accomplish this, the Class Constructor scope is private
    * to this class only. A static function <code>getInstance()</code> is used to
    * create the initial instance of this class and passes the handle all other
    * classes that need to access it.
    public DataSourceWrapper() throws SQLException{
    //Initialize the DataSource
    super(url,user,pw);
    * Returns a handle to this singleton Repository object.
    * <P>
    * If first time the method has been called it creates a Repository object by
    * calling the Class Constructor. If this is not the first call to the method
    * it returns the stored reference to this object
    * @return static reference to this singleton Repository
    * @throws RepositoryException thrown if error occurs during initialization
    protected static DataSourceWrapper getInstance() throws SQLException {
    if (instance == null)
    instance = new DataSourceWrapper();
    return instance;
    public void finalize() {
    try {
    ds.close();
    } catch (Exception e) {} //Application is closing who cares
    * Sets the the database connection information
    * @param newDriver driver used to connect to database
    * @param newUrl url address used to connect to database
    * @param newUser user id used to connect to database
    * @param newPassword password used to connect to database
    public static void setConnectInfo(
    String newDriver,
    String newUrl,
    String newUser,
    String newPassword) {
    driver = newDriver;
    url = newUrl;
    user = newUser;
    pw = newPassword;
    }

  • Web service connection pooling question

    I have a web service running on a Win2003 machine. I am accessing it using a
    client implemented in an EJB. The server is running Weblogic 8.1 SP2. It
    works, but there are three things I would like to implement
    1) Connection timeouts. i.e. If the web service client attempts to connect
    and does not get any response back, such as when you try to access a machine
    at an address that does not exist. Note: I am already using
    setProperty("weblogic.webservice.rpc.timeoutsecs", "2") and
    bindingInfo.setTimeout(2) to set a read timeout (and this works).
    2) Connection pooling. The web service endpoint is reached using SSL, and
    establishing an SSL connection is expensive in terms of CPU and network
    latency. Can I pool a certain number of connections, and then use them when
    I access the web service? This would be faster than creating a new
    connection each time. Currently, I have one line of code that invokes the
    method on my web service and stores the result in an object. Any ideas?
    3) Connection limiting. I want to limit the maximum number of simultaneous
    invocations of my web service by this particular WebLogic instance. Does
    WebLogic allow me to do this?
    Thanks in advance.

    I have used connection pooling in tomcat using a servlets init method to set up the pool, but I am not sure how I could incorporate something similar with my web service. Maybe I'm just confused as to if a webservice is created when it connected to or does it live at the endpoint untill the container shuts down??!!

  • Buffer Pool Question regarding db_nk_cache_size parameter

    If I set db_nk_cache_size parameter to db_16k_cache_size=50M then I create a tablespace using blocksize=16k, will all block objects in the tablespace be automatically pooled in my 16k cache?
    Matt

    Hi..
    The values of db_keep_cache_size and db_recycle_cache_size are by default 0.You can create the RECYCLE and KEEP pools by specifying the following init.ora parameters:
    DB_KEEP_CACHE_SIZE = <size of KEEP pool>
    DB_RECYCLE_CACHE_SIZE = < size of RECYCLE pool>
    When you use the above parameters, the total memory allocated to the block buffers is the sum of DB_KEEP_CACHE_SIZE, DB_RECYCLE_CACHE_SIZE, and DB_CACHE_SIZE.
    Regards,
    Anand

  • Keep Pool question

    If I specify db_keep_pool_size as 200 M and I am presently keeping 150 M of tables and indexes in keep pool. What happens when the size of these segments goes beyond 200 M? Does the query throw an error?
    Thank You

    No.
    You simply start ageing out to disk blocks which, by definition, you had hoped to be keeping in memory. Therefore, your performance will suffer, because subsequent reads will be from disk, not memory.
    As a side-effect, the hit ratio on the keep pool will fall. So a keep pool hit ratio that is not very close to 100%, is a pretty sure-fire indication that the keep pool is smaller than the tables you've asked to store in it.

  • Thread pool Question

    Hi,
    Can any one please guide me How do I create a thread pool?
    Regards,
    Rajesh Kannan. N

    1) Dig large hole
    2) Fill with water.
    3) Invite thread friends over on hot summer days

  • Module - pool Question..?

    Hi,
    The select-option functionality is not working in the Module pool...
    SELECTION-SCREEN BEGIN OF SCREEN 1030 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-003.
    SELECT-OPTIONS: o_ledger FOR zsfiglscr_chead-nrldnr .
    SELECTION-SCREEN END OF BLOCK b4.
    SELECTION-SCREEN END OF SCREEN 1030
    Then we are calling that selection screen in sub-screen  area. For that the developers have written following code in the PBO of module pool screen.
    CALL SUBSCREEN sub1 INCLUDING 'SAPMZFIGL_ALLOCATION'  v_dynnr.
    Now the select options functionality is not working...i chked the field zsfiglscr_chead-nrldnr and it has a search help attached to the data element...what can be the reason...please provide some inputs...
    Cheers:Sam

    I've tried various combinations and they all work in an ECC system... can you try the report below out in your system and check which of the 3 options used work and don't work for that F4 help (you'll need to create a screen 9999 as described in the sample code:
    report zlocal_jc_sdn_query1.
    tables:
      bpvc,  "a structure with rldnr in it
      t881.  "Ledger Master
    data:
      g_char2(2)            type c,
      g_dynnr               like sy-dynnr.
    *=======================================================================
    * subscreen demo 1
    selection-screen begin of screen 1030 as subscreen.
    selection-screen begin of block b4 with frame title text-003.
    select-options:
      s_rldnr               for bpvc-rldnr,
      s_rldnr2              for t881-rldnr,
      s_rldnr3              for g_char2    matchcode object h_t881.
    selection-screen end of block b4.
    selection-screen end of screen 1030.
    * subscreen demo 2
    selection-screen begin of screen 1040 as subscreen.
    selection-screen begin of block b2 with frame title text-003.
    parameters:
      p_1                   type c length 10.
    selection-screen end of block b2.
    selection-screen end of screen 1040.
    * Main screen
    selection-screen:
      begin of tabbed block mytab for 10 lines,
        tab (20)    button1 user-command push1 default screen 1030,
        tab (20)    button2 user-command push2 default screen 1040,
      end of block mytab.
    *=======================================================================
    start-of-selection.
      clear: g_dynnr.
      call screen '9999'. "screen with a bit of text + sub1 subscreen
    **which has just:
    ** process before output.
    **   module pbo_9999.
    **   call subscreen sub1 including sy-repid g_dynnr.
    ** process after input.
    **   module pai_9999.
    *  MODULE pbo_9999 OUTPUT
    module pbo_9999 output.
      if g_dynnr is initial.
        g_dynnr = '1030'.
      else.
        g_dynnr = '1040'.
      endif.
    endmodule.                    "pbo_9999 OUTPUT
    *  MODULE pai_9999 INPUT
    module pai_9999 input.
      if sy-ucomm = 'ZEXIT'. "Exit button on screen
        leave program.
      endif.
    endmodule.                    "pai_9999 INPUT

  • KEEP and RECYCLE buffer pools question...

    About the DB buffer cache's two optional buffer pools: KEEP and RECYCLE pools.
    If i want a table to be kept in KEEP buffer pool, can i specify that in CREATE TABLE or ALTER TABLE syntax? Or is it possible only at tablespace level?

    HI,
    You can keep tables at keep pool by specifying storage (buffer_pool keep) parameter.

Maybe you are looking for