This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Jboss NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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: 17249

Moving this to the more appropriate JBoss forum.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Jboss NameNotFoundException
Similar Threads
can't create connection to JBoss MQ using Spring JMS
Spring and Hibernate configuration
Jboss NameNotFoundException
Jboss/JTA/spring "No JTA TransactionManager found"
Spring DAO and applicationConfig