Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 92820 invoked from network); 1 Feb 2007 16:02:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 16:02:07 -0000 Received: (qmail 45032 invoked by uid 500); 1 Feb 2007 16:02:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44760 invoked by uid 500); 1 Feb 2007 16:02:00 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 44748 invoked by uid 99); 1 Feb 2007 16:02:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 08:02:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [216.69.96.3] (HELO nelnet.net) (216.69.96.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 08:01:51 -0800 Received: from ([10.120.0.1]) by den-ctrust-01.nelnet.net with ESMTP id 5202100.3882657; Thu, 01 Feb 2007 09:00:37 -0700 Received: by hqmail.unipac.com with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Feb 2007 08:59:55 -0700 Message-ID: <07CD8D709FA44646907645F880C50EE21424B6D8@lin-email-01.nelnet.net> From: "Nelson, Tracy M." To: Tomcat Users List Subject: RE: Context.INITIAL_CONTEXT_FACTORY Date: Thu, 1 Feb 2007 09:03:03 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org | From: Fran Varin [mailto:FVARIN@AMICA.com] | Sent: Thursday, 01 February, 2007 08:05 | | It boils down to my attempt at using | "org.apache.naming.java.javaURLContextFactory". However, when I do I | receive "javax.naming.NameNotFoundException: Name jdbc is not bound | in this Context:". Are you using the initial context returned from getInitialContext() directly, or are you obtaining a root context from the initial context? Have you tried both methods of associating the "java" URL prefix with this factory? (Both adding a property to your jndi.properties file, and defining an environment variable.) If the IBM factory returns a root context, you will probably want to write a simple wrapper that gets an initial context from javaURLContextFactory, then looks up a root context and returns that. ----------------------------------------- ------------------------------------------------------------ The information contained in this message is confidential proprietary property of Nelnet, Inc. and its affiliated companies (Nelnet) and is intended for the recipient only. Any reproduction, forwarding, or copying without the express permission of Nelnet is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. ------------------------------------------------------------ --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org