• 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

how to declare ejb-local-ref in the jboss-3.2.6

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ervery one



My IDE eclipse2.1.3 lomboz 2.1.3
My Server jboss-3.2.6

in jboss.xml

<session>
<ejb-name>StoreAccess</ejb-name>
<jndi-name>StoreAccessBean</jndi-name>
<local-jndi-name>StoreAccessLocal</local-jndi-name>
<ejb-local-ref>
<ejb-ref-name>ejb/CustomerLocal</ejb-ref-name>
<jndi-name>CustomerLocal</jndi-name>
</ejb-local-ref>
<resource-ref>
<res-ref-name>jdbc/Test</res-ref-name>
<jndi-name>java:/Test</jndi-name>
</resource-ref>

<method-attributes>
</method-attributes>
</session>
when deploy my ejb,eclipse report "Element type "ejb-local-ref" must be declared"

how to declare ejb-local-ref

thanks
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

You have to specify <ejb-local-ref> in ejb-jar.xml file too for this particular bean.
 
reply
    Bookmark Topic Watch Topic
  • New Topic