This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

not picking the ejb-jar.xml changes  RSS feed

 
Ram Murthy
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • 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
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!