• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere 6.1 - Unable to recogize jar's in EAR

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Platform: Websphere 6.1 on Windows

We are in process of deploying our application EAR's in Websphere 6.1 through console. For certain EAR's I am getting an exception as it could not find certain classes, but those are in the jar's included in the root directory in the EAR.

Here's a snippet of the exception we are getting even though hibernate3.jar is included in the EAR, which we are trying to deploy

[7/9/08 22:04:39:575 EDT] 0000003c DeployEJBTask I ADMA0158I: [EJBDeploy] Error generating RMI code: RMIC command failed on project: ldap with message:
[7/9/08 22:04:39:575 EDT] 0000003c DeployEJBTask I ADMA0158I: [EJBDeploy] error: Class org.hibernate.Query not found.

Other than root directory of the ear, does websphere enforce to have those in any other directory or mention those in its manifest?


Kindly advise.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The manifest of the EJB jar file that you're deploying must reference all jar files on which its classes have dependencies.
 
Dinesh 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 for your reply,

Here do you mean the Manifest of the EAR file should have all the jar references? Is this a mandate for Websphere 6.1 as our EAR's were deployed fine in Websphere 5.1
 
reply
    Bookmark Topic Watch Topic
  • New Topic