Re: New Install - Manager/html issue

2022-06-13 Thread Bruce Gavin
Thanks for all you help. I have just reinstalled it and it now works > On 13 Jun 2022, at 18:44, Bruce Gavin wrote: > > Thanks Mark > > Have altered to read > > sameSiteCookies="strict" /> > allow=".*"/> > sessionAttributeValueClassNameFilter="java\.lang\.(?:Boole

Re: New Install - Manager/html issue

2022-06-13 Thread Bruce Gavin
Thanks Mark Have altered to read sameSiteCookies="strict" /> https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-10-on-ubuntu-20-04 -Original Message- From: Christopher Schultz Sent: 13 June 2022 17:22 To: users@tomcat.a

Re: New Install - Manager/html issue

2022-06-13 Thread Mark Thomas
Take a look in manager/META-INF/context.xml. You'll need to adjust the RemoteAddrValve Mark On 13/06/2022 18:00, Bruce Gavin wrote: That might be the problem! A different machine. On 13 Jun 2022, at 17:41, Mark Thomas wrote: Where are you trying to access the Manager from? The same mach

Re: New Install - Manager/html issue

2022-06-13 Thread Bruce Gavin
A different machine > On 13 Jun 2022, at 17:41, Mark Thomas wrote: > > Where are you trying to access the Manager from? The same machine as you > installed Tomcat or a different one? > > Mark > > >> On 13/06/2022 17:28, brucetobyga...@me.com.INVALID wrote: >> Chris >> Both BASE and Home p

Re: New Install - Manager/html issue

2022-06-13 Thread Bruce Gavin
That might be the problem! A different machine. > On 13 Jun 2022, at 17:41, Mark Thomas wrote: > > Where are you trying to access the Manager from? The same machine as you > installed Tomcat or a different one? > > Mark > > >> On 13/06/2022 17:28, brucetobyga...@me.com.INVALID wrote: >> Ch

Re: New Install - Manager/html issue

2022-06-13 Thread Mark Thomas
Where are you trying to access the Manager from? The same machine as you installed Tomcat or a different one? Mark On 13/06/2022 17:28, brucetobyga...@me.com.INVALID wrote: Chris Both BASE and Home point to the same. I used the attached https://www.digitalocean.com/community/tutorials/how-

RE: New Install - Manager/html issue

2022-06-13 Thread brucetobygavin
Chris Both BASE and Home point to the same. I used the attached https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-10-on-ubuntu-20-04 -Original Message- From: Christopher Schultz Sent: 13 June 2022 17:22 To: users@tomcat.apache.org Subject: Re: New Install -

Re: New Install - Manager/html issue

2022-06-13 Thread Christopher Schultz
Bruce, On 6/13/22 11:29, brucetobyga...@me.com.INVALID wrote: Tomcat is installed in opt/tomcat and the webapps directory contains docs examples host-manager manager ROOT I think that's CATALINA_HOME not CATALINA_BASE. IIRC, Ubuntu installs Tomcat into /opt/tomcat but has separate directory

RE: New Install - Manager/html issue

2022-06-13 Thread brucetobygavin
Tomcat is installed in opt/tomcat and the webapps directory contains docs examples host-manager manager ROOT -Original Message- From: Mark Thomas Sent: 13 June 2022 16:23 To: users@tomcat.apache.org Subject: Re: New Install - Manager/html issue On 13/06/2022 14:17, brucetobyga...@

Re: New Install - Manager/html issue

2022-06-13 Thread Mark Thomas
On 13/06/2022 14:17, brucetobyga...@me.com.INVALID wrote: I have just installed Apache Tomcat 10.0.22 on Ubuntu 22.04. However, when I click on the Manager link I get a 404 /manager/html is not available and the description is "The origin server did not find a current representation for the targ

New Install - Manager/html issue

2022-06-13 Thread brucetobygavin
I have just installed Apache Tomcat 10.0.22 on Ubuntu 22.04. However, when I click on the Manager link I get a 404 /manager/html is not available and the description is "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists"

RE: Debugging Tomcat during shutdown

2022-06-13 Thread Jean Pierre URKENS
Ok, Didn't test it (it is started with suspend='n'). Just didn't know what the option was exactly doing, hence the question. J.P. -Original Message- From: Mark Thomas Sent: maandag 13 juni 2022 14:58 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 10/06/202

Re: Debugging Tomcat during shutdown

2022-06-13 Thread Mark Thomas
On 10/06/2022 07:19, Jean Pierre URKENS wrote: Could it depend on whether 'suspend=n' or 'suspend=y' is set on the jdwp options? I haven't tested that. Have you? My expectation is that it wouldn't have an impact since that option just suspends the VM on start until the debugger attaches. I do

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Mark Thomas
On 13/06/2022 10:48, Pavan Kumar Tiruvaipati wrote: Hi, Our application is running on Tomcat 6.0.45. *Operation System* - Linux & Windows Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. As others have pointed out, your choice of Tomcat version is likely to be a larger secur

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Jason Wee
yes, i think so, it is ecj that did the compilation not the jre/jdk... max version u can go with tomcat6 is java8, see } else if(opt.equals("1.7")) { settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_7); } el

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Pavan Kumar Tiruvaipati
Hi, Does ecj 4.6.1 support jsp compilation without JDK ? We would like to replace JDK with JRE. Regards, Pavan On Mon, Jun 13, 2022 at 3:46 PM Jason Wee wrote: > yes, i used to use tomcat version 6.0.29 then upgraded to 6.0.53 > eventually jsp cannot compile to java 8 spec, so i have to upgra

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Jason Wee
yes, i used to use tomcat version 6.0.29 then upgraded to 6.0.53 eventually jsp cannot compile to java 8 spec, so i have to upgrade ecj to version 4.6.1 and using jdk8u74. But these were all I can recalled. hth On Mon, Jun 13, 2022 at 5:48 PM Pavan Kumar Tiruvaipati wrote: > > Hi, > > Our applic

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Pavan Kumar Tiruvaipati
Thank you for the quick response. We can upgrade Tomcat to the latest version. Is there anything required in tomcat installation's configuration to support JSP compilation ? If yes, please share the details. Regards, Pavan On Mon, Jun 13, 2022 at 3:35 PM Olaf Kock wrote: > > On 13.06.22 11:

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Olaf Kock
On 13.06.22 11:48, Pavan Kumar Tiruvaipati wrote: > Hi, > > Our application is running on Tomcat 6.0.45. > > > *Operation System* - Linux & Windows > > Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. If you make a change *for security reasons*, you might want to rather update Tom

Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Pavan Kumar Tiruvaipati
Hi, Our application is running on Tomcat 6.0.45. *Operation System* - Linux & Windows Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. We understand that Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. It will take care of dynamic compilation of JSP pages (Correct