: users@tomcat.apache.org
Subject: Re: [Semi OT] Suggestion: Maven repository for Tomcat native library
Harri,
On 8/9/24 05:56, Harri Pesonen wrote:
> Hello, currently Tomcat native library needs to be downloaded manually from
> here:
>
> https://tomcat.apache.org/download-native.cgi
>
Hello, currently Tomcat native library needs to be downloaded manually from
here:
https://tomcat.apache.org/download-native.cgi
It would be better to download it from Maven repository, so that we could
upgrade the version easier using Maven scripts.
Also we could see easier when the version nee
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.
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?
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 do
should 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
ssage-
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 20
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)
(org.apache.catalina.startup.HostConfig#deployDescriptors)
: 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
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)
Session
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: Joh
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
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,
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
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 another
.
-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
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:
org\apache\tomcat\tomcat-util\8.5.75\tomcat-util-8.5.75.jar!\org\apache\tomcat\util\IntrospectionUtil
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 Me
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, because
19 matches
Mail list logo