Re: Tomcat 10.1.25 - How to enable access to the "/examples/jsp/security/protected/index.jsp"?

2024-07-01 Thread o haya
Hi, I think that I found the problem. The web.xml file has and auth-constraint: ``` tomcat role1 ``` If I log in as a user that has one of those roles, then the access is successful ! Jim On Mon, Jul 1, 2024 at 5:59 PM o haya wrote: > Hi, > > I just deployed Tomcat 10.1

Tomcat 10.1.25 - How to enable access to the "/examples/jsp/security/protected/index.jsp"?

2024-07-01 Thread o haya
Hi, I just deployed Tomcat 10.1.25 to my Windows machine, and I want to test the FORMS example (/examples/jsp/security/protected/index.jsp) , but I am getting a 403 error: "You are not authorized to view this page. By default the examples web application is only accessible from a browser

Re: How to increase Memory available to Tomcat?

2020-03-31 Thread o haya
and when I access that page, that shows the JVM memory is as I configured with the Xmx/Xms. Thanks, Jim On Tue, Mar 31, 2020 at 10:03 PM o haya wrote: > Hi, > > BTW, in the catalina.out log file, I do see these lines: > > 01-Apr-202

Re: How to increase Memory available to Tomcat?

2020-03-31 Thread o haya
pache-tomcat-9.0.20]# free > totalusedfree shared buff/cache > available > Mem: 32780604 134328826998784 16716 4438532 > 31011556 > > > > You are right that it appears like it is not using the CATALINA_OPTS to > set the

Re: How to increase Memory available to Tomcat?

2020-03-31 Thread o haya
not using the CATALINA_OPTS to set the memory, but I don't know why ??? Thanks, Jim On Tue, Mar 31, 2020 at 12:52 PM Mark Thomas wrote: > On 31/03/2020 17:42, o haya wrote: > > Thanks for the infos. > > > > I was thinking the same thing you were thinking, that it might be

Re: How to increase Memory available to Tomcat?

2020-03-31 Thread o haya
VM (build 25.221-b11, mixed mode) Isn't that confirming that this is a 64-bit JVM? ALSO FYI, I did test where I also added "-d64" parameter to the CATALINA_OPTS, and same thing happened. Jim On Tue, Mar 31, 2020 at 11:10 AM Olaf Kock wrote: > > On 31.03.20 17:02, o haya wrote: >

How to increase Memory available to Tomcat?

2020-03-31 Thread o haya
Hi, I am running Tomcat 9.02 under RHEL 7 (under Oracle JDK 1.8), and I would like to increase the memory that is available to Tomcat when it is running. I have tried sourcing the following: JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server \ -Xms4096m -Xmx4096m -XX:NewSize=256m