OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: iravjani on October 22, 2012, 02:11:00 PM

Title: Unable to load a PDF file after indexing
Post by: iravjani on October 22, 2012, 02:11:00 PM
Hello,

My client has a PDF indexer installed on their server to index and upload pdf files. The issue I am facing is when I index a pdf formatted file and try to load it via the following arsload command it gives a very unsual error that it cannot index the file... The following command i enter is:
-------------------------------------------
C:\Program Files\IBM\OnDemand for Windows\bin>arsload -fvn -h 10.200.**.* -u adm
in -p cmodpaswd -g FNADV001B F:\fupload.pdf
arsload: Processing file >F:\fupload.pdf<
arsload: Load Version <8.5.0.0> Operating System <Windows 64> <6.1.7600 >
arsload: Server Version <8.5.0.5> Operating System <AIX> <6.1> Database <DB2> <0
9.07.0005>
arsload: Processing failed for file >F:\fupload.pdf<
arsload: Processing has stopped.  The remaining files will NOT be processed.
-----------------------------------------------

really appreciate if someone could help me out in this...

Thanks!
Title: Re: Unable to load a PDF file after indexing
Post by: Justin Derrick on October 23, 2012, 01:16:35 PM
A customer of mine came across this recently.

You need to change directories to where the file is -- in your case, switch to the F drive. 

-JD.
Title: Re: Unable to load a PDF file after indexing
Post by: iravjani on October 24, 2012, 07:53:01 AM
Thanks for your reply. As you suggested, I have change the File location and try o upload it again, unfortunately find the same error.
---------------------------------------------------------------------------------------------------------------------

C:\Program Files\IBM\OnDemand for Windows\bin>arsload -fvn -h 10.200.62.3 -u admin -p cmod**** -g FNADV001B C:\Users\ibm.fahad\Desktop\fupload.pdf

arsload: Processing file >C:\Users\ibm.fahad\Desktop\fupload.pdf<
Userid or password is invalid

arsload: Processing failed for file >C:\Users\ibm.fahad\Desktop\fupload.pdf<
Userid or password is invalid

arsload: Unable to log load information
arsload: Processing has stopped.  The remaining files will NOT be processed.
--------------------------------------------------------------------------------
Although the user name and password I am entering is the correct one. Kindly review and suggest any thing o sort it out.

Regards
Irfan
Title: Re: Unable to load a PDF file after indexing
Post by: Justin Derrick on October 24, 2012, 04:38:13 PM
Clearly, I didn't explain myself well enough.

Change to the directory where the file is located.  (Use the cd command, or switch to the drive -- D:, F:, whatever).
THEN run the arsload command inside the directory you just changed to.  (Don't go somewhere else!)

As for the password problem, it's probably expired or been changed by someone else.  Go log in with the client.
Title: Re: Unable to load a PDF file after indexing
Post by: LWagner on November 01, 2012, 03:15:20 PM
Have you already used the PDF dump program to locate text strings within the PDF file to index from in the application Indexer Information tab ?