Re: javax.naming.NameNotFoundException

2024-10-25 Thread Christopher Schultz
Mark F, On 10/23/24 18:13, Mark Foley wrote: On Wed, 23 Oct 2024 19:13:44 Mark Thomas wrote: On 23/10/2024 18:57, Mark Foley wrote: I'm running Tomcat 8.5.11. I have a hopefully small problem. Tomcat 8.5.x is EOL and no longer supported. 8.5.11 is also rather old with quite a long list of

Re: [OT] javax.naming.NameNotFoundException

2024-10-25 Thread Christopher Schultz
Mark F, On 10/23/24 18:13, Mark Foley wrote: On Wed, 23 Oct 2024 19:13:44 Mark Thomas wrote: On 23/10/2024 18:57, Mark Foley wrote: I'm running Tomcat 8.5.11. I have a hopefully small problem. Tomcat 8.5.x is EOL and no longer supported. 8.5.11 is also rather old with quite a long list of

Re: javax.naming.NameNotFoundException

2024-10-24 Thread Mark Thomas
On 23/10/2024 23:13, Mark Foley wrote: On Wed, 23 Oct 2024 19:13:44 Mark Thomas wrote: That won't work. What will work is renaming: $CATALINA_HOME/webapps/myapp to $CATALINA_HOME/webapps/myapp#subapp/ Mark Hmmm ... what I was attempting was splitting many webapps into multiple directo

Re: javax.naming.NameNotFoundException

2024-10-23 Thread Mark Foley
On Wed, 23 Oct 2024 19:13:44 Mark Thomas wrote: > > On 23/10/2024 18:57, Mark Foley wrote: > > I'm running Tomcat 8.5.11. I have a hopefully small problem. > > Tomcat 8.5.x is EOL and no longer supported. > > 8.5.11 is also rather old with quite a long list of know security issues. Yeah, I know.

Re: javax.naming.NameNotFoundException

2024-10-23 Thread Mark Thomas
On 23/10/2024 18:57, Mark Foley wrote: I'm running Tomcat 8.5.11. I have a hopefully small problem. Tomcat 8.5.x is EOL and no longer supported. 8.5.11 is also rather old with quite a long list of know security issues. I have a webapp directory: $CATALINA_HOME/webapps/myapp/. In that directo

javax.naming.NameNotFoundException

2024-10-23 Thread Mark Foley
es to anything -- I get the error: javax.servlet.ServletException: javax.naming.NameNotFoundException: Name [connURL] is not bound in this Context. Unable to find [connURL]. Here is the jsp code: Context ctx = new javax.naming.InitialContext(); Context env = (Context) ctx.lookup("jav

RE: AW: javax.naming.NameNotFoundException Tomcat 8.0.32

2016-05-19 Thread Al
ext.lookup("java:/comp/env");Oracle308tube = (DataSource)envContext.lookup("jdbc/308tubeOracle"); > From: sebastian.tr...@dms-ag.ch > To: users@tomcat.apache.org > Subject: AW: javax.naming.NameNotFoundException Tomcat 8.0.32 > Date:

AW: javax.naming.NameNotFoundException Tomcat 8.0.32

2016-05-19 Thread Sebastian Trost
t.apache.org Betreff: javax.naming.NameNotFoundException Tomcat 8.0.32 Environment:Tomcat 8.0.32 Windows 10 Eclipse Mars 2 Release 4.5.2 MySQL-connector-java-5.1.39-bin.jar I'm try to set up a jndi for a MySQL database connection in eclipse using Tomcat 8.0.32 . I keep receiving the following message when I

javax.naming.NameNotFoundException Tomcat 8.0.32

2016-05-18 Thread Al
ample. javax.naming.NameNotFoundException: Name [308tubeOracle] is not bound in this Context. Unable to find [308tubeOracle]. I believe I have set everything up correctly and would really appreciate some direction. I have added the following two entries into the context.xml under the Tomcat Server config in Ec

RE: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-05-14 Thread Caldarale, Charles R
> From: Bharath R [mailto:bharath.mail.l...@gmail.com] > Subject: Re: javax.naming.NameNotFoundException with JAXWS RI 2.5 and > Tomcat 6.0 > > Do you suggest I put the 2.4 servlet spec version in web.xml? That would probably work; you could also remove the annotations, since the

RE: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-05-14 Thread Martin Gainty
ni. > Date: Thu, 14 May 2009 14:32:45 +0530 > Subject: Re: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat > 6.0 > From: bharath.mail.l...@gmail.com > To: users@tomcat.apache.org > > >>Tomcat 6.0 supports version 2.5 of the servlet spec, whereas Tocmat 5

Re: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-05-14 Thread Bharath R
>>Tomcat 6.0 supports version 2.5 of the servlet spec, whereas Tocmat 5.5 uses 2.4; the 2.5 spec includes resource >>annotations, whereas 2.4 doesn't. You didn't bother to specify a spec version in your web.xml. Do you suggest I put the 2.4 servlet spec version in web.xml? >>so Tomcat chose the

RE: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-03-17 Thread Caldarale, Charles R
> From: Bharath R [mailto:bharath.mail.l...@gmail.com] > Subject: javax.naming.NameNotFoundException with JAXWS RI 2.5 > and Tomcat 6.0 > This problem occurs only with Tomcat 6.0.18. It is ok with Tomcat > 5.5.27. Tomcat 6.0 supports version 2.5 of the servlet spec, whereas

RE: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-30 Thread Hamacher, Eric
9 2:43 PM To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Hamacher, Eric wrote: > I solved the problem by putting java:/comp/env in the JNDI lookup in the code. So you're not putting: java:/comp/jdbc/GFDataSource? p > Tha

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-29 Thread Pid
30" > maxIdle="2" > maxWait="1000" > username="GLP_S" > password="gideupstg" > driverClassName="oracle.jdbc.driver.OracleDriver"

RE: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-29 Thread Hamacher, Eric
I solved the problem by putting java:/comp/env in the JNDI lookup in the code. That led me to an exception when I tried to use an ArrayDescriptor. So I tried to change my pooling form dbcp to oracle with: And now I'm back to "javax.naming.NameNotFoundException: Name jdbc is not boun

RE: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-29 Thread Hamacher, Eric
Tomcat's -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Stephen Souness Sent: Thursday, January 29, 2009 9:02 AM To: users@tomcat.apache.org Subject: Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Which lib did you put your ja

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-29 Thread Stephen Souness
Which lib did you put your jars in? The web app's or Tomcat's? -- Stephen Souness Hamacher, Eric wrote: Hello: This has been a truly frustrating problem. Here is what I did: Tomcat 6.0.18 JDK 1.5 u 16 Eclipse w/ WTP 3.4.1 Ojdbc14dms.jar Dms.jar I placed my drivers in lib. In web.xml, I p

RE: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-29 Thread Hamacher, Eric
..@gmx.de] Sent: Wednesday, January 28, 2009 6:17 PM To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Hamacher, Eric schrieb am 28.01.2009 um 08:18:21 (-0600): > >type="javax.sql.DataSource"

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-28 Thread Michael Ludwig
Hamacher, Eric schrieb am 28.01.2009 um 08:18:21 (-0600): > >type="javax.sql.DataSource" > maxActive="30" > maxIdle="2" > maxWait="1000" > username="username" > password="password" >

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-28 Thread Hamacher, Eric
Hello: This has been a truly frustrating problem. Here is what I did: Tomcat 6.0.18 JDK 1.5 u 16 Eclipse w/ WTP 3.4.1 Ojdbc14dms.jar Dms.jar I placed my drivers in lib. In web.xml, I put jdbc/GFDataSource javax.sql.DataSource Container I placed the following in th

Re: javax.naming.NameNotFoundException: Name jdbc is not bound inthisContext

2008-04-16 Thread Mark Thomas
Caldarale, Charles R wrote: I'd certainly like to see a Tomcat config tag with a couple of settings that would log or optionally reject badly formed elements. Patches are always welcome ;) Mark - To start a new topic, e-mai

RE: javax.naming.NameNotFoundException: Name jdbc is not bound inthisContext

2008-04-16 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: javax.naming.NameNotFoundException: Name jdbc is > not bound inthisContext > > Can you think of a reason not to have Tomcat simply > refuse to load a that specifies its own > path (unless it is in s

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in thisContext

2008-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: | Also note that for any Tomcat released in the last few | years, the only time a path attribute is allowed at all is when the | element is in server.xml (where it should never be). Can you think of a reason not t

RE: javax.naming.NameNotFoundException: Name jdbc is not bound in thisContext

2008-04-15 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Roger Keays > Subject: javax.naming.NameNotFoundException: Name jdbc is not > bound in thisContext > > The following configuration gives me a > javax.naming.NameNotFoundException: > > That path specification is inco

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2008-04-15 Thread Mark Thomas
Roger Keays wrote: Is that the intended behaviour? Yes. If you want a realm to use a context defined datasource rather than a global one you need to set: localDataSource="true" on the realm It is documented in the howto but not the realm docs. I'll fix that now. http://tomcat.apache.org/tomcat

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2008-04-14 Thread Roger Keays
The following configuration gives me a javax.naming.NameNotFoundException: However, if I move the JNDI resource up it works as expected: ... Is that the intended behaviour? Cheers, Roger

RE: javax.naming.NameNotFoundException: Name pool is not bound inthis Context

2006-11-28 Thread Macari McCorry, Gerardo
: javax.naming.NameNotFoundException: Name pool is not bound inthis Context Macari McCorry, Gerardo wrote: > Hi all, > > Problem: Trying to asociate a database pool to a local context > Error: "javax.naming.NameNotFoundException: Name pool is not bound in this > Context'" Have you define

Re: javax.naming.NameNotFoundException: Name pool is not bound in this Context

2006-11-28 Thread Martin Gainty
nts - Original Message - From: "Macari McCorry, Gerardo" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 28, 2006 6:32 AM Subject: javax.naming.NameNotFoundException: Name pool is not bound in this Context Hi all, Problem: Trying to asociate a database pool to a local co

Re: javax.naming.NameNotFoundException: Name pool is not bound in this Context

2006-11-28 Thread Mark Thomas
Macari McCorry, Gerardo wrote: > Hi all, > > Problem: Trying to asociate a database pool to a local context > Error: "javax.naming.NameNotFoundException: Name pool is not bound in this > Context'" Have you define

javax.naming.NameNotFoundException: Name pool is not bound in this Context

2006-11-28 Thread Macari McCorry, Gerardo
Hi all, Problem: Trying to asociate a database pool to a local context Error: "javax.naming.NameNotFoundException: Name pool is not bound in this Context'" Version Tomcat: 5.5.20 JDK: 5.0 OS: Windows 2000 Comment: I been using tomcat since version 3 and never has such probl