Fórum
document library S3
Sandra Hidalgo, modificado 10 Anos atrás.
document library S3
New Member Postagens: 21 Data de Entrada: 09/10/11 Postagens Recentes
Hi guys,
I'm trying to configure document library in order to integrate with Amazon S3 Service. I've create a new bucket in Amazon S3 bucket called XXXXX.
Then, in portal-ext.properties I've added these properties:
dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store
dl.store.s3.access.key=
dl.store.s3.secret.key= [password in amazon]
dl.store.s3.bucket.name=XXXXX
When I try to upload a new image in Document Library Portlet I receive a NullPointException.
Have I to encrypt access and secret key params? Any configutions in Amazon?
Please help
I'm trying to configure document library in order to integrate with Amazon S3 Service. I've create a new bucket in Amazon S3 bucket called XXXXX.
Then, in portal-ext.properties I've added these properties:
dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store
dl.store.s3.access.key=
dl.store.s3.secret.key= [password in amazon]
dl.store.s3.bucket.name=XXXXX
When I try to upload a new image in Document Library Portlet I receive a NullPointException.
Have I to encrypt access and secret key params? Any configutions in Amazon?
Please help
Sandra Hidalgo, modificado 10 Anos atrás.
RE: document library S3
New Member Postagens: 21 Data de Entrada: 09/10/11 Postagens Recentes
Fixed! access and secret key have to be encrypted!
Thanks
Thanks
Sandra Hidalgo, modificado 10 Anos atrás.
RE: document library S3
New Member Postagens: 21 Data de Entrada: 09/10/11 Postagens Recentes
I have achieved to upload images in amazon s3 bucket via document library portlet. However, in html code I've observed the src of images with http://localhost:8080.
Is it correct?? I thought that the correct src should be https://s3-eu-west-1.amazonaws.com/XXXX/10154/10180/301/1.0.
I have to do extra configuration in portal-ext properties or in amazon bucket?
Thanks!
Is it correct?? I thought that the correct src should be https://s3-eu-west-1.amazonaws.com/XXXX/10154/10180/301/1.0.
I have to do extra configuration in portal-ext properties or in amazon bucket?
Thanks!