hello Przemyslaw, les,

>On Wed, 03 Jul 2002 05:11:44 -0700 , Przemyslaw wrote:
>On Tuesday 02 July 2002 16:27, Les Hughes wrote:
>> Ok. Summary time.
>>
>> Martin reflects my experience - I dumped tyrex and used DBCP as well. But
>> aren't we trying to go direct without a pool? Having said that I've only
>> ever managed to get datasources working when DBCP is being used...
>>
>> Check that your driver jarfile does not contain the javax.sql extension
>> classes. If it does, delete them and rejar. Some versions of Tomcat will
>> ignore any jar that has these classes present. Be careful with this
thought
>> - I work with jdk1.4 which has these built in.
>>
>> Also, you don't specify a DataSourceFactory in your server.xml - see
below.
>>
>>
>> Here's a known (well as far as I know...) good postgres solution using
>> DBCP.
>
>And that's the path I'll follow. Despite huge support from the list (I
applied 
>all suggested changes and patches) I was unable to make it work. Now I will

>try to understand the new model of DBCP.
>
>Thank you all for your support.
>
>przem

i checked your idea to use DBCP and it is working, but i was not
willing to give up on the problem.

so i entered exactly the same jndi url as read on your example
and voila no problem. so it seems we are not read the complete
naming conventions or did not understand the doc. i could not
find a hint what you have to type:

 java:comp/env/jdbc/Database instead of jdbc/Database.
      ^^^^^^^^
^
so for now it's solved and i went back to find out what
is better with DBCP.

BTW: i changed server.xml and global web.xml !!

best reagrds
 peter ;-)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to