 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: howto includ MANIFEST in EJB-jar file?
Posted: Jan 23, 2006 - 05:14 PM
|
|
Registered Member


Joined: Jan 28, 2005
Posts: 2
|
|
Hi,
I'm struggling while trying to deploy a EJB inside a EAR.
I do get NoClassDefFoundException. This is because of a missing MANIFEST.MF file in the ejb-jar. When I manually add the manifest with the class path, everything is fine. But for the automated EAR deployment using MyEclipseIde the manifest file is missing.
What properties have to be set in order to get the manifest into the deployable?
many thanks in advance,
Dirk |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 24, 2006 - 12:35 AM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1615
|
|
Do you have a MANIFEST.MF file in your src/META-INF directory? That should be packaged in the ejb jar in the META-INF directory inside your ejb jar. |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 31, 2006 - 01:30 PM
|
|
Registered Member


Joined: Jan 28, 2005
Posts: 2
|
|
greg,
yes I do have it in the src/META-INF directory ...it is just beside the ejb-jar.xml file, which is copied...but not the MANIFEST.MF :(
any idea? thanks, Dirk |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 31, 2006 - 06:10 PM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1615
|
|
Can you post your configuration summary available from the menu: MyEclipse > About MyEclipse > Configuration Summary....
Also, if you are trying to and any third party libraries in your EJB and have them be on the classpath in your EAR, take a look at Section 9 of the Deployment Quickstart. It describes how to generate a MANIFEST.MF files in your EAR and EJB project that will put all of your jars in your EJB project on the classpath during deployment.
http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/ |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |