David,
> -----Original Message-----
> From: David Chelimsky [mailto:[EMAIL PROTECTED]
> Sent: 01 November 2003 22:27
> To: 'Cactus Users List'
> Subject: Re: NoInitialContextException
>
[snip]
> public static DataSource getDataSource() throws NamingException {
> Context ctx = new InitialContext();
> Context env = (Context) ctx.lookup("java:comp/env");
> DataSource ds = (DataSource) ctx.lookup("/jdbc/cheli");
> return ds;
> }
In which cactus method are you calling the getDataSource() method? Is it
from a beginXXX() method, is it from a setUp() method, is it from a
testXXX() method, is it from an endXXX method, etc?
>
> that's it. If this triggers any ideas for you, please let me know.
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]