why u need to do "Runtime.getRuntime().freeMemory()/1000)"? Pls provide more
detail info.
you may do
try {
}
catch { }
if no exception come up, your code suppose ran. Regarding to freeMomery, JVM
will do it itself, no need to worry too much. Regard to SQL, always put
().close mothed after each SQL statement ran.
Franco
-----Original Message-----
From: Niclas Rothman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:38 AM
To: 'Tomcat Users List'
Subject: SV: SQL*Server JDBC Driver
Okey Miao, do you know how I can se if the changes have come through?
Is there a log for these things or do I have to print out the following code
from a jsp page:
out.println(""+Runtime.getRuntime().freeMemory()/1000);
out.println(""+Runtime.getRuntime().totalMemory()/1000);
Best Regards
Niclas Rothman
-----Oprindelig meddelelse-----
Fra: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]]
Sendt: 6. december 2001 19:44
Til: 'Tomcat Users List'
Emne: RE: SQL*Server JDBC Driver
go to MS download SQL JDBC driver, that one is the best for SQL server
put .jar files in \common\lib\
Franco
-----Original Message-----
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: SQL*Server JDBC Driver
Hello, I am trying to get the SQL*Server driver to work with Tomcat 4.0.
The driver I am using is Opta2000.jar.
The message I am getting is Error Loading Driver:
java.lang.ClassNotFoundException: com.inet.tds.TdsDriver
I believe this is because I am not putting the driver in the right directory
under Tomcat, but cannot figure out where I should put it. Can somebody
tell me where it belongs?
Thanks in advance.
Bob.
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>