• Post Reply Bookmark Topic Watch Topic
  • New Topic

a question about datasource

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i got a question about datasource. i configured a datasource whose name is 'ds' in WTE, but when i test my application, it always said NamingNotFound exception. Can anyone tell me what's the reason.
Thanks a lot.
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rose deng:
Hi, i got a question about datasource. i configured a datasource whose name is 'ds' in WTE, but when i test my application, it always said NamingNotFound exception. Can anyone tell me what's the reason.
Thanks a lot.

You mentioned WTE, I guess it stands for WenSphere Test Env.
It depends on the tool you are using too. Could be VisualAge or WSAD. Then the WTE version is different.
As far as I remember, in VAJ, you've got to start a kind of "Naming server" before being able to perform JNDI lookup (datasource, EJB etc..).
Maybe the better solution for you is to post this question in the WEBsphere thread
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!