RE: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Daniel Schwartz
Chris, Sorry, I mistyped. I did put context.xml in META-INF (not WEB-INF) . It didn't help. I'm guessing that there is just some little thing that's being overlooked, but I can't find it. I decided to reinstall Tomcat 10.1.24, remembered to copy the j-connector .jar file into the lib direc

Re: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Christopher Schultz
Daniel, On 6/19/24 16:37, Daniel Schwartz wrote: I followed you instruction to move the context.xml file into the application WEB-INF directory and restored the original context.xml file in the tomcat conf directory, but the problem persists. Very puzzling. To be clear, I was recommending p

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Christopher Schultz
Chuck, On 6/19/24 15:49, Chuck Caldarale wrote: On Jun 19, 2024, at 14:42, Stephen Tenberg wrote: You asked why path="" instead of path="foo" in context at server.xml? That was our attempt to mount this application at "/" instead of at "/foo" which is a requirement here. Just deploy the

RE: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Daniel Schwartz
Chris, I followed you instruction to move the context.xml file into the application WEB-INF directory and restored the original context.xml file in the tomcat conf directory, but the problem persists. Very puzzling. Your remark regarding the MySQL login ID and password is well-taken, and I w

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Chuck Caldarale
Also take a look at this: https://tomcat.apache.org/tomcat-9.0-doc/security-howto.html#Default_web_applications - Chuck > On Jun 19, 2024, at 15:23, Robert Turner wrote: > > This page might be a useful resource to read if you haven't already: > https://tomcat.apache.org/tomcat-9.0-doc/confi

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Robert Turner
This page might be a useful resource to read if you haven't already: https://tomcat.apache.org/tomcat-9.0-doc/config/context.html The short version is -- to publish an application in the "root" web url path (of http(s)://your.server-name.com/), you can name your WAR file "ROOT.war" and copy it to

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Chuck Caldarale
> On Jun 19, 2024, at 15:16, Stephen Tenberg wrote: > > Thank you. Do we just rename the existing ROOT to something else so the > admin stuff is available? The default ROOT application does not have any admin purpose itself, but it does have links to admin functions that are separate from t

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Stephen Tenberg
Thank you. Do we just rename the existing ROOT to something else so the admin stuff is available? The path="" was appealing as we want this existing large application to be available as "/". Is renaming ROOT a better way of achieving this? On Wed, Jun 19, 2024 at 3:50 PM Chuck Caldarale wrote:

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Chuck Caldarale
> On Jun 19, 2024, at 14:42, Stephen Tenberg wrote: > > You asked why path="" instead of path="foo" in context at server.xml? > > That was our attempt to mount this application at "/" instead of at "/foo" > which is a requirement here. Just deploy the application as ROOT (case matters) rath

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Stephen Tenberg
Thanks very much for the comprehensive reply. I tried as you suggested and it worked fine, resolving symbolic links both inside and outside the tomcat webapps directory. You asked why path="" instead of path="foo" in context at server.xml? That was our attempt to mount this application at "/" i

Re: Not able to start WebApp on JDK 11

2024-06-19 Thread Christopher Schultz
Shivaanand, On 6/18/24 13:29, Shivaanand Verma wrote: We are having a Jersey Servlet application running on the 9.0.80 version of Apache Tomcat. Recently we've been trying to migrate our application from JDK 8 to JDK 11. The application used to run smoothly on JDK 8, but when compiled against J

Re: Tomcat 9 symlinks ?

2024-06-19 Thread Christopher Schultz
Stephen, On 6/19/24 13:55, Stephen Tenberg wrote: Hello I have scoured the web trying to get symlinks working for jsp pages or folders in Tomcat 9 using Ubuntu 20.04. Here is how to repeat the issue, and what I have tried. 1. Create a new folder in webapps, say "foo" 2. Put HelloWorld.jsp ther

Re: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Terence M. Bandoian
On 6/19/2024 1:02 PM, Chuck Caldarale wrote: On Jun 19, 2024, at 10:09, Daniel Schwartz wrote: Dear Thomas, Your email came with no content. Please try again. Thomas’ message looked fine here as well. Check your e-mail client. - Chuck I saw the quoted message Mark was responding to bu

Re: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Chuck Caldarale
> On Jun 19, 2024, at 10:09, Daniel Schwartz wrote: > > Dear Thomas, > > Your email came with no content. Please try again. Thomas’ message looked fine here as well. Check your e-mail client. - Chuck - To unsubscribe,

Tomcat 9 symlinks ?

2024-06-19 Thread Stephen Tenberg
Hello I have scoured the web trying to get symlinks working for jsp pages or folders in Tomcat 9 using Ubuntu 20.04. Here is how to repeat the issue, and what I have tried. 1. Create a new folder in webapps, say "foo" 2. Put HelloWorld.jsp there 3. (I restarted Tomcat just in case) Verify it wor

Re: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Christopher Schultz
Daniel, On 6/19/24 11:40, Daniel Schwartz wrote: Dear Felix, Thank you for your reply. The connector jar file is at C:\Program Files\apache-tomcat-10.1.24\lib\mysql-connector-j-8.4.0.jar The latest entry in catalina.2024-06-17.log is copied below. The latest entry in localhost.2024-06-

Re: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Christopher Schultz
Daniel, On 6/19/24 11:09, Daniel Schwartz wrote: Dear Thomas, Your email came with no content. Please try again. His reply email looks fine to me. -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-19 Thread Christopher Schultz
Mark, On 6/19/24 10:14, Mark Thomas wrote: On 18/06/2024 23:30, Christopher Schultz wrote: Izek, On 6/18/24 13:49, Izek Hornbeck wrote: I am creating a Java web app (Java v17, 2021-09-14) that runs on a Tomcat 10.1.23 server. I need to authenticate users by verifying their certificate from a

RE: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Daniel Schwartz
Dear Felix, Thank you for your reply. The connector jar file is at C:\Program Files\apache-tomcat-10.1.24\lib\mysql-connector-j-8.4.0.jar The latest entry in catalina.2024-06-17.log is copied below. The latest entry in localhost.2024-06-17.log is copied after that. The two entries are e

RE: Tomcat MySQL Connection Pooling JNDI lookup

2024-06-19 Thread Daniel Schwartz
Dear Thomas, Your email came with no content. Please try again. Dan Schwartz From: Thomas Hoffmann (Speed4Trade GmbH) Sent: Wednesday, June 19, 2024 2:05 AM To: Tomcat Users List Subject: AW: Tomcat MySQL Connection Pooling JNDI lookup

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-19 Thread Mark Thomas
On 18/06/2024 23:30, Christopher Schultz wrote: Izek, On 6/18/24 13:49, Izek Hornbeck wrote: I am creating a Java web app (Java v17, 2021-09-14) that runs on a Tomcat 10.1.23 server. I need to authenticate users by verifying their certificate from a smart card. (This Stack Overflow question I

[ANN] Apache Tomcat 9.0.90 available

2024-06-19 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.90. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.90 is a bugfix and feat