• 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

Problem in invoking ejb from different .ear

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two ear, One ear is having .jar files(For EJB) & other have .war(with .jar's having different .class files). If setting the visibility to server then during the start up of the server it says that Home not found & if removing a .jar file from .war & then putting this .jar it works properly. But this creates problem when starting the application since it(.war) does not find some classes(which is in .jar & now is on the server class path) & give other error like class not found. If I am putting the .jar file in the server class path & in the .war also then it gives some verify error(it says that the method signature does not match while the .class file & all is ok)
[ September 23, 2002: Message edited by: Vikas Gupta ]
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hhmmm.... why don't you put the war and jar files all together in a single EAR file?
is there any restriction?
 
Vikas Gupta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Yes there is some restriction. But even If I am having the single ear & the jar files common to web & Ejb modules I am putting in the Enterprise Application even then classNotFoundException is coming. How I can include the Enterprise Application in the EJB & WEB module path?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic