Hi,
I found there might be a minor error in the classloader setting in the
PELaunch.java
Please see the method 'prepareAppServerJars()' at about line 425.
private static void prepareAppServerJars(){
//AS only jars
String asLib = installRoot + fileSeparator + "lib"; // please
see this line.
...
}
Maybe the 'fileSeparator' should also be added at the end like:
String asLib = installRoot + fileSeparator + "lib" *+ fileSeparator*;
When I turn on the debug option by adding
'<jvm-options>-Dcom.sun.aas.useNewClassLoader.debug=true</jvm-options>'
to domain.xml.
I found the following line in the server.log, it seems that is not
correct since there is no 'file separator' after the lib.
Application server classpath :
[D:/workspace/publish/glassfish\libadmin-cli.jar,
D:/workspace/publish/glassfish\libadmin-cli-ee.jar,
D:/workspace/publish/glassfish\libdbschema.jar,
D:/workspace/publish/glassfish\libj2ee-svc.jar]
Thanks
-Jason