Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI name lookup exception

 
Carlos Conti
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

How can I get such an exception if my persistence file is set as "RESOURCE_LOCAL". Also in context.xml I have no entry for a DataSource.

Where are all the main infos for the JNDI contexts set? Whenever I come to deal with JNDI I am completely lost...

I am going bananas....

I am developing with Netbeans 7.1 with Hibernate 4,1,7.

Any ideas?

Rebuild full project???

Thanks for your help.
Carlos.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us some more of your configuration? Are you using any other frameworks as well?
 
Carlos Conti
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill thanks for your answser.

I rebuilt the project and everything worked like it used to be. So I presume my configuration is correct, and there was something with the Netbeans Project cache which was missconfigured.

the basic discussion was to determine if a RESOURCE_LOCAL configured persistence unit would require a JNDI name. In fact it shouldn't. I guess I clicked on something unintentionally and Netbeans got stuck with that.

Thanks anyway for your interest.

Regards,
Carlos.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic