Bootstrap FreeKB - IBM WebSphere - Append debug events to log using javax.net.debug
IBM WebSphere - Append debug events to log using javax.net.debug

Updated:   |  IBM WebSphere articles

Follow these steps to configure a WebSphere application server to log javax.net.debug events to the HPEL or SystemOut log.

  1. In the WebSphere admin console, select Servers.
  2. Select All servers
  3. Select your application server
  4. Select Java and process management
  5. Select process definition
  6. Select Java Virtual Machine
  7. Select Custom properties.
  8. Select New and create the following
    • Name = javax.net.debug
    • Value = true

Restart your application server, and javax.net.debug events should be appended to the HPEL or SystemOut log.

Or, the javax.net.debug property can be set in a Java application.

public class Main {	
  public static void main(String[] args) {
    System.setProperty("javax.net.debug", "all");
  }
}

 

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter e49400 in the box below so that we can be sure you are a human.