Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

EJB 3 Naming problem with Struts 2

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am trying to integrate my project with EJB 3 and struts 2 and trying to run it on weblogic application server I am getting some errors like the

javax.naming.NameNotFoundException: While trying to lookup 'AccountBean.local' didn't find subcontext 'AccountBean'. Resolved ''; remaining name 'AccountBean/local'

weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)



Even when I ran it without Struts 2 it is running fine .

I think problem is to Inject EJB annotation .So please tell me what should I do to integrate it with Struts 2 or if any plugin is available for this please suggests me
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you confirm "AccountBean.local" is in the JNDI Tree (through Admin Console)?. I don't think it's problem with Struts2. Can you share more details?
 
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic