Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 34172 invoked from network); 22 May 2008 10:30:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2008 10:30:00 -0000 Received: (qmail 27525 invoked by uid 500); 22 May 2008 10:29:55 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 27455 invoked by uid 500); 22 May 2008 10:29:54 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 27444 invoked by uid 99); 22 May 2008 10:29:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 03:29:54 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 10:29:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jz830-0001tF-Bp for dev@tomcat.apache.org; Thu, 22 May 2008 03:29:22 -0700 Message-ID: <17401478.post@talk.nabble.com> Date: Thu, 22 May 2008 03:29:22 -0700 (PDT) From: shunhecun To: dev@tomcat.apache.org Subject: new bound datasoure on the fly is not visible to other applicaitons MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: guanghan.yuyu@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org hi, On Tomcat, the new bound datasource on the fly is only visible for the current application. Other applications can not find it on the fly. Comparing to OC4J and Weblogic server, by calling the same codes, the new bound datasource will be visible to all applications. Should Tomcat support this feature or it is a bug? Context initContext = new InitialContext(); initContext.bind(datasourceName,dataSourceObject); Regards, cun -- View this message in context: http://www.nabble.com/new-bound-datasoure-on-the-fly-is-not-visible-to-other-applicaitons-tp17401478p17401478.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org