ConstraintViolationException while saving large Personalization rule.
While saving large Personalization rule , it shows following error on Personalization portlet.
EJPVP99999E: An error occurred when saving the rule 'Rule name'.
In SystemErr.log following exceptions are thrown.
[8/26/09 18:19:35:500 IST] 00000037 SystemErr R javax.jcr.nodetype.ConstraintViolationException: The value for the binary property ibmpersonalization:contents on node /New Business Roles and Categories exceeds its max length. The max length is 32000 while the value is of length 32074
[8/26/09 18:19:35:500 IST] 00000037 SystemErr R at com.ibm.icm.jcr.ConstraintChecker.validateMaxLength(ConstraintChecker.java:713)
[8/26/09 18:19:35:500 IST] 00000037 SystemErr R at com.ibm.icm.jcr.ConstraintChecker.checkConstraints(ConstraintChecker.java:593)
This is known issue where Personalization could save rules larger than 32K in a compressed format. This feature is added by PK65714 for IBM WebSphere Portal 220.127.116.11, where large rules can be build and save to repository. However , from version 18.104.22.168 onwards , this feature is turned off by default.
Resolving the problem
In order to enable feature to save large rules in Personalization for IBM WebSphere Portal 22.214.171.124 and higher versions , do as below.
(1) Change property rulesRepository.enableLargeRules to true in PersonalizationService.properties file located at <wp_profile>\PortalServer\config\config\services.
(2) Restart portal server.
More support for:
IBM Web Content Manager
Software version: 126.96.36.199, 188.8.131.52
Operating system(s): AIX, HP-UX, IBM i, Linux, Solaris, Windows
Software edition: Java edition
Reference #: 1398966
Modified date: 31 August 2009
Translate this page: