users@glassfish.java.net

Servlet to access a class which is loaded by the bootstrap-class-loader

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Mar 2008 08:08:26 PST

Hi,

How to access a class which is loaded by the bootstrap-class-loader from a servlet?

I start Glassfish with an option:
  java -javaagent:c:\a\a\limpidlog\build\limpidlog.jar .....

The classes in limpidlog.jar are loaded (some information is printed out). Now, I want access one of the class in limpidlog.jar. I get an error:
    java.lang.NoClassDefFoundError: limpidlog/agent/LimpidTransformer
This is not a security violation error. The class simply can not be "seen" by servlet.

Is there a way to access this class?

I am using Sun Java System Application Server 9.1_01 (build b09d-fcs)
Any information will be appreciated. Thanks in advance.
[Message sent by forum member 'weijiang' (weijiang)]

http://forums.java.net/jive/thread.jspa?messageID=263843