Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Admin Console ADMA0157E error message when preparing an application for installation

260 views
Skip to first unread message

mike...@fairisaac.com

unread,
Jan 3, 2007, 6:13:45 AM1/3/07
to
As a new user of WAS, I attempted to instal a new test application. The following JAR file was created which contains:

0 Tue Jan 02 16:15:12 GMT 2007 META-INF/
71 Tue Jan 02 16:15:12 GMT 2007 META-INF/MANIFEST.MF
1986 Tue Jan 02 13:42:36 GMT 2007 HelloServlet1.class
93 Tue Jan 02 13:45:54 GMT 2007
HelloServletsTextMessages_fr_FR.properties
83 Tue Jan 02 13:46:32 GMT 2007
HelloServletsTextMessages_en_US.properties

It does not apear to be corrupt.

The Local file system radio button was selected and the full path was entered to the new application.

On clicking Next the following error message was displayed:
---
The EAR file might be corrupt or incomplete.
AppDeploymentException: [ADMA0157E: The system cannot find any valid enterprise archive (EAR) wrapper extensions or an extension did not run successfully to set a new EAR file path.]
---

Just to find out more about this error, I checked the remote file system and entered the full path to the JAR file there, this gave the error message:

"The specified file is not an EAR, WAR, JAR, or SAR archive."

It can be seen from the above listing that it is a JAR file. I have attached the JAR file in case you have any doubts.

I would be interested to hear if anyone has got any ideas about what is causing this error or how to solve it.

Best regards,

Mike

Ben_

unread,
Jan 3, 2007, 9:22:34 AM1/3/07
to
> "The specified file is not an EAR, WAR, JAR, or SAR archive."
>
> It can be seen from the above listing that it is a JAR file. I have
attached the JAR file in case you have any doubts.

To deploy a web application, you need to package it as a WAR file (+/- a JAR
file with a web.xml Deployment Descriptor).

A web application cannot be deployed just as a JAR file, because you need to
tell the web container what resources it contains (URI of Servlets, etc and
this is advertised via the Deployment Descriptor).


mike...@fairisaac.com

unread,
Jan 3, 2007, 10:14:41 AM1/3/07
to
Try to find out how to package my servlet into a WAR file using WebSphere is proving difficult.

mike...@fairisaac.com

unread,
Jan 3, 2007, 10:12:52 AM1/3/07
to
Thanks for the advice. As a beginner, I am trying to work through IBM WebSphere Application Server - The Complete Reference by Ben-Natan and Sasson. However, the Admin Console has changed so much since the book was written that its difficult to follow, can anyone recommend a good book that covers V6?

Ben_

unread,
Jan 3, 2007, 2:16:31 PM1/3/07
to
Yes, it seems this book was for WAS 4 and very much has changed with WAS
5...

If you want to read in book format, you should like Redbooks as they are
free, pretty complete and take care of beginners:
http://www.redbooks.ibm.com/websphere.

Also, the information roadmap has pretty much references to read:
http://www-128.ibm.com/developerworks/websphere/zones/was/roadmaps/roadmap_was61.html.

Not to mention the InfoCenter, but more for detailed search than for reading
as such.


0 new messages