Es-cli batch mode problems

I can not get es-cli to accept my parameters file. It is no longer sending out errors but it's not logging me in either.
If I pass the paramters file but not a batch file I get to the prompt with out error but I'm not logged in. If I pass in a batch file I get the following error.
Error in the backend Process, please try again: Not owner
My files look like this
# cat smcinput
serverHost=wessmc
user=smcadmin
password=********
o=/home/wills/smcout
# cat smcalarms
browse
goto Production
getAlarms a=wessmc state=CLOSED
print
exit
# ls -l /home/wills/smc*
-rwx------ 1 smcadmin esadm 98 Feb 12 16:00 ./smcalarms
-r-------- 1 smcadmin esadm 67 Feb 13 14:06 ./smcinput
-rw-r--r-- 1 smcadmin esadm 0 Feb 13 14:09 ./smcout
I'm also running es-cli as the user smcadmin.
Also does anyone know of a way to have getAlarms dump the alarms for an entire Domain with out listing them out in the "a" parameter?

I got it to work, I was making a dumb error.
my command sytax was
es-cli -i parametersfile -b batchfile
when it should have been
es-cli i=parametersfile b=batchfile

Similar Messages

  • How to Upload a file in a Batch Mode ?

    Hi, I want to upload a Comma separated value File via RFC to a BW system.
    The scenario is the following: From a Portal server i call the BAPI using JC0/JCA.
    The problem is that GUI_UPLOAD does not support a BATCH job. At least i get a error when calling the BAPI: Exception condition "NO_BATCH" raised. 
    How do i upload a file in a Batch Mode ?
    Thanks,
    Kai

    Hi Kai,
    Sorry for the delay. The delay was in trying to get to talk to the Basis team.
    Here is how we have it.
    On the message server of every instance, there will be a SAP admin id that is '<SID>ADM' or 'SAPSERVER<SID>' where SID is the system ID. We use the '<SID>ADM' user id.
    On the external NT fileserver, there has to be a user id created on the NT box with the same SAP admin id and this id on the NT box should have access rights do Read/Write.
    All of these have to be in the same domain (or different domains that have trust access to each other).
    So, there is basis,network and security groups involved.
    Once these are in place, we can have file access to the external fileserver box.
    We use logical filenames at our place (Transaction FILE).
    This makes all the file transfer locations well organized and manageable.
    Hope that answers your question regarding this.
    Regards,
    -Ramesh

  • Getting a COM error when calling MenuItemExecute in batch mode

    I support an internal document management system for our corporate contracts. Among other applications, I have one that runs nightly in batch mode to store new invoices and connect them via bookmarks to their corresponding “parent” contract files. The original program was created in 2005 with Acrobat 7 (later updated to Acrobat 8) and it worked well for several years. However, a few months ago I upgraded the system to Acrobat 9 and since then the program has not run consistently.
    The “program” actually consists of a VB application and two plug-ins. The VB application does as much work as it can with IAC and the JSO bridge, but because the files are (owner) password protected one plug-in automatically applies the necessary password using AVDocDidOpen when the VB application opens the AVDoc. The VB application then also calls the other plug-in using MenuItemExecute. The second plug-in is used to create the bookmarks between the two files by grabbing info off bookmark strings and creating the necessary actions. It also applies the password to the files.
    Here is brief outline form is how this is all structured:
    pdDocParent.Open
             pdDocInvoice.Open
                     avDocParent.Open (This triggers the first plug-in to apply the password)
                             Create bookmark strings in both files using JSO bridge
                                    MenuItemExecute (To create the bookmark action in the parent)
                                    pdDocParent.Save
                            avDocParent.Close
                            avDocInvoice.Open (This triggers the first plug-in to apply the password)
                                    MenuItemExecute (To create the bookmark action in the invoice)
                                    pdDocInvoice.Save
                            avDocInvoice.Close
                    pdDocInvoice.Close
            pdDocParent.Close
    Since the upgrade, I’m getting a COM error [The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))] on a non-consistent basis when the application tries to call MenuItemExecute. When I say “non-consistent” I mean that some days the program will process several hundred files just fine. Other days it won’t process any. Then some days it will not process the first, oh, four files but will process the next 300. Usually it runs fine when started interactively, but even then the error sometimes occurs.
    I recompiled both plug-ins and the VB app using the Acrobat 9 SDK (headers for the plug-in and the Acrobat type library for the VB app) but that didn’t make any difference. I added code to check if the MenuItem is available and it is in all cases.
    After reviewing this more, I got to thinking that perhaps a race condition was the culprit—that a string hadn’t been completely written before the second plug-in tried to create an action for it. So I added some half-second pauses along the way, but that doesn’t seem to have helped, either.
    At this point the only thing I can think of is to rewrite the application as a pure plug-in. But it’s a long and involved application and if I can get the current app to work I’d prefer to do that. I tested it with Acrobat 10.1 and encountered similar problems.
    As I said, it’s been working fine up until Acrobat 9. Does anyone know of anything that might have changed with Acrobat 9 that I haven’t considered? Is there anything else I might check? Thanks.

    Leonard,
    I'd be interested in hearing why you think that because others at Adobe have told me it's OK. Acrobat is only being called by one user at a time and we've paid for a full license.
    Thanks,
    Dick

  • Photoshop CS3 Actions Batch mode bug?

    I posted this in the Mac forum but received no responses after a couple of days, so I am trying it here.
    Photoshop CS3 Actions seem to have a bug such that when used in Automate > Batch mode it will use the name of the first file opened in the batch session for every file processed in that session. Since that name is used in Save step, this means having to deal with the "File Already Exist" dialog for every file in the batch because it is attempting to save at the designated location with the same file name. If the continue option is chosen each time, the final result is one file with the first opened file name, but with the contents of the last processed file.
    To confirm that this is a problem particular to the opening step, I have disabled all processing steps as well as the saving step by toggling them in the Actions panel. I then ran the action in batch mode on a folder containing 4 files. This resulted in 4 opened files all with the same name but different image content.
    This was with the "Override 'Open' Action Commands" checked/not checked, and the "Suppress File Open Options Dialogs"  checked/not checked. The  problem described also occurs when using a Droplet.
    By comparison, Photoshop CS exhibits the expected behavior: when an action is used in batch mode to process an entire folder of files, the name of each file is retained after opening and used after processing in the save or export step.
    The above described behavior of CS3 is a change acquired along the way to the CS3 version (I do not have the CS2 version to test). But more importantly, can someone please report if the CS4 version behaves as I described for CS3, or if it has been returned to the CS behavior?
    OS X 10.4.11
    G4 800 MHz 2 MB L3/processor 1.25 GB SDRAM
    Is this a known bug?
    Al

    Hello Miguel,
    I was going to come back to post some of my findings, one of which relates to your staement:
    "- The open command created by Photoshop 6 doesn't keep the file's name, it is a much simple open command, and so it opens the file with the own file's name."
    In my case I found that my CS version of the "same" action worked, while the  CS3 version failed, precisely because the earlier one records less detail for the open step.
    My need is to convert dozens of Quark pdf files to GIF and JPEG files for the web. What I found after several days of testing is that it is best to record the opening step in CS3 NOT using a pdf file, so that the "Open As Generic Pdf with 'Name____' " would not be coded into the opening step. Instead I recorded the whole action using a PSD file. Then I can proceed to run it in Batch mode choosing a folder of Quark pdf files as the source location with "Override 'Open' Action Commands" checked, and the "Suppress File Open Options Dialogs"  checked, and it opens all the pdf files just fine in some background process, not getting stuck in the details of the file name, and proceeds to cary out the flattening, saving, and closing steps to my chosen target location and uses the finder file name of each pdf files in the source folder to save a filename.ext in the Target folder.
    Contrary to what I stated in my original post, "Override 'Open' Action Commands" checked/not checked does indeed make a difference. If it is not checked, the files do open in batch mode, but the other steps are not performed. There is much more about this that I would like to know, and this may not be a general solution for all types of files that a user may wish to process in batch mode, but it works for my case. The main trick is to use as simple an opening step as possible when recording the action, and then letting Photoshop use whatever background process it requires to open a particular file type. I tested this by manually saving a pdf file to each of the twenty some odd formats available in the save as dialog to a Source folder, and then proceeded to batch process that folder with the action described above, and it worked for all except one.
    So while there may not be a bug involved in this problem, there certainly is a lack of documentation about how the "improvements" in the opening step in newer versions of Photoshop affect using Actions in Batch mode.
    Please comment if you can further explain any of the reported results. In particular, what is the situation in CS4?
    Thanks,
    Al

  • Want Batch mode in the Receiver  JDBC adapter

    Hi,
      My scenario is  File  to JDBC .  from the source file I'm getting  20 records for file. after processing by XI while inserting the records into database level but due to some problem  some records are not inserting.. suppose first 5 records got successfully inserted. but 6th record  due to unique contarin problem that was failed. but  due to this problem remaing records are also not inserting from the 6th record onwards it was not inserting any more records . 
       But i want to process all the Records or If any error is there in those records i want to fail all the records. I dont want any partial posting of the data.
    Plesae suggest me some solution for this.
    Regards
    Jain

    Hi Joel,
        Already i have selected that Batch Mode in Advanced tab.  my  transport protocol is JDBC 2.0 .
    And my SQL query is only INSERT  . in the mapping i have mapped action tag to  INSERT Command  for  inserting the rows... 
         still  my SQL query is inserting first 5 records only out of 20 records ... if the sixth record contain any problem  the process has been terminating .
       Please suggets me some solution for avoiding those problems. if any error is there then i want to fail teh complete message otherwise process all the records.   I dont want any partial posting of the file.
    Regards
    Jain

  • Values of select-options lost in tabbed screen when in batch mode

    Hi,
    I have a very strange problem.  When I run the following program in online mode (with values given for s_time1-low, s_time1-high and p_time1 on the second tab), everything is fine and the values given for s_time1 and p_time1 are printed.  However, if I run the program in background (batch mode), the values s_time1-low and s_time1-high are initial and this is what is printed out.
    Does anyone have a clue what could be the reason for this behavior?  Any help is much appreciated!
    Best regards,
    Michael.
    Demo-Program:
    REPORT zdemo.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK maintab FOR 26 LINES,
      TAB (20) button1 USER-COMMAND pushmain DEFAULT SCREEN 100,
      TAB (20) button2 USER-COMMAND pushtime DEFAULT SCREEN 200,
      END OF BLOCK maintab.
    *********** MAIN SCREEN (100) ***********
    SELECTION-SCREEN: BEGIN OF SCREEN 100 AS SUBSCREEN.
    PARAMETERS:     p_test TYPE i DEFAULT 10000.
    SELECTION-SCREEN: END OF SCREEN 100.
    *********** TIMEFRAME SCREEN (200) ***********
    SELECTION-SCREEN: BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECT-OPTIONS:   s_time1 FOR sy-timlo NO-EXTENSION.
    PARAMETERS:       p_time1 AS CHECKBOX DEFAULT ' '.
    SELECTION-SCREEN: END OF SCREEN 200.
    START-OF-SELECTION.
      WRITE:/ 's_time1-low:', s_time1-low.
      WRITE:/ 's_time1-high:', s_time1-high.
      WRITE:/ 'p_time1:', p_time1.

    Hi,
    I played around with the code a little bit: When I load a variant containing data for both tab strips and I do not click on the second tabstrip and run the program then in online mode, se values for s_time1 are also missing.  It seems that SELECT-OPTIONS are only initialized with values when the user activated the tab.  Strange enough that this does not hold for normal PARAMETERS where the values are alway initialized.
    Unfortunately, I did not find a solution for this problem yet.
    Help is appreciated very much!
    Regards,
    Michael.

  • HR_INFOTYPE_OPERATION - Running in Batch Mode

    I have an ABAP which reads data from a flat file into an internal table and then loops through this internal table and updates HR Infotype 15 records via the HR_INFOTYPE_OPERATION function.  In my program I give the user the option of running it in a "Test/no comitt" mode so they can verify the data in their data file and then they can run it in an "Update/Commit" mode.
    The program itself works great as long as I run it on-line.  I catch any errors and report them back to the user before the run it in "Update" mode.  This way if their is a problem with any of the data in the data file then they are made aware of this.  HOWEVER, if I run this same program in Batch mode it abends if their are any problems at all with any of the records in the data file (ie., employee doesn't exist or whatever).  The program just stops and does not give any error message and just indicates that is has Finished by it really hasn't.  I can't find anything in OSS notes around this. The program runs fine in Batch as long as the data file is clean and o.k.
    Has anyone else had this problem or have any ideas?

    Hi Janice
    For what its worth, I know its already too late for a reply to this problem, but documenting it so others can see.
    We had a number of issues updating infotypes 14 & 15 using HR_INFOTYPE_OPERATION. It works great for 14 but works sporadically when used in conjunction with a BDC logic. Function does not work that well for IT15 together with BDC. The key here is that the BDC logic was used in conjunction to calling the function. We had such a requirement.
    Anyway, I debugged the standard code, found some internal buffer clearing modules and used them as well, but that didn't work either. Finally we ended up using just the BDC, without the FM for lack of time and that is working great.
    I wanted to put this for the benefit of others who use it. Depending on how you use it, this FM does have some strange problems such as - not returning any error when it failed, performance problems with huge data loads etc.
    Thanks,
    Anand

  • How can I create tables (data dictionary) on SAP Environment in BATCH mode?

    I need a Help on Table Creation on SAP in Batch Mode. I don't want to use SE11 and manually enter all 2000 table definition in the Front END. Is there any way where I can create a tables on SAP in Batch MODE. I want to create around 2000 tables, where schema is generated from external source.  As we know table created from Native SQL will not be available in SAP Application Layer.

    Hi Kenneth,
    Which version are you in? I'm on 4.7 and i have the class on my system.
    You may even try using the Function module that i had mentioned in my earlier post. That might solve your problem.
    Please write back if you problems decides to have a date with you.
    Thanks, Debasish

  • Batch mode on JDBC adapter

    Hello XI Experts
    Could anyone please provide more information about how to use the Batch mode in JDBC adapter.  I would be sending about 200,000 records from abap proxy to oracle. Is it better to adopt the batch mode approach or the splitting of data in chunks approach so as to have a better performance while sending huge volumes of data.

    Hi ,
    Batch mode will be used to execute group of SQL statements at a time and it will improve the performance.
    but in your case sending 2lac records at a time will def create problems,my suggestion is split the data in to small chunks and send to data base,it will not create any problems.
    if you want split the data use java mapping , using that we can easily split the number of records in to small chunks.
    write a log in java mapping split the data in to 10000 records every time, out put stream will return multiple records,suppose you have 200000 records,if you are trying to split the data in to 10000 records,java OUTPUT stream will return 20 messages
    this is my idea,,if you find any other best way to split data,follow that.
    Regards,
    Raj

  • PreparedStatement in batched mode gives Exception

    Hi
    I have a problem.
    I am running PreparedStatement in batched mode, actually I am using Springs BatchSQLUpdate component.
    Now i am creating a batch of about 10000 inserts / updates. However if any single of these inserts / updates fails, it gives exception with DataIntegrityViolation, BadSQLGrammer etc.
    I am also maintaining a parallel cache of the values that I am using to bind the preparedstatements.
    So for statement 1 in the batch, i know what values are being used.
    My question is when the batch update fails, how can we identify which SQL statement, i mean which index in the batch caused the issue?
    Please help me as I am stuck and need to build some robust exception handling for PreparedStatement batch loads.
    Niki

    Niki-Nono wrote:
    The insertPreparedStatements.get() in my code returns a BatchSqlUpdate object which has already been assigned a statement and also have passed the array of object values to it.
    I have done this using batchSqlUpdate.update(objects); where objects is an array of values.
    THe code block that I executes the flush(). This throws an exception. In some cases it is a BadSQLGrammerException for cases where we try to insert alphabets in integer columns or in some cases DataIntegrityViolation where the batch has 2 sets of values with same primary key.
    The results array is null when i check the value in the catch block.
    And the flush() does not proceed with execution of the complete batch in fact it aborts when even 1 statement fails.
    I hope it is clearer now.
    However, if all the statements go through, I have seen that the results array has correct values as to how many rows were updated / inserted.
    Please let me know.OK, I really wasn't sure about what it did on flush, as there's no explicitly stated exception and nothing in the method description. The array will be null since it hasn't been set with the return value from flush since an exception was thrown.
    From what I can tell this Spring class uses, under the hood, the batch functionality from JDBC. So the particular exceptions you;re getting will have started life as SQLExceptions...which themselves will be of the BatchSQLException I mention in my first post. I'm wondering if the Spring exceptions contain the SQLException. I would hope so, and I have a vague recollection that the original is wrapped so you should be able to do something along the lines of:
    catch (DataAccessException ex)
        SQLException ex = ex.getCause();
        if (ex instanceof java.sql.BatchUpdateException)
            // Get the info from here.
    }Now, this is only a concept, and I haven't tested it or anything, but I would hope something along these lines should get you to the data you're after.

  • Oracle Form - use in batch mode

    How could I launch a procedure triggered by a form in batch mode, without the need of interactive operations.
    I should be able to pass all the parameters that can be set in interactive mode
    Is there any standard way to do that?
    Nicola

    One of our customer have a huge amount of forms, and they want to automate them using a job scheduling solution, but they don't want to rewrite all the code of forms
    The problem is that it seems impossible to launch them using any kind of command mode / non interactively
    Thanks

  • Validataion does not work in batch mode

    Hello community,
    We created an FI line item validation for transaction FBV1 that does a validation on a field and displays an error message if the validation fails. We have an RFC that uploads data from an Excel template and runs a BDC Call Transaction to upload and park the document. This worked well when we were on 4.6C but when we upgraded to ECC6.0, the Validation works fine when we manually call the FBV1 in SAP and the Validation DOES get triggered and displays a message if the line item validation fails but when we run FBV1 in batch mode, (RFC which contains a call transaction to FBV1) the validation does not work.
    I set up break a point in the generated program GBTBOFID where the exception error gets triggered and traced the FI Validation. The program will not display the error Validation message when run in batch but when run online, the error message gets triggered.

    Thanks for the prompt reply. I tryied a combination of the following options and did not have much luck with this one.
    Data: x_options type ctu_params.
         clear X_OPTIONS.
         X_OPTIONS-DISMODE = 'A'.
         X_OPTIONS-UPDMODE = 'S'.
         X_OPTIONS-CATTMODE = ' '.
         X_OPTIONS-DEFSIZE = ' '.
         X_OPTIONS-RACOMMIT = ' '.
         X_OPTIONS-NOBINPT = ' '.
         X_OPTIONS-NOBIEND = 'X'.
    CALL TRANSACTION 'FBV1' USING bdcdata options from X_OPTIONS
    After the call transaction the program automatically triggers some SAP generated code for a Validation check for FBV1 line item that we have put in through IMG. The message that should be displayed is in the FI validation check of FBV1.
    I put a break point in the SAP generated code for the Validation where the message should be displayed. The program executes the statement that should raise the exception and display the message. As soon as the statement is executed, conrol returns to the the the SAP transaction FBV1 program and the program continues to finish.
    The statement that executes and does not display the error message is:
    CASE valsevere.
            WHEN  'A'.
              MESSAGE ID msg_id    TYPE valsevere   NUMBER msg_nr
                      WITH msgv1 msgv2 msgv3 msgv4
                      RAISING abend_message.
            WHEN  'E'.    <=== *This option is true and the progam steps
                        " through the following message but does not display it.*
              MESSAGE ID msg_id    TYPE valsevere   NUMBER msg_nr
                      WITH msgv1 msgv2 msgv3 msgv4
                      RAISING errormessage.
            WHEN  OTHERS.
              MESSAGE ID msg_id    TYPE valsevere   NUMBER msg_nr
                      WITH msgv1 msgv2 msgv3 msgv4.
          ENDCASE.
    I should mention that in debug mode, I check the values of msg_id, msg_nr, msgv1 etc. and they all have values of a message class that we have created.
    The above code is in a SAP generated program for FI Validation (GBTBOFI0, include FGBB100R).
    -- We only have this issue when we use the FBV1 transaction in batch mode. Runing FBV1 directly online works fine.
    -- The issue is unique to ECC 6.0 environemnt. We did not have this problem in 4.6C
    Suggestions greatly appreciated.
    Edited by: Rob Burbank on Jan 20, 2010 12:15 PM

  • Run in batch mode and ping directory

    Hi all,
         i run the program in the backgroung mode.
       i have two parameters.one input file path name, second one output file name
    (where can i stored).
      i given input file path name like this: h:\list.txt
    and output file path : h:\jjj.txt.
    and then press F9.here pupup windoe is comeing (background job parameter) i click write tick button .the here i got popup and massage is like this "format set X_65_80".then i press enter.again popup is came start time,i click the immediate button and save it.then bachground job is schduled.
    then again i go to SM37. there i given prog name and execute.status is canceled.
    i click job log button its show the error.that error message :"error opening the server file. please help me how to solve the problem.
    i write code like this
    AT SELECTION-SCREEN.
    *.. Check if program run in batch mode and ping directory
      IF sy-batch = 'X'.
    *.. Move filename to file_name
        file_name = p_infile.
    *.. Check if path can be reached
        OPEN DATASET file_name FOR INPUT IN TEXT MODE.
        IF sy-subrc NE 0.
          MESSAGE e082(zsomerfield).
        ENDIF.
      ENDIF.
    *.. Batch check
    it urgetnt.
    Regards.
    kris.

    Krishna,
      You have to check 2 things
    1.whether you have autorization for that directory
    2.Check the file path currectly.Go to tcode AL11 try to copy the path and paste
          here.
    Pl.e reward if useful...

  • Batch mode & ClassCastException question

    Hi
    I'm using JDev 10.1.2.1 (1913) and have a problem with a JClient app using batch mode.
    The issue started when I decided to use ranges on my JTable. In sync=Immediate mode the JTable would render with data equaling the number of records requested from my VO plus empty rows (my NextSet and PrevousSet operation buttons made sets appear and disappear in existing rows of the table). For example, picture a table with 100 records and a VO tuned to request in batches of 10. My JTable would render with 10 rows displayed and 90 empty rows. When I click NextSet, the first 10 rows go blank and the next 10 appear. Obviously this is not desired behavior.
    Ok, so I decided to try "Batch" mode which cause the jTable to operate correctly but it causes ClassCastException errors when calling custom VO methods. Since I make sure to cast to interfaces and not implementations (per Steve's article: http://www.oracle.com/technology/products/jdev/tips/muench/batchmode/index.html) I don't understand why I'm getting these.
    Here's a test case to demonstrate:
    1) New Project - Connection: SCOTT
    2) Create EmpVO - Select * from EMP
    3) Tune EmpVO - Batches of 5, as needed; Fill Last Page unchecked
    4) Edit EmpVO class. Create custom method
    public String toString()
    return "Custom method: " + getClass().toString();
    5) Shuttle method to selected for Client Interface (interface EmpVO generated and automatically implemented by EmpVOImpl)
    6) Create EmpAppMod - Assign EmpVO
    7) Create runnable Panel from VO (Swing/JClient for ADF; template=Table)
    8) Modify panel by adding new panel (Constraints = SOUTH) and dragging "NextSet" and "PreviousSet" Operations from the EmpVO1 data control onto new panel as buttons
    9) Under the panel's UIModel you'll see two iterators for the same VO (one for the jTable and one for the buttons). Check the range sizes, the table iterator should be set to -1 and the button iterator to 5 (matches the VO's batch retrieve section).
    10) Edit panel code and add a call to the custom VO method in main():
    System.out.println(((EmpVO)panel.getPanelBinding().findIterBinding("EmpVO1Iter").getViewObject()).toString());
    11) Set Sync=Immediate for the AppMod DC in DataBindings.cpx
    12) Run panel
    Hopefully you'll see the blank row behavior described above and the custom toString() result printed to the console.
    Again, if batch mode works I don't care about this jTable problem.
    Now set Sync=Batch and re-run the panel. In my version the jTable works as expected but I get the ClassCastException...even though I'm casting to the EmpVO interface. In my real application this means I can't call any of my custom VO methods.
    Exception:
    Exception in thread main
    java.lang.ClassCastException: oracle.jbo.common.ws.WSViewObjectImpl
         at mypackage9.PanelEmpVO1.main(PanelEmpVO1.java:95)
    If anyone has a suggestion on how to make this work (in either sync mode) pls let me know.
    thanks
    John

    thanks but I don't understand. I thought I was using the client interface. The call to oracle.jbo.common.ws.WSViewObjectImpl is not being done by me.
    I found another thread (Re: ClassCastException: WSViewObjectImpl where Steve M. says do access the VO interface in batch mode like so:
    ApplicationModule am = (ApplicationModule) actionContext.getBindingContext().findDataControl("YourDataControlName").getDataProvider();
    YourCustomViewObject vo = (YourCustomViewObject) am.findViewObject("view1");
    I'm using a JClient panel to call the custom method so my code is:
    ApplicationModule am = (ApplicationModule)panel.getPanelBinding().getBindingContext().findDataControl("EmpAMDataControl1").getDataProvider();
    EmpVO ep = (EmpVO)am.findViewObject("EmpVO1");
    ep.toString();
    Both the default ApplicationModule and custom EmpVO are interfaces but I still get the ClassCastException
    I don't know if this helps, but if I create a method in my AppMod that calls the custom VO method I don't get the error....but that can't be right - I shouldn't have to create AppMod methods for all custom VO methods. Obviously I missing something fundamental

  • Acrobat repeatedly crashes in batch mode - compress / OCR

    Hi.
    I have c. 2000 scanned documents, each of 300 - 700 Mb.
    I am using Acrobat 11.
    The software repeatedly crashes in batch mode (either when compressing the file - ie saving not too lossy, and in a format accessible only to later versions of Acrobat - I think I pick version 9, or when OCR using ClearScan).
    The sensible thing then would be to run each document one at a time using some kind of scripting software, but alas it does not seem so easy to control OCR that way on Windows.
    Any suggestions?
    Is it churlish of me to expect that a product as mature as Acrobat should just work in its basic functionality?  From searching around on the web, it seems that I am not the only one having this problem.
    Thanks.

    2000 in one go -- you need a server product rather than a desktop product (aka Acrobat).
    Acrobat can accomplish the task on a smaller population of files.
    What number? You'd determine that via trial and error. Perhaps 50 at a whack; or more; or less.
    Applications in Windows tend to not manage memory/resources so well. Acrobat is no exception.
    So you may find it useful to reboot the box periodically.
    Be well...

Maybe you are looking for

  • Mac Mini, Cinema Display & a 12 wx Cintiq - is it possible?

    I currently have a G4 Mac (mirrored doors) with a Cinema Display and Wacom 12 wx Cintiq (on screen drawing tablet) hooked up.  Everything works fine, but since the G4 is a PowerMac, I'm finding less and less software compatibility.  I'm considering a

  • Issue with updating texts in Quotations

    Hi All, I am facing a very weird issue in one of my programs. The program creates or changes a bunch of quotations based on the input data via a file through a BDC. Once it completes creating or changing the quotations it updates a particular text ob

  • RFC monitor with CCMS

    Hello, I'm implementing RFC monitor with CCMS and I have a problem. I was able to implement the method with an auto-reaction method of send mail. It is working fine but it doesn't repeat the alert!  Let's say, imagine that the RFC isn't working since

  • Uploading to iCloud

    I have iCloud Drive activated on my iPad 3rd Generation, iPhone 4S and my Windows 7 PC.  I have copied folders and files of various types on my PC into the iCloud Drive folder and then I sign into iCloud.com and those folders show up in there but wit

  • New Chart Engine in SCM 5.1

    Hi all. Using APO-DP in SCM 5.1 In 5.1 there is a new chart engine that I am working my way through, understanding it on a trial and error approach. I'm getting there and thinks its not a bad tool after all. I was wondering if anyone knew if there wa