LMS 3.2 Campuss Data Collection Does Not Start

          I Discovered devices correctly in CS>DCR . Initially there was no problem in running data collection in Campuss Manager. But now when i try to run data collection manually or by a scedule, it does not start. Although the notification appears that "notified server to run data collection" but nothing happens then.
Also, I applied " net stop crmdmgtd" and then "net start crmdmgtd" and no error was reported. After this, data collection was successfully run, but just for once. That means, every time if i have to run data collection manually or by a schedule, i have to stop and start crmdmgtd ???
Please advise what to do.
Pleae note:
LMS 3.2 is installed on Windows Server 2003 service pack 2.

It looks like you are on Campus Manager 5.2.  This should be fixed in 5.2.1.  Proceed to upgrade to this version and then see if Data Collection runs fine.  If you still have any problems, post the latest ani.log.

Similar Messages

  • Oracle Data Integrator does not start

    Hi,
    I just installed ODI 11g (11.1.1.7.0), and successfully created repositories with rcu.
    But I have problems startgin the application itself. The environment may be the issue :
    OS - Debian Wheezy 64bits
    java - version "1.6.0_27"
    OpenJDK Runtime Environment (IcedTea6 1.12.4) (6b27-1.12.4-1)
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
    JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 -> points to jdk folder adding '/bin' to the path, which contains the java executable
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 -> oracle database home
    ODI installed in /opt/ODI, and altered with CHMOD -R 775 /opt/ODI ('oracle' user, used for installation, is the owner)
    (May not be secure, but is for evaluation only.)
    I try to run ODI :
    fre@demo$cd /opt/ODI/oracledi/client
    fre@demo$./odi.sh
    Result :
    Oracle Data Integrator 11g
    Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
    ./odi: 281: ../../ide/bin/ide.conf: APP_VM_OPTS[0]=-Xmx640M: not found
    ./odi: 281: ../../ide/bin/ide.conf: APP_VM_OPTS[0]=-Xms128M: not found
    ./odi: 281: ../../ide/bin/ide.conf: APP_VM_OPTS[0]=-Xverify:none: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-XX:MaxPermSize=256M: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Doracle.core.ojdl.logging.config.file=ODI-logging-config.xml: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Dnative.canonicalization=false: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Doracle.security.jps.config=./jps-config.xml: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Doracle.odi.studio.ess=false: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Dide.AssertCheckingDisabled=true: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Dide.AssertTracingDisabled=true: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-DLOG_FILE=studio.log: not found
    ./odi: 281: /opt/ODI/oracledi/client/odi/bin/odi.conf: APP_VM_OPTS[0]=-Dsun.java2d.noddraw=true: not found
    ./odi: 281: ./odi: APP_VM_OPTS[0]=-Dide.conf="/opt/ODI/oracledi/client/odi/bin/odi.conf": not found
    ./odi: 281: ./odi: APP_VM_OPTS[0]=-Dide.startingcwd="/opt/ODI/oracledi/client/odi/bin": not found
    ./odi: 810: ./odi: Bad substitution
    I will appreciate any idea to help me solving this out !
    Thanks a lot,
    Fred
    Edited by: Fred1018 on 26-May-2013 09:17

    Hi,
    My odi.conf looks the same as yours :
    IncludeConfFile ../../ide/bin/ide.conf
    AddVMOption -XX:MaxPermSize=256M
    AddVMOption -Doracle.core.ojdl.logging.config.file=ODI-logging-config.xml
    AddVMOption -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
    AddVMOption -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration
    AddJavaLibFile ../../../../oracledi.sdk/lib/ojdl.jar
    AddJavaLibFile ../../../../oracledi.sdk/lib/dms.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/log4j-1.2.8.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odi_hfm.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odihapp_common.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/ess_es_server.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/ess_japi.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odihapp_essbase.jar
    AddJavaLibFile ../../jdev/extensions/oracle.odi.navigator/lib/odihapp_planning.jar
    AddVMOption -Dnative.canonicalization=false
    AddVMOption -Doracle.security.jps.config=./jps-config.xml
    AddVMOption -Doracle.odi.studio.ess=false
    AddVMOption -Dide.AssertCheckingDisabled=true
    AddVMOption -Dide.AssertTracingDisabled=true
    AddVMOption -DLOG_FILE=studio.log
    AddVMOption -Dsun.java2d.noddraw=true
    SetJavaHome /usr/lib/jvm/java-6-openjdk-amd64
    About access rights : if I use "oracle" user, which is the owner of the ODI folder and its content, the result is the same. I can't figure out why it is not finding a thing ?
    Do you have more suggestions I could try ?
    Thanks a lot !
    Best regards,
    Fred

  • LMS 3.2 CM, data collection stays running forever

    Hi There
    I have a customer who has LMS 3.2 Solaris. His CM, data collection, is in a running state for more than two days.
    I am almost sure this is a bug, do you have any advice for me please.

    see this thread:
    https://supportforums.cisco.com/message/1322774#1322774
    perhaps you are hitting BugId CSCtd49439
    CSCtd49439            Bug Details
    Data Collection never completes, and UT acquisition  cannot run
    Symptom:
    Campus Manager Data Collection does  not stop.  It is reported as always
    running in
    Topology  Services.  Additionally, User Tracking acquisition does not run due
    to  XML files
    being written.
    Conditions:
    This will occur if there are any standalone Access Points being  managed by
    Campus
    Manager.  Other devices can also cause this  (e.g. old 1200 series switches).
    Workaround:
    Filter out standalone Access Points and other affected devices from  Campus
    Data Collection
    under Campus Manager > Administration  > Data Collection > Exclude Devices.
    A patch is available  by contacting TAC.

  • Flex Data Services does not see remote methods in extended ColdFusion component.

    I have created a remote service base component as a AModelService.cfc file. I extend that file to make my ModelService.cfc. When I configure the ColdFusion data service and point to ModelService.cfc and click next, I don't see any remote methods (there are none explicitly defined in the component) in the Service Operations window.
    If I go back and point to AModelServide.cfc, the parent component, and hit next, I see all the remote methods that are defined in the parent component. So, either I am doing something wrong, or Data Services does not look at methods up the cfc prototype chain, which from an OOP standpoint means that instead of say creating one restful base class and being nice and DRY you can't. I.e. not OOP for data services. Is this a bug, or what?
    Anybody get data services to work with extended service components?
    Mark

    Thanks for the reply. Yes, I did compile all the Java and it
    works OK with a simple Java program. It just will not work in a
    Flex application.
    The java classes are:
    RRA:
    package blah.myPackage;
    import java.util.List;
    import java.util.Collection;
    import flex.data.DataSyncException;
    import flex.data.assemblers.AbstractAssembler;
    class RRA extends AbstractAssembler
    public Collection fill( List fillParameters )
    RRS service = new RRS();
    return service.getSome();
    RRS:
    package blah.myPackage;
    import java.util.ArrayList;
    import java.util.List;
    import java.sql.*;
    import flex.EORS.*;
    class RRS
    public List getSome()
    ArrayList list = new ArrayList();
    String str = "bob";
    RR rr = new RR(str);
    list.add(rr);
    return list;
    RR:
    package blah.myPackage;
    class RR
    private String name;
    public RR() { }
    public RR(String name)
    this.name = name;
    public String getName()
    return this.name;
    public void setName(String name)
    this.name = name;
    I started with something that retrieved data from a database
    but watered it down just to try and get some kind of communication
    between Flex and Java.

  • LMS 4.2 Topology Data Collection Issue

    Hi there,
    i have an issue with the lms 4.2 Topology Data Collection. After installation the Topology Data Collection was running normaly, but since first server reload the Topo Data Collect under Inventory > Dashboards > Device Status > Collection Summary is "frozen". It only shows the following content from first run:
    Topology Data Collection    193    0    Not Available     Running    Schedule
    Is there any option to stop this process elsewhere? I cannot find anything under jobs in running state or so. Clicking on Schedule only give me the option to start data collection, but lms always returns that the process is running.
    Thanks for help.

    Hi,
    i have reseted the ANI db using NMSROOT\bin\perl.exe NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
    Everything is set to 0:
    Topology Data Collection      0 0 Not Available                          Running Schedule
    UT Major Acquisition            0 (0 End hosts 0 IP Phones) 0      Not Available Idle Schedule
    VRF Collection                    0 0                                              Not Available Idle Schedule
    But Topology Data Collection is still frozen to "Running" state....

  • Visual Composer 7.0: system (data source) does not appear

    Hi...
    There is a problem: system (data source) does not appear in Visual Composer 7.0
    1. There is a connector MDM. It is made by PCD. It has been tested. The test is ok.
    2. However, as the data source in Visual Composer a connector MDM does not appear.
    3. This problem affects all types of connectors, but the Web Service Connector. Connector Web Service is always there.
    What the .....?
    P.S. The role of the creator of the connector is the same user of Visual Composer
    Thanks...

    Hi...
    There is a problem: system (data source) does not appear in Visual Composer 7.0
    1. There is a connector MDM. It is made by PCD. It has been tested. The test is ok.
    2. However, as the data source in Visual Composer a connector MDM does not appear.
    3. This problem affects all types of connectors, but the Web Service Connector. Connector Web Service is always there.
    What the .....?
    P.S. The role of the creator of the connector is the same user of Visual Composer
    Thanks...

  • Getting error when view - Requested data type does not match with existing

    I have the siebel web service
    In the BI publisher as mentioned in the 'Siebel_BI_Publisher_Integration_Concepts.pdf', I have imported the siebel web service
    BI can recognize the 'Web service' and methods.
    I have created the paramters. The data type is 'String'
    When I try to view the report using the BI publisher, I am getting teh following error in th UI
    "Requested data type does not match with existing data type"
    This is the first time I am using BI publisher to call the Siebel web service. I don't know what this error means
    I don't know whether any log file generated wit the details of this erro message
    Any help is much appriciated
    Thanks,
    Kavitha

    Hi all,
    have you find a fix for this issue? Im facing the same situation, using Complex type, and String data type both in the service and Bi publisher. We are consuming CC&B services, and we have noticed this error appears when BIPublisher is running on WebLogic (10.3) but it does not appear when BIPublisher is running on OC4J , of course running the same report on both application servers.
    Any idea?
    Thanks a lot, regards
    Nestor

  • MDT 0xc0000098 The windows boot configuration data file does not contain a valid OS entry

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help
    For a branch solution I would use DFS(R) rather than linked deploymentshares.
    If there is infrastructure at the remote sites you could use the MDT environment at your main site, and  then at each other site use an existing server or build a new server (VM is available). Create a Deploymentshare on each sever
    and copy the contents of the MDT environment from the first site into this share.  Next you will have to add the WDS service to each site's server. For WDS add the boot image. Of course as Keith noted ensure that you
    have the same versions of MDT and the WAIK/ADK on all systems
    You can use DFS to replicate to all of the other sites, but you will still have to create a deploymentshare, and install WDS at each site. So each site talks to its own WDS server you can use the DefaultGateway parameter instead -
    [Settings]
    Priority=Default, DefaultGateway
    [Default]
    SkipBDDWelcome=YES
    [DefaultGateway]
    192.168.10.1=Bergen
    192.168.20.1=Oslo
    [Bergen]
    DeployRoot=\\MDT-Bergen\DeploymentShare$
    [Oslo]
    DeployRoot=\\MDT-Oslo\DeploymentShare$
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service

    Here is the settings:
    SharePoint 2010 with SQL server 2008 reporting services configured
    When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
    The data parameter is set as "date and time" type and field name equals the col name in the SP list
    When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
    Is any step missing?
    Thanks for any advice !

    Hi ,
    How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
    Have you tested if other type parameter worked?
    Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
    http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Data Miner does not connect to DB anymore

    Hello,
    I cannot connect to the database with Data Miner since yesterday. It worked well until I tried to deploy a patch. Database was shut down and all services stopped. This patch did not work anyway and so I aborted this process, but I think no files were updated. The error always was that some files are still in use.
    After a reboot of the machine everything is working without the Data Miner. When I try to connect, no error message is displayed but the connection dialog is displayed again and the application does not start. I use db version 11.1.0.6 EE.
    What could be the reason for this? How can I check if the Data Mining option is still available?
    Greetings
    Joerg

    Hello Mark,
    thank you for this post. I didn't know that this application shows more information.
    The error was quite simple. Somehow the quota for the tablespace was not enough. After setting a new quota the connection works.
    Thanks.
    Greetings,
    Joerg
    Edited by: Scantid on 14.08.2009 07:35

  • Data source does not exist

    Dear all,
    am extracting the data from Vistex datasource,IRM/LIS_RM_IPCRASP               IP CR Agreement Conditions
    after activating in RSA5 i can able to see in RSA6
    but while activating the data source after the extract structure has successfully generated,
    the system showing data source does not exist
    plz help me

    hi,
    when i click the maintain button save button will appear,
    but in my case this save button not highlighting...
    when i check in ST22 the system proposed error mesage is table illegal statement,
    i found this error in many forums but its not related to datasource actvation,
    plz anyone giv me solution as soon as possible...
    regards
    Edited by: gadhatharan thirunavukkarasu on Oct 15, 2011 7:57 AM

  • Import Data Option Does not appear in navigation

    I need to test the import capabilities as a Developer, but I do not see the options that are referenced in the help.
    I installed NAV Dynamics 2013 R2 Developer Version on a development computer with "SQL Server 2014 - Developer" installed. I copied a demo company. The option "Import from Data File" does not appear under Departments/ Administration/
    IT Administration/ General. Many other options are also missing.
    I reviewed the security setting for the Domain User and enabled the db_owner and db_AccessAdmin for the user. It was installed with the same administrative user account and the user has SysAdmin rights.
    I assume that this is some sort of security/authentication issue, but I also saw references that certain things are disabled in the demo. I can perform most basic functions, but many administrative functions are not visible.
    How can I enable \the import capabilities?

    Hi Jim,
    this is a Dynamics CRM forum, for Dynamics NAV you can post your questions here:
    https://community.dynamics.com/nav/f/34.aspx
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

  • Service reads data but Bpel process does not start

    i have a very simple project. I have db2(as400) adapter and it reads data, i will receive data, transfom and send to oracle database. I deployed the project successfuly but when instance start i see the service reads the data but bpel process does not start and and there is no error. At the flow chart there is only readAS400 partnerlink, there is no bpelprocess. In the partnerlink i am usin polling, i read the data's with 1 and update to 2. It reads but dont update to 2.
    In deploy step and when instance starts there is no errors. But when i am deploying i get a warning but i dont know it's related with this situation.
    (Warning: property "activationAgent.readAs400.className" may not be understood by BPEL component BPELProcessEqpType - it will likely be ignored.)
    Do you have any suggestion ? Thanks in advance.

    check the recovery console, the bpel process possibly is going into manual recovery,
    Another thing you might wanna try is using checkpoints in your process..
    also, instead of getting the db adapter to instantiate the process, try a simpler process just to see if the db adapter is working or not..
    A normal process, which you manually instantiate from em console, with the db adapter in it after the recevie activity
    Edited by: AshishSharma on Jun 24, 2010 5:48 PM

  • Use member on data form does not work

    Hello,
    "Use member on data" option does not work on composite Data Form. Business rule associated with composite form.
    Who is resolve this problem?
    Version hyperion: 11.1.2
    Thanks

    I don't have a solution for you but more steps to solve the problem
    You are ultimately on the right track in some ways but break it down into it's components.
    The problem could like in the business rule, the form connection, the variables, even the order of operations could all be in play.
    So I would strip this baby down to its bare bones then build it back up.
    1) Run the business rule. Each one separately and only after the previous ones is complete without variables and without touching the form
    Is it successful: go to 2
    If it isn't successful: trouble shoot the calc and or try running in EAS natively to see if that gives you ideas
    2) Run the calc outside the form but with variables included. Did it prompt you correctly.
    Is it successful: go to 3
    If it isn't. What is wrong with the variable
    3) Now attach it to the form but don't hide the prompts
    Still good go to 4
    4) hide the prompts and run on save
    And if it fails on step four then it's not picking up the right variables in the prompt. And you need to look at why it wouldn't grab the right item.
    This will isolate your problem for you and give you steps to fix it. Ultimately 99% of the time something did change in the structure for example that is impacting the calc. And when you isolate the problem this will reveal itself quite quickly.

  • Collection does not exist after update of session state

    Attempting to leverage sample application code from Knowledge Testing 1.0 using apex v3.00 and getting ORA-20102: Application collection QUESTIONS does not exist
    Note that the error is thrown in a cursor loop over that very collection (see bolded text below)
    Can anyone shed some light on the subject?
    Thx,
    Derek
    SFFD
    procedure get_question
    is
      c             pls_integer := 0;I NUMBER;
      l_question    pls_integer := 0;
    --DEBUG
      log_root number;
    --/DEBUG
    begin
    --DEBUG
        begin
          select max(log_id) into log_root from fdrpts.log_entries where routine='QUIZ';
           exception when no_data_found then
               log_root:= fdrpts.log.add('INFO','QUIZ','Testing quiz functions');
           end;
        IF LOG_ROOT IS NULL THEN log_root:= fdrpts.log.add('INFO','QUIZ','Testing quiz functions'); END IF;
    --/DEBUG
        l_question := nvl(nv('KT_QUESTION'),1);
    --DEBUG
        log_root := fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question('||to_char(l_question)||')',LOG_ROOT);
    SELECT COUNT(*) INTO i FROM APEX_COLLECTIONS WHERE COLLECTION_NAME='QUESTIONS';
    *fdrpts.log.add('INFO','QUIZ.GET_QUESTION',TO_CHAR(i)||' QUESTIONS IN TEST QUEUE',LOG_ROOT);*
    --/DEBUG
        if l_question > nvl(nv('KT_QUESTION_COUNT'),1) THEN -- wrap to beginning of test, page logic will handle quit.
    --DEBUG
           fdrpts.log.add('INFO','QUIZ.GET_QUESTION','KT_QUESTION ('||L_QUESTION||') > KT_QUESTION_COUNT ('||nvl(nv('KT_QUESTION_COUNT'),1)||') WRAPPING AND SETTING STATUS TO ''REVIEW''',LOG_ROOT);
    --/DEBUG
           wwv_flow.update_cache_with_write('KT_TEST_STATUS','REVIEW');
           wwv_flow.update_cache_with_write('KT_QUESTION',1);
           l_question:=1;
        end if;
        *for c1 in (*
        SELECT
          SEQ_ID,
          c001 q_number,
          c004 qtype,
          c005 question,
          c006 image,
          c007 question_footer,
          c008 question_header,
          c009 answer,
          trim(c010) WRONG1,
          trim(c011) WRONG2,
          trim(c012) wrong3,
          trim(c013) wrong4,
          c014 correct_answer,
          c015 w1,
          c016 w2,
          c017 w3,
          c018 w4,
          c020 answer_given,
          c021 get_time,
          c022 post_time
        *FROM APEX_collections*
        *WHERE collection_name = 'QUESTIONS'*
        order by c002
        *) loop* -- NOTE: the order by c002
            c := c + 1;
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question SCANNING '||TO_CHAR(C),LOG_ROOT);
    --/DEBUG
            if c = l_question then -- this is the nth question in test's ordering method
                wwv_flow.update_cache_with_write('KT_QUESTION_TEXT',htf.escape_sc(c1.question));
                wwv_flow.update_cache_with_write('KT_QUESTION_FOOTER',htf.escape_sc(c1.question_footer));
                wwv_flow.update_cache_with_write('KT_QUESTION_HEADER',htf.escape_sc(c1.question_header));
                wwv_flow.update_cache_with_write('KT_QTYPE',nvl(c1.qtype,'PICTURE'));
                wwv_flow.update_cache_with_write('KT_SELECTION',c1.answer_given);
                wwv_flow.update_cache_with_write('KT_IMAGE','<img src="'||
                    replace(replace(replace(c1.image,
                       '#WORKSPACE_IMAGES'||'#',
                       v('WORKSPACE_IMAGES')),
                       '#APP_IMAGES'||'#',
                       v('APP_IMAGES')),
                       '#IMAGE_PREFIX'||'#',
                       v('IMAGE_PREFIX'))||
                    '" alt="picture" />');
                wwv_flow.update_cache_with_write('KT_COLLECTION_SEQ_ID',c1.SEQ_ID);
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question SESSION VARS SET',LOG_ROOT);
    --/DEBUG
                if c1.correct_answer = 1 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','1');
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                elsif c1.correct_answer = 2 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','2');
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                elsif c1.correct_answer = 3 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','3');
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                elsif c1.correct_answer = 4 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','4');
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                else
                   wwv_flow.update_cache_with_write('KT_CORRECT','5');
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong4);
                end if;
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question LABELS SET',LOG_ROOT);
    *fdrpts.log.add('INFO','QUIZ.GET_QUESTION','GET_TIME='||to_char(sysdate-nvl((to_date(c1.post_time,'YYYYMMDDHH24MISS')-to_date(c1.get_time,'YYYYMMDDHH24MISS')),0),'YYYYMMDDHH24MISS'),LOG_ROOT);*
    --/DEBUG
                -- set question generation time  *THIS IS THE OFFENDING STATEMENT*
                APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(
                  p_collection_name       => 'QUESTIONS',
                  p_seq                   => c1.seq_id,
                  p_attr_number           => 21,  --GET_TIME
                  p_attr_value            => to_char(sysdate-nvl((to_date(c1.post_time,'YYYYMMDDHH24MISS')-to_date(c1.get_time,'YYYYMMDDHH24MISS')),0),'YYYYMMDDHH24MISS'));
    *fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question READY TO EXIT',LOG_ROOT);*
                exit;
            end if;
        *end loop;*
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question EXIT',LOG_ROOT);
    --/DEBUG
    end get_question;LOGS
        *LOG_ID          DTTM                       ROUTINE                                     TEXT*
       7014853 04/23/09 11:40:57 QUIZ                                 TEST 14
       7014854 04/23/09 11:41:22 QUIZ.INIT_TEST                 quiz.init_test(2,918615994152352,'DEREK')
       7014855 04/23/09 11:41:22 QUIZ.INIT_TEST                 4/5 QUESTIONS RANDOMIZED
       7014856 04/23/09 11:41:22 QUIZ.INIT_TEST                 RANDOM QUEUE CREATED 5 ENTRIES
       7014857 04/23/09 11:41:22 QUIZ.INIT_TEST                 GROUP 2
       7014858 04/23/09 11:41:22 QUIZ.INIT_TEST                 4 QUESTIONS IN TEST QUEUE
       7014859 04/23/09 11:41:22 QUIZ.INIT_TEST                 SESSION VARS SET
       7014860 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question(1)
       7014861 04/23/09 11:41:23 QUIZ.GET_QUESTION              4 QUESTIONS IN TEST QUEUE
       7014862 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question SCANNING 1
       7014863 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question SESSION VARS SET
       7014864 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question LABELS SET
       *7014865 04/23/09 11:41:23 QUIZ.GET_QUESTION              GET_TIME=20090423114123*
    13 rows selected.Edited by: derek on Apr 23, 2009 1:43 PM
    Edited by: derek on Apr 23, 2009 2:06 PM

    Hi Tyson,
    If you look closely you will see that the routine already has access to the collection (which is, in fact, instantiated in a different procedure).
    The routine has a debug statement to count and log the number of collection members; that statement reports 4 members in the collection.
    Then the routine opens a cursor loop over that collection, calcs and sets some session variables and attempts to update the collection.
    It is at this point (in the midst of the cursor loop over the same collection) that the collection does not exists is thrown.
    Does it not follow that if the cursor loop has entered its first iteration, then the collection exists? How then does it cease to exist during the cursor loop (absent a call to one of apex_collection.delete_ methods)?
    Derek
    SFFD

Maybe you are looking for

  • How do you transfer specific music from your computer to your ipod touch?

    Ive read threads of how to do this and so far none have helped...Im trying to add specific songs that are on my computer to my ipod touch (4th gen).  I do not want the songs on my ipod transfered to my computer.  When I go to the ipod device in the m

  • Parental Controls app settings keep changing on their own

    I manage a lab and have setup Parental Controls to allow certain apps. However, later students will launch an app. that I have enabled and get the dialog box saying it isn't allowed. I go back and check parental controls for that computer and the app

  • Hide the column from ssrs report

    Hello, I am creating matrix report , I want to hide the column in which Data Field is null. I did tried by writing this expression =IIF(IsNothing((Fields!test_name.Value, "matrix1_category")),true,false) but problem with this expression is it hide th

  • DeepCopy() behaviour

    Hi all, Having been pounding my head against the wall for a couple of days I just wanted to give you heads up on what I discovered. Don't know if this behaviour has already been documented but I've not found any useful info about this. I have a TLF-e

  • Staroffice8 on sparc solaris 9

    I want to install star office 8 trial version on sparc solaris 9.I have down loaded the trial version.It is a sh file.But while I am running it,its returning to command prompt without installation or any erroe message.Can anybody please suggest me wh