| Author |
Unable to deploy .ear file to Websphere
|
|
|
|
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
>
>
| |
|
| 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...
| |
|
| 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>
|
|
|
|