Question & Answer
Question
Collecting data for problems with IBM® FileNet® Business Process Framework. Collecting this MustGather information before calling IBM Support will help you understand the problem, save time analyzing the data, and reduce the time required to resolve the issue.
Cause
MustGather information can facilitate problem determination and can reduce the time that is needed to resolve Problem Management Records (PMRs). If a code fix is needed, accurate and timely data can speed the development of a code fix.
Collecting MustGather data early, before opening the PMR, helps IBM Support quickly determine if:
- The symptoms match any known problems
- The problem is not a defect and can be identified and resolved quickly
- There is an existing workaround that can reduce the severity of the problem
- A code fix can be developed to resolve the problem
Answer
There are several types of information that you should gather before you contact IBM Support:
- Product version information
- Server deployment information
- SSO information
- Fixes, add-ons, custom code
- Operating system information
- Detailed problem information
- Log files
If you need to enable DEBUG logging for Business Process Framework, see the following sections at the end of the document:
- Capturing DEBUG-level log information for Web application problems
- Capturing DEBUG-level log information for BPF_Operations problems
Collecting product version information
You must collect information about the specific version of Business Process Framework that you are using.
To determine which version of Business Process Framework you are using:
- Collect the Web application Information:
- From a Microsoft Internet Explorer browser session on one of the client machines, enter the URL
http://<BPF_server>:<port_number>/bpf/About.jsp
where
<BPF_server> is the machine hosting the BPF web application
<port_number> is the port on which the BPF web application server is running.
- Save the information by taking a screen capture.
- Collect the version information file, Bp8Version.txt, from the application server. The file is located in the directory where Business Process Framework is deployed.
- Collect the resource bundle, bpfCMResources.jar, from the application server. The file is located in the WEB-INF\lib subdirectory of the directory where Business Process Framework is deployed.
Collecting server deployment information, including the following
- Collect current AE, CE and PE release/and fixpack levels.
- Collect application server type (e.g. WebSphere) and release/patch level.
- Collect hardware platform and operating system release/patch level (see below for details).
- Collect LDAP server type and release/patch level.
- Determine whether or not BPF is being used in a clustered/farmed environment.
- Collect information on any firewalls, load balancers, and/or proxies in use.
- Determine whether or not AE, CE, PE, and/or BPF are collocated.
- Determine whether or not AE, CE, PE, and/or BPF are installed on a virtualized platform (e.g. VMWare).
Collecting SSO information
- Is SSO installed and in use for BPF and/or AE?
- If so, what SSO technology is being used (e.g. SiteMinder)?
Collecting information about fixes, add-ons, and custom code
- Catalog any and all IBM FileNet testfixes present, not just those specifically for BPF.
- Note any and all IBM FileNet P8 add-on products (e.g. Records Manager, eForms, etc.) present - along with their release/patch levels.
- Catalog and collect information on custom code or products from business partners.
- Catalog and collect information on custom code from IBM Lab Services.
- Catalog and collect information on custom code from IBM FileNet Development teams.
- Catalog and collect information on custom code developed in-house by the customer.
Collecting operating system information
Gather the following information about your environment for the affected servers or client workstations:
- The operating system version.
- The operating system environment variables.
- The operating system kernel parameters.
To collect the required information about your operating system, run the following commands that are listed for your operating system.
- AIX users
Enter the following commands and save the information that is returned by each command.
Command | Information returned |
uname -a or oslevel -q | OS Version |
/usr/sbin/instfix -ivq | OS Patches or Maintenance level |
env | OS Environment Variable |
errpt | OS Configuration & Error Reporting |
/usr/sbin/lsattr -E -l sys0 | OS Kernel parameters |
HP-UX users
Enter the following commands and save the information that is returned by each command.
Command | Information returned |
uname -a | OS Version |
/usr/sbin/swlist -l product | OS Patches or Maintenance level |
env | OS Environment Variable |
/usr/sbin/dmesg | OS Configuration & Error Reporting |
/usr/sbin/sysdef | OS Kernel parameters |
Solaris users
Enter the following commands and save the information that is returned by each command.
Command | Information returned |
uname -a | OS Version |
/usr/bin/showrev -a | OS Patches or Maintenance level |
env | OS Environment Variable |
/usr/sbin/prtdiag -v | OS Configuration & Error Reporting |
/usr/sbin/sysdef -D /usr/bin/getconf -a | OS Kernel parameters |
Windows users
Enter the following commands and save the information that is returned by each command.
Command | Information returned |
winmsd.exe | OS Version, Patches and Maintenance level Tip: In winmsd.exe, select File > Export to save the generated information to a text file (e.g. winmsd.txt). |
set | OS Environment Variable |
cscript C:\windows\system32\eventquery.vbs /L application /R 1000 /V cscript C:\windows\system32\eventquery.vbs /L system /R 1000 /V cscript C:\windows\system32\eventquery.vbs /L security /R 1000 /V | OS Event Log Error Reporting |
Gather the following information about the specific problem that you are encountering with IBM FileNet Business Process Framework:
- How often does the problem occur?
- Can the problem be reproduced?
- How many users are affected by the problem?
- What is the business impact of the problem?
- Is there a workaround for the problem?
If the problem can be reproduced, write clear, detailed steps to reproduce the problem.
In addition to answering these questions, you should take screen shots of the problem, if possible.
Collecting log files
Depending on the type of problem that you are encountering, you should also gather log files to send to IBM Support.
- All problems
No matter what problem you are experiencing, you should collect the system log files. Collect the appropriate log file for your environment.
Operating system | Files to collect |
AIX | /var/adm/syslog/syslog.log |
HP-US | /var/adm/syslog/syslog.log |
Solaris | /var/adm/messages /var/log/syslog |
Linux | /var/log/syslog |
Windows | Windows Application Event Log Windows System Event Log Tip: To save Windows event logs, go to Control Panel > Administrative Tools > Event Viewer and save each file as type .evt. The saved files can then be transferred and opened on another machine. |
Business Process Framework Web application problems
If you are experiencing problems with the Business Process Framework Web application, collect the DEBUG-level bp8.log file and the external.log file from the WEB-INF\logs subdirectory of the directory where Business Process Framework is deployed.
If the HTTP access logs are available on the application server, gather those log files too.
Business Process Framework Operations (BPF_Operations) problems
If you are experiencing problems with BPF_Operations, collect the DEBUG-level bp8operations.log file and the adaptor.log file. By default, the files are located in the system directory. For example, the system directory is System32 on Windows.
If the bp8operations.log file and the adaptor.log file are not in the system directory, they are in the directories that are defined in the BPF_Operations log4j.xml file. The BPF_Operations log4j.xml file is in the bp8ciops.jar file. The location of the bp8ciops.jar file is defined in the Required Libraries class path in the Business Process Manager Process Engine Component Manager.
Business Process Framework Explorer problems
If you are experiencing problems with the Business Process Framework Explorer, collect the Windows Application event log.
Next steps
Once you collect the required information, you can analyze the data or submit the information to IBM Support.
Capturing DEBUG-level log information
If your IBM Software Support representative asks you to enable DEBUG-level logging, you can enable the logging for the component of Business Process Framework with which you are experiencing problems.
- Capturing DEBUG-level log information for Web application problems
- Stop the application server and remove the existing bp8.log file and the existing external.log file. You can remove the log files by deleting them or by renaming them. Both files are located in the WEB-INF\logs subdirectory of the directory where Business Process Framework is deployed.
- Open the log4j.xml file, which is located in the WEB-INF subdirectory of the directory where Business Process Framework is deployed.
- Change the value of the level value parameter to “debug” and the value of the additivity parameter to “true” in the following lines of the log4j.xml file:
<logger name="com.filenet.bp8" additivity="true">
<level value="debug"/>
<appender-ref ref="bp8"/>
</logger>
<logger name="com.filenet.wcm.api" additivity="true">
<level value="debug"/>
<appender-ref ref="external"/>
</logger>
<root>
<level value="debug"/>
<appender-ref ref="external"/>
</root>
- Restart the application server.
- Reproduce the problem and gather the bp8.log file and the external.log file.
- Reset the logging levels for the bp8.log file and the external.log file to “error”:
- Stop the application server.
- Change the instances of “debug” that you changed in step 3 to “error”.
- Restart the application server.
To capture DEBUG-level log information in the bp8.log file and the external.log file for Web application problems:
- Capturing DEBUG-level log information for BPF_Operations problems
- Extract the BPF_Operations log4j.xml file from the bp8ciops.jar file. The location of the bp8ciops.jar file is defined in the Required Libraries class path in the Business Process Manager Process Engine Component Manager.
- Add the (%M:%L) to the ConversionPattern parameters where indicated, add additivity="false" to the logger nodes where indicated, and change the value of the level value parameter to debug in the following lines of the log4j.xml file:
- Stop the Component Manager.
- Save your changes and replace the version of the BPF_Operations log4j.xml file that is in the bp8ciops.jar file with the version that you updated.
- Restart the Component Manager.
- Reproduce the problem and gather the bp8operations.log file and the adaptor.log file.
- Reset the logging levels in the BPF_Operations log4j.xml file to “error”:
- Extract the BPF_Operations log4j.xml file from the bp8ciops.jar file.
- Change the instances of “debug” that you changed in step 2 to “error”.
- Stop the Component Manager.
- Save your changes and replace the version of the BPF_Operations log4j.xml file that is in the bp8ciops.jar file with the version that you updated.
- Restart the Component Manager.
To capture DEBUG-level log information in the bp8operations.log file and the adaptor.log file for BPF_Operations problems:
<param name="File" value="adaptor.log"/>
<param name="DatePattern" value="yyyy-MM-dd"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %C{2} (%M:%L) - %m\n"/>
</layout>
</appender>
<appender name="Bp8Operations" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="bp8operations.log"/>
<param name="DatePattern" value="yyyy-MM-dd"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %C{2} (%M:%L) - %m\n"/>
</layout>
</appender>
<logger name="com.filenet.wcm.api" additivity="false">
<level value="debug"/>
<appender-ref ref="R"/>
</logger>
<logger name="com.filenet.operations.Bp8Operations" additivity="false">
<level value ="debug"/>
<appender-ref ref="Bp8Operations"/>
</logger>
<logger name="oracle.jdbc.pool.OracleDataSource" additivity="false">
<level value ="debug"/>
<appender-ref ref="Bp8Operations"/>
</logger>
<logger name="net.sourceforge.jtds.jdbcx" additivity="false">
<level value ="debug"/>
<appender-ref ref="Bp8Operations"/>
</logger>
<logger name="com.ibm.db2.jcc.DB2DataSource" additivity="false">
<level value ="debug"/>
<appender-ref ref="Bp8Operations"/>
</logger>
<root>
<level value ="debug"/>
<appender-ref ref="R"/>
</root>
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21383850