Hello, I have a problem deploying EJBs (.ear) files created by ANT on J2EE reference implementation server. I am creating the manifest file using ANT ear task but the server gives the following error:
java.io.IOException: Incorrect Manifest format at com.sun.enterprise.deployment.ApplicationClientArchivist.getMainClassNameFrom(ApplicationClientArchivist.java:346) at com.sun.enterprise.deployment.ApplicationClientArchivist.open(ApplicationClientArchivist.java:313) at com.sun.enterprise.deployment.ApplicationClientArchivist.open(ApplicationClientArchivist.java:259) at com.sun.enterprise.deployment.ApplicationArchivist.open(ApplicationArchivist.java:447) at com.sun.enterprise.deployment.ApplicationArchivist.open(ApplicationArchivist.java:371) at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:144) at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source) at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355) at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273) at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84) at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99) I am using deploytool.exe from command line. With Regards, Vikram