Skip to Content
author's profile photo Former Member
Former Member

Converting .EAR file to .SDA

I have a generic Java EAR file that I need to publish to the SAP WAS using SDM but I'm having a hard time finding a tool that will package it properly (ie create the sap_manifest file).

I found tools to convert PAR and EPA files to SDA's (see SAP note 696084) but nothing for a generic EAR file yet.

Has anyone done this before?

thanks,

Glenn

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2004 at 08:38 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2004 at 01:20 PM

    No dice - those tools are used to convert a J2EE JAR that is compatible with SAP WAS 6.20 to 6.40 format (there were quite a few cahgnes in the manifest and EJB descriptor files).

    Any other ideas?

    Glenn

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hey there - I'm intimately familiar (unfortunately) with the sapmake tools. They work for converting PAR's to and SDA and building multiple SDA's into a SCA but not for converting a vanilla J2EE EAR file into an SCA.

      thanks,

      Glenn

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2004 at 06:42 AM

    Well, I have become more "intimate" with the MAKe utilities. So this is what I now know:

    1. <i>par2sda</i>: Creates an SDA from a PAR file

    2. <i>epa2sda</i>: Creates an SDA from a EPA file

    3. <i>EAR</i>: No need to convert to SDA. Already considered as such

    I have stumbled upon the following problems, and if you know how to bypass them I would be very happy:

    1. If the PAR file is located in a different directory than the <i>par2sda</i> util then it is impossible to deploy this SDA (BaseIOException)

    2. SCA cannot pack as long as in the build.xml file, line 53, <format property="counter"... /> is not commented. On the other hand you cannot create and SDA when it is commented. So I created the SDAs, commeted the line, and created the SCA...

    This results in a quite awkward recipe but it worked.

    Azriel

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 16, 2005 at 02:44 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 26, 2005 at 08:49 AM

    Hi Glen,

    The SAP NW Developer Studio bundles the manifest when creating the ear file. So if you port the ear file to the DevStudio, you will have the SAP_MANIFEST.MF generated.

    Does any DevStudio Guru know how to import wars and jars into an ear ? The DeployTool of 6.20 provided this functionality and it was quite easy to bundle the ear. Still in the DevStudio only loading of "projects" seems available and I wouldn't want to dissect a full-blown application.

    Best Regards: Iavor

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.