Fórumok
More than one portal-ext.properties
Karthik V S, módosítva 9 év-val korábban
More than one portal-ext.properties
Regular Member Bejegyzések: 106 Csatlakozás dátuma: 2011.12.21. Legújabb bejegyzések
Hi all,
I want to know whether we can have more than one portal-ext.properties file in the tomcat server of liferay. As I want to use 2 databases.
Thanks in advance.
With Regards,
V S Karthik
I want to know whether we can have more than one portal-ext.properties file in the tomcat server of liferay. As I want to use 2 databases.
Thanks in advance.
With Regards,
V S Karthik
Olaf Kock, módosítva 9 év-val korábban
RE: More than one portal-ext.properties
Liferay Legend Bejegyzések: 6403 Csatlakozás dátuma: 2008.09.23. Legújabb bejegyzések
Well, yes and no: While you can have two different portal-ext.properties, they all will be adding to each other. A single installation of Liferay will access one database, with the notable exception that you can configure "database sharding" for multiple Liferay instances - but you don't need multiple portal-ext.properties files for that.
If you're just asking how to use a second database for your business specific functionality (e.g. your own application's database aside of Liferay's database), you can connect to that through whatever means you want - Liferay doesn't have to know of it at all.
If you're just asking how to use a second database for your business specific functionality (e.g. your own application's database aside of Liferay's database), you can connect to that through whatever means you want - Liferay doesn't have to know of it at all.
Subhash Pavuskar, módosítva 9 év-val korábban
RE: More than one portal-ext.properties
Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
These are the some Links Which may help you !!
https://www.liferay.com/community/forums/-/message_boards/view_message/34149755
https://www.liferay.com/community/forums/-/message_boards/message/11178975
http://liferayazam.wordpress.com/2011/05/30/connect-to-different-database-through-service-xml-liferay6/
https://www.liferay.com/community/forums/-/message_boards/view_message/34149755
https://www.liferay.com/community/forums/-/message_boards/message/11178975
http://liferayazam.wordpress.com/2011/05/30/connect-to-different-database-through-service-xml-liferay6/
Jack Bakker, módosítva 9 év-val korábban
RE: More than one portal-ext.properties
Liferay Master Bejegyzések: 978 Csatlakozás dátuma: 2010.01.03. Legújabb bejegyzésekKarthik V S:
I want to know whether we can have more than one portal-ext.properties file in the tomcat server of liferay. As I want to use 2 databases.
V S Karthik
For a second database, with its own ServiceBuilder-generated service layer, I like the post here: comment of October 2, 2013 12:12 AM https://www.liferay.com/community/forums/-/message_boards/message/16407861