6 Replies Latest reply: Jan 28, 2013 1:39 AM by Amit Brahmbhatt, 3Di RSS

    Text conversion of the file '.pdf' failed (WC Content PS5 -

    Amit Brahmbhatt, 3Di
      Hi I have WebCenter Content PS5 ( installed. The operating systems is OEL 6.3
      I have enabled OracleTextSearch.
      When I checkin a text file the conversion works and the indexer process completes fine. But there is a problem with PDF file.
      Below is the System Audit log for the indexer when a pdf file is checked-in:
      (internal)/6     01.15 16:19:27.196     IdcServer-257     File to be removed: /webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/vault/~temp/2121558855.pdf
      indexer/6     01.15 16:19:28.640     index update work     Retrieving indexer workspace: Provider name is 'SystemDatabase'
      indexer/7     01.15 16:19:28.640     index update work     /webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/search/search.cfg doesn't exist.
      indexer/6     01.15 16:19:28.640     index update work     Retrieving indexer workspace: Provider name is 'SystemDatabase'
      indexer/7     01.15 16:19:28.640     index update work     isRebuild?false; IndexerStep:Init; Class:intradoc.indexer.Indexer
      indexer/7     01.15 16:19:28.641     index update work     isRebuild?false; IndexerStep:CheckCollection; Class:intradoc.indexer.IndexerCollectionManager
      indexer/7     01.15 16:19:28.641     index update work     isRebuild?false; IndexerStep:BuildChanges; Class:entoracle.indexer.EOIndexerBuildChanges
      indexer/7     01.15 16:19:28.709     index update work     Saving 1 update changes
      indexer/7     01.15 16:19:28.709     index update work     isRebuild?false; IndexerStep:PreIndexingStep; Action:preIndexingStep
      indexer/7     01.15 16:19:28.709     index update work     isRebuild?false; IndexerStep:CheckForWork; Class:intradoc.indexer.Indexer
      indexer/7     01.15 16:19:28.709     index update work     Found work:Additions; Type:+; Change count: 1
      indexer/7     01.15 16:19:28.709     index update work     isRebuild?false; IndexerStep:IndexAdditions; Class:intradoc.indexer.CommonIndexerBulkLoader
      indexer/7     01.15 16:19:28.710     index update work     IndexerBulkLoader doing 'IndexAdditions' with m_change '+'; total count: 1; max count: 10000
      indexer/7     01.15 16:19:28.713     index update work     WebChange retrieved. RevClassID:401; dID:401; Indexer State: ; ReleaseState:R
      indexer/7     01.15 16:19:28.744     index update work     webFormat is application/pdf
      indexer/6     01.15 16:19:28.752     index update work     computeIndexableFileAttributes(); item:scldev000401,formatType:webviewable,renditionCount:-1,format:application/pdf,isAllowMap:true,isVault:false
      indexer/7     01.15 16:19:28.755     index update work     Format 'application/pdf' allowed: false
      indexer/7     01.15 16:19:28.755     index update work     Format table name: IndexableFormatTable; Format map name: FormatMap
      indexer/7     01.15 16:19:28.755     index update work     Direct indexing allowed: false
      indexer/7     01.15 16:19:28.756     index update work     Format 'application/pdf' allowed: true
      indexer/7     01.15 16:19:28.756     index update work     Format table name: ConvertibleFormatTable; Format map name: TextIndexerFilterFormats
      indexer/7     01.15 16:19:28.756     index update work     Conversion allowed: true
      indexer/7     01.15 16:19:28.760     index update work     Conversion handler for format 'application/pdf' is 'TextIndexerFilter'
      indexer/6     01.15 16:19:28.761     index update work     Added new item for indexing consideration. [format:application/pdf, formatType:webviewable, filePath:/webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/weblayout/groups/public/documents/document/zgv2/mdaw/~edisp/scldev000401.pdf, fileSize:1397367, url:/cs/groups/public/documents/document/zgv2/mdaw/~edisp/scldev000401.pdf,allowDirectIndex:false, allowConversion:true, conversionHandler:TextIndexerFilter, useMap:false, mapExtension:null
      indexer/7     01.15 16:19:28.764     index update work     indexWebFile: true m_retryIndexing: false m_isFirstRetry: true
      indexer/6     01.15 16:19:28.807     index update work     preparing 1 items
      indexer/6     01.15 16:19:28.812     index update work     Setting m_tifExportExePath to: /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/textexport
      indexer/6     01.15 16:19:28.832     index update work     doing conversion with intradoc.indexer.TextConversionHandler@16b0ca33 on intradoc.indexer.IndexerInfo@16b3f514 dID:401 key:null mdo:false iwf:true sta:-1 alone:false
      indexer/7     01.15 16:19:28.836     index update work     InputFilePath is: </webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/weblayout/groups/public/documents/document/zgv2/mdaw/~edisp/scldev000401.pdf> indexer/7     01.15 16:19:28.836     index update work     OutputFilePath is: </webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/search/ots1/bulkload/~export/scldev000401.txt>>indexer/7     01.15 16:19:28.836     index update work     Sending document to conversion>indexer/6     01.15 16:19:28.846     index update work     waiting for conversion handlers to finish>indexer/6     01.15 16:19:28.847     index update work     TextConversionHandler.finish() waiting for 1 items to finish processing>(internal)/7     01.15 16:19:28.876     TextExport_0     Unexpected abort by process 'TextExport'. intradoc.common.ServiceException: !csTaskManagerUnableToSendCommand,utf8\,/webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/weblayout/groups/public/documents/document/zgv2/mdaw/~edisp/scldev000401.pdf\,fi_unicode\,/webdata/Oracle/Middleware/user_projects/domains/scl_domain/ucm/cs/search/ots1/bulkload/~export/scldev000401.txt\,true (internal)/7     01.15 16:19:28.876     TextExport_0     !$Broken pipe (internal)/7     01.15 16:19:28.876     TextExport_0             at intradoc.taskmanager.TaskProcessStreamMonitor.runStdOutThread(TaskProcessStreamMonitor.java:262) (internal)/7     01.15 16:19:28.876     TextExport_0             at intradoc.taskmanager.TaskProcessStreamMonitor.run(TaskProcessStreamMonitor.java:91) (internal)/7     01.15 16:19:28.876     TextExport_0             at java.lang.Thread.run(Thread.java:662)>indexer/6     01.15 16:19:28.882     index update work     conversion handlers finished>indexer/6     01.15 16:19:28.897     index update work     prepareDoc complete duration<0>>indexer/7     01.15 16:19:29.532     index update work     setting change on '401' to 'I'>indexer/7     01.15 16:19:29.586     index update work     after handling indexing results: hasError: false m_retryIndexing: false m_isFirstRetry: true metaOnlyCount: 0 aSize: 1>indexer/7     01.15 16:19:29.588     index update work     isRebuild?false; IndexerStep:CheckForWork;  Class:intradoc.indexer.Indexer>indexer/7     01.15 16:19:29.588     index update work     isRebuild?false; IndexerStep:DetermineSubscription;  Class:intradoc.indexer.DetermineSubscription>indexer/7     01.15 16:19:29.591     index update work     isRebuild?false; IndexerStep:Replication;  Class:intradoc.server.IndexerReplication>indexer/7     01.15 16:19:29.591     index update work     isRebuild?false; IndexerStep:PostIndexingStep;  Action:postIndexingStep>indexer/7     01.15 16:19:29.591     index update work     isRebuild?false; IndexerStep:Cleanup;  Class:intradoc.indexer.Indexer>indexer/7     01.15 16:19:43.396     index update work     cleanup for dID 401 change is I origChange is + newIndexerState is  >indexer/7     01.15 16:19:43.429     index update work     isRebuild?false; IndexerStep:ContentRefresh;  Action:postDatabaseStep>indexer/7     01.15 16:19:43.431     index update work     isRebuild?false; IndexerStep:Init;  Class:intradoc.indexer.Indexer>indexer/7     01.15 16:19:43.432     index update work     isRebuild?false; IndexerStep:CheckCollection;  Class:intradoc.indexer.IndexerCollectionManager>indexer/7     01.15 16:19:43.432     index update work     isRebuild?false; IndexerStep:BuildChanges;  Class:entoracle.indexer.EOIndexerBuildChanges                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
        • 1. Re: Text conversion of the file '.pdf' failed (WC Content PS5 -
          Srinath Menon-Oracle
          Hi Amit ,

          What does the content status show up on Content information page ? Done or GenWWW ?

          • 2. Re: Text conversion of the file '.pdf' failed (WC Content PS5 -
            Amit Brahmbhatt, 3Di
            When i check-in the pdf file, the file is released.

            Below is the error on the info screen of the document.

            Text conversion of the file '.../ucm/cs/weblayout/groups/personalspaces/documents/document/zgv2/mdaw/~edisp/scldev000601.pdf' failed.
            Content has been indexed with Info only. Resubmit should only be performed if the problem has been resolved
            • 3. Re: Text conversion of the file '.pdf' failed (WC Content PS5 -
              M van Veelen
              We had the same problem here. We are running on Linux (Red Hat 6.3)
              The solution was to add LD_LIBRARY_PATH to the bash profile and set two paths


              use the 32-bit version! the 64-bit did not work!

              kind regards,

              • 4. Re: Text conversion of the file '.pdf' failed (WC Content PS5 -
                Amit Brahmbhatt, 3Di
                from where do i find the 32 bit libz.so.1 for Oracle Enterprise Linux 6.3?
                • 5. Re: Text conversion of the file '.pdf' failed (WC Content PS5 -
                  Srinath Menon-Oracle
                  Hi Amit ,

                  I would suggest to try installing the UCM Core patchset and the OIT Libraries patchset(actual engine which does FT indexing) and then test :

                  Details on the patches are provided in : Webcenter PS5 - Patchset Released

                  Stop the UCM (if IBR is there then that too) managed server(s) and then run these 2 patches .

                  Once it is completed start the server and see if FT indexing still fails .

                  • 6. Re: Text conversion of the file '.pdf' failed (WC Content PS5 -
                    Amit Brahmbhatt, 3Di
                    Hi Srinath,
                    I got the problem. I had already applied the patch ECM_14807491.
                    After you post i applied the patch 15922432.

                    But the above did not resolve the problem. The problem was that the textexport was not able to find the library files. I copied the following library files from another machine to the /usr/lib/ folder one by one as the textexport process kept complaining of the missing libraries.

                    The above files were present in the /usr/lib64 folder but when i gave the textexport the LD_LIBRARY_PATH of /usr/lib64 it complained that it was a 64 bit version.

                    The way to check the missing libraries for textexport is

                    $ cd Middleware_home/Oracle_ECM1/oit/linux/lib/contentaccess/
                    $ ldd textexport

                    After copying each library file i executed the ldd textexport and it would return the missing library file missing:
                    $ ldd textexport
                    linux-gate.so.1 => (0xf774a000)
                    libsc_ca.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_ca.so (0xf7740000)
                    libsc_da.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_da.so (0xf7720000)
                    libsc_ut.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_ut.so (0xf7570000)
                    libwv_core.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libwv_core.so (0xf6fe1000)
                    libX11.so.6 => not found
                    libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf6f14000)
                    libm.so.6 => /lib/libm.so.6 (0xf6eea000)
                    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf6ecc000)
                    libc.so.6 => /lib/libc.so.6 (0x4d50b000)
                    libsc_ind.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_ind.so (0xf6ebc000)
                    libsc_ch.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_ch.so (0xf6e94000)
                    libsc_fa.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_fa.so (0xf6e80000)
                    libsc_fi.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_fi.so (0xf6e60000)
                    libsc_lo.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_lo.so (0xf6e44000)
                    libdl.so.2 => /lib/libdl.so.2 (0xf6e3f000)
                    librt.so.1 => /lib/librt.so.1 (0xf6e36000)
                    libpthread.so.0 => /lib/libpthread.so.0 (0xf6e1b000)
                    /lib/ld-linux.so.2 (0x4d4e9000)
                    libsc_fmt.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_fmt.so (0xf6e0a000)
                    libsc_fut.so => /webdata/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess/./libsc_fut.so (0xf6d86000)

                    This happened to me on OEL 6.3. It works fine in my clients environment which is solaris.

                    Thanks for the help.