WebSphere Application Server - Unable to deploy .ear file to Websphere

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > August 2007 > Unable to deploy .ear file to Websphere





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unable to deploy .ear file to Websphere

2006-07-02, 7:27 pm


I am working with Wabsphere 6 Trial version.

I want to deploy one component on WS 6 and for that I made one .ear file for that.

Then through admin console -> Applications -> Install New Applications

I gave a path to .ear file but It shows me following error:
---
The EAR file might be corrupt or incomplete.
AppDeploymentException: [null] java.lang.ClassCastException: com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl
---

I cant understand that from where this error comes...
Please help .. thanks in advance...

Hardik Pandit


Ken Hygh

2006-07-02, 7:27 pm

How did you build the ear file?
Ken

hardik.pandit@wipro.com wrote:
> I am working with Wabsphere 6 Trial version.
>
> I want to deploy one component on WS 6 and for that I made one .ear file for that.
>
> Then through admin console -> Applications -> Install New Applications
>
> I gave a path to .ear file but It shows me following error:
> ---
> The EAR file might be corrupt or incomplete.
> AppDeploymentException: [null] java.lang.ClassCastException: com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl
> ---
>
> I cant understand that from where this error comes...
> Please help .. thanks in advance...
>
> Hardik Pandit
>
>

2007-07-31, 7:22 pm

What was the resolution for this problem?
I am getting the same problem when I try to build an ear file that was developed in Windows RAD environment on an AIX compiler using ant.

[vbcol=seagreen]
> How did you build the ear file?
> Ken
>
> hardik.pandit@wipro.com wrote:
> I made one .ear file for that.
> Install New Applications
> following error:
> java.lang.ClassCastException:
> com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl
>
> comes...


2007-08-10, 7:23 am

I had a similar problem ; in the end I had to resort to manually scripting the install.

<a href="http://www.firstpartners.net/kb/index.php/ Websphere#Auto_Deploy_War_or_Ear_to_Webs
phere">Notes on how to autodeploy War / Ear to websphere</a>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com