Problem with EGO_ITEM_PUB API

Hi All,
We are using EGO_ITEM_PUB.PROCESS_ITEMS API to insert data into our staging table. There are about 4000 records in our staging table which will update near about 60,000 records in mtl_system_items table. This process takes about 14 hrs to make complete update. In production we have 20,000 (Staging table, which means nearly 3-5 lakhs in MTL_SYSTEM_ITEMS table) records to be updated and this will take days to complete the update process.
Any other work around which will take less time to complete this will be feasible. Pointers in this direction will be appreciated.
Thanks in advance
Thanks,
Ashu Anand

Hi Ashu,
Is it possible for you to use Import Item Interface program instead of API? In open interface you have parallel execution facilitiy which will allow to run many parallel processing on records having set_process_id field.
I understand changing that code is problem but you need to do cost benefit analysis and choose.
Sunil

Similar Messages

  • Problems with BPEL API calling a BPEL workflow

    Hallo,
    i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
    I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
    When this command is processed i following error:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
    The initialization of the deliveryService works fine.
    The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
    jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
    jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
    jndiUsername = "xxx";
    jndiPassword = "yyy";
    I get folowing errror message:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone tell me what i am doing wrong?
    BS
    PS: i used following tutorial to create my code for calling BPEL:
    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

    got some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
    jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
    jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
         at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
         at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
         at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone help me?
    What is wrong wis my ProviderURL?
    BS

  • Problem with adobe api for LC

    Hello to all,
    I'm trying to write code that retrive a file from registry but I ALWAYS get the following error:
    root cause
    java.lang.NoClassDefFoundError: com/adobe/ebxml/registry/services/query/filter/Clause
    java.lang.Class.getDeclaredConstructors0(Native Method)
    java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
    java.lang.Class.getConstructor0(Class.java:1930)
    java.lang.Class.newInstance0(Class.java:278)
    java.lang.Class.newInstance(Class.java:261)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:72)
    org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275 )
    org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java: 78)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:705)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Thread.java:534)
    What about this?
    I'm using Eclipse 3.1 (adobe has advised to me) and jboss 3.2.
    I'm very very tyred to see this error :-(((
    Any help?
    Thank you!!!!!
    I'm goind to became crazy.. ;-P
    Sorry for my poor english.
    Roberto.

    Ok, I have discarded eclipse :-) now I use Netbeans 5.0 and I don't see that error any more.
    By thw way I have some problems with adobe-registry-api.jar;
    Do anyone use this API write programs that use liveCycle registry?
    I would like get the document from registry, the version of them, and so on.
    I found some example from adobe, but also these examples have problem with data type, classes and so on.
    Every problem leads back to adobe-registry-api.jar and whichever other class is correctly used from Netbeans.
    Someone have any idea or suggestion?
    Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you! :-)
    Bye,
    Roberto.

  • Problems with Reflection API and intantiating an class from a string value

    I want to instantiate a class with the name from a String. I have used the reflection api so:
    static Object createObject(String className) {
    Object object = null;
    try {
    Class classDefinition = Class.forName(className);
    object = classDefinition.newInstance();
    } catch (InstantiationException e) {
    System.out.println(e);
    } catch (IllegalAccessException e) {
    System.out.println(e);
    } catch (ClassNotFoundException e) {
    System.out.println(e);
    return object;
    Let's say my class name is "Frame1".
    and then if i use:
    Frame1 frm = (Frame1) createObject("Frame1");
    everything is ok but i cannot do this because the name "Frame1" is a String variable called "name" and it doesn't work like:
    name frm = (name) createObject("Frame1");
    where i'm i mistaking?
    Thanks very much!

    i have understood what you have told me but here is a little problem
    here is how my test code looks like
    Class[] parameterTypes = new Class[] {String.class};
    Object frm = createObject("Frame1");
    Class cls = frm.getClass();
    cls.getMethod("pack",parameterTypes);
    cls.getMethod("validate",parameterTypes);
    everything works ok till now.
    usually if i would of had instantiated the "Frame1" class standardly the "cls" (or "frm" in the first question ) object would be an java.awt.Window object so now i can't use the function (proprietary):
    frame_pos_size.frame_pos_size(frm,true);
    this function requires as parameters: frame_pos_size(java.awt.Window, boolean)
    because my cls or frm objects are not java.awt.Window i really don't find any solution for my problem. I hope you have understood my problem. Please help. Thanks a lot in advance.

  • Problem with DOM API

    Hi,
    I use org.w3c.dom to create an XML file.
    I need to configure "xmlns" into father and child tags, because I have to send my XML to a soap webservice,
    and the server arises "error in schema XML" if I put "xmlns" only in father, not in child.
    The problem is that DOM API automatically removes the "xmlns" from child, and I didn't find a way to force it
    to use "xmlns" at any time.
    This is my XML before to generate the DOM tree:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?> 
      <nfeDadosMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRecepcao2"> 
        <enviNFe versao="2.00" xmlns="http://www.portalfiscal.inf.br/nfe"> 
          <idLote>75600</idLote> 
          <NFe xmlns="http://www.portalfiscal.inf.br/nfe"> 
            ... many internal tags ...
          </NFe> 
        </enviNFe> 
    </nfeDadosMsg>After to generate the DOM tree, NFe becomes without "xmlns", only "<NFe>".
    If I change to:
    <NFe xmlns="http://www.portalfiscal.inf.br/nfeXXX">then the DOM tree becomes fine with "xmlns" into enviNFe and NFe, but
    because the xmlns's are differents.

    If you stop thinking of that as an "xmlns attribute" and start thinking of it as what it really is, namely a namespace declaration, then you might understand the part of the DOM documentation which refers to namespaces better. You might also track down the rule which describes what a "default" namespace is and how it's inherited (and overridden) by child elements. Without that these things are just going to be a mystery to you.
    Also be sure to make your DOM be namespace-aware if you're going to use namespaces. By default it isn't. I believe it's the factory which has the setNamespaceAware method and not the parser.

  • Problem with Scheduler API

    Hello Friends
    I am trying this concept of Job Scheduler API of Netweaver for the first time . The problem that I am encountering is , after successfull deployment of my application DC , I cant see the job created by me in the job definations on server
    I am laying down the approach that I took for the development of job : -
    1) I created one EJB Module DC( sample_mdb_session ) and created one Message Driven bean
    ( JobBean ) and laid down the logic to be run on the execution of job
    I have also included the scheduler api in the build path of my DC
    2) nextly I created the required job-definition.xml and did the changes in ejb-j2ee.xml
    ejb-j2ee.xml
    <enterprise-beans>
    <enterprise-bean>
    <ejb-name>com.sap.scheduler.examples.session.JobBean</ejb-name>
    <jndi-name>JobBean</jndi-name>
    <resource-ref>
    <res-ref-name>JobQueueFactory</res-ref-name>
    </resource-ref>
    <message-destination-ref>
    <message-destination-ref-name>JobQueue</message-destination-ref-name>
    <jndi-name>JobQueue</jndi-name>
    </message-destination-ref>
    </enterprise-bean>
    </enterprise-beans>
    job-definitons.xml
    <job-definitions>
    <job-definition name="JobBean"
    description="Logs a string and calculates its length">
    <job-definition-parameter name="UserName"
    data-type="String"
    direction="IN"/>
    <job-definition-parameter name="NameLength"
    data-type="Integer"
    direction="OUT"/>
    </job-definition>
    </job-definitions>
    3) In the application DC( sample_application_dc ) I did the required changes in application-j2ee-engine.xml
    <application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
    <reference reference-type="hard">
    <reference-target provider-name="sap.com" target-type= "service">
    scheduler~runtime
    </reference-target>
    </reference>
    <modules-additional>
    <module>
    <entry-name>demo.sap.com~sample_mdb_session.jar</entry-name>
    <container-type>scheduler~container</container-type>
    </module>
    </modules-additional>
    </application-j2ee-engine>
    The document that i had reffered to construct everything was actually dealing with an EJB project and a respective .ear project, things were working fine till the time I was dealing with local EJB projects but as soon as I started working with DCs , the problems occured
    And when i deployed the application on the server it is deployed successfully , but I cant see the job in job definitions in SAP Netweaver Administrator > java scheduler section
    What i am doubting is that the changes that i did in the xmls are not apt , so If any one on the forum has done the scheduling job earlier can please send the required xml code as that may help in solving the problem

    hi,
    i hope u follow this [lin k|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e]
    and the architecture and sample application [this |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8ab5056-0e01-0010-5581-d3e51724ee21]
    thanks and regards
    bvr

  • Problem with search API -- TextSearchConstraint.SOUNDS_LIKE

    Hi All,
    Im trying to use TextSearchConstraint.SOUNDS_LIKE to find similiar data records in MDM repository.
    There are 3 records in table "MDM_BUSINESS_PARTNERS", the value of it' "name" field are: "akedemic",  "akedemci",  and "akedemic Inc." respectively.
    below is the code of setting conditions:
    TextSearchConstraint constraint = new TextSearchConstraint("akedemic", TextSearchConstraint.SOUNDS_LIKE);
    search.addSearchItem(name_dim, constraint);
    I expect to use TextSearchConstraint.SOUNDS_LIKE t get all these 3 records, but the search only returns one record "akedemic",  anyone can explain me the reason?
    Thanks & Best regards,
    Bin
    Message was edited by:
            Bin Dong

    I tried in the Data Manager Free Form Search with the values you provided.
    It returs only 2 records with Sounds like constraint.
    Note: The first value and third value you provided are the same.
    If your data is just like the example you provided, you should get 2 records back.
    For testing the Search API, you can use the Data Manager to see if the API returned results are the same as in Data Manager.
    Example:
    You can try the Sounds like constraint with the values for 2 records
    quiet
    quite
    Have the constraint as sounds like quiet
    You will get the two records back.

  • Problem with Collection API method LIMIT?

    Hi,
    I am trying to learn PL/SQL in my free time and I can't get collection_name.LIMIT to work correctly.
    declare
    type list is table of integer;
    set_a list := list(1,2,3,3);
    i pls_integer := 0;
    begin
    set_a.trim(2);
    i := set_a.limit;
    dbms_output.put_line('Trim(2) leaves ' || to_char(i) || ' spaces in list');
    end;
    The above code prints 'Trim(2) leaves spaces in list'. I first tried putting set_a.limit inside the to_char and got the same results. I tried using it in the expression for an IF statement as I have read in the book and online; something like if set_a.limit < 4 then... This returns true, while set_a.limit > 1 returns false.
    Am I doing something wrong?
    Oh, and I am using the win32_11gR2_database I got from the Oracle download page on Windows XP SP3.
    Thanks.
    Edited by: user13107973 on Aug 24, 2010 3:08 PM

    I figured it out, on closer inspection I see it is only used for varying arrays, and I was trying it on a nested table... Thanks for the advice.
    So, I am reading a horrible book full of typos called "Oracle Database 11g PL/SQL Programming" from the Oracle Press and McGraw Hill.
    BULK COLLECT INTO, page 123
    "The LIMIT statement lets you constrain the size of bulk selections, but you can only use it with explicit cursors." - NOT what I asked about.
    FORALL, page 127
    "The FORALL loop is designed to work with Oracle collections. It lets you insert, update, or delete bulk data." - NOT what I asked about.
    Collection API, page 253
    "The LIMIT method returns the highest possible subscript value in a collection. It can only return a PLS_INTEGER type and can only be used by a VARRAY datatype. It has the following prototype..."
    Edited by: user13107973 on Aug 25, 2010 12:09 PM
    Edited by: user13107973 on Aug 25, 2010 12:09 PM

  • Having problem with DirectPath API LoadStream

    Hi,
    I am attempting to use the direct path API in Oracle 8.1.7 (SUN OS 5.8) to perform large data loads. For the most part I've got the interface doing what I want it to do, however I am also doing statement caching. For instance, after a transaction has been committed (i.e. we call OCIDirPathFinish) the statement goes into a cache to be reused. It will ONLY be reused for the same table that it was originally prepared for. When a cached statement is going to be reused, I perform the following steps:
    1. call OCIDirPathColArrayReset
    2. call OCIDirPathStreamReset
    3. call OCIDirPathColArrayEntrySet for each data entry
    4. call OCIDirPathConvertToStream
    5. call OCIDirPathLoadStream
    6. call OCIDirPathDataSave
    7. call OCIDirPathFinish
    Steps 1 through 4 execute without error, however step 5 returns an ORA-01001 - invalid cursor error. The whole process will work if I perform all of the steps of preparing the DirPath context again, but I'm trying to prevent that from happening with every transaction. I tried only performing a call to OCIDirPathPrepare, but it returns with an error message telling me that my DirPath context handle is already prepared. I then thought that perhaps my stream was corrupt somehow, so I freed up the old stream handle and created a new one, but I got the same ORA-01001 error when I tried to load the stream.
    I also, tried to suppress the call to OCIDirPathFinish, but this leaves the partition that I am loading in some sort of direct path mode which seems to prevent other queries to that partition.
    Anyone have any suggestions?
    Thanks.

    Go back where you downloaded the API and read the FAQ. I think it's the question number 2.

  • Problem with ProductWS_ProductInsertOrUpdate_Input api call

    Hi All,
    There seems to be an issue with siebel's ProductWS_ProductInsertOrUpdate_Input api call on release 14 of CRM OnDemand.
    The api call is failing if I am trying to update and insert the product records in a same call based on the IntegrationId.
    The Siebel CRM on demand URL we used is:
    https://secure-ausomxapa.crmondemand.com/Services/I ntegration
    The sample soap request used is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/enve lope/" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:prod="urn:/crmondemand/xml/product" xmlns:ns="urn:crmondemand/ws/product/10/2004">
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
    <prod:ListOfProduct>
    <prod:Product>
    <prod:IntegrationId>AAPA-KYTAR</prod:IntegrationId >
    <prod:Description>desc nk_test3</prod:Description>
    <prod:Orderable>Y</prod:Orderable>
    </prod:Product>
    <prod:Product>
    <prod:ExternalSystemId>nk_test4</prod:ExternalSyst emId>
    <prod:PartNumber>nk_test4</prod:PartNumber>
    <prod:Name>nk_test4</prod:Name>
    <prod:Description>desc nk_test4</prod:Description>
    <prod:Orderable>Y</prod:Orderable>
    </prod:Product>
    </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    The response error is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env elope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc e" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Multiple matches found for instance of integration component 'Internal Product' using search specification '' in the business component 'Internal Product', based on user key 'Product User Key: 2'.(SBL-EAI-04390)</faultstring>
    <detail>
    <siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault">
    <siebelf:error>
    <siebelf:errorsymbol>IDS_ERR_EAI_SA_MULTIPLE_MATCH </siebelf:errorsymbol>
    <siebelf:errormsg>Multiple matches found for instance of integration component 'Internal Product' using search specification '' in the business component 'Internal Product', based on user key 'Product User Key: 2'.(SBL-EAI-04390)</siebelf:errormsg>
    </siebelf:error>
    </siebelf:errorstack>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Also the same soap request was passing when we are using old siebel crm on demand release 12 urls:
    https://secure.crmondemand.com/Services/Integration or
    https://siebel.crmondemand.com/Services/Integration
    Also note that same API call works on release 14 if I perform all updates at one go and all inserts at one go.
    So my doubt is:
    1) Is there any change in handling of ProductWS_ProductInsertOrUpdate_Input api call for release 14 (or)
    2) do we need to do some setup/configuration at siebel end?
    Please help us in resolving this issue.
    Thanks,
    Nitesh K

    Alex,
    Thanks for the reply. I can understand the same with the response error that there are multiple records with the same user key exists. But why the same error is not getting thrown if I submit the same SOAP request for those two products individually? I am able to submit multiple products which are new in one SOAP request and multiple products which needs to be updated(i.e i already have there ProductId and IntegrationId) in another SOAP request using the same InsertOrUpdate api call. But when I submit one product which is new(i.e. to insert) and one which already exists(i.e to update) in a single SOAP request, then its giving me that error.
    One more strange thing is(as mentioned earlier) this same single SOAP request works in R12 of CRM OnDemand.
    Anyways please find below how I tested my investigation:
    I created two products in our BigMachines application "nk_11111_part" and "nk_22222_part" to integrate with siebel. Now I first generated SOAP request for nk_22222_part as below:
    <soapenv:Envelope>
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
         <prod:ListOfProduct>
              <prod:Product>
              <prod:ExternalSystemId>nk_22222_part</prod:ExternalSystemId>
              <prod:Name>nk_22222_part</prod:Name>
              <prod:PartNumber>nk_22222_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nnk_22222_part</prod:Description>
              <prod:DealerInvoicePrice>454</prod:DealerInvoicePrice>
              </prod:Product>
         </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Then I submitted the request and got ProductId and IntegratinId as "AAPA-LF3CR" in SOAP response. This we will store in our DB and use it for updating the same product for subsequent calls.
    Then I generated SOAP request for both the products nk_11111_part(not integrated) and nk_22222_part(integrated product) as below:
    <soapenv:Envelope>
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
         <prod:ListOfProduct>
              <prod:Product>
              <prod:ExternalSystemId>nk_11111_part</prod:ExternalSystemId>
              <prod:Name>nk_11111_part</prod:Name>
              <prod:PartNumber>nk_11111_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nk_11111_part</prod:Description>
              <prod:DealerInvoicePrice>324</prod:DealerInvoicePrice>
              </prod:Product>
              <prod:Product>
              <prod:ProductId>AAPA-LF3CR</prod:ProductId>
              <prod:IntegrationId>AAPA-LF3CR</prod:IntegrationId>
              <prod:ExternalSystemId>nk_22222_part</prod:ExternalSystemId>
              <prod:PartNumber>nk_22222_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nk_22222_part</prod:Description>
              <prod:DealerInvoicePrice>454</prod:DealerInvoicePrice>
              </prod:Product>
         </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Now when I submit this request I am getting the above mentioned error. Note that both the products are newly created products in our application. So only user key ExternalSystemId with "nk_22222_part" for our integrated product exists
    in siebel. So logically the InsertOrUpdate api call should insert the first product "nk_11111_part" and update the
    second product "nk_22222_part". As mentioned earlier, the same flow works in R12 of Siebel CRM OnDemand.
    We are struck with this issue. Please help us and reply asap.
    Thanks,
    Nitesh K

  • Problem with drawing api and textfield

    I have a flash file that will be used on multiple sites and
    therefore will need to be able to change it's colors based on
    colors fed in through parameters. I'm trying to draw a rounded
    rectangle button with some text on it. I can get everything to draw
    except the text. When I debug it, the textfield variables show up
    with everything set up properly so I'm not sure why it won't
    display. Here's the code that creates the button and text. And it's
    adding the Sprites to an movie clip on my stage called btnBG in
    case you're wondering what that is.
    import flash.display.Sprite;
    import flash.display.GradientType;
    import flash.geom.ColorTransform;
    import flash.events.MouseEvent;
    var btnSprite:Sprite = new Sprite(); //main button sprite
    var btnOutline:Sprite = new Sprite(); //outline for button
    var matrix:Matrix = new Matrix();
    var btnCircleOutline:Sprite = new Sprite();
    var btnCircle:Sprite = new Sprite();
    var btnArrow:Sprite = new Sprite();
    var btnOverlay:Sprite = new Sprite();
    btnCircleOutline.graphics.beginFill(btnOutlineStartColor,
    1);
    btnCircleOutline.graphics.drawCircle(59,11,7);
    matrix.createGradientBox(15, 15, Math.PI/2,0,0);
    btnCircle.graphics.beginGradientFill(GradientType.LINEAR,
    [btnEndColor, btnStartColor], [1,1], [0,255], matrix);
    btnCircle.graphics.drawCircle(59,11,6);
    //draw arrow shape
    btnArrow.graphics.beginFill(0xcad7e9, 1);
    btnArrow.graphics.moveTo(57, 7);
    btnArrow.graphics.lineTo(62, 11);
    btnArrow.graphics.lineTo(57, 15);
    btnArrow.graphics.endFill();
    //draw invisible overlay
    btnOverlay.graphics.beginFill(0xffffff,0);
    btnOverlay.graphics.drawRect(0,0,70,22);
    btnOverlay.buttonMode = true;
    btnOverlay.useHandCursor = true;
    btnOverlay.addEventListener(MouseEvent.CLICK, clickHandler);
    //draw button outline and gradient fill
    matrix.createGradientBox(70,22,Math.PI/2,0,0);
    btnOutline.graphics.beginGradientFill(GradientType.LINEAR,
    [btnOutlineStartColor, btnOutlineEndColor], [1,1], [0,255],
    matrix);
    btnSprite.graphics.beginGradientFill(GradientType.LINEAR,
    [btnStartColor, btnEndColor], [1,1], [0,255], matrix);
    btnOutline.graphics.drawRoundRect(0,0,70,22,5,5);
    btnSprite.graphics.drawRoundRect(1,1,68,20,3,3);
    //draw buy now text on button
    var btnText:TextField = new TextField();
    var txtFormat:TextFormat = new TextFormat();
    txtFormat.font = "Arial";
    txtFormat.size = 18;
    txtFormat.color = 0x000000;
    btnText.setTextFormat(txtFormat);
    btnText.embedFonts = true;
    btnText.text = "Buy Now";
    btnText.selectable = false;
    btnBG.addChildAt(btnOutline, iIndexer++);
    btnBG.addChildAt(btnSprite, iIndexer++);
    btnBG.addChildAt(btnCircleOutline, iIndexer++);
    btnBG.addChildAt(btnCircle, iIndexer++);
    btnBG.addChildAt(btnArrow, iIndexer++);
    btnBG.addChildAt(btnText, iIndexer++);
    btnBG.addChildAt(btnOverlay, iIndexer++);

    You can only set embedFonts to true if you are using a font
    in the library. There is no need to embed the Arial font as it is
    on basically all computers, also use btnText.defaultTextFormat =
    txtFormat;.
    txtFormat.font = "Arial";
    txtFormat.size = 18;
    txtFormat.color = 0x000000;
    btnText.defaultTextFormat = txtFormat;
    //btnText.embedFonts = true;
    btnText.text = "Buy Now";
    btnText.selectable = false;

  • Cisco Prime 2.1 problem with API/Client

    Hi,
    im having a problem with the API output i get from Cisco Prime Infrastructure. The URL im trying to GET info from is:
    https://<URL>/webacs/api/v1/data/Clients
    The output shows that im missing data from a specific ID. Example:
    {"@url":"https:\/\/prime.lmv.lm.se\/webacs\/api\/v1\/data\/Clients\/1280389614","@type":"Clients","$":"1280389614"}
    Then i try to GET the info regarding this ID: https://<URL>/webacs/api/v1/data/Clients/1280389614
    {"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"No such entity as Clients \/ 1280389614.-PRS-101","id":"presentation.PRS-101","uriPath":"data\/Clients\/1280389614","queryParams":"{}"}}
    So something is wrong here, so when i add ".full=true" parameter i get the following error as it cannot show the client data:
    https://<URL>/webacs/api/v1/data/Clients.json?.full=true&.firstResult=1000&.maxResults=1000
    {"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'; nested exception is org.hibernate.HibernateException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'","exception":"org.springframework.orm.hibernate3.HibernateSystemException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'; nested exception is org.hibernate.HibernateException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'","uriPath":"data\/Clients","queryParams":"{.full=[true], .firstResult=[1000], .maxResults=[1000]}"}}
    Any idea how to solve this issue, how can i find the client that is causing this problem? In my script im reading all the clients in the network to a third party application. But right now its hard to get this output in a smart way. It might be resolved in 2.2, but it feels like the data i corrupt in some way so i doubt that this error is related to the version?
    Best Regards // Mattias Andersson

    Hi,
    I have also run into this problem on two different Prime 2.1-systems when trying to get all Client-data available. I haven't figured out a way to fix it more than making small calls (.maxResults=100) then trying to pin-point and skip the ID giving the error. I've been using 2.2 for a while now but haven't tested the Client-API that much yet. I'll experiment some more on it and see if I can recreate the problem to see if it's related to the version.

  • Problem with PDFLGetInitCount

    I am having problem with PDFLGetInitCount()API. The API returns a very strange value (usually very big number). Does anyone has similar problem before? And this API can be used before calling PDFLInit(), right?
    Thanks,

    Is this the first version of the PDFL you've had on this machine, and it's only been on for a very short time? Otherwise it would be a large number.
    This function returns the total number of times the PDFL has been initialized, not the current number of initialized instances. Every time you run an application, even to debug, the counter is incremented. It's the total number of times PDFLInit() has been called on your system, ever.

  • Problems with async callback with the BPEL Java API (Urgent- pls help)

    Hi,
    I have an async BPEL process and I invoke it form a JSP page using BPEL java API.
    I have followed the tutorials and docs at:
    $SOA_HOME/bpel\samples\tutorials\102.InvokingProcesses\rmi\com\otn\samples\async
    I can inititiate successfully the process, but when I try to get the result using getResult() or getField(String fieldName) methods I get the error:
    Oct 2, 2007 2:35:16 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:856)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name com.collaxa.cube.i18n.exception_cube, locale en_US
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
         at com.collaxa.cube.CubeException.getResourceBundle(CubeException.java:142)
         at com.collaxa.cube.CubeException.<clinit>(CubeException.java:82)
         ... 17 more
    07/10/02 14:35:16 java.lang.ClassCastException: java.util.MissingResourceException
    07/10/02 14:35:16      at com.oracle.bpel.client.delivery.ext.async.thread.AsyncInstanceWatchdog.run(AsyncInstanceWatchdog.java:152)
    I check for the result only after I have checked that the instance is closed (completed or faulted) by using IInstanceHandle:getState() and InstanceHandle.STATE_CLOSED_COMPLETED, or IInstanceHandle.STATE_CLOSED_FAULTED
    I would like to add that so far I had no problems with invocation and geting result of sync BPEL processes. I do not what is missing for async processes.
    Any kind of help is appreciable.
    Thanks and best regards,
    Evanela

    Hi again,
    i managed to solve the problem:) Totally stupid.. the process variable name was not specified correctly..., but more stupid sounds the error message:))))
    Best Regards,
    Evanela

  • Problems with Direct Entitlement API ( problems to download the issuenumbers and others)

    Hi there.
    Here we are using the last version of Direct Entitlement API , we had download on this url : http://www.adobe.com/devnet/digitalpublishingsuite/articles/direct-entitlement-starter-kit .html
    But We are getting some problems
    With https://dev01.cartacapital.com.br/adobe/api/entitlements.php?authToken=0fc82ad9b9c11703ad5 c8dee47d7ee26&appVersion=1.3.1&appId=468573252
    This api is modificated to show only the issuenumbers that I have the right to read.
    I'm getting this results
    <result httpResponseCode="200">
    <entitlements>
    <productId>com.editoraconfianca.revistacartacapital.edicao753</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao754</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao755</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao756</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao757</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao758</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao759</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao760</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao761</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao762</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao763</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao764</productId>
    </entitlements>
    </result>
    That's ok
    But on my Ipad ( for testing only) , show this entitlement on a first place, on top of my screen.
    1) Why does the app is showing others  entitlements too, like ( com.editoraconfianca.revistacartacapital.edicao752, 751 ...  ) ?
    2) When I try to download all the result in  my xml , is not allowed to donwload, but the ( com.editoraconfianca.revistacartacapital.edicao752, 751 ...  ) is allowed to download
    When I verify if I can download the issue ( https://dev01.cartacapital.com.br/adobe/api/verifyEntitlement.php?authToken=0fc82ad9b9c117 03ad5c8dee47d7ee26&appId=com.editoraconfianca.revistacartacapital&productId=com.editoracon fianca.revistacartacapital.edicao753&appVersion=1.0.34 )
    show this result
    <result httpResponseCode="200">
    <entitled>true</entitled>
    </result>
    But I can't do the download.
    Help Please.

    There is no license or serial number for the DVD installer.
    If you can get access to a Mac with a working DVD Drive, make the DVD into a .dmg file in Disk Utility and then copy the .dmg file onto a USB key and install onto your Mac from that.
    Peter

Maybe you are looking for

  • Issues with Sony Vaio VCPF13BFX

    Hello, I have this Vaio Laptop, with custom kernel sony-laptop installed (3.2.13-1-sony). I'm trying to activate the ambient sensor, to turn on keyboard backlight when I'm in dark ambients, but isn't working. I tried to use sony-acpid-git from AUR, b

  • How I fixed lost airtunes and lost shared library

    It happened to me over and over again. Sometimes it helped to restart AirPort Express, sometimes it didn't. Sometimes it helped to remove the preferences of iTunes, sometimes it didn't. What helped me this time (and this was the fastest solution so f

  • Word doc tables in PDF, appearance of

    Using the online create PDF function, I have converted a Word document, 2 pages, that contains several tables. In each table the horizontal lines are retained while all vertical lines are removed. All lines were created with the default and smallest

  • ThinkPad Yoga 14 - no stylus?

    After the media event yesterday, I tried to determine if the new ThinkPad Yoga 14 will be available with a stylus and digitizer. It looks like it won't. So I won't be buying one. Can anybody confirm or refute this? Ron

  • Can't Login from Essbase Studio

    Hello Everyone, I am new to Essbase. I have successfully installed Essbase in Unix server. But when i tried to login from essbase studio which I have installed in windows. I got the following error from log files in the server. [ESSBASE0] [ERROR:32]