//In the new CL hierarchy the parent of common classloader
//is the shared chain.
if(Boolean.getBoolean(com.sun.enterprise.server.PELaunch.USE_NEW_CLASSLOADER_PROPERTY))
parentOfCommonCL = PELaunch.getSharedChain();
final InstanceEnvironment env = this.context.getInstanceEnvironment();
try {
final String dir = env.getLibClassesPath();
final String jarDir = env.getLibPath();
// constructs the common class loader. System class loader
// is the parent of common class loader. Common class loader
// includes <instance>/lib/classes dir, <instance>/lib/*.jar
// and <instance>/lib/*.zip