External JAR files in Application Client
My AppClient gets deployed OK (well, with errors like "Error attempting to process extensions from the manifest of JAR file" for each JAR file, but I learned those should be ignored..).
When the application tries to log something, I get this:
Feb 24, 2009 2:29:59 PM com.sun.enterprise.appclient.MainWithModuleSupport
WARNING: ACC003: Application threw an exception.
Where do I put external JAR files to get the AppClient run properly?
They currently sit in "domains/domain1/lib/ext/" (where I put JAR file for MySQL connector, which runs just fine) on the server AND in "META-INF/lib" path of the main client's JAR file. File MANIFEST.MF reads: Class-Path: myjar.jar log4j-1.2.15.jar
The project is run with this script (you may see that I tried APPCPATH as well):
/opt/glassfish/bin/appclient -client /opt/glassfish/domains/domain1/generated/xml/j2ee-modules/MyProject1/MyProject1.jar
Can anyone help?