Current Position:Home > Error in deploying, EAR file does not contain SAP_MANIFEST.MF

Error in deploying, EAR file does not contain SAP_MANIFEST.MF

Update:10-11Source: network consolidation
Advertisement
I just upgraded to SAP Netweaver Developer Studio 7.1 from 7.0, and the process of creating and deploying an EJB archive seems to be quite different. Here are the steps I am following:
(1) I create and build an EJB Project called foo.
(2) Export the EJB Project foo as an EJB JAR (not sure if this is necessary)
(3) Create an Enterprise Applications project called fooEAR, with target runtime set to SAP server. When I am prompted for J2EE Modules to add, I select foo (created in step (1)).
(4) Export the EAR project fooEAR as an EAR file. When I am prompted for which EAR application I choose fooEAR.
(5) Try to deploy the EAR created in (4) using Deploy View -> External Deployable Archives -> Add, then choose the fooEAR.ear as the target. But I get an error message:
Wrong SDA/SCA archive
Error while loading archive ...
Archive has no entry META-INF/SAP_MANIFEST.MF
I looked inside fooEAR.ear, and there is no SAP_MANIFEST.MF file. How can I create an EAR that has such a file ?

The Best Answer

Advertisement
Hi Ivaylo,
to answer your first question, the EAR that I am trying
to deploy gets created as part of the publish step. When
I look in the application.xml file of this EAR I see a
version attribute with value of 1.4 in the application
tag, can we assume that this implies J2EE 1.4 compliancy?
One thing about this generated EAR is that it does not
include any java code (VM or otherwise). When I generate
the EAR by hand (by exporting the EJB project as an EAR
file there is a JAR for the actual java code put in
there, but when generating the EAR via publish there is
only some xml and manifest stuff put in the EAR, with the
result that it's only 2KB or so in size. I have specified
a J2EE module dependency from the Enterprise Application
project to the EJB project, but is there something else I
need to do to ensure that the java code (jar) gets
included in the EAR of the Enterprise Application when
attempting to deploy via publish?
Thanks for the other suggest, "Import J2EE Archive".
However, I am having difficulty locating this button.
When I look at the "Deploy View" window I see on the left
the Workspace and External Deployable Archives trees,
and on the right there are "Setting for Updating
SCAs/SDAs" radio buttons, as well as "Error Strategy"
radio buttons, but no "Import J2EE Archive" button.
Thanks for the info about SDM by the way, I was wondering
why I was not able to launch it (there is still a remote
gui shortcut, which should probably go away).
  • Error in deploying, EAR file does not contain SAP_MANIFEST.MF Update:10-11

    I just upgraded to SAP Netweaver Developer Studio 7.1 from 7.0, and the process of creating and deploying an EJB archive seems to be quite different. Here are the steps I am following: (1) I create and build an EJB Project called foo. (2) Export the

  • Got this error after deploying ear file into OC4J server. Update:11-30

    Hello Frnsz, Can any one help to resolve the following error :) Got this error after deploying ear file into OC4J server. 2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProjec

  • Error while deploying EAR file through SDM Update:10-11

    Hi All, I am deploying EAR file through SDM. Its taking too much time to deploy in the 3rd stage (its just a simple hello file for testing purpose and its still in that stage for 2 hours). When I see the log, I can see some fata error. Please suggest

  • Error while deploying EAR file on OC4J 10.1.3.3 Update:10-11

    Hi all, I am facing following error on OC4J while deploying EAR file Error occurred during initialization of VM Could not reserve enough space for object heap 07/12/31 17:47:21 oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\war

  • Error in deploying EAR file Update:10-11

    hi experts, iam trying to deploy EAR file created using NWDS, when i am trying to deploy in XI server i am getting the following error, can any one solve my problem. Deploy of the ear has errors : java.rmi.RemoteException: Cannot deploy application s

  • Error while deploying ear-file to J2EE via NWDS/SDM Update:10-11

    Hi everybody, i have a problem deploying an ear-file. I was looking for similar cases in forums, but didn't find anything. My application is developed by jsp/servlets. The deployment aborts with following error-massage: Caught exception during applic

  • Error while Deploying .EAR file Update:10-11

    Hi All, Iam getting the following Error while deploying a .ear file (generated by jdeveloper 11g) into OC4J 10.1.3.3 [Apr 16, 2008 3:49:00 PM]application : ModelEJB is in failed state [Apr 16, 2008 3:49:00 PM] Operation failed with error: Missing cla

  • Error while deploying ear file generated from weblogic to ocj4 Update:10-11

    Hi All, I have an .ear file which has been generated from weblogic server.I tried to deploy it on ocj4 aby created a new project in eclipse and deploying it on ocj4. When I try to run my project it gives me an error: 2008-12-15 19:13:54.811 NOTIFICAT

  • Error while deploying EAR file on weblogic Update:10-11

    When i deploy an EAR file on weblogic 10.3 i get the following. Please tell how to rectify it? Unable to access the selected application. Exception in AppMerge flows' progression Exception in AppMerge flows' progression [J2EE:160161]Error while parsi

  • Error is deploying EAR file Update:10-11

    Hi Friends, I tried deploying an EAR file generated from IBM Websphere. The application was working fine on the development side. But when i deployed it to Oracle App Server, not able to run the application as before. Its showing some error in the lo