Technote (troubleshooting)
Problem(Abstract)
It is not possible to define the search condition by "Process Definition" when you create a saved search in the Process Portal. The list of business process definition (BPD) names is not generated in the corresponding drop down menu.
Symptom
Error messages that are related to http://host_name:port/portal/jsp/getBpdList.do are shown in Java™Script console.
Cause
The issue might occur if the business process definition names contain characters that are not valid XML characters. The list of process definitions is retrieved from the server dynamically and returned in an XML form. Non-XML characters are not escaped when this list is formed in WebSphere Lombardi Edition and a browser reports an error when it parses the resulting XML code.
Diagnosing the problem
To see this issue, open the following link in your browser: http://host_name:port/portal/jsp/getBpdList.do
Make sure that you replace the host_name and port values with the fully-qualified domain name (FQDN) and port of WebSphere Lombardi Edition Process Portal.
Your browser should report an error if the returned XML code contains invalid characters. The exact error message depends on the browser.
The following examples show the error messages that are returned for a business process definition that is named "Name & issue". This name causes the described issue because the ampersand character is not a valid XML character:
- Microsoft Internet Explorer:
Whitespace is not allowed at this location. Error processing resource 'http://hostname:port/portal/...
<NAME>Name & issue</NAME><REF>/25.1cbfabf8-fb2c-466d-8490-99fb22499a7e</REF>.... - Mozilla FireFox:
XML Parsing Error: not well-formed
Location: http://host_name:port/portal/jsp/getBpdList.do
Line Number 13, Column 13:
<NAME>Name & issue</NAME><REF>/25.1cbfabf8-fb2c-....
------------^
If content of the exact line is not displayed, then check the page source to locate the reported position.
Resolving the problem
To resolve the issue, identify the affected business process definition and rename it so only valid XML characters are used in the name.
Refer to the following W3C standard for the validity of used characters:
http://www.w3.org/TR/2006/REC-xml-20060816/#charsets
Note: Your library might contain more than one business process definition with invalid characters in the name. Repeat the procedure until your browser renders the output of getBpdList.do successfully.
Product Alias/Synonym
WLE
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.