• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting error while deploying

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic