I there everyone !
I am working in a
struts project using MVC,
Tomcat and MS SQL 2000.
When a connect the web application to the local host using MYSql database this Datasource works fine :
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="com.mysql.jdbc.Driver"/>
<set-property property="username" value="root"/>
<set-property property="password" value="tininha"/>
<set-property property="url" value="jdbc:mysql://localhost/newasb" />
</data-source>
But when I am trying to connect the same application to a remote SQL 2000 database using the bellow datasource Tomcat gives me the following error:
type Status report
message
Servlet action is not available
description The requested resource (Servlet action is not available) is not available.
Here is the troublesome datasource:
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<set-property property="username" value="svc"/>
<set-property property="password" value="cvs1"/>
<set-property property="url" value="jdbc:microsoft:sqlserver://172.20.2.103:1433/newasb" />
</data-source>
</data-sources>
Can anyone help ??? I have all the .jar for the
JDBC for SQL 2000 set in both the project and the classpath.
Jose Cardoso Jr
SCJP