Peter Johnson wrote:

As shown in the examples

   Context initContext = new InitialContext();
   Context envContext  = (Context)initContext.lookup("java:/comp/env");
   DataSource ds = (DataSource)envContext.lookup("jdbc/rofDB");

Thanks for the quick reply! That has solved the problem!


-- Darryl Wagoner - WA1GON

"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]

Join the TrustedQSL mailing list.  An Open Source solution.
Post message: [EMAIL PROTECTED] Subscribe:  [EMAIL PROTECTED] List owner:  
[EMAIL PROTECTED] http://www.trustedQSL.org



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



Reply via email to