Forums de discussion

Seperate Database for each instance

thumbnail
Aston Pearl, modifié il y a 10 années.

Seperate Database for each instance

Junior Member Publications: 62 Date d'inscription: 04/02/13 Publications récentes
Hi,

I created 2 portal instances and i want to have 2 different database for each instance. Is it possible?


Thanks!!!
thumbnail
Juan Gonzalez, modifié il y a 10 années.

RE: Seperate Database for each instance (Réponse)

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
thumbnail
Aston Pearl, modifié il y a 10 années.

RE: Seperate Database for each instance

Junior Member Publications: 62 Date d'inscription: 04/02/13 Publications récentes
I followed the guide but unable to solve my problem. LR default tables does not get created. Getting error that table does not exist.

i.e

13:04:30,572 ERROR [pool-2-thread-1][JDBCExceptionReporter:76] Table 'ft.user_' doesn't exist
13:04:30,599 ERROR [pool-2-thread-1][PortalInstances:375] java.lang.reflect.UndeclaredThrowableException
thumbnail
Juan Gonzalez, modifié il y a 10 années.

RE: Seperate Database for each instance

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Liferay version?

I remember there was a bug which prevented to create the tables in a previous Liferay installation.
thumbnail
Aston Pearl, modifié il y a 10 années.

RE: Seperate Database for each instance

Junior Member Publications: 62 Date d'inscription: 04/02/13 Publications récentes
I am using Liferay 6.1.1 CE GA2

Thanks !!!
thumbnail
Juan Gonzalez, modifié il y a 10 années.

RE: Seperate Database for each instance (Réponse)

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Ok Aston you're hitting this issue:

https://issues.liferay.com/browse/LPS-21808

If you upgrade to 6.1.2 GA3 should be working properly.
thumbnail
Aston Pearl, modifié il y a 10 années.

RE: Seperate Database for each instance

Junior Member Publications: 62 Date d'inscription: 04/02/13 Publications récentes
Thanks for your help. Can you tell me how can i achieve result with out migrating to 6.1.2 GA3
thumbnail
Juan Gonzalez, modifié il y a 10 années.

RE: Seperate Database for each instance

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
You should patch using github commits for that LPS.
thumbnail
Aston Pearl, modifié il y a 10 années.

RE: Seperate Database for each instance

Junior Member Publications: 62 Date d'inscription: 04/02/13 Publications récentes
I am not able to find commit location or files. can you provide me URL?
thumbnail
Patrick Wolf, modifié il y a 10 années.

RE: Seperate Database for each instance

Regular Member Publications: 127 Date d'inscription: 15/09/10 Publications récentes
https://github.com/liferay
thumbnail
Aston Pearl, modifié il y a 10 années.

RE: Seperate Database for each instance

Junior Member Publications: 62 Date d'inscription: 04/02/13 Publications récentes
Juan Gonzalez:
You should patch using github commits for that LPS.



Hi,

Sharding is done but i am not able to add or delete user. I am getting "You do not have the required permissions."

Error Log :-

08:19:20,118 ERROR [ajp-bio-8009-exec-4][UserPermissionImpl:173] com.liferay.portal.NoSuchContactException: No Contact exists with the primary key 19202
com.liferay.portal.NoSuchContactException: No Contact exists with the primary key 19202



Probably again LR bug.

Thanks
thumbnail
Rahul Panchivala, modifié il y a 8 années.

RE: Seperate Database for each instance

New Member Publications: 14 Date d'inscription: 21/01/15 Publications récentes
hii Juan Gonzalez,

Add this property to your portal-ext.property file to remove your error

value.object.entity.cache.enabled.com.liferay.portal.model.Contact=false