• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception and error while importingwar in websphere applicationserver6

 
durga ramakrishnan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
iam working with websphere application server6....when i try to import war file of my project containing html,javascript,servlets and session bean into web sphere i am getting error that "file corrupted and incomplete"and "exception"..........iam new to web sphere application server...i dont know how to work with it...iam getting problems to connect database oracle with web sphere...can any one help me ragarding this.........
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can a war file have a session bean?

Is your application partitioned propertly? A session bean should be in a J2EE Jar file, and the whole thing should be encapsulated in a waxy ear.

Could that be the issue?

-Cameron McKenzie
 
durga ramakrishnan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Cameron.
can you please tell me what are the files should be included in the waxy ear file for web sphere application server...i have created ear file only for web logic server with jar containing META-INF(weblogic-ejb-jar.xml and ejb-jar.xml), war files and application.xml files
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Durga,
An EAR file is packaged the same way for WebSphere or WebLogic. The ear you described had an ejb-jar (the one containing the ejb-jar.xml file), a war file and an application.xml. The weblogic-ejb-jar.xml file is WebLogic specific. You can apply the settings in there through the admin console of WebSphere once you've deployed.

Cameron,
I've never heard the phrase "waxy ear". Does this stand for something or was it meant to describe something?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am I the only one who understood that "waxy ear" was a joke? ... as in ear wax. Gross.. but still funny.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic