The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Setting Database driver and DSN for MS SQL Server

Posted by Mohamed Ali on March 30, 2001 at 2:39 AM

You have to make the following additions to the file found in the config directory of J2ee :


Add the above two lines to the file.

While deployment , give the database JNDI name (In deploymant settings) as "jdbc/MSSQLServer" and username as "sa" . Leave the password blank.


While deploy

> Hi,
> I am sekhar and I am in need of the same resources as you need. Could please let me know how did you do this using j2ee?

> Regards,
> Sekhar

> > hi all,
> > Can anybody tell me how do we set the database driver and database userid and pwd for j2ee server when creating EJB. Which property file to use. What is the syntax for specifying the properties....

> > thanx in advance
> > abcd


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us