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:
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".
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.
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?
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