Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss NameNotFoundException

 
Valery Lezhebokov
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

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.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your JNDI value for your data source looks suspect. I would have expected a value like java:/FamilyDS, not java:FamilyDS.
 
Valery Lezhebokov
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the more appropriate JBoss forum.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic