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

WAS 640: DeployTool: error adding archive to ear.

Using DeployTool I have created a new project.

Here the steps I follow after project creation:

1. Go to the Server Components tab.

2. right-click and select 'Add Library'.

3. Give a name: 'jdom' and select 'Create New'. Click OK to create the new archive.

4. Select the new archive in the left-hand column and click the '...' button to add a .jar file.

5. Browse to the location of the jar file, select it and click the Add button. The new .jar shows up in the list.

6. Go to the assembler tab and right click the name of the project.

7. Choose 'Add Archive'.

8. Navigate to the location of the archive previously created: <my project>/Server Components/jdom.jar. Choose the archive and click OK.

9. Error comes up:

"Could not load archive. It doesn't contain XML file or Incorect Archive! java.lang.Exception: Error occurred while processing Zip file: Can't find xml file in jar file."

What do I need to do differently to make the Assembler accept my archive?

Obviously I have read the DeployTool documentation at help.sap.com.

Many thanks for any help.

jake

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2004 at 12:32 PM

    Hi Jake,

    I got the same problem, except that I'm adding an already existing archive.

    Did you manage to solve this problem?

    Thanks for ANY kind of help,

    regards

    Nadine

    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.