-
1. Re: deployment of ear containing jars + sar
genman Sep 12, 2008 6:12 PM (in response to demarco)Add the jars to the META-INF/Manifest of the .ear file. Be doubly sure have "Classpath: " in there.
-
2. Re: deployment of ear containing jars + sar
demarco Sep 15, 2008 9:37 AM (in response to demarco)Thanks for your answer, but it doesn't help. The same error.
Is there no standard way to do that? -
3. Re: deployment of ear containing jars + sar
demarco Sep 18, 2008 11:45 AM (in response to demarco)Are there other ideas?
Somebody who knows if the relative pathes of libs must be included in the classpath entry of the manifest? f.e.
Meta-inf of the service-jar
Classpath /lib/lib1.jar /lib/lib2.jar ... or
Classpath ../lib/lib1.jar ../lib/lib2.jar ...
or something else?
Is the classpath entry generally necessary? If yes; why is this not handelt by the <library-directory>lib</library-directory> entry of the applciation.xml? -
4. Re: deployment of ear containing jars + sar
demarco Sep 24, 2008 4:43 AM (in response to demarco)no ideas?
-
5. Re: deployment of ear containing jars + sar
demarco Sep 25, 2008 7:23 AM (in response to demarco)Found it by myself. thanks. The libs should not be declared in a <library-directory>. The should seperatly defined in such a way:
lib/lib1.jar
Seems to be a simple answer, but now I'm running in a classloader conflict, which I describe in a separate task.