I have the following SAR file:
MyApp.sar
|--SAR/lib/myclasses.jar
|--SAR/lib/thirdparty.jar
|--SAR/lib/someotherstuff.jar
|--SAR/assembly.xml
|--SAR/environment.xml
|--SAR/config.xml
I want to load all of the classes in myclasses.jar using a Custom
ClassLoader which resides in thirdparty.jar.
MyClassA.class in myclasses.jar accesses a class in thirdparty.jar
called ThirdPartyClassLauncher.class.
ThirdPartyClassLauncher then starts a custom classloader thread that
loads the class that is passed to it as an argument using
ThirdPartyClassLauncher.main( "mypackage.MyClassB" )
Problem is that when deployed to Phoenix, ThirdPartyClassLauncher
custom classloader complains that mypcackage.MyClassB class can not be
found.
hence my effort to solve this problem by posing the following question:
How can I load all of the classes in myclasses.jar using a Custom
ClassLoader which resides in thirdparty.jar.
TIA for any help.
k.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]