• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

exception and error while importingwar in websphere applicationserver6

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.........
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 42105
933
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic