Foren
More than one portal-ext.properties
Karthik V S, geändert vor 9 Jahren.
More than one portal-ext.properties
Regular Member Beiträge: 106 Beitrittsdatum: 21.12.11 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: More than one portal-ext.properties
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: More than one portal-ext.properties
Regular Member Beiträge: 234 Beitrittsdatum: 13.03.12 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: More than one portal-ext.properties
Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste BeiträgeKarthik 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