• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
  • Frits Walraven
  • fred rosenberger
  • salvin francis

JBOSS JNDI Lookup from Standalone Client

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I've spent 3 hours trying to figure out what I've done wrong here and I need some help....

I'm trying to write a standalone client that accesses a SessionBean in JBoss 4.0.1. I'm hitting it fine from embedded Tomcat but can't seem to get the incantation right from the standalone client. I'm using the 'Getting Started' guide from docs.jboss.org but I'm just missing some connection somewhere....

I've written the following config components:

- jndi.properties -


- jboss-client.xml -


- application-client.xml -

- jboss.xml (frag) -



I've compiled everything and deployed everything and I keep getting:

--> javax.naming.NameNotFoundException: daily-cycle not bound

Can someone please tell me what's missing (or misplaced) here?

Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi man ...

from the details u have given here only one thing pops up in my mind .. your error message is NameNotFound for daily-cycle but in the jboss.xml file this jndi name is not there .... i think u are looking for the wrong jndi name ....

this is what i have to say .....

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic