tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Greene" <agre...@romulin.com>
Subject Re: MS SQL Server Datasouerce
Date Tue, 04 Jun 2002 20:35:33 GMT
Make sure that you call the parameter "name" as "username".
----- Original Message -----
From: "Anibal Constante Brito" <aconstante_00@hotmail.com>
To: "Tomcat" <tomcat-user@jakarta.apache.org>
Sent: Thursday, May 30, 2002 9:40 PM
Subject: MS SQL Server Datasouerce


> A tried to create a datasource with SQL Server, but can I wiev even the
> index.htm page, why?
>
> this is my datasource:
>
>             <Resource name="jdbc/News" auth="Container"
>                         type="javax.sql.DataSource"
>                  description="Employees Database for HR Applications"/>
>
>             <ResourceParams name="jdbc/News">
>               <parameter>
>                 <name>driverClassName</name>
>
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
>               </parameter>
>               <parameter>
>                 <name>driverName</name>
>                 </value>jdbc:microsoft:sqlserver</value>
>               </parameter>
>               <parameter>
>                 <name>user</name>
>                 <value>sa</value>
>               </parameter>
>               <parameter>
>                 <name>password</name>
>                 <value></value>
>               </parameter>
>             </ResourceParams>
>
> what I did wrong?
>
> best regards.
>
> Owen.
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message