wood burning stoves 2.0*
The moose likes Websphere and the fly likes Installing new Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Installing new Application" Watch "Installing new Application" New topic
Author

Installing new Application

vasu devan
Ranch Hand

Joined: Apr 14, 2005
Posts: 38
Dear Friends,

I am new to Websphere,i would like to Install my web application into websphere,and im using Websphere 6.0

Using Administration console,i navigated upto Applications -> Install New applications

Here i encountered probelom

i)it asks for EAR,WAR,JAR File,if i gave jar/war Files it is not taking and Giving Exception

The EAR file might be corrupt or incomplete.
java.lang.ClassCastException: com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl

How can i able to overcome the above situation

ii)Suppose if i want to use EAR file means,how can i able to create EAR Files.

Note:
This is simple servlets,jsp,java based applications ,does not have EJB

Any help will be appreciated

Regards
vasu
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

Creating an EAR is a general question for the EJB/J2EE forum.


My Blog: Down Home Country Coding with Scott Selikoff
Brian Hennessy
Ranch Hand

Joined: Oct 24, 2005
Posts: 57
Hi
Before this is moved , i've had problems before in WebSphere trying to deploy a WAR file can't remember the error I was getting but I suppose if its not working anythings worth a try. In WebSphere Studio was there a default EAR file created when you created the Web Project. If so make sure the Web Project is in the application.xml of the DefaultEAR and export that instead of the WAR file. If this doesn't solve the deployment problem you'll have an EAR file to play around with.
 
GeeCON Prague 2014
 
subject: Installing new Application