• 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

ejb deployment issue : classnotfound error for other ejb references

 
Greenhorn
Posts: 6
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two EJB jars packaged into a EAR. say EJb1.jar and Ejb2.jar. I am deploying it in WebSphere 7.0. Ejb1 is referencing to classes in Ejb2.jar. Unless I specify the Ejb2.jar in Manifest.MF file of Ejb1.jar, the deployment of EAR file fails.

Throws error that build path is incomplete and that referenced class is not found.I see the current EAR setup working fine with my other team members and other development environments.

Is there any configurable change I can do ? at WebSphere console ? To make it ignore the reference issues ?

I have too many ejb's in this ear referencing each other. It makes things really difficult to update manifest file each time we make code changes.

Any ideas ?
 
author & internet detective
Posts: 41860
908
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
Why would you need to update it each time you make code changes? The ejb reference is changed once per ejb, not once per code change.

You really should correct the manifests to guarantee the code will deploy going forward.
 
reply
    Bookmark Topic Watch Topic
  • New Topic