-
1. Re: manifest.mf
tbfmicke Nov 16, 2001 2:51 PM (in response to ag0nywork)Your ear file probably does not need an manifest.mf file. And as it says..., the syntax is wrong.
Hovewer, the individual jar and war files might need manifests.
For example since you want the lcmbean.jar to have lcmlib.jar in its classpath, the manifest file for lcmbean.jar would be like:
Manifest-Version: 1.0
Created-By: notepad
Class-Path: lcmlib.jar -
2. Re: manifest.mf
schaefera Nov 16, 2001 3:34 PM (in response to ag0nywork)Did you provide a "application.xml" file placed in "/META-INF" directory of you EAR file ?
If not then you have to provide one.
The manifest.mf is not necessary for EAR files and will not be used. Note that WAR files must contain client code (EJB-Home and Remote interfaces etc.) in either "/WEB-INF/classes" if you provide it as class files or "/WEB-INF/lib" if you provide it in a JAR file. "/WEB-INF/lib" seems to give some problems with some Tomcat versions therefore the best bet is to unjar your JAR files and put these classes into "/WEB-INF/classes".
Andy -
3. Re: manifest.mf
ag0nywork Nov 16, 2001 5:39 PM (in response to ag0nywork)hi again.
i put the interfaces in web-inf/classes and this is working. my problem is, that all the files which are not classes, like some config-xml-files are not in the class-path when putting them into the web-inf/classes and so i tried to get this done with the manifest.mf in the ear. but if you say that i should put these into war and/or bean-jar file i will try this. i will tell if that helped or not :)
btw. do you know that this problem with the web-inf/lib is solved in the latest version of tomcat? (tomcat together with jboss) coz i also expirienced that jar in the web-inf/lib are not working properly.
Thanks so far for your time and a nice weekend.
sascha -
4. Re: manifest.mf
ag0nywork Nov 19, 2001 4:03 AM (in response to ag0nywork)still not working. i put now the xml-files into the lcmlib.jar with the correct path and wrote into the lcmbean.jar the manifest.mf, just as you said, but i still can't access the xml-files in the lcmlib.jar.
did i something wrong?
Greets -
5. Re: manifest.mf
ag0nywork Nov 23, 2001 9:15 AM (in response to ag0nywork)it is working now. i put the manifest.mf in the war and jar files and deleted it from the ear. the problem was also that the documentation i read was out of date.
Thanks for your help
Greets Sascha