it works fine with jtds driver.
I solved looking at log4j logs as adviced Marvin.
inside WEB-INF/classes there is log4j.xml, i think is a new properties config file.
 
Whoaaa
Last step cassify a Dotnetnuke portal
 
Thanks Marvin for great infos!
 
 
-----Messaggio originale-----
Da: Marvin Addison <[email protected]>
Inviato il: 17 Mag 2010 - 05:50
A: [email protected]


> 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.

>
>
> name="driverClassName">oracle.jdbc.driver.OracleDriver
>
> name="url">jdbc:jtds:sqlserver://database-server/dbname
> admusr
> admpwd
>

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


-------------------------------------------------------------------------------
Valore legale alle tue mail
InterfreePEC - la tua Posta Elettronica Certificata
http://pec.interfree.it
-------------------------------------------------------------------------------
-- 
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


Reply via email to