At line 1 changed 1 line. |
!!__2005.07.27__ - AppFuse 1.8 with Microsoft SQLServer 2000 |
!!__2006.08.08__ - AppFuse 1.9 with Microsoft SQLServer 2000 |
<div style="margin-left: 40px"> |
!1] download JTDS jar |
[jtds jar|http://jtds.sourceforge.net] |
and copy them to directory "__appfuse/lib/jtds-1.2__" |
At line 3 removed 4 lines. |
!1] download JDTS jar |
[jdts jar|http://jasigch.princetonedu:9000/display/UPC/MSSQL+with+the+JTDS+JDBC+Driver] |
and copy them to directory "__appfuselib/jdts__" |
|
At line 11 changed 2 lines. |
# MS SQL SERVER |
# http://jasigch.princetonedu:9000/display/UPC/MSSQL+with+the+JTDS+JDBC+Driver |
# JTDS SQL Server - http://jtds.sourceforge.net |
At line 14 changed 3 lines. |
mssql.version=1.1 |
mssql.dir=${lib.dir}/jtds |
mssql.jar=${mssql.dir}/jtds-${mssql.version}.jar |
jtds.version=1.2 |
jtds.dir=${lib.dir}/jtds-${jtds.version} |
jtds.jar=${jtds.dir}/jtds-${jtds.version}.jar |
At line 24 changed 1 line. |
<property name="database.jar" location="${mssql.jar}"/> |
<property name="database.jar" location="${jtds.jar}"/> |
At line 32 removed 1 line. |
<!--pro MSSQL nelze vytvorit databazi --> |
At line 42 changed 1 line. |
value="jdbc:${database.type}://${database.host}:1433/appfuse"/> |
value="jdbc:${database.type}://${database.host}/${database.name}"/> |
At line 47 changed 1 line. |
!4] in build.xml change |
!4] Edit "build.xml" line 669 |
At line 50 changed 4 lines. |
<property name="operation" value="CLEAN_INSERT"/> |
to |
<property name="operation" value="MSSQL_CLEAN_INSERT"/> |
}}} |
<equals arg1="${database.type}" arg2="jtds:sqlserver"/>}}} |
At line 51 added 21 lines. |
!5] Solving common problems |
Where should be the problem: |
# You need to run "__ant setup-tomcat__" to set jdbc connector before deploynment |
# check that __appfuse__ database is created (not possible to create db via jdbc) |
# Check permissions (username and password) of MSSQL db and MSSQL is running |
# Check paths |
# Check if host is set properly. In my posted config I am using localhost |
# Check port of your MSSQL server |
|
|
In my confiuration is after "__ant setup-db__" displayed |
net.sourceforge.jtds.jdbc.Driver at URL: |
__jdbc:jtds:sqlserver://localhost:1433/appfuse__ |
</div> |
|
!!__2006.08.08__ - Microsoft JDBC Driver also available |
|
This wiki page describes the opensource JTDS driver. In addition to that driver, Microsoft also has its own |
JDBC Driver for SQL Server. |
[http://www.microsoft.com/downloads/details.aspx?familyid=e22bc83b-32ff-4474-a44a-22b6ae2c4e17&displaylang=en|http://www.microsoft.com/downloads/details.aspx?familyid=e22bc83b-32ff-4474-a44a-22b6ae2c4e17&displaylang=en] |
|