I found those classes, eventually. I was surprised, because required jars are not present in Tomcat 4.1.12 Light Edition (the one, that can work with JRE 1.4). I have found those jars in full edition of Tomcat 4.1.12.
Anyway now it seams, that driver works (hurray), but only to hit another wall (buuu).
Lookup work fine, but it cannot connect to database. The page doesn't load, no information about exception is thrown (I checked logs).
I am working with RmiJdbc driver version 2.5, because I want to connect from Linux to SQL Server. Linux (Suse 7.0) woks on mainframe as a virtual machine, but I do not think it causing is really a problem.
On machine with SQL Server I run RJJdbcServer ,that handles JDBC requests from clients.
I have small program for testing the connection. It works fine from Windows and Linux. I call stored procedure and receive expected result set.
When I modify it to work as a servlet it cannot connect to the database (the page is loading for a very long time, I can stop it only by closing RJJdbcServer, then I have SocketExceptions timeout).
I have found an alternative solution of this problem. I have another normal class that communicates with database (using RmiJdbc). I call in servlet appropriate functions of this class to get result sets from database and then display the result. Still I feel it is quite strange solution.
My wild guess is that Tomcat and RmiJdbc are not good friends. Does anyone have some experience in using this pair. Some good tips maybe?
By the way. Do you know about any good Tomcat manual, apart from jakarta pages?
Przemo
Hi Przemo, I had the same thing under Tomcat 4.0, I could not specify the factory either. Classes like the one that you are missing can all be found from here (dbcp and Pool) : http://jakarta.apache.org/commons/I found that TC 4.0 needed tweaking, so I just installed 4.1.1 instead. This solved my data source issues. hope that helps, Mehdi Mehdi Nejad - Senior Developer
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
