/wls_contraption

Different WebLogic Server Tools

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

wls_contraption

Different WebLogic Server Tools (and other web containers)

Bunch of tools to help WLS admin, debugging, etc.

  1. This first version is a war file to access log files from a remote client through an HTML file generated by WLS. The core idea is to show the directories/files of a particular server, this way we can debug easily.

  2. JNDI tree printing

  3. Oracle JDBC version from a Managed Server

  4. Servers Health Status.
    configure Oracle Maven: https://docs.oracle.com/middleware/1213/core/MAVEN/config_maven_repo.htm (or use a local wlfullclient.jar)

  5. Several WLST scripts to automatize tasks (java weblogic.WLST -skipWLSModuleScanning \<script\>.py)

  6. Print the string literal pool of a running JVM.

    Necessary library sa-jdi.jar can be found at:

[JavaVirtualMachines]$ find . -name sa-jdi.jar
./jdk1.7.0_201.jdk/Contents/Home/lib/sa-jdi.jar
./jdk1.8.0_131.jdk/Contents/Home/lib/sa-jdi.jar
./jdk1.8.0_191.jdk/Contents/Home/lib/sa-jdi.jar
./graalvm-ce-1.0.0-rc13/Contents/Home/lib/sa-jdi.jar
  1. btrace: a safe, dynamic tracing tool for the Java platform (executed at visualvm, https://devwebcl.blogspot.com/2019/01/btrace.html)
  2. decrypt passwords
  3. OQL queries for eclipse-mat
  4. check jdbc driver version
  5. timestamp from server
  6. stuck thread sample
  7. Heap OOM sample
  8. Metadata/Permgen OOM sample

TODO:

  • fix README.md (links) :P
  • add Guava to Health WLS check