IBM Support

ConstraintViolationException while saving large Personalization rule.

Technote (troubleshooting)


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
[8/26/09 18:19:35:500 IST] 00000037 SystemErr R at


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, where large rules can be build and save to repository. However , from version 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 and higher versions , do as below.

(1) Change property rulesRepository.enableLargeRules to true in file located at <wp_profile>\PortalServer\config\config\services.

(2) Restart portal server.

Related information


Document information

More support for: IBM Web Content Manager

Software version:,

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: