This gist is based on Liferay DXP (7.0) with Tomcat
-
Create
system-ext.properties
in/WEB-INF/classes
-
Add
org.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
to system-ext.properties -
Create
com.liferay.portal.store.s3.configuration.S3StoreConfiguration.cfg
inosgi/configs
accessKey=
secretKey=
s3Region=eu-central-1
bucketName=your-bucket-repo# Amazon S3 offers several storage classes
# http://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.htmls3StorageClass=STANDARD
httpClientMaxConnections=50
cacheDirCleanUpExpunge=7
cacheDirCleanUpFrequency=100 -
In
portal-ext.properties
adddl.store.impl=com.liferay.portal.store.s3.S3Store
-
Restart tomcat
i try with that code ...but it sho me some exception