• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI help needed  RSS feed

 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am using J2EE
want to bind sqlserver drivers to JNDI
I configured config\Resoures.properties file with..
jdbcDataSource.0.name=jdbc/EmpDb
jdbcDataSource.0.url=jdbc:microsoft:sqlserver://199.199.199.2:1433;user=saradhi;password=saradhi;DatabaseName=nags;create=true
jdbcDriver.0.name=com.microsoft.jdbc.sqlserver.SQLServerDriver
and restarted the server
now got the folloing messages on console
Binding DataSource, name = jdbc/EmpDb, url = jdbc:microsoft:sqlserver://199.199.199.2:1433;user=saradhi;password=saradhi;DatabaseName=nags;create=true
1.How can I test to know whether it is properly working or not?
2. Can I test it without deploying any component. like directly with servlets .
3.Where do I have to place my servlet
Thanking you in advance
Saradhi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!