Search settings
Use this page to search for information about class loaders visible to a Web module (.war file) or enterprise bean (.ejb file) in an installed enterprise application. This page helps you diagnose problems with class loaders.
To view this console page, click Troubleshooting > Class Loader Viewer > module_name > Search.
On the Search page, you can search class loaders for the following:
- Specific strings
- Specific .jar files
- The names of files in a specific directory
- The names of files loaded by a specific class loader
- Search type
Timeype of items in which to search for the string.
Search type Instructions and resulting action Class/Package In the Search term(s) field, type a class name or package name. After you select this search type and click Go, the program searches class loaders for a class or package name. The program displays a list of classes and packages that have the string in their name. JAR/Directory In the Search term(s) field, type a .jar file name or directory name. After you select this search type and click Go, the program searches class loaders for a .jar file or directory name. The program displays a list of .jar files that have the string in their name and of all files in directories that have the string in their name.
- Search term(s)
String to be found in the items searched.
The search is case-sensitive. If the search string is classname, the string ClassName is not found.
The search matches the entire string. If the search type is Jar/Directory and the search string is C:/WebSphere/AppServerd0603.185/java/jre/lib/ext/CmpCrmf.jar, the entire path of the JAR file is matched. If the search type is Jar/Directory and the search string is Cmp, the string Cmp is not found.
The search supports limited regular expressions. It supports the wildcard characters asterisk (*), question mark (?), and percent sign (%). The wildcard characters * and % match zero or more characters; ? matches exactly one character.
Search string Resulting matches *Cmp* Items that have Cmp in their name *Cmp*.jar Items that have Cmp in their name and that end in .jar %Cmp% Items that have Cmp in their name %Cmp%.jar Items that have Cmp in their name and that end in .jar *Cmp?rmf.jar Items that have a name with any characters before Cmp, then any one character, and then rmf.jar
The search supports full regular expressions if the value for the search string starts and ends with a forward slash (/).
Search string Resulting matches /.*Cmp.*/ Items that contain any character before and after Cmp in their name /.*Cmp.*\.jar/ Items that have Cmp in their name and that end in .jar /.*Cmp?rmf\.jar/ Items that have a name with any characters before Cmp, then any one character, and then rmf.jar /.*\d\.jar/ Items with a name that ends in a number followed by .jar
Related concepts
Class loaders
Related tasks
Class loading
Troubleshooting class loaders
Related Reference
Enterprise application topology
Class loader viewer settings
Class loading exceptions
Reference topic