LS2J and getResourceAsStream

Why getResourceAsStream (from Class and ClassLoader) always returns NULL when a java class is accessed using LS2J?

The resource being accessed (i.e. image) is embedded in the jar file.

When this class is accessed from another java agent, it goes fine.

Any help will be greatly appreciated. Thanks!

Subject: Re:LS2J and getResourceAsStream

By the way, the jar file containing the said class is embedded in a Java Library.

However, if the jar file is included in jvm\lib\ext of Notes program folder (and removed from the Java Library), it works fine.

Please help!