Hello, while looking at Tomcat 8.5.61 heap dump in VisualVM, in Dominators by
Retained Size, two biggest ones are:
org.apache.tomcat.util.net.NioEndpoint#1 12 382 781 B (13,7%)
org.apache.coyote.http11.upgrade.UpgradeGroupInfo#1 7 066 212 B (7,8%)
I am wondering about UpgradeGroupInfo,
.
-Harri
-Original Message-
From: Christopher Schultz
Sent: maanantai 14. maaliskuuta 2022 16.36
To: users@tomcat.apache.org
Subject: Re: NullPointerException in Tomcat startup while parsing XML
configuration file
Harri,
On 3/14/22 10:23, Harri Pesonen wrote:
> Hello, I don't k
Hello, I don't know if this is interesting, but while I started Tomcat in IDEA
debugger, when I had breakpoint set to NullPointerException (so that it breaks
on all of them),
then it break here:
Hello,
while reading the documentation in
https://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Naming
it is not clear to me how to achieve the following:
Have one WAR file with corresponding directory, for example:
app#1.war => app#1 (directory) => /app/1 (context path)
But have
18.46
To: users@tomcat.apache.org
Subject: Re: Two context paths to same application
On 01/04/2022 15:59, Harri Pesonen wrote:
> Hello,
>
> while reading the documentation in
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftomc
> at.apache.org%2Ftomcat-8
Vault for Apache Tomcat:
https://github.com/web-servers/tomcat-vault
It hides the secrets in another encrypted file, and password for that file is
then in another file...
So it just makes it more difficult to access the secrets, but at least they are
not in plain text.
-Harri
-Original
Hello, is it possible to change the context file in
$CATALINA_HOME/conf/Catalina/localhost/app.xml
so that application would get the new configuration without restarting?
I could not find such thing in servlet specification.
Or would it be possible to manually read the file from the application,
hristopher Schultz
Sent: keskiviikko 13. huhtikuuta 2022 19.20
To: users@tomcat.apache.org
Subject: Re: Reconfiguring Tomcat application without restart
Harri,
On 4/13/22 07:32, Harri Pesonen wrote:
> Hello, is it possible to change the context file in
>
> $CATALINA_HOME/conf/Catalin
Java 9 dropped 32-bit so it only has 64-bit by default.
Maybe you have Java 8 instead of Java 9.
Check this:
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04
Try using Tomcat 8.5 if you want to have 32-bit.
-Harri
-Original Message-
From:
-
From: Christopher Schultz
Sent: torstai 20. huhtikuuta 2023 19.35
To: users@tomcat.apache.org
Subject: Re: java.lang.InternalError: Unexpected CryptoAPI failure generating
seed
Harri,
On 4/18/23 07:43, Harri Pesonen wrote:
> Hello, we have:
>
> Tomcat/8.5.83
> Windows Server 2016
&g
be similar.
Tom
On Fri, Apr 21, 2023 at 2:15 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Harri,
>
> On 4/21/23 04:39, Harri Pesonen wrote:
> > No, I think that I have seen this only once now, but of course it
> > might
> have happened more than once
Hello, we have:
Tomcat/8.5.83
Windows Server 2016
java.version=11.0.12
java.vendor=Azul Systems, Inc.
sun.arch.data.model=64
Sometimes Tomcat fails to start our application because of this error:
06:45:58.230 ERR> (Catalina-startStop-1)
Hello,
I changed:
* source code target from Java 8 to Java 11
* Tomcat from 8.5 to 9.0.73
* Java runtime from Java 11 to Java 17
and now I see extra error in Tomcat log, which did not happen before:
(http-nio-8080-exec-8) (org.apache.catalina.session.StandardSession#tellNew)
: java.lang.AbstractMethodError: Receiver class
org.apache.tomcat.websocket.server.WsSessionListener does not define or inherit
an implementation
On Mon, Mar 20, 2023 at 1:59 PM Harri Pesonen wrote:
>
> Hello,
>
> I changed:
>
> * source code target from Java 8 to Java 11
> * Tomc
Yes the standard JDK ThreadPoolExecutor behavior is bad.
Here is a good thread describing how to fix ThreadPoolExecutor to behave how it
should be.
https://stackoverflow.com/questions/19528304/how-to-get-the-threadpoolexecutor-to-increase-threads-to-max-before-queueing
Obviously Tomcat had to
Linux has "auditd" tool to log file system changes:
https://www.redhat.com/sysadmin/configure-linux-auditing-auditd
-Harri
-Original Message-
From: Subodh Joshi
Sent: perjantai 22. maaliskuuta 2024 7.36
To: Tomcat Users List
Subject: Re: Tomcat Internal Architect for JSP compilation?
I have developed a restful web service, which uses HTTP response codes 200 OK,
201 Created, 204 No Content and 404 Not Found.
It does not use 400 Bad Request or 500 Internal Server Error normally.
400 Bad Request is more common than 500 Internal Server Error, which should
basically never happen.
17 matches
Mail list logo