Java -verbose does not provide file location for each class

We are trying to debug some average classloader issues with our WAS (Websphere Application Server) instance.

To do this, we provided the -verbose: class option to see which WAS class is loading, where it came from.

For most classes, we get the output, for example

Loading class <some class> from <some jar file>

But for some classes (including those causing problems) only

Loading class <some class>

is printed.

Where is it from? Get them to boot right from hell or why does IBM protect their true identity?

Update: The class we are looking for is javax.xml.ws.Service, which should really come from rt.jar (we get java.lang.VerifyError on it)

+3
source share
3 answers

, JVM, , strace, dtrace lsof, , . , .

IBM JDK Diagnostics Guide? " -".

+4

, , , ? , ? ...

+3

If the output looks like

[Loaded $Proxy2 by instance of java.lang.reflect.Proxy]

... then your classes are auto-generated

+2
source

All Articles