Re: Content-disposition header not set correctly for S3 binary files

2021-02-26 Thread Mayur Barge
, Feb 26, 2021 at 4:52 PM Mayur Barge wrote: > Hello Julian, > Thanks for the reply, we are using the below versions. > > compile group: 'org.apache.jackrabbit', name: 'oak-jcr', version: '1.22.3' > compile group: 'org.apache.jackrabbit', name: 'oak-blob-cloud', version: > '1.2

Re: Content-disposition header not set correctly for S3 binary files

2021-02-26 Thread Mayur Barge
', version: '1.22.3' compile group: 'org.apache.jackrabbit', name: 'oak-blob-plugins', version: '1.22.3' Thanks, Mayur On Fri, Feb 26, 2021 at 2:47 PM Mayur Barge wrote: > Hello, > We are trying to PUT and subsequently GET binary files in S3. > The filename contains special encod

Content-disposition header not set correctly for S3 binary files

2021-02-26 Thread Mayur Barge
Hello, We are trying to PUT and subsequently GET binary files in S3. The filename contains special encodings like shown in example below S3 download fails with below error InvalidArgument Header value cannot be represented using ISO-8859-1. response-content-disposition File Name: Relationship

Migration from RDB to MongoDB is not migrating all tables

2020-10-20 Thread Mayur Barge
Hello, We are trying to migrate our old RDB Postgres repository to Mongo. This is the command I have used java -verbose -cp "oak-upgrade-1.34.0.jar:postgresql-42.2.17.jar" org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade --src-user=*** --src-password=*** 'jdbc:postgresql://SRC_HOST:5432/'

Re: Error while migrating the Datastores from PostgreSQL to MongoDB

2020-10-19 Thread Mayur Barge
v' mongodb://USER:PASS@HOST:27017/migration-poc=admin Thanks & Regards, Mayur On Fri, Oct 16, 2020 at 4:10 PM Mayur Barge wrote: > *Tried with both options "upgrade" and without "upgrade" option* > *java -verbose -cp "oak-upgrade-1.34.0.jar:**postgresql-42.2.17.

Re: Error while migrating the Datastores from PostgreSQL to MongoDB

2020-10-16 Thread Mayur Barge
. Thanks, Mayur On Thu, Oct 15, 2020 at 3:19 PM Mayur Barge wrote: > Hello, > I am trying to migrate my datasource from Postgres to Mongo. I have added > the driver file in CLASSPATH > > *CLASSPATH=/Users/mbn2671/Downloads/jar_files/oak-upgrade-1.8.7.jar:/Users/mbn2671/Downloads/j

Re: Error while migrating the Datastores from PostgreSQL to MongoDB

2020-10-16 Thread Mayur Barge
:5432/acdc_cms_dev'* *'mongodb://TARGET_HOST:27017/**migration-test'* On Fri, Oct 16, 2020 at 4:09 PM Mayur Barge wrote: > Hello, > I tried setting up classpath as suggested by Julian > > *java -verbose -cp "oak-upgrade-1.34.0.jar:**postgresql-42.2.17.jar" -jar > oak-upgrad

Error while migrating the Datastores from PostgreSQL to MongoDB

2020-10-15 Thread Mayur Barge
Hello, I am trying to migrate my datasource from Postgres to Mongo. I have added the driver file in CLASSPATH *CLASSPATH=/Users/mbn2671/Downloads/jar_files/oak-upgrade-1.8.7.jar:/Users/mbn2671/Downloads/jar_files/postgresql-42.2.17.jar:.* This is a Mac machine I am using. Now what I want to