Hi
Thanks for the help and the URL may well help. However, I can't tell from it which
bits of the configuration are supposed to go where in the mod_webbapp Connector setup.
Am I supposed to put the
<resource> or <resource-ref> in the Connector set-up ?!!
I've sort of reached the point now where I've had enough of mod_webapp. You only have
to look at this list for a day or two to see how many queries it raises. I wonder
whether the comments and
recommendations on the website to use mod_webapp are borne out of a desire to get it
tested or out of a genuine belief that it is actually better. I'm going to use ajp13
for a while.
Chris
>So the lookup in the second line that fails and return a null.
>Context envCtx = (Context) initCtx.lookup("java:comp/env");
>
>I'm currently not using JNI but I remembered a post some time
>ago. May be this helps:
>http://mikal.org/interests/java/tomcat/archive/view?mesg=45843
>
>> -----Urspr�ngliche Nachricht-----
>> Von: Chris Faulkner [mailto:[EMAIL PROTECTED]]
>> Gesendet: Dienstag, 12. Februar 2002 14:57
>> An: Tomcat Users List
>> Betreff: Re: AW: RE: database connect to db overr mod_webapp
>> - possible
>> bug
>>
>>
>> Hi
>>
>> Its the third line - I commented them all out and put them
>> in one by one.
>>
>> javax.sql.DataSource ds =
>> (javax.sql.DataSource)envCtx.lookup("jdbc/IsmDB");
>>
>
>--
>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]>