Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing new Application

 
vasu devan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Creating an EAR is a general question for the EJB/J2EE forum.
 
Brian Hennessy
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic