Run the samples or the TDS-tunnelling servlet using the CLASSPATH environment variable.
Add the CLASSPATH environment variable:%JDBC_HOME%\classes\jconn4.jar;%JDBC_HOME%\classes
In addition, the CLASSPATH must include the location of any application classes you have defined.