• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

javax.naming.NamingException: Cannot create resource instance

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to connect to an oracle database but cant seem to get the jdbc connection to work. I am developing the application on a Windows desktop and transferring it onto a Unix box.

When i test it on the Windows environmnet it does manage to connect but if i test it on unix then i get an error. My gut feeling is that the installation on the unix environment is missing a library but i cant figure out what it is.

Here is how i am trying to get the jndi connection.



And here is the Configuration.

Context.xml (User and password modified)



web.xml



And here is the stack trace of the error



What i dont understand is why it works on the installation on the windows environment but not in the Unix environment. I check all the libraries and everything under common/lib is the same for both environments.

Thanks

Edited by: ziggy on Oct 1, 2008 3:48 PM

Edited by: ziggy on Oct 1, 2008 3:50 PM

[edit]Disable smilies. CR[/edit]
[ October 01, 2008: Message edited by: Campbell Ritchie ]
 
It's exactly the same and completely different as this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic