Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI DataSource lookup problem

 
Bill Fences
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one help me I'm having trouble with WL JNDI look up returning
a warning when i deploy

"Did not find resource-ref in web.xml matching MySQLactivate."

I have create the datasource in WL console as follows..

Name: MySQLactivate
JNDI Name repaidactivate

And I get a naming exception as follows when I run the code....

javax.naming.NameNotFoundException: While trying to lookup 'jdbc.prepaidactivate' didn't find subcontext 'jdbc' Resolved ; remaining name 'jdbc/prepaidactivate'










If some one can see where I am going wrong would be a big help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic