Debug enabled = false in WebSphere classloader trace
 Technote (troubleshooting)
 
Problem(Abstract)
When a classloader trace is enabled in IBM® WebSphere® Application Server, the trace log shows that "debug" is not being set:

[6/1/05 8:50:30:141 EDT] 701c9191 SystemOut O is debug enabled =
false
 
Cause
The application classloader policy was sent to PARENT_LAST, but the war module classloader was set to PARENT_FIRST.

The JARs are in the WAR module classloader classpath, but because the mode is PARENT_FIRST, the classes and configuration files were loaded from the classloader classpath in Application Server, not the WAR module's classpath.

 
Resolving the problem
Change the WAR module classpath to PARENT_LAST.
  1. Open the administrative console
  2. Select the application
  3. Select the war module
  4. Choose PARENT_LAST on the config, save the change and restart the application.
 
Related information
WebSphere classloader trace instructions
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1217126
IBM Group: Software Group
Modified date: Sep 16, 2005