• 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

not picking the ejb-jar.xml changes

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to create the ear file for my application and in the process running the JBoss server from Eclipse. I was getting the following error..

18:38:47,203 WARN [verifier] EJB spec violation:
Bean : Stock
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the <local> element.
Info : Class not found on 'lum.stock.ejb.interfaces.StockLocal': No ClassLoaders found for: lum.stock.ejb.interfaces.StockLocal


When I edited my ejb-jar.xml file noticed the below two lines in the <session> .

<local-home>lum.stock.ejb.interfaces.StockLocalHome</local-home>
<local>lum.stock.ejb.interfaces.StockLocal</local>

Since I don't have such classes as StockLocal and StockLocalHome I removed these lines from the ejb-jar.xml saved it and terminated the server and started it again but still the same error message keeps coming.

I also tried the Run Packaging and tried restarting the server but still getting same error.

Any suggestions

Thanks,
Ram
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to recreate your EAR file and redeploy it. Your server will then pick up the changed ejb-jar.xml file.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic