Re: jndi global look up questions

2010-03-18 Thread Gurkan Erdogdu
Please have a look http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html Thanks; --Gurkan 2010/3/18 Narahari 'n' Savitha savith...@gmail.com Friends: I have the following setup. A Jar file with a class called DBConnectionUtil that reads a specific string for

Re: jndi global look up questions

2010-03-18 Thread Narahari 'n' Savitha
Thank you for the answer. I have had gone thru it before asking question and after. If there is a specific area that you want me to look at let me know. If anyone has had this direct global JNDI access need could you share that info ? A hack, a round about. I dont have access to the source

Re: jndi global look up questions

2010-03-18 Thread Konstantin Kolinko
2010/3/18 Narahari 'n' Savitha savith...@gmail.com: If anyone has had this direct global JNDI access need could you share that info ? What do you mean by global JNDI access. Note that, IIRC, you cannot access resources defined in server.xml's GlobalResources, unless you add a ResourceLink

RE: jndi global look up questions

2010-03-18 Thread Caldarale, Charles R
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Subject: Re: jndi global look up questions What do you mean by global JNDI access. Judging from the example code supplied by the OP, he or she wants a kludge in Tomcat to so that it presumes the presence of the java:comp/env prefix

Re: jndi global look up questions

2010-03-18 Thread Narahari 'n' Savitha
Bingo. Exactly. Is there a way to kludge Tomcat into doing this ? Please... -Narahari On Thu, Mar 18, 2010 at 9:05 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Subject: Re: jndi global look

RE: jndi global look up questions

2010-03-18 Thread Caldarale, Charles R
From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: jndi global look up questions Bingo. Exactly. Is there a way to kludge Tomcat into doing this ? Better to change your code to be spec-compliant, and not dependent on the illogical (and illegal) behavior of certain app

Re: jndi global look up questions

2010-03-18 Thread Narahari 'n' Savitha
, it will be great. What do you say ? Any ideas ;) -Narahari On Thu, Mar 18, 2010 at 9:41 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: jndi global look up questions Bingo. Exactly. Is there a way to kludge Tomcat

RE: jndi global look up questions

2010-03-18 Thread Caldarale, Charles R
From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: jndi global look up questions So if thee is a setting in Tomcat to say allow shabby programming practices to get thru, it will be great. What do you say ? Any ideas ;) I can't think of any way to do this via

Re: jndi global look up questions

2010-03-18 Thread Filip Hanik - Dev Lists
On 03/18/2010 07:05 AM, Caldarale, Charles R wrote: From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Subject: Re: jndi global look up questions What do you mean by global JNDI access. Judging from the example code supplied by the OP, he or she wants a kludge in Tomcat to so

Re: jndi global look up questions

2010-03-18 Thread Narahari 'n' Savitha
Right but do you know how to do this. On Thu, Mar 18, 2010 at 10:43 AM, Filip Hanik - Dev Lists devli...@hanik.com wrote: On 03/18/2010 07:05 AM, Caldarale, Charles R wrote: From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Subject: Re: jndi global look up questions What do you

jndi global look up questions

2010-03-17 Thread Narahari 'n' Savitha
Friends: I have the following setup. A Jar file with a class called DBConnectionUtil that reads a specific string for lookup jdbc/windsDS. This jar is being used inside of Websphere7 and it works fine. Inside of Tomcat 6, the same context look up for the jndi of jdbc/windsDS does NOT work.