You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Smart Pigeon <zw...@yahoo.com> on 2009/04/25 00:06:01 UTC

Some pdf files couldn't be imported.

 I used Jackrabbit 1.5.4 on Windows Server 2003.   I tried to import a pdf
file ( www.doe.mass.edu/mcas/2008/release/g3ela.pdf
www.doe.mass.edu/mcas/2008/release/g3ela.pdf ) and got an error like this:


24.04.2009 14:36:57 *ERROR* DavResourceImpl: Error while importing resource:
java.io.IOException: cb2b189d-c939-40cd-ne 612)


I originally used mysql datastore for it -- I thought mysql might not be
able to handle the size of the file (about 1.6M) in default case(blob
issue). I changed the datastore to FileDataStore -- but I got the error
above. It seems it is not the issue  of the size of file in general since I
could import a 5M rtf file or a irs form pdf at  http:
www.irs.gov/pub/irs-pdf/fw4.pdf www.irs.gov/pub/irs-pdf/fw4.pdf . So what
could be wrong here?
-- 
View this message in context: http://www.nabble.com/Some-pdf-files-couldn%27t-be-imported.-tp23225635p23225635.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Some pdf files couldn't be imported.

Posted by Zhou Wu <zw...@yahoo.com>.

Yes or No in this case. I did switch datastore form db to file one. It seems
something messed up here (not just missing the binaries), but I don't want
to investigate further.


Thomas Müller-2 wrote:
> 
> Hi,
> 
> The binaries will be missing if you import the data to a database data
> store, and then switch the configuration to use a file data store. Was
> this the problem? If not, we should try to find out what the exact
> reason was.
> 
> Regards,
> Thomas
> 
> 
> On Sat, Apr 25, 2009 at 12:24 AM, Smart Pigeon <zw...@yahoo.com> wrote:
>>
>> I think I got the problem -- I renamed the file and it got imported.  It
>> was
>> probably because I first imported with mysql datastore and failed. Some
>> entries might have been written to the repository, but the actual file
>> binary was not.  Not a typical case if I did right in the first place
>> (using
>> FileDataStore), but this could be a bug.
>>
>>
>>
>> Smart Pigeon wrote:
>>>
>>>  I used Jackrabbit 1.5.4 on Windows Server 2003.   I tried to import a
>>> pdf
>>> file ( www.doe.mass.edu/mcas/2008/release/g3ela.pdf
>>> www.doe.mass.edu/mcas/2008/release/g3ela.pdf ) and got an error like
>>> this:
>>> <p>
>>>
>>> 24.04.2009 14:36:57 *ERROR* DavResourceImpl: Error while importing
>>> resource: java.io.IOException: cb2b189d-c939-40cd-ne 612)
>>>
>>> <p>
>>> I originally used mysql datastore for it -- I thought mysql might not be
>>> able to handle the size of the file (about 1.6M) in default case(blob
>>> issue). I changed the datastore to FileDataStore -- but I got the error
>>> above. It seems it is not the issue  of the size of file in general
>>> since
>>> I could import a 5M rtf file or a irs form pdf at  http:
>>> www.irs.gov/pub/irs-pdf/fw4.pdf www.irs.gov/pub/irs-pdf/fw4.pdf . So
>>> what
>>> could be wrong here?
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Some-pdf-files-couldn%27t-be-imported.-tp23225635p23225821.html
>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Some-pdf-files-couldn%27t-be-imported.-tp23225635p23290139.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Some pdf files couldn't be imported.

Posted by Thomas Müller <th...@day.com>.
Hi,

The binaries will be missing if you import the data to a database data
store, and then switch the configuration to use a file data store. Was
this the problem? If not, we should try to find out what the exact
reason was.

Regards,
Thomas


On Sat, Apr 25, 2009 at 12:24 AM, Smart Pigeon <zw...@yahoo.com> wrote:
>
> I think I got the problem -- I renamed the file and it got imported.  It was
> probably because I first imported with mysql datastore and failed. Some
> entries might have been written to the repository, but the actual file
> binary was not.  Not a typical case if I did right in the first place (using
> FileDataStore), but this could be a bug.
>
>
>
> Smart Pigeon wrote:
>>
>>  I used Jackrabbit 1.5.4 on Windows Server 2003.   I tried to import a pdf
>> file ( www.doe.mass.edu/mcas/2008/release/g3ela.pdf
>> www.doe.mass.edu/mcas/2008/release/g3ela.pdf ) and got an error like this:
>> <p>
>>
>> 24.04.2009 14:36:57 *ERROR* DavResourceImpl: Error while importing
>> resource: java.io.IOException: cb2b189d-c939-40cd-ne 612)
>>
>> <p>
>> I originally used mysql datastore for it -- I thought mysql might not be
>> able to handle the size of the file (about 1.6M) in default case(blob
>> issue). I changed the datastore to FileDataStore -- but I got the error
>> above. It seems it is not the issue  of the size of file in general since
>> I could import a 5M rtf file or a irs form pdf at  http:
>> www.irs.gov/pub/irs-pdf/fw4.pdf www.irs.gov/pub/irs-pdf/fw4.pdf . So what
>> could be wrong here?
>>
>
> --
> View this message in context: http://www.nabble.com/Some-pdf-files-couldn%27t-be-imported.-tp23225635p23225821.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Re: Some pdf files couldn't be imported.

Posted by Smart Pigeon <zw...@yahoo.com>.
I think I got the problem -- I renamed the file and it got imported.  It was
probably because I first imported with mysql datastore and failed. Some
entries might have been written to the repository, but the actual file
binary was not.  Not a typical case if I did right in the first place (using
FileDataStore), but this could be a bug.



Smart Pigeon wrote:
> 
>  I used Jackrabbit 1.5.4 on Windows Server 2003.   I tried to import a pdf
> file ( www.doe.mass.edu/mcas/2008/release/g3ela.pdf
> www.doe.mass.edu/mcas/2008/release/g3ela.pdf ) and got an error like this:
> <p>
> 
> 24.04.2009 14:36:57 *ERROR* DavResourceImpl: Error while importing
> resource: java.io.IOException: cb2b189d-c939-40cd-ne 612)
> 
> <p>
> I originally used mysql datastore for it -- I thought mysql might not be
> able to handle the size of the file (about 1.6M) in default case(blob
> issue). I changed the datastore to FileDataStore -- but I got the error
> above. It seems it is not the issue  of the size of file in general since
> I could import a 5M rtf file or a irs form pdf at  http:
> www.irs.gov/pub/irs-pdf/fw4.pdf www.irs.gov/pub/irs-pdf/fw4.pdf . So what
> could be wrong here?
> 

-- 
View this message in context: http://www.nabble.com/Some-pdf-files-couldn%27t-be-imported.-tp23225635p23225821.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.