Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuseSupport
Articles
Articles_de
Articles_pt




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseWithSQLServer


Difference between version 23 and version 10:

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
At line 3 changed 3 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__"
!1] download JTDS jar
[jtds jar|http://jtds.sourceforge.net]
and copy them to directory "__appfuse/lib/jtds-1.2__"
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 2 lines.
<property name="operation" value="CLEAN_INSERT"/>
}}}
<equals arg1="${database.type}" arg2="jtds:sqlserver"/>}}}
At line 53 removed 6 lines.
to
<div style="margin-left: 40px">
{{{
<property name="operation" value="MSSQL_CLEAN_INSERT"/>
}}}
</div>
At line 62 changed 1 line.
# You need to run "ant setup-tomcat" to set jdbc connector
# 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
At line 64 removed 2 lines.
# Check permissions (username and password) of MSSQL db and MSSQL is
running
At line 67 changed 3 lines.
# chceck port of your MSSQL server
# check that appfuse database is created (not possible to create db via
jdbc)
# Check port of your MSSQL server
At line 71 changed 1 line.
In my confiuration is after "ant setup-db" displayed
In my confiuration is after "__ant setup-db__" displayed
At line 73 changed 1 line.
jdbc:jtds:sqlserver://localhost:1433/appfuse
__jdbc:jtds:sqlserver://localhost:1433/appfuse__
At line 65 added 7 lines.
!!__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]

Back to AppFuseWithSQLServer, or to the Page History.