aspose file tools*
The moose likes Object Relational Mapping and the fly likes JNDI name lookup exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JNDI name lookup exception" Watch "JNDI name lookup exception" New topic
Author

JNDI name lookup exception

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 114
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

Joined: Mar 07, 2010
Posts: 1666
    
    7

Can you show us some more of your configuration? Are you using any other frameworks as well?


[How To Ask Questions][Read before you PM me]
Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 114
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI name lookup exception