CWWIM4534E error occurs when searching for users/groups using multiple wildcards

Technote (troubleshooting)


Problem

In IBM WebSphere Portal, if you perform a search for a user or group in the People Picker portlet that results in multiple wildcards being used for the query to the federated respository, you receive the error message, "Search pattern is not valid", and error number CWWIM4534E.

[datetime] 000005c0 exception     W com.ibm.ws.wim.adapter.file.was.FileXPathHelper countWildcardAndValidatePattern CWWIM4534E The 'My*Group Search*' search pattern is not valid.

[datetime] 000005c0 exception     W com.ibm.ws.wim.adapter.file.was.FileXPathHelper countWildcardAndValidatePattern
com.ibm.websphere.wim.exception.InvalidArgumentException: CWWIM4534E The 'My*Group Search*' search pattern is not valid.

    at
com.ibm.ws.wim.adapter.file.was.FileXPathHelper.countWildcardsAndValidatePattern(FileXPathHelper.java:220)
    at
com.ibm.ws.wim.adapter.file.was.FileXPathHelper.parseSearchExpression(FileXPathHelper.java:157)
    at
com.ibm.ws.wim.adapter.file.was.FileXPathHelper.<init>(FileXPathHelper.java:100)


You may encounter a Directory Search UI message as below.

Too many names were found. Type more characters of the name, then search again.


Cause

The VMM file-based repository does not support search queries with multiple wildcards. When an LDAP is used, it is important to remove the file repository. For more information, refer to the section, "User registry considerations" in the WebSphere Portal Information Center.

Resolving the problem

In this case, Portal was connected to LDAP but the file repository had not been removed. Therefore, queries with multiple wildcards are directed to both LDAP and the file repository where the above exception occurs. Removing the built-in file repository (defaultWIMFileBasedRealm], the exceptions disappeared from the log.


Using LDAP only should resolve the issue.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Portal
Security

Software version:

6.1.5.0, 7.0

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows, i5/OS

Software edition:

Server

Reference #:

1470705

Modified date:

2012-05-02

Translate my page

Machine Translation

Content navigation