This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

could not find <ejb-local-ref>'s local interface

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks, Im attempting to deploy ch06 code from jbossatwork book using jboss 6.0

I was able to make the program compile but I receive a 'could not find <ejb-local-ref>'s local interface' error when deploying the app. Help me out, im a beginner.

02:58:26,187 ERROR [org.apache.catalina.core.StandardContext] Context [/jaw] startup failed due to previous errors: java.lang.RuntimeException: could not find <ejb-loc
al-ref>'s local interface InventoryFacadeLocal in web.xml of webapp.war




my xdoclet in the session bean InventoryFacadeBean:



ejb-jar.xml output



jboss.xml output



InventoryFacadeLocalHome.java


InventoryFacadeRemoteHome.java


xdoclet code in ControllerServlet.java


web.xml output


jboss-web.xml output



<ejb-local-ref>'s local interface InventoryFacadeLocal as ypu can see is in web.xml and after expanding webapp.war, I do see the web.xml and the code in webapp.war\WEB-INF

so whats missing or wrong here.

Thanks for your help

 
I found a beautiful pie. And a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!