Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Lookup a topic by java:comp/env/... won't work  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1510
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On p.310 of Ivan's notes,


I got a JNDI name not found error.

Then, I change it into and it works :
 
Claude Moore
Ranch Hand
Posts: 863
8
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had similar issues with jdbc datasources years ago. Which appserver are you working with ?
 
Himai Minh
Ranch Hand
Posts: 1510
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working with Glassfish 3.1.2
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!