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");
Chris
>Can you tell us which of the 4 lines causes the NPE ?
>(Have a look at the genrated source in the work direectory
>line 123)
>
>> -----Urspr�ngliche Nachricht-----
>> Von: Chris Faulkner [mailto:[EMAIL PROTECTED]]
>> Gesendet: Dienstag, 12. Februar 2002 14:40
>> An: Tomcat Users List
>> Betreff: Re: RE: database connect to db overr mod_webapp -
>> possible bug
><snip/>
>
>--
>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]>