File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Jboss NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss NameNotFoundException" Watch "Jboss NameNotFoundException" New topic

Jboss NameNotFoundException

Valery Lezhebokov
Ranch Hand

Joined: Jun 12, 2006
Posts: 39

I'm new to JBOSS and Spring. I've made a database named Family and bound it through 'family-ds.xml' file. Looks like everything is OK since I observe

durinng Jboss startup.

I've ctaated spring cfg file as well:

But when I try to open the session it returns:

Help me please!!! I've already spent half a day trying to find the error.

SCJP 1.5, OCE EJB 3.x
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Your JNDI value for your data source looks suspect. I would have expected a value like java:/FamilyDS, not java:FamilyDS.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Valery Lezhebokov
Ranch Hand

Joined: Jun 12, 2006
Posts: 39
Hi Paul, thanks for the reply, but it doesn't help. I've tried �java:/FamilyDS�, �FamilyDS�, �java:FamilyDS� it�s the same
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Moving this to the more appropriate JBoss forum.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Jboss NameNotFoundException
jQuery in Action, 3rd edition