Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70915 invoked from network); 26 Sep 2008 13:02:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 13:02:13 -0000 Received: (qmail 13839 invoked by uid 500); 26 Sep 2008 13:01:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13801 invoked by uid 500); 26 Sep 2008 13:01:58 -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 13790 invoked by uid 99); 26 Sep 2008 13:01:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 06:01:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.107 as permitted sender) Received: from [65.55.111.107] (HELO blu0-omc2-s32.blu0.hotmail.com) (65.55.111.107) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 13:00:55 +0000 Received: from BLU142-W37 ([65.55.111.71]) by blu0-omc2-s32.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 06:01:07 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_24ae3bfd-cdcf-44c3-9eac-6f90c66dd632_" X-Originating-IP: [76.119.178.201] From: Martin Gainty To: Tomcat Users List Subject: RE: [OT obviously] Re: Some Prilim questions Date: Fri, 26 Sep 2008 09:01:07 -0400 Importance: Normal In-Reply-To: <48DC9AD4.8090100@pidster.com> References: <48DA61DA.6020905@cornell.edu> <48DC1219.3070003@christopherschultz.net> <48DC9AD4.8090100@pidster.com> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Sep 2008 13:01:07.0199 (UTC) FILETIME=[F09C88F0:01C91FD7] X-Virus-Checked: Checked by ClamAV on apache.org --_24ae3bfd-cdcf-44c3-9eac-6f90c66dd632_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable In other words if you have an opportunity to attack someone instead of prov= iding an intelligent solution then yes by all means CHANGE the question (so you'll look good and= the other guy looks like an idiot..) from a JDBC DataSource lookup to LDAP= question.. if the question is a comparison of a local lookup vs remote lookups you wi= ll need a J2EE server and understand Remote architectures (which TC is not)= and you will need to know how to setup and reference the remote object=20 so I disgress back to the question which is if I have a DB server in NY and= I have a TC container running in India how do I acquire the fastest response for a DB Connection for my client ?=20 I can think of 2 options which I will discuss offline with the client allowing chris and his/her political attack machine to continue .. in the meanwhile Microsoft continues to convert TC installations to .NET.. Martin=20 ______________________________________________=20 Disclaimer and confidentiality note=20 Everything in this e-mail and any attachments relates to the official busin= ess of Sender. This transmission is of a confidential nature and Sender doe= s not endorse distribution to any party other than intended recipient. Send= er does not necessarily endorse content contained within this transmission.= =20 > Date: Fri=2C 26 Sep 2008 09:18:28 +0100 > From: p@pidster.com > To: users@tomcat.apache.org > Subject: [OT obviously] Re: Some Prilim questions >=20 > Martin Gainty wrote: > > no no no.. > > he was NOT talking about LDAP but a DB connection > > the statement stands > > even with a 'local TC reference' you STILL have to contact the server ! > > there exists a company which sells server services for this very reason= (if the op desires to know i will pass this on) > > dont you have something/anything thats more constructive with your time= =20 > > Dumbkopf! >=20 > (May I Chris? Thank you in advance.) >=20 >=20 > So=2C Martin=2C (can I call you Al? I prefer Al - like the song)=2C I'm > interested to know how you'll respond to this query. >=20 >=20 > I've carefully re-read this thread from the beginning to the point where > you responded with the following: >=20 > "the referenced jndi lookup in the webapp context is located in India > and the DB is in Ithaca NY the Indian JNDI lookup is considerably slower > than 'ordinary JDBC connection' from NY" >=20 > ... and I'm wondering whether you had some off list conversation with > karthikn (the OP). Because I can't really see any way you could deduce > that the DB is in Ithaca. Or in fact that the JNDI context is in India. > (Well=2C apart from the distinct possibility that the OP is in the Indian > subcontinent.) >=20 > Al=2C your answer is utterly irrelevant - the correct answers being: >=20 > 1. A JNDI connection pool is measurably faster > 2. Return the connection to the pool in most cases=2C subject to > the implementation of the driver. >=20 > - so I am puzzling over the word Ithaca. I suspect that it's a riddle=2C > but I'm not making a great deal of progress=2C Al. Can you help? >=20 > Ithaca=2C I know - as I studied the classics for a while=2C is the home o= f > Odysseus. Is this a Homerian reference I wondered? >=20 > And yet=2C Al=2C you mention NY. > And India! >=20 > So I searched Google... Of course! >=20 > The only result that mentions Ithaca NY and India in its title is: > "Bikram's Yoga College of India - Ithaca=2C NY=2C 14850 - Citysearch" >=20 > And there we have it=2C Al - you're a genius! 14850! > But what is the meaning of 14850?! >=20 > Is it www.14850.com? Public Communications=2C Inc's website! > We're on a public mailing list=2C this must be it! But no... wait... >=20 > There's another possibility=2C ISO:14850! What's this? >=20 > "ISO 14850:2004 describes a procedure for measurements of gamma-emitting > radionuclide activity in homogeneous objects such as unconditioned waste > (including process waste=2C dismantling waste=2C etc.)=2C waste condition= ed in > various matrices (bitumen=2C hydraulic binder=2C thermosetting resins=2C > etc.)=2C notably in the form of 100 L=2C 200 L=2C 400 L or 800 L drums=2C= and > test specimens or samples=2C (vitrified waste)=2C and waste packaged in a > container=2C notably technological waste. It also specifies the > calibration of the gamma spectrometry chain. The gamma energies used > generally range from 0=2C05 MeV to 3 MeV." >=20 >=20 > Al=2C I'm disturbed by this. India *is* a nuclear power=2C and this *is*= a > public standard=2C but I think we're moving into dangerous territory here= . >=20 > What are you getting at I wondered? Is there a deeper message regarding > nuclear power for OP to take back to his people? >=20 > A little more googling led me to Tarapur=2C where there's a nuclear waste > disposal and storage facility that=2C yes!=2C uses *vitrification*. >=20 > (I paused here=2C as I was thirsty and the second bottle was now empty.) >=20 > Tarapur=2C Al=2C Tarapur. What are you trying to tell us=2C I mused. >=20 > Wikipedia has 5 references for places called Tarapur=2C in these states > Maharashtra - the nuke plant=2C Gujarat & Bihar - otherwise unremarkable. >=20 > Madhya Pradesh - is one of the best known centres for very unusual and > attractive bandanas! Could this be it!? >=20 > Karthik=2C Chris=2C David=2C I nearly shouted out loud! *BANDANAS* > It was so obvious to me now=2C I was amazed that I hadn't seen it straigh= t > away! >=20 > But then Al=2C I idly flicked the back button=2C to check the last link..= . > Tarapur=2C Orissa. Three stupas (edicts)=2C put up by Emperor Asoka=2C h= ave > been discovered at Tarapur recently. >=20 >=20 >=20 > I was stunned Al. >=20 >=20 >=20 > * Ashoka the Great * > It crystallised in my mind quickly as the breadth of your vision appeared= . >=20 > ** Ashoka the Great ** > "He who regards everyone amiably" >=20 > I knew Al=2C from my classical studies=2C that Ashoka The Great was a Hin= du > by birth but later converted to Buddhism after the battle of Kalinga. >=20 > He subsequently declared in his edicts: > =93There is no country=2C except among the Greeks=2C where these two grou= ps=2C > Brahmans and ascetics=2C are not found=2C and there is no country where > people are not devoted to one or another religion." >=20 > The GREEKS! ITHACA! > This reference confirmed I had arrived in the right place! >=20 >=20 > Your message is revealed Al=2C as a message of peace and understanding=2C > for Ashoka is famous for his message of freedom=2C tolerance=2C and equal= ity. >=20 >=20 > I was worn out from my exertions=2C but gloriously sated as I collapsed > into a drunken stupor. >=20 >=20 > Peace=2C Al=2C Peace. >=20 >=20 > pid >=20 >=20 >=20 > * or Alice=2C I don't mind=2C Al. >=20 >=20 >=20 >=20 >=20 >=20 >=20 > > Martin=20 > > ______________________________________________=20 > > Disclaimer and confidentiality note=20 > > Everything in this e-mail and any attachments relates to the official b= usiness of Sender. This transmission is of a confidential nature and Sender= does not endorse distribution to any party other than intended recipient. = Sender does not necessarily endorse content contained within this transmiss= ion.=20 > >=20 > >=20 > >> Date: Thu=2C 25 Sep 2008 18:35:05 -0400 > >> From: chris@christopherschultz.net > >> To: users@tomcat.apache.org > >> Subject: Re: Some Prilim questions > >> > > David=2C > >=20 > > David Smith wrote: > >>>> I have no idea where you are going with this ... it makes no sense t= o > >>>> the original question. > > Aah... there's your problem. Martin's not good with these things. > >=20 > > On the other hand=2C /one/ part of his statement does make sense: > >=20 > >>>> Martin Gainty wrote: > >>>>> the referenced jndi lookup in the webapp context is located in > >>>>> India and the DB is in Ithaca NY the Indian JNDI lookup is > >>>>> considerably slower than 'ordinary JDBC connection' from NY > > This is true: if your LDAP server is geographically far from your app > > server=2C then the lookup of your JNDI object could take a long time. W= hat > > Martin doesn't realize is that Tomcat always stores JNDI-based > > DataSource objects locally=2C so this situation will never happen. > > Martin's statement is a red herring: true=2C but irrelevant. > >=20 > > -chris > >> > --------------------------------------------------------------------- > To start a new topic=2C e-mail: users@tomcat.apache.org > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org > >> >=20 > > _________________________________________________________________ > > Stay up to date on your PC=2C the Web=2C and your mobile phone with Win= dows Live. > > http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/ >=20 >=20 > --------------------------------------------------------------------- > To start a new topic=2C e-mail: users@tomcat.apache.org > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org >=20 _________________________________________________________________ See how Windows Mobile brings your life together=97at home=2C work=2C or on= the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/= --_24ae3bfd-cdcf-44c3-9eac-6f90c66dd632_--