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: jn

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 To

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 ;)

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 >

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 (

Re: jndi global look up questions

2010-03-18 Thread Narahari 'n' Savitha
> > 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. > If

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 presenc

Re: jndi global look up questions

2010-03-18 Thread Konstantin Kolinko
2010/3/18 Narahari 'n' Savitha : > 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 element to your context.xml htt

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 cod

Re: jndi global look up questions

2010-03-17 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 > Friends: > > I have the following setup. > > A Jar file with a class called DBConnectionUtil that reads a specific > string > for lookup "jdbc/winds

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. T