KM APIs for Reindexing a Index file

Hello,
Could anyone please let me know the if I need to Re-index (not increment index) a Index file using KM APIs are are there any APIs available, If so could anyone please let me know the same.
Regards,
Ronniee.

Hello Detlev,
I have created a scheduled task for running a Index . I am getting the following error . I suppose this might be something related to the user permissions , but not sure.
what might be the actual cause ? and the resolution?
1.5 #005056B90041005A00000000000010000004BAB9A5EC5039#1331206422286#com.sapportals.wcm.service.scheduler.SchedulerService#sap.com/irj#com.sapportals.wcm.service.scheduler.SchedulerService#Guest#0##8EBC6ACB691211E1CD0B0000010A0752#8ebc6acb691211e1cd0b0000010a0752-0#8ebc6acb691211e1cd0b0000010a0752#Thread[ConfigurationEventDispatcher,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Java###inconsistent config: '' - #3#task#<package>.<class>#Failed to load component class: com.sapportals.wcm.service.scheduler.crt.SchedulerEntryProxy#
#1.5 #005056B90041002F00000026000010000004BAB9ADD8CCB9#1331206555224#com.sap.portal.roles.RoleNavigation#sap.com/irj#com.sap.portal.roles.RoleNavigation#<user>#83771##5B21750C691211E180220000010A0752#5b21750c691211e180220000010a0752-0#5b21750c691211e180220000010a0752#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Java###URL does not point to an object of type INavigationConnectorNode: portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.system_configuration/com.sap.km.AdminConfig/com.sap.km.AdminSystemIndexes/relatedItems/RelatedLinks
[EXCEPTION]
#1#java.lang.ClassCastException: com.sapportals.portal.pcd.gl.PcdGlContext incompatible with com.sapportals.portal.navigation.AbstractNavigationConnectorNode
     at com.sapportals.portal.pcd.pcm.roles.RoleNavigationConnector.getNodes(RoleNavigationConnector.java:288)
     at com.sapportals.portal.pcd.pcm.roles.RoleNavigationConnector.getNode(RoleNavigationConnector.java:162)
     at com.sapportals.portal.navigation.cache.connector.CacheNavigationConnector.getOriginalNode(CacheNavigationConnector.java:939)
     at com.sapportals.portal.navigation.cache.connector.CacheNavigationConnector.getNode(CacheNavigationConnector.java:799)
     at com.sapportals.portal.navigation.NavigationService.getNavNode(NavigationService.java:1634)
     at com.sapportals.portal.navigation.NavigationService.getNode(NavigationService.java:581)
     at com.sapportals.portal.navigation.cache.CachedNavigationService.getNode(CachedNavigationService.java:164)
     at com.sapportals.portal.navigation.cache.CachedNavigationService.getNodes(CachedNavigationService.java:215)
     at com.sapportals.portal.navigation.NavigationEventsHelperService.getNavNodesListForTarget(NavigationEventsHelperService.java:1023)
     at com.sapportals.portal.navigation.NavigationEventsHelperService.getNavNodesListForPath(NavigationEventsHelperService.java:878)
     at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentContextNavNode(NavigationEventsHelperService.java:354)
     at com.sapportals.portal.navigation.NavigationEventsHelperService.getNavNodesListForPath(NavigationEventsHelperService.java:863)
Regards,
Ronniee.

Similar Messages

  • Java API for running entire ".sql" files on a remote DB ( mySQL or Oracle)?

    Hi,
    Would anyone happen to know if there's a java API for executing entire ".sql" files (containing several different SQL commands), on a remote database server ?
    It's enough if the API works with MySQL and/or Oracle.
    Just to demonstrate what i'm looking for:
    Suppose you've created sql file "c:/test.sql" with several script lines:
    -- test.sql:
    insert into TABLE1 values(3,3);
    insert into TABLE1 values(5,5);
    create table TABLE2 (name VARCHER) ENGINE innoDB; -- MYSQL specific
    Then the java API should look something like:
    // Dummy java code:
    String driver="com.mysql.jdbc.Driver";
    String url= "jdbc:mysql://localhost:3306/myDb";
    SomeAPI.executeScriptFile( "c:/test.sql", driver, url);
    Thanks.

    No such a API, but it's easy to parse all sqls in a file, then run those command:
    For instance:
    import java.sql.*;
    import java.util.Properties;
    /* A demo show how to load some sql statements. */
    public class testSQL {
    private final static Object[] getSQLStatements(java.util.Vector v) {
    Object[] statements = new Object[v.size()];
    Object temp;
    for (int i = 0; i < v.size(); i++) {
    temp = v.elementAt(i);
    if (temp instanceof java.util.Vector)
    statements[i] = getSQLStatements( (java.util.Vector) temp);
    else
    statements[i] = temp;
    return statements;
    public final static Object[] getSQLStatements(String sqlFile) throws java.
    io.IOException {
    java.util.Vector v = new java.util.Vector(1000);
    try {
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.
    FileReader(sqlFile));
    java.util.Vector batchs = new java.util.Vector(10);
    String temp;
    while ( (temp = br.readLine()) != null) {
    temp = temp.trim();
    if (temp.length() == 0)
    continue;
    switch (temp.charAt(0)) {
    case '*':
    case '"':
    case '\'':
    // System.out.println(temp);
    break; //Ignore any line which begin with the above character
    case '#': //Used to begin a new sql statement
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    case 'S':
    case 's':
    case '?':
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    v.addElement(temp);
    break;
    case '!': //Use it to get a large number of simple update statements
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    String part1 = temp.substring(1);
    String part2 = br.readLine();
    for (int i = -2890; i < 1388; i += 39)
    batchs.addElement(part1 + i + part2);
    for (int i = 1890; i < 2388; i += 53) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 4320; i > 4268; i--) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 9389; i > 7388; i -= 83)
    batchs.addElement(part1 + i + part2);
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    default:
    batchs.addElement(temp);
    break;
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    br.close();
    br = null;
    catch (java.io.FileNotFoundException fnfe) {
    v.addElement(sqlFile); //sqlFile is a sql command, not a file Name
    Object[] statements = new Object[v.size()];
    for (int i = 0; i < v.size(); i++)
    statements[i] = v.elementAt(i);
    return statements;
    public static void main(String argv[]) {
    try {
    String url;
    Object[] statements;
    switch (argv.length) {
    case 0: //Use it for the simplest test
    case 1:
    url = "jdbc:dbf:/.";
    if (argv.length == 0) {
    statements = new String[1];
    statements[0] = "select * from test";
    else
    statements = argv;
    break;
    case 2:
    url = argv[0];
    statements = getSQLStatements(argv[1]);
    break;
    default:
    throw new Exception(
    "Syntax Error: java testSQL url sqlfile");
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    //Please see Connecting to the Database section of Chapter 2. Installation in Development Document
    Properties properties = new Properties();
    Connection con = DriverManager.getConnection(url, properties);
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    //Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    // stmt.setMaxRows(0);
    stmt.setFetchSize(10);
    final boolean serializeFlag = false;//A test switch to serialize/deserialize the resultSet
    ResultSet rs;
    for (int i = 0; i < statements.length; i++) {
    if (statements[i] instanceof java.lang.String) {
    String temp = (java.lang.String) statements;
    switch (temp.charAt(0)) {
    case 'S':
    case 's':
    case '?':
    System.out.println(temp);
    rs = stmt.executeQuery(temp);
    if (serializeFlag) {
    // serialize the resultSet
    try {
    java.io.FileOutputStream fileOutputStream = new
    java.io.FileOutputStream("testrs.tmp");
    java.io.ObjectOutputStream
    objectOutputStream = new java.io.
    ObjectOutputStream(fileOutputStream);
    objectOutputStream.writeObject(rs);
    objectOutputStream.flush();
    objectOutputStream.close();
    fileOutputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    rs.close(); //Let the CONCUR_UPDATABLE resultSet release its open files at once.
    rs = null;
    // deserialize the resultSet
    try {
    java.io.FileInputStream fileInputStream = new
    java.io.FileInputStream("testrs.tmp");
    java.io.ObjectInputStream objectInputStream = new
    java.io.ObjectInputStream(
    fileInputStream);
    rs = (ResultSet) objectInputStream.
    readObject();
    objectInputStream.close();
    fileInputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    ResultSetMetaData resultSetMetaData = rs.
    getMetaData();
    int iNumCols = resultSetMetaData.getColumnCount();
    for (int j = 1; j <= iNumCols; j++) {
    // System.out.println(resultSetMetaData.getColumnName(j));
    /* System.out.println(resultSetMetaData.getColumnType(j));
    System.out.println(resultSetMetaData.getColumnDisplaySize(j));
    System.out.println(resultSetMetaData.getPrecision(j));
    System.out.println(resultSetMetaData.getScale(j));
    System.out.println(resultSetMetaData.
    getColumnLabel(j)
    + " " +
    resultSetMetaData.getColumnTypeName(j));
    Object colval;
    rs.beforeFirst();
    long ncount = 0;
    while (rs.next()) {
    // System.out.print(rs.rowDeleted()+" ");
    ncount++;
    for (int j = 1; j <= iNumCols; j++) {
    colval = rs.getObject(j);
    System.out.print(colval + " ");
    System.out.println();
    rs.close(); //Let the resultSet release its open tables at once.
    rs = null;
    System.out.println(
    "The total row number of resultset: " + ncount);
    System.out.println();
    break;
    default:
    int updateCount = stmt.executeUpdate(temp);
    System.out.println(temp + " : " + updateCount);
    System.out.println();
    else if (statements[i] instanceof java.lang.Object[]) {
    int[] updateCounts;
    Object[] temp = (java.lang.Object[]) statements[i];
    try {
    for (int j = 0; j < temp.length; j++){
    System.out.println( temp[j]);
    stmt.addBatch( (java.lang.String) temp[j]);
    updateCounts = stmt.executeBatch();
    for (int j = 0; j < temp.length; j++)
    System.out.println((j+1)+":"+temp[j]);
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":" +updateCounts[j]);
    catch (java.sql.BatchUpdateException e) {
    updateCounts = e.getUpdateCounts();
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":"+updateCounts[j]);
    java.sql.SQLException sqle = e;
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (java.sql.SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    stmt.clearBatch();
    System.out.println();
    stmt.close();
    con.close();
    catch (SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" + sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();

  • Provide some code/API For Converting .EML & .DXL files

    Provide API or java code For Converting .EML & .DXL files into .TIFF as soon as possible.

    i also require some pointers to api that can convert .eml files to .msg files. Please let me know if there are any api's for the same.

  • Reproting tool(api) for exporting in xls files in different templates

    Hi
    I need api for exporting data into xls files. DIfferent reports everyone has own template and data.
    Please suggest some free java APIs or tools that can be intergrated with java web application easy.

    you should use windward reports. we can use excel for the template, report, and now even the data source. And our design tool is word/excel/powerpoint, so you're already trained. you need a powerful, secure enterprise-level Java/J2EE reporting engine to back your critical reporting and document generation systems.
    The Windward Engine installs easily, runs on one or more servers as part of your server-based application, and can easily produce hundreds of thousands of reports per day on a single server. The server is a pure Java product (and also is available as pure .NET).
    Even better news for you guys: When combined with the Windward report design tools AutoTag and AutoTag Max, users design, schedule and run reports from within Microsoft Office. That means you can turn over reporting to the business group and get back to more interesting work.
    You don't have to take my word for it. Check out this [robust Java reporting engine|http://www.windwardreports.com/java.htm?source=pday909&campaign=pday909&utm_source=everyr&utm_medium=post&utm_campaign=pday909&id=203] for yourself.

  • Http live streaming - any tools or API to parse the index files?

    Hi,
    I am working on a monitoring tool. The idea of this tool is to monitor the downloads of http live streaming segments. I want to know if there are any tools or API available to parse the master index files and the alternate indes files to get to the video segment files?
    Appreciate your help.
    Thanks,
    Pams.

    What I find so far:
    1. can get some process property values from ComponentInstance class, see its api.
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/oracle/soa/management/facade/ComponentInstance.html
    Please refer http://blogs.oracle.com/soabpm/2009/07/soa_suite_11g_api_tricks_part.html of how to get the component instance (contain the bpel process) from a composite object
    2. in dev_soainfra database schema, the CUBE_INSTANCE table contains most of soa bpel components information. The BPM_CUBE_PROCESS table seems to contain only the process defined in a bpm application. This sounds a little confused, if we want to develop a bpel application, should it be put in soa or bpm application and what is the difference?
    Please feel free to correct any mistakes here.

  • Oracle API for Extended Analytics Flat File extract issue

    I have modified the Extended Analytics SDK application as such:
    HFMCONSTANTSLib.EA_EXTRACT_TYPE_FLAGS.EA_EXTRACT_TYPE_FLATFILE
    instead of
    HFMCONSTANTSLib.EA_EXTRACT_TYPE_FLAGS.EA_EXTRACT_TYPE_STANDARD
    I am trying to figure out where the Flat file extract is placed once the Extract is complete. I have verified that I am connecting to HFM and the log file indicates all the steps in the application have completed successfully.
    Where does the FLATFILE get saved/output when using the API?
    Ultimate goal is to create a flat file through an automated process which can be picked up by a third party application.
    thanks for your help,
    Chris

    Never mind. I found the location on the server.

  • APIs for Parsing JRA Recording Files (Any documentation?)

    Hi,
    I have a JRF recording file with me and using which i need to generate custom report using any scripting language like PERL or Ruby etc without using JRocket Mission Control. here in my custom script i can use any APIs provided by JRocket to parse JRA recording file and get different statistics data.
    So here i want to know what all APIs does JRockit provides for parsing JRA recordings and getting different statistics data from JRF recordings which can be consumed by some other scripting language and NOT through JRockit Mission Control.
    Please share any documentation link or document having detail of available APIs from JRockit for parsing JRA recordings and getting different statistics data.
    Thanks,
    Piyush

    Just in addition to my previous comment.
    I have JRA flight recording files with me for parsing.
    Thanks,
    Piyush

  • API for importing a subtitles file into Premiere

    Hi,
    We are developing a plug-in for Premiere, that needs to import a srt file and add it to the sequence with the appropriate time codes.
    We haven't found any example in the Premiere SDK documentation that shows how to do it.
    We noticed that Premiere itself supports importing an Adobe Premiere Title (prtl) file. Is there any way to do it using the Premiere SDK?
    We would appreciate any help or code sample on how to achieve this.
    Thanks.

    Hi Roi,
    It sounds like your task involves 2 separate things:
    1) Getting Premiere Pro to recognize your .srt file
    2) Getting the .srt files in a sequence at the proper timecodes
    For the first point, there is already a plug-in that supports this for Windows: EZTitles
    http://www.adobe.com/products/premiere/extend.displayTab4.html#Workflow
    To do this, they have implemented an importer plug-in that supports the .srt filetype.  The importer API is described in chapter 5 of the Premiere Pro SDK.
    For the second point, you may be able to generate a sequence in the Final Cut XML format that has all the clips at the desired times in the sequence.  Then import the sequence into PPro and the clips will appear at the appropriate time in the sequence.
    Zac

  • Api for reading .cfg files

    Hello everyone,
    Once I saw an api for reading typical .cfg files, in which ## are comments, [xx] are labels... Now I need to use it but I don't remember the api any more.
    Can somebody tell me which class do I have to use?
    Thanks a lot

    Now I need
    to use it but I don't remember the api any more.http://java.sun.com/docs/
    There is nothing that I'm aware of in the api that has the same functionality as MFC GetPrivateProfileString(...)
    You could use a properties files like most other people, otherwise you are going to have to implement it yourself.

  • Open .idx Index Files with search parameter.

    I want to open a pdf Index file (.idx) using parameters to start a specific search. It seems that the normal PDF parameter assignment does not work ( <acrobat filepath> /A "search=thisWord" <pdf filepath> )
    Are there other parameters for the pdx-Index-files or is it impossible to assign parameters in this case?

    try
    tell application "Finder" -- Required for file related AppleScript commands.
    -- Obtain a complete list of original files of folder' 'Finance', via related 'alias' files.
    set tList to original item of every file of entire contents of folder (((path to desktop folder from user domain) as string) & "Finance:")
    repeat with i in tList -- Cycle through the list of original files.
    if ((label index of i) is 2) then open i -- Open only the files whose 'label index' is '2' (the color 'red').
    end repeat
    end tell
    end try

  • Need to generate a Index xml file for corresponding Report PDF file.

    Need to generate a Index xml file for corresponding Report PDF file.
    Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
    This is generating pdf successfully.
    As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
    Please see the following attached sample file .
    PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
    Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
    In R12 ,
         We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
         xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
         OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
         docProc.process();
         PrintInvoiceThread :
              out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
                   out.print("<xapi:requestset ");
                   out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
                   out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
                   out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
                   out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
                   out.println("</xapi:indexfile>");
                   out.println("<xapi:document output-type=\"pdf\">");
    out.println("<xapi:customcontents>");
    XMLDocument idxDoc = new XMLDocument();
    idxDoc.setEncoding("UTF-8");
    ((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
    idxDoc = null;
    out.println("</xapi:customcontents>");
         In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
              public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
              public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
              public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
              public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
    Is there any similar java library which do the same thing in fusion .
    Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
              Section 7.11.3.2 Invoking Processors with InputStream .
    But this is not helping much to me. Is there any other document/view-let which covers these thing .
    Appreciate any help/suggestions.
    -anjani prasad
    I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
    PrintInvoiceThread
    InvoiceXmlBuilder
    Control.java

    You can find the steps here.
    http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
    http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

  • Edit index file for multiple websites on iWeb (on a non-MobileMe server)

    Hi, I try to make this as simple as I can:
    A) I own three different domain names, 1.com, 2.com and 3.com
    B) I have bought hosting space with a company that offers 10 free independent domains in the package. Meaning, all domains I upload should go into the folder /html/
    C) I use iWeb 3.0.1 built 9833)
    Now, whenever I upload 2 or more sites to the server, iWeb rewrites the riit index file - meaning the index file inside the /html/ folder. Whereas the other index files inside the folders for the three domains - /html/1, /html/2 and /html/3 - obviously remain intact.
    Result: if I upload all three domains (= with www,3,com being the last one) and then open www.1.com, it shows... right, www.3.com
    I have tried to create subdirectories in the /html/ folder, but of course this does not resolve the issue.
    HOW KNOWS A SOLUTION ??? WHAT DO I DO ???
    I am not a techie nor am I able to write html, but hey, one has to learn: so if anybody has a solution that is not simply drag-and-drop and might involve the use of, say Dreamweaver, do it. I will try to do my best.
    Thanks!!!

    This is a question for your host's tech support.
    What your hosting service should be saying is 10 dedicated IP addresses.
    If this is the case you should be able to create a root folder for each site on the server and upload the contents of the folder produced by iWeb to it. Notice that I said contents and not the folder itself and the external index.html file.
    This is how my host - Host Excellence - works and why I use them.
    Other services have different arrangements. If you are asked to upload several sites - each contained inside the folder produced by iWeb - to a folder named public_html or something like that then obviously you can't have several index.html files coexisting in this folder. The domain name for each site needs to be directed to the index.html file inside the folder containing the website files. Get tech support to explain how this is done or, better still, do it for you.

  • How to create index file for pdf.

    Hello,
    I need to create a plugin which will read a list of pdf files and then create a full text index with catalog. I searched on net and came to know about the catalog plugin which does this work.In AV layer there is a catalog object but I am unable to find any example on net which uses the catalog object to create the pdx file and a support folder(contains idx files).
    I also read the java script documentation but there was no example for creating index.We can build index but for that we need to retrieve the index object first.
    Can somebody please giude me.
    Thanks!

    Hi Irosenth,
    Is it possible to use DOM/IAC to create index files. The example given in SDK(SearchPdfVB) allows us to add,remove,enable and disable index files. But there is no method given in example to create an index file.
    I want to create index file and the supporting folder which contains .idx files automatically ie through code. Is it possible to do so??
    I also looked into the AVCommands but couldn't understand how to create the index files using AVCommands.
    Can you please guide me.
    Thanks!!

  • Api for OCR and reading .pdf and .doc(x) files

    Hi Guys,
    Happy new year to you all!
    I am trying to write an app that will read the text in an image, a .pdf or .doc(x) file and extract some information from it. I want this app to be a universal windows app. Is there an api for performing these actions?
    Thanks and God bless.
    The best things in life are free, but the most valuable ones are costly...use opportunities well for there are others like you who deserves them, but don't have them...

    No built-in APIs, but I am sure there are third-party APIs for this.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to create search index files for Java Pet Store

    Hi All,
    As you may know, the java pet store application uses for the search function a search index object, which itself uses the following files '_36.cfs', 'deletable', 'segments'.
    Now as I want to change the data of the database (delete some pets, and names, etc.), it does not have an effect on the search results. This is because the application uses the search index files and does not use the database for the search query.
    So can anybody help me and tell me how I can create this three files from my *.sql file, so I can search in my own data?
    Thank you very much for your help.
    Regards,
    Wolfgang

    gonso777 wrote:
    Solved:
    I had the same problem. It seems that the installer does not unzip three files where it should.
    With NetBeans (Using File Perspective) or just editing build.xml
    Netbeans: select build.xml/Run Target/Other Targets/unzipindexes: Tough it should work it fails in resolving $javaee.domaindir$ at least in my system, but it does suscessfully create a new directory named ${jee.domaindir} that includes lib/petstore/searchindex and three files: _36.cfs , deletable, segments.
    Copy those three files to your_glasshfish_path/domains/domain1/petstore/searchindex.
    Now you are done. I hope that you had a nice time while waiting two years for it to be answered. How is it that it is not answered anywhere else?
    Regards,
    Ramon Talavera
    www.sciencetechworks.comThanks. I didn't wait 2 years for this, but I just replied on a 2 year old post. I only recently tried the petstore app. I thought I needed to study lucene first to figure things out, it turns out there was an 'internal target' on the build file for this. Thanks a bunch!

Maybe you are looking for

  • How can we pass the select-option value to modulepool program?

    hi,   how can we pass the select-option value to modulepool program ?   Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.            My requirement if enter the values to sele

  • Canu00B4t clear debit and credit in F110 for direct debit

    Hi all, I try to post some invoices, both credits and debits in F110 with payment method E, direct debit, in Germany. We have not payment per due date and the total of the payment is in debit but the credits get red with the message "No payment possi

  • Use of Outlook 2007 Tasks (iTasks) repeatedly crashes Outlook

    I'm using Outlook 2007/Win 7 with all patches Have the iCloud add-in installed and enabled for “Calendars & Tasks with Outlook” I accept that I can’t use the native “Tasks” folder under My Tasks and have moved all my Tasks to “Tasks in iCloud” under

  • Dynamic Web Dynpro Project

    Noufal, I am working on a WD app wherein I need to dynamically populate dropdownlists, input fields. Dynamic values are contained in an object that has propertiy values such as id, text (could be a value set), read-only flag, labelid flag etc..... My

  • Burning to a CD

    Is there any way when burning to a CD after compiling a play list you can convert the total time of the play list to minutes rather than having it in hours. For example I need to know if the playlist is under 80 minutes for a CD and not have to guess