> I imported common-dbcp 1.4.jar and used jtds driver, putting jtds-1.2.5.jar
It's best practice to put datasource drivers on the container classpath, e.g. $TOMCAT_HOME/lib. Additionally, I'd strongly recommend against jtds; Microsoft distributes fully supported JDBC 3 and JDBC 4 drivers for all recent SQL Server versions. > <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> > <property > name="driverClassName"><value>oracle.jdbc.driver.OracleDriver</value></property> > <property > name="url"><value>jdbc:jtds:sqlserver://database-server/dbname</value></property> > <property name="username"><value>admusr</value></property> > <property name="password"><value>admpwd</value></property> > </bean> Driver class name is wrong. JTDS should document what the correct driver class is; for the Microsoft driver it's com.microsoft.sqlserver.jdbc.SQLServerDriver. > in catalina.out i cet no errors, put on interface i get "CAS unavailable, The cas.log file, which is written to the path of the current working directory of the Java process by default, should have more information. Change the /WEB-INF/classes/log4j.properties file to specify a well-known log file path (e.g. /var/logs/cas/cas.log). M -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
