Collection Problem

DEMO
create or replace package Demo AS
TYPE Empnotype is TABLE OF EMP%ROwTYPE;
PROCEDURE Ename_Display(Pempno_Array IN Demo.Empnotype);
END;DEMO BODY
CREATE OR REPLACE PACKAGE BODY Demo AS
PROCEDURE Ename_Display(Pempno_Array IN Demo.Empnotype)IS
v_tab Demo.Empnotype;
BEGIN
v_tab := Pempno_Array;
FORALL i IN v_tab.FIRST..v_tab.LAST
    INSERT INTO e201.Emp VALUES v_tab(i);
Exception
When others then
Raise_Application_Error(-20001,SQLCODE||SQLERRM);
END;
ENd Demo;This is the way I test my package:
DECLARE
Var2 Demo.Empnotype:=Demo.Empnotype(8023);
BEGIN
Demo.Ename_Display(Var2);
END;My problem is I cannot insert in the package. I think My test is wrong. How will I test my package in order I can Send a data in my table.. I really Need the help of the masters here in this forum... Thanks a lot..
regards,
jose
Edited by: mang jose on Dec 2, 2010 6:45 PM

Jose,
please tell a little more. Just "doesn't work" isn't enough.
What error do you get? How is this related to APEX ?
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at

Similar Messages

  • 11g Grid Control - Host Configuration Collection Problems

    Hi Guys,
    I just installed Oracle 11g Grid Control and it has been running for 2 weeks until I recently tried to walk through the parts of it.
    My intention was to clear off all the error messages, critical warnings, alerts, and policy warnings.
    When I arrived at the development summary box, on the home tab, I can see that there is 1 collection problem.
    When I clicked it, I saw that apparently the problem is with the host where I installed the grid control.
    Problem type: Warning during collection of Oracle Software
    message: Unknown WLS Home Location or WLS Version in Middleware Home /u01/app/oracle/product/middleware
    I tried clicking on the "Refresh Host" button, but it didn't solve the problem at all.
    I have also tried to take a look at the targets.xml however it seems the configuration in there are already pointing to the correct path to the weblogic home.
    Please let me know if anyone has a suggestion for this.
    Searching from google doesn't really return anything closely matched to this.
    Thanks,
    Adhika

    What is the intent/timeline for fixing this bug? On MOS, it appears to have a status of "Status 33 - Suspended, Req'd Info not Avail". We are encountering this bug also and I would glady provide information from our systems in order for the issue to be resolved.
    Thanks.
    PostScript: FWIW, Google yielded a blog referencing this error and Doc ID 1433113.1. I am unable to access that document (as was the blogger). Because of this, and another major caveat (our machines with this collection error do not have WLS installed on them), I'm thinking this probably needs to be an SR rather than a forum discussion.
    Edited by: JeriF on Feb 4, 2013 12:00 PM

  • Apex_application.g_fXX and collection problem

    Hello all!
    In the midst of writing my second apex application, it appears I need to use apex_application functionality to meet my requirements and am seeking assistance.
    I have a table/report with a column link (item_id) and a second column (as a text field) (there are more columns displayed), but I think they are irrelevant to this situation) populated with a value QTY (c002) from a collection where c001 = item_id. What I'm attempting to do is allow someone to enter a qty in the c002 text field, apply the qty change to the collection and reload the page displaying the new quantity value in the report when the column link (image) is selected (page redirects to itself).
    Since it appears that column links are not a SUBMIT, I've put my collection update plsql in a before header process. According to the debug output, this collection insert is executed long before the rendering of the report.
    This is my report plsql;
    declare
    l_query varchar2(4000) := '';
    begin
    l_query := 'select i.INVENTORY_ID, col.c002, ql.QUANTITY_AVAILABLE, i.STRAIN_CODE, i.STRAIN_NAME, i.GENOTYPE, i.AGE, i.SEX, ql.ROOM_NUMBER from SM_INVENTORY i, SM_QUANTITY_LOCATION ql, apex_collections col where ql.STRAIN_ID = i.STRAIN_ID(+) and col.collection_name (+)= ''ORDER'' and col.c001 (+)= i.INVENTORY_ID';
    end;
    This is my update collection plsql (I don't have the insert part yet, but my collection already contains values);
    declare col_item_count number;
    col_seq number;
    item_id number;
    qty number;
    begin
    if apex_collection.collection_exists('ORDER') = FALSE then
    apex_collection.create_collection( p_collection_name => 'ORDER');
    commit;
    end if;
    for i in 1..apex_application.g_f01.count
    loop
    item_id := apex_application.g_f01(i);
    qty := apex_application.g_f02(i);
    select count(c001),seq_id into col_item_count, col_seq
    from apex_collections
    where c001 = item_id
    and collection_name = 'ORDER';
    group by c001, seq_id;
    if col_item_count > 0 then
    apex_collection.update_member(
    p_collection_name => 'ORDER',
    p_seq             => col_seq,
    p_c001 => item_id,
    p_c002 => qty);
    commit;
    end if;
    end loop;
    end;
    Given all this, my collection entry is not updated with the new value of c002 displayed in my report text field.
    Be advised, I've not found documentation about the apex_application package of sufficient detail to allow me to comprehend exactly what gets put into the apex_application.g_fXX values or when, but based on what I've gathered from examples/blogs, I think it contains the report in the currently rendered page, but I honestly don't know.
    Given my assumptions, I'm expecting apex_application.g_f01(1) would be the first row item_id of my report and apex_application.g_f01(2) would be the first row c002 (qty from my collection) of my report. If this is correct, I would expect this would work.
    What might I have missed?
    Thanks!
    Paul
    PS. Honestly, is this methodology the only/easiest way to get my requirement/functionality to work? Is there an easier way?

    OK, tried this - not yet successful. This is what I've got.
    Classic report loaded by;
    declare
    l_query varchar2(4000) := '';
    begin
    l_query := 'select i.INVENTORY_ID, i.INVENTORY_ID inv_id_hold, col.c002, ql.QUANTITY_AVAILABLE, i.STRAIN_CODE, i.STRAIN_NAME, i.GENOTYPE, i.AGE, i.SEX, ql.ROOM_NUMBER from SM_INVENTORY i, SM_QUANTITY_LOCATION ql, apex_collections col where ql.STRAIN_ID = i.STRAIN_ID(+) and col.collection_name (+)= ''ORDER'' and col.c001 (+)= i.INVENTORY_ID';
    end;
    Created a "SAVE" button.
    Set up column inv_id_hold as a hidden tab form element and col.c002 as a text field tab form element (item_id and qty respectively). These should now be available as apex_application.g_f01 and apex_application.g_f02 (right?).
    I have this post submit plsql in a process conditioned to the "SAVE" button.
    declare col_item_count number;
    col_seq number;
    item_id number;
    qty number;
    begin
    if apex_collection.collection_exists('ORDER') = FALSE then
    apex_collection.create_collection( p_collection_name => 'ORDER');
    end if;
    for i in 1..apex_application.g_f01.count
    loop
    item_id := apex_application.g_f01(i);
    qty := apex_application.g_f02(i);
    select count(c001),seq_id into col_item_count, col_seq
    from apex_collections
    where c001 = apex_application.g_f01(i)
    and collection_name = 'ORDER';
    --group by c001, seq_id;*
    if col_item_count > 0 then
    apex_collection.update_member(
    p_collection_name => 'ORDER',
    p_seq             => col_seq,
    p_c001 => item_id,
    p_c002 => qty);
    else
    apex_collection.add_member(
    p_collection_name => 'ORDER',
    p_c001 => item_id,
    p_c002 => qty);
    end if;
    end loop;
    end;
    When I enter something in my qty column and press SAVE, I get "ORA-01403: no data found" being thrown by the plsql process (per debug). Since everything is going on "under the hood" and there is no step debugger in apex, I'm not able to see/understand the process in action and determine where the problem is occurring.
    I got the idea for all of this here - http://apex.oracle.com/pls/otn/f?p=39839:3:5596350954563087::NO which is the shopping cart page of the online store application. But I'm trying to get the quantity edit portion to work on the inventory listing (so a customer can add items to an order simply by providing qty input for a particular line item(s) and saving).
    Any advice?
    Can you write an order processing system in apex that uses a collection to store line items?

  • CS4 Master Collection - Problem occurred while extracting...

    After spending $1,500 and two days of RL time downloading the CS4 Master Collection twice, I am just a tad frustrated.
    Each time I download the CS4 suite file and try to install it, I immediately get the error:
    "A problem occurred while extracting the archive. Please try downloading the Adobe CS4 Master Collection again."
    No. I refuse to spend another full day downloading this file yet again just to receive the same error.
    Anyone have some insight into this problem? (more so than "turn off your anti-virus program"
    Thanks in advance.

    I am having the same problem. I found a forum that suggested this. Apparently it worked for some people, but not for me. Let me know if it does:
    1. Start -> All Programs -> Accessories
    2. Right-click on Command Prompt and select "Run as..."
    3. Run as Administrator (even if you are logged in as Admin. You need to run in the Black Command Prompt, not the White one)
    4. Run: regsvr32 JScript.DLL
    5. Then run: regsvr32 vbscript.DLL
    (dont forget the spaces, or it won't work)
    6. Then try running the set up again
    As i said, it worked for some on the forum, but not others (like me). Try it and see if works for you

  • CS4 Master Collection - Problem Applying Updates

    Hi
    I'm running the CS4 Master Collection on Windows Vista Ultimate 32-bit, SP2.
    Normally I have no problem applying updates to the various Adobe components when they become available, however for a while now I've been unable to instal an update that's reported as being available for Adobe Media Encoder 4.1.0.
    If I run the "check for updates" manually I can download the update (reported as being 63.7MB) and when I attempt to instal it the installation process appears to run. It finishes after a while and the Adobe Updater reports "The Udating Process is Finished" in a single dialog box with a single button entitled "Quit" - which seems odd as "Quit" implies "finish earlier than planned", I'd have expected something more in line with "All done", something like "OK".
    Anyway, when I run the check for updates again I'm told about the same update implying that it wasn't applied successfully.
    I get this behaviour whether I run the update as an Administrator or not (all other updates for other products are applied without problem). I also get it regardless of whether or not I reboot the machine after trying to apply the update.
    Does anyone have any suggestions on what could be causing the problem ? I couldn't find anything obvious or obviously relevant in any of the Windows event logs on the PC.
    Thanks for any ideas
    Steve

    I am having the same problem. I found a forum that suggested this. Apparently it worked for some people, but not for me. Let me know if it does:
    1. Start -> All Programs -> Accessories
    2. Right-click on Command Prompt and select "Run as..."
    3. Run as Administrator (even if you are logged in as Admin. You need to run in the Black Command Prompt, not the White one)
    4. Run: regsvr32 JScript.DLL
    5. Then run: regsvr32 vbscript.DLL
    (dont forget the spaces, or it won't work)
    6. Then try running the set up again
    As i said, it worked for some on the forum, but not others (like me). Try it and see if works for you

  • Collection problem with RFC function module WSDL.

    Hi.
    I have developed an RFC function module in a SAP system version 4.7 (WAS 620). This FM has 2 table parameters. I have no problem when I see the WSDL in the SAP Web Service Browser.
    Another team is trying to consume this RFC FM as a web service from a Java application but they say they can't see the table parameters as collections.
    Here is the WSDL of the FM, the table parameters are T_MOVIM and T_ERROR:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
         <types>
              <xsd:schema targetNamespace="urn:sap-com:document:sap:rfc:functions">
                   <xsd:element name="ZMMFUSAPTK_0001">
                        <xsd:complexType>
                             <xsd:all>
                                  <xsd:element name="GENIDOC" minOccurs="0">
                                       <xsd:simpleType>
                                            <xsd:restriction base="xsd:string">
                                                 <xsd:maxLength value="1" />
                                            </xsd:restriction>
                                       </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="T_ERROR">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="s0:ZMMTASAPTK_0012" />
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                                  <xsd:element name="T_MOVIM">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="s0:ZMMTASAPTK_0011" />
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:all>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element name="ZMMFUSAPTK_0001.Response">
                        <xsd:complexType>
                             <xsd:all>
                                  <xsd:element name="CODRET">
                                       <xsd:simpleType>
                                            <xsd:restriction base="xsd:string">
                                                 <xsd:maxLength value="1" />
                                            </xsd:restriction>
                                       </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="T_ERROR">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="s0:ZMMTASAPTK_0012" />
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                                  <xsd:element name="T_MOVIM">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="s0:ZMMTASAPTK_0011" />
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:all>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:complexType name="ZMMTASAPTK_0011">
                        <xsd:sequence>
                             <xsd:element name="REFERENCIA" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="10" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="FECHACONT" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="8" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="FECHADOC" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="8" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CODMOV" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="2" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="NROPLAN" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="12" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="NROCOMP" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="10" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CLASEMOV" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="3" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CENTRO" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="4" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="ALMACEN" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="4" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MATERIAL" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="5" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="LOTE" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="10" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CANTIDAD" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="15" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MOTIVOMOV" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="4" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CENTROREC" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="4" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="ALMACENREC" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="4" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CENTROCTO" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="10" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="ORDEN" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="12" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="TIPOSTK" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="1" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="NROPEDIDO" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="10" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CODCISTERNA" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="50" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="ZMMTASAPTK_0012">
                        <xsd:sequence>
                             <xsd:element name="REFERENCIA" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="10" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CODERR" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="3" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MSJERR" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="100" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
         </types>
         <message name="ZMMFUSAPTK_0001Input">
              <part name="parameters" element="s0:ZMMFUSAPTK_0001" />
         </message>
         <message name="ZMMFUSAPTK_0001Output">
              <part name="parameters" element="s0:ZMMFUSAPTK_0001.Response" />
         </message>
         <portType name="ZMMFUSAPTK_0001PortType">
              <operation name="ZMMFUSAPTK_0001">
                   <input message="s0:ZMMFUSAPTK_0001Input" />
                   <output message="s0:ZMMFUSAPTK_0001Output" />
              </operation>
         </portType>
         <binding name="ZMMFUSAPTK_0001Binding" type="s0:ZMMFUSAPTK_0001PortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
              <operation name="ZMMFUSAPTK_0001">
                   <soap:operation soapAction="http://www.sap.com/ZMMFUSAPTK_0001" />
                   <input>
                        <soap:body use="literal" />
                   </input>
                   <output>
                        <soap:body use="literal" />
                   </output>
              </operation>
         </binding>
         <service name="ZMMFUSAPTK_0001Service">
              <documentation>SAP Service ZMMFUSAPTK_0001 via SOAP</documentation>
              <port name="ZMMFUSAPTK_0001PortType" binding="s0:ZMMFUSAPTK_0001Binding">
                   <soap:address location="http://dbades00.bue.bemberg.com.ar:8002/sap/bc/soap/rfc" />
              </port>
         </service>
    </definitions>
    Should I change something in the definition of the parameters of the FM? or the problem is with the parsing process on the other system?
    Thanks in advance.
    Fabian.

    Welcome to SDN.
    I am not sure about this particular issue, but i have used WSDL from WAS6.20 system in MS Office infopath to consume webservice where we have had table parameters without any issue.
    may be try with office infopath to make sure that the problem is with the WSDL or with the java application.
    Regards
    Raja

  • BPM message collect problem

    Hi,
    I have a problem with  collecting messages and sending them together. I'm trying to work out a simple correlation example. Its a File -> XI -> File scenario. I followed the blog
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    to work this out. My BPM looks like
    a block which contains an infinite loop with Receive and Container steps, an exception step and a deadline step with deadline 2 mins --> Transformation step --> Send step that sends out the bundled message.
    My problem is, after the file is being picked up by XI, nothing happens, on MONI the Outbound status is stuck in "Message being sent" status forever. On the Process engine workflow the deadline step is executed, but it is not proceeding to the Transformation and send step.
    I've read a lot of material on this forum, it seems simple but for some reason I'm not able to get this to work.
    Could somebody please guide me on this?
    Thanks
    Karthik

    Hi,
    Check this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/96/0a2441509fa831e10000000a1550b0/content.htm">Montioring the BPE</a> for debigging your BPM.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm">Collecting and Bundling -- Single Interface</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm">Collecting and Bundling -- Multiple Interface</a>.
    Regards,
    Bhavesh

  • Data collection problems in LMS 4.0

    Hi, we have some devices in our LMS 4.0 where Data Collection cannot be collected. The strange thing is that some days ago they were working fine and we have SNMP connectivity. We have deleted the devices and have added them again but the problem still persists, how can we fix it?

    From the LMS server do the following:
    1. ping the devices that you cannot collect their data
    2. test the snmp connection to those devices using snmpwalk
    go to  CSCOpx\objects\jt\bin
    snmpwalk -v 2c -c 1.3.6.1.2.1.1.2
    3. test the credintials against those devices (Inventory> Job Browsers> Device Credentials Verification)
    For any failure in 1 or 2 usually this is a firewall  problem. Check if snmp and icmp ports are open or not.
    For 3 failue check the credintials from (Inventory> Device Administration> Add / Import / Manage Devices)
    I hope this help

  • Inventory Collection problem for RME 4.3.1 LMS 3.2

    I recently upgraded from LMS 3.1 to LMS 3.2 and RME v 4.3.1. I have problems with the inventory collection. It will start scanning, but stops after approximately 10 devices. The rest of them will have a pending state. If I stop the collection job and start it again none (0) devices will be scanned. If I restart the ICServer it will result in the first option. That is, it will scan only 10 devices and then stop. I have extended the SNMP timeout to 30 secs and zero retries. Any suggestion would be appreciated

    I have read through the dump and cant find anything in particular. Another discovery I've made is that the SNMP walk of an unsuccessful device takes 10 times longer than a successful device. An inventory job on a unsuccessful device only goes into pending and the job never starts.

  • Table collection problem as in parameter

    Hi everyone,
    I'm having a little trouble in finding a solution for a problem.
    I suppose it must be very easy, but I cannot see it after many hours :(
    The package has no compilation errors
    The easy explanation :)
    Let's suposse I've in t_table the following values: 1, 2, 3, 4, 5. If I pass the values 1, 3, 5 to a function using a table collection, how can I get 2 and 4?
    The in-depth explanation...
    type t_reg is record (
    v_field number;
    type t_col is table of t_reg;
    Then, I've a function
    function f1(v_col in t_col) return boolean is...
    The problem is I get v_col with 0, 1 or more elements (which are also in a t_table BD table). I want to have in a table collection the items which are NOT passed as parameters but ARE in the t_table.
    Thank you very much

    type t_col is table of t_reg;Why are you using pl /sql-type collections?
    It gets so much easier with pure sql-type collections (following uses as an example the built-in dbms_debug_vc2coll collection):
    SQL> select deptno, dname
      from dept
    where to_char(deptno) not member of sys.dbms_debug_vc2coll (30, 40)
             DEPTNO DNAME               
                 10 ACCOUNTING          
                 20 RESEARCH            
                 50 SALES               
    3 rows selected.

  • Collections Problem

    Hello
    First I want to sorry for my english, it's not good, but I hope that anybody understand me. I am student learning java for some time, and I'm creating a small project (program to test knowledge from specified domain) as my homework. I try to explain my problem.
    In my program I have three types of questions that user can see during the test: single selection, multiply selection and answer input to text field.
    User can back to the previous questions.
    I have three methods to check answers, activate when button "next questions" is pressed. A the end of all this methods I have a code responsible for sending selected answers to collection stored that answers, so if user back to the previous questions, previously selected answers can appear.
    private List<String> list_ans = new ArrayList<String>();
    //this list store selected answers to the currrent question, clear everytime at the end of method.
    private Map<Long, List<String>> map_all_ans = new HashMap<Long, List<String>>();
    //this collection store all selected answers from all questions. Piece of code from one of that methods for storing answers:
    //method for check questions of type 1
    private void checkType1() {
        ///the code at the bottom od the method
                 //id_q : id of actual questions, id: id of question in database
                 list_ans.add(answers); // single string or arraylist, depends from question type
                System.out.println(questions[id_q].id);
                System.out.println("list_ans contains:"+list_ans);
                if (map_all_ans.containsKey(questions[id_q].id)) {
                    System.out.println("Data in map_all_ans:"+map_all_ans);
                    map_all_ans.remove(questions[id_q].id); //delete old answers in the collection
    //from current question if answers  selected for this question are in the map_all_ans
                    System.out.println("Data in map_all_ans:"+map_all_ans);
                    map_all_ans.put(questions[id_q].id, list_ans);
                    System.out.println("Data in map_all_ans:"+map_all_ans);
                } else {
                map_all_ans.put(questions[id_q].id, list_ans);
                System.out.println("Final data in map_all_ans:"+map_all_ans);
                list_ans.clear();
                answers.clear();
         }My problem is why selected answers are stored not only under questions[id_q].id key (always unique), but under all previous keys in collection, so whole collection contains answer from only last checked question???, for example:
    //step : answers for current questions (in this case this is first question)
    //step2 :checkType1() -->Final data in map_all_ans :{1=[Yes]} <---ok
    //step 3: answers for current questions ( 2nd question )
    //step4 :checkType2() -->Final data in map_all_ans :{1=[answer1, answer2, answer3 ], 2=[answer1, answer2, answer3]}  <--not good:/Why? I thought that I clearly specify key where put method should store data.
    Thanks for yours patient.
    Could anybody help?
    Regards
    Edited by: tua1 on Dec 20, 2008 9:48 AM
    Edited by: tua1 on Dec 20, 2008 9:54 AM
    Edited by: tua1 on Dec 20, 2008 9:54 AM
    Edited by: tua1 on Dec 20, 2008 9:56 AM
    Edited by: tua1 on Dec 20, 2008 9:56 AM
    Edited by: tua1 on Dec 20, 2008 9:57 AM
    Edited by: tua1 on Dec 20, 2008 9:59 AM
    Edited by: tua1 on Dec 20, 2008 10:03 AM

    tua1 wrote:
    I try something like this but I am getting nullpointerexception.
    map_all_ans.put(questions[nr_q].id, new ArrayList<String>()).addAll(list_ans)I can't figured out how I can do it properly:/
    RegardsLearn to use a debugger or how to do poor man's debugging using System.out.println() statements at strategic locations printing the variables of interest.
    In the line which you gave, there are potentially three points which could throw a NullPointerException. If you separate each action/call which happens in this single code line over separate code lines, you would more easy trackdown the piece which was causing the problem by just looking to the first line number of the NullPointerException stacktrace.
    Oh, there's a 'New to Java' forum around at those forums. This really isn't rocket science. Just know the Java basics and make use of the human logical thinking powers (if any available).

  • Smart Collection Problem

    Lightroom 2.2, Mac Pro, Mac OS 10.5.5, 2.8 Quad-Core Intel, 6GB RAM
    I went to use the "recently modified" Smart Collection that comes with Lightroom 2, and changed the "Edit Date is in the last" days value from the default (which I think was 2) to 7. When I did that, I got photos in the smart collection which were last edited 2 years ago. I tried fiddling with the edit date settings, but I kept getting items in the collection last edited years ago rather than days ago. I verified this by looking at the metadata for the files in the collection.
    I also checked the files last-modified time in the Finder, which matched the meta data, which was a couple of years ago.
    Has anyone else seen this? Is there a workaround/fix?
    Thanks!
    -Eric

    I also have a problem Smart Collections. Pre Lightroom, my folder structure on my hard drive for images was date with brief description (ex. 08_0108_NYC). I have keep that system in place since using Lightroom. I tried to set up Smart Collections that would be all folders from each month (ex. "folder name starts with 08_01"). It will show no folders. But if the folder is named with a dash instead of an underscore it works correctly. Smart Collections can find file names with underscores, why not folders?
    Thanks,
    JB

  • Smart Collection Problem - LR 5.6

    I have a smart collection for files where metadata has been changed. This helps me ensure that the changes can be saved to files on disk.
    Recently I have noticed that this collection has started showing large numbers of files (800+), where the data needs to be saved to disk. If I select all of these files and then save to disk, they all disappear one by one, then when the collection is empty they all start reappearing again, until they are all back again.
    I have tried optimizing my catalogue, closing and reopening, rebooting etc. The criteria for the collection is where "Metadata status has been changed". The collection works OK for new files imported, it is just that has started including a large number of false positives, which I can't get rid of.
    Lightroom 5.6 on Windows 7 x64. Catalogue has 32,304 entries.
    Any suggestions anybody?
    Ian

    Thanks for the suggestion.
    Do you mean writing the data to XMP sidecar files? I would love to have an option to automatically write my metadata to my DNG file, but would prefer to avoid sidecar files if at all possible, but if I can't fix the problem it is something I might have to consider.

  • PeopleCode :: Query API :: Query Expression collection problems

    Hi all,
    I'm trying to use the Query API in PeopleCode to tack on an expression to the end of an existing query. Thus far I have been successful doing just a QueryField without any problems. Here is some example code of what I have done with the Query Expression collection and where I am stuck:
    &Criteria = &MainQrySel.AddCriteria("criteria1");
    &Criteria.Logical = %Query_CombAnd;
    &Criteria.Expr1Type = %Query_Expression;
    &crit = &Criteria.AddExpr1Expression();
    &Criteria.Expr1Expression = &crit;
    &crit.Text = -some expression-;
    &Criteria.Operator = %Query_CondEqual;
    &Criteria.Expr2Type = %Query_ExprConstant;
    &crit = &Criteria.AddExpr2Expression();
    &Criteria.Expr2Expression1 = &crit;
    &crit.Text = -some criteria-;
    So what's happening is that the left hand part of the expression is added to the entire statement along with the operator (the equals sign). The odd part is that the right hand part of the expression is not (basically the -some criteria- part).
    If anyone has any ideas on how to solve this mystery, please let me know...I'm rather confuzzled!
    Thanks in advance!

    Well, I finally discovered he solution on my own, by reverse-engineering Oracle's own search.jsp (which does not use Oracle's custom tag library, btw) (probably because same doesn't really work, or at least it doesn't what's in the documentation doesn't work) (which isn't surprising).
    You have to do the "From" part of the query as an "attribute filter".
    oracle.ultrasearch.query.Query searchQuery=
    new oracle.ultrasearch.query.Contains(searchString, metadata);
    oracle.ultrasearch.query.Query attrQuery=
    new oracle.ultrasearch.query.From(metadata.getGroup(groupToSearch));
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    searchRequest.setQuery(searchQuery);
    searchRequest.setFilter (attrQuery);
    Maybe that will do somebody some good somewhere...
    Troy

  • Oracle Designer Collection problem

    Hi all,
    this is my first post in this forum, but I've been using it a lot and I'd like to thank everyone that have always helped me through their posts.
    Now I have come to a problem to which I can't find a solution...
    My problem is the following:
    My goal is to import a data model. To do this I have to create certain objects in Oracle Designer, prior to importing the model itself. The reason for this is that if this certain object isn't created, the import itself fails on a given table.
    More objectively, the object I'm trying to create in the "Server model" in the "Oracle Collection Type" is a VARRAY of 999999 elements of RAW(2000).
    When I try to create this object, I get the following error:
    Message
    RME-00209: Current activity has outstanding violations
    Cause
    Could not 'commit' the data because of outstanding
    data integrity violations.
    Action
    Examine violations, fix the invalid data, and try again.
    Message
    RME-00224: Failed to close activity
    Cause
    Could not close ('commit') an activity.
    Action
    Examine other reported errors for specific details.
    Message
    CDA-00500: Invalid format type <RAW>
    Cause
    The specified format type is not valid.
    Action
    Refer to the format type rules in the Designer Meta-model and
    API documentation.
    This error is on Designer 9.0.2.10 and on Oracle 9.2.0.7 database
    If I try the same thing on Designer 10.1.2.4 and on Oracle 10.2.0.1, I get the following:
    Message
    RME-00020: Internal API error - ORA-06502: PL/SQL: erro numérico ou de valor : o buffer da cadeia de caracteres é demasiado pequeno
    Cause
    The API has detected an internal inconsistency.
    Action
    Check the detail of the associated Oracle Server error message
    (ORA-xxxxx) and resolve it.
    Message
    RME-00011: Operation 'close' on ACTIVITY has failed
    Cause
    An API operation request has failed for some reason.
    Action
    Examine other reported errors for specific details.
    Message
    RME-00222: Failed to dispatch operation to Repository
    Cause
    Requested operation failed because of other errors.
    Action
    Examine other reported errors for specific details.
    Message
    RME-00224: Failed to close activity
    Cause
    Could not close ('commit') an activity.
    Action
    Examine other reported errors for specific details.
    Message
    CDA-00500: Invalid format type <RAW>
    Cause
    The specified format type is not valid.
    Action
    Refer to the format type rules in the Designer Meta-model and
    API documentation.
    If anyone could shed some light on this, it would be much appreciated.
    Best regards to all of you,
    Filipe

    Hi Michael. Thank you for your reply.
    Nevertheless, I think that what you say is not correct since I can create a VARRAY of NUMBER datatype; the only thing I can't create is a VARRAY of RAW datatype.
    Can you, or anyone, comment on this?
    Thank you.
    Regards,
    Filipe
    Message was edited by:
    Filipe

  • CiscoWorks-Config collection problem

    Hi,
    I have configured config collection on Cisco Works. But only one device's configuration has been succesfully collected, rest of the devices are showing failed.
    check the log...showing telnet authentication failed 3 times.  but I have checked the username and password configured on Cisco Works is perfect even the same username and password configured on the device, which configuration collection succeded.
    Please give me some troubleshooting process so I can fix the issue.

    yes..I have checked so many times...and username / password is ok....but still I am not able to fix the problem.....It the username and password is configured wrong , then it should work for one device,,,because the username and password is configured in Tacacs Server and same for all devices.

Maybe you are looking for

  • Why is the time on my iPhone 5 incorrect?

    For the past week I've had trouble with my iPhone 5 displaying the incorrect time. I've tried numerous things to fix it... I've: Toggled the clock option from Automatically to Manual. After each time, the time corrects itself, but doesn't last long (

  • UK requirements on VAT

    Hi Experts, I'm currently working for a UK based company which has to be UK compliant for VAT  The currency settings for the problematic company code is EUR as local currency. The reason therefore is that lots of its vendors send invoices in EUR. Nev

  • How to set background image in jlist

    Hi all is there a way for setting an image as jlist 's background? I need that this image is trasparent. Any idea or usefull link? Regards

  • Duplicate Routing with dependencies

    Hi all, I'm trying to copy a Routing changing the Application (VERWE = 'C' instead of '1') I'm using the FM CARO_ROUTING_READ to take the original Routing and then call FM BAPI_ROUTING_CREATE passing tables TASK, MATERIALTASKALLOCATION,  SEQUENCE and

  • M6600 Re-occuring AMD FirePro M8900 Mobility Graphics Card Problem

    I'm supporting a Dell Precision Workstation Laptop M6600 Ship Date: 31 August 2011. The workstation has been experiencing re-occuring graphic card failures. The system's original configuration was Operating System Microsoft Windows 7 - 64-bit Enterpr