• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JNDI name lookup exception

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic