• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error while deploying

 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting following error on deploying war file on admin console.

The EAR file could be corrupt and/or incomplete.
java.lang.IllegalArgumentException

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepa,
You can deploy a WAR file on the admin console? How do you specify it is a WAR instead of an EAR? It looks like WebSphere thinks you are deploying an EAR.

In the future, please specify what version of WebSphere you are using.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you deploying through the admin console, or through a JACL script?

If you're having a problem with a script, I've got a few examples on my website if you'd like to see them:

http://www.technicalfacilitation.com/get.php?link=scripts

Cheers.

-Cameron
 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using IBM WEBSPHERE APPLICATION SERVER, v. 5.1, and On admin console, Using the option Install New Application, I am specifying my war file name in local path and when I click Next it gives me above error.
What is wrong with this I am not able to understand?
Do anyone has idea about this?
Thanks for the reply.
 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the place why it has occured. Actually 2 of the jars required for project were corrupted. Hence war file was not getting deployed.
BTW Thanks for your precious reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic