Re: Tomcat 9 release plan

2024-01-30 Thread Torsten Krah
Am Dienstag, dem 30.01.2024 um 16:29 +0530 schrieb Kambhapati, Sindhuri: > Can we get a confirmation as to how long tomcat 9 releases would be > happening or there would be support for the existing one's. Please look / search in the archives, this was already discussed a few days ago, topic was:

Re: [OT] Migrating Subversion to a new hostname

2023-10-03 Thread Torsten Krah
Just use svn relocate: https://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html Torsten Christopher Schultz schrieb am Di., 3. Okt. 2023, 19:35: > All, > > Does anyone have any experience re-locating a Subversion repo? We are > looking at breaking-up some currently co-hosted services,

Re: Did something JSP related change between 9.0.71 and 9.0.73

2023-09-01 Thread Torsten Krah
Am Freitag, dem 01.09.2023 um 15:18 +1000 schrieb Tim N: > We're seeing this too, but not in all our environments. We also use > NewRelic. Does it happen without NewRelic too? If not, better ask NewRelic about that problem. -

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-01 Thread Torsten Krah
Am Donnerstag, dem 01.06.2023 um 08:52 + schrieb Lauri: > > You mention a servlet part, but I do not use a servlet. > > All the code is contained in the JSP page. You need to divide that code in a JSP and in your upload servlet as you need to provide the @MultipartConfig on that servlet which

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:42 + schrieb Lauri: > But my initial question remains, what should have to modify on my > posted JSP page ? We already posted you with the docs where you can read about the necessary changes you need to make to your page, it is all written there (just call

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:14 + schrieb Lauri: > So, I guess I need to re-write my JSP page as if it was for Java EE > for Tomcat 9 (or earlier versions) for instance, correct? Why would you want to do that? Just rewrite it to work with the jakarta api and it will work with tomcat 10.

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:18 + schrieb Thomas Hoffmann (Speed4Trade GmbH): > http://www.java2s.com/example/java-api/javax/servlet/http/httpservletrequest/getparts-0-0.html There is also a whole example app on the link you already provided Thomas:

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:04 + schrieb Lauri: > What modules should I use if these are wrong ? None, it is already included in the servlet api. Like already written, please read e.g.: https://docs.oracle.com/javaee/6/tutorial/doc/gmhba.html kind regards Torsten --

Re: OT: Tomcat and TLS

2023-04-20 Thread Torsten Krah
AddOn, if you use the native TLS implementation with openssl you can't configure the TLS 1.3 ciphers which should be used with the ciphers attribute, you will get all the ones which are enabled by default for TLS 1.3 in openssl. Tomcat does still not support to configure them, you can look

Re: Tips on identifying the DB connection leaks leading to the "Pool empty" error

2023-04-17 Thread Torsten Krah
Use logAbandoned as a boolean parameter, you will get stacktraces in the log. From those you can narrow down where you are leaking connections. Akshay Mishra schrieb am Di., 18. Apr. 2023, 01:07: > Hello Tomcat Community! > > > Tomcat Version: 9.0.70 > > Our Tomcat web service started

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
CODE BLOCK- > Version: 1.0 > GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > G++ e(+) h--- r+++ y+++* > --END GEEK CODE BLOCK-- > > > On Mon, Apr 17, 2023 at 6:47 PM Torst

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > G++ e(+) h--- r+++ y+++* > --END GEEK CODE BLOCK-- > > > On Mon, Apr 17, 2023 at 6:47 PM Torsten Krah wrote: > > > And up

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > G++ e(+) h--- r+++ y+++* > --END GEEK CODE BLOCK-- > > > On Mon, Apr 17, 2023 at 6:26 PM Torsten Krah wrote: > > > You shoul

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > G++ e(+) h--- r+++ y+++* > --END GEEK CODE BLOCK-- > > > On Mon, Apr 17, 2023 at 6:26 PM Torsten Krah wrote: > > > You should only us

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
) > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > G++ e(+) h--- r+++ y+++* > --END GEEK CODE BLOCK-- > > > On Mon, Apr 17, 2023 at 6:17 PM Torsten Krah wrote: > > > All the api ones have to be provided, not compile scope imho. Tomcat does > > provide the

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
___ > > Kevin Huntly > Email: kmhun...@gmail.com > Cell: 716/424-3311 > > > -BEGIN GEEK CODE BLOCK- > Version: 1.0 > GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
Please read https://tomcat.apache.org/migration-10.html#Server_Pages_3.0 and while you are there, read the whole guide ;-). Kevin Huntly schrieb am Mo., 17. Apr. 2023, 23:57: > Hello, > > I'm getting the following exception when I try to access my webapp: > > 17-Apr-2023 17:52:55.982 SEVERE

Re: Multiple entries

2023-04-14 Thread Torsten Krah
That has nothing to do with Tomcat, just autowire them by name and not by type like the exception is telling you. Kevin Huntly schrieb am Fr., 14. Apr. 2023, 13:47: > Hi Everyone, > > I can't remember if I posted this already or not (and I don't know how to > check)... I'm getting the following

Re: Quick Question with Tomcat 10.1x

2023-03-16 Thread Torsten Krah
schrieb am Do., 16. März 2023, 19:32: > Hi, > I have a really simple war file I created to "test" that Tomcat is coming > up and running. It works fine on Tomcat 8.5x, 9.0x, AND 10.0x, however on > 10.1.7 I am getting this strange stack trace. I'm not able to determine > just what is being

Re: tomcat-embedded 9.x -> 10.1.x - how to set ssl honor cipher order option now

2022-12-06 Thread Torsten Krah
> Now there is a single method. This should > do what you need: > > SSLHostConfig[] sslHostConfigs = httpHandler.findSslHostConfigs(); > > for (SSLHostConfig sslHostConfig : sslHostConfigs) { > sslHostConfig.setHonorCipherOrder(true); > } That is even better now, thanks. > > > Mark

tomcat-embedded 9.x -> 10.1.x - how to set ssl honor cipher order option now

2022-12-06 Thread Torsten Krah
Hi, using tomcat-embed 9.x I was able to customize my protocol handler like this: AbstractHttp11Protocol httpHandler = ((AbstractHttp11Protocol) connector.getProtocolHandler()); httpHandler.setSSLHonorCipherOrder(true); httpHandler.setUseServerCipherSuitesOrder(true); Switched to 10.1.1 now

Re: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Torsten Krah
Am Donnerstag, dem 05.05.2022 um 06:42 + schrieb Boesch, Henning (G-GPPD): > export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" The docs have this: # CATALINA_OPTS (Optional) Java runtime options used when the "start", # "run" or "debug" command is executed. #

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-16 Thread Torsten Krah
Am Dienstag, dem 15.03.2022 um 15:29 +0100 schrieb Rémy Maucherat: > I used Panama for prototyping, SSL_CTX_set_ciphersuites works but is > > not so trivial to use. If you try using the ciphersuite for more than > > 1.3, there will be warnings (which I improved), and the default > Tomcat > >

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
> It seems to me you are listing a cipher that might be correct > according to the OpenSSL documentation, but then whether that is > available to your JVM may be different. That is for sure not the problem - just use the "ciphers.sh" from the binary directory of tomcat which will list you all

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
Am Freitag, dem 11.03.2022 um 09:17 + schrieb Thomas Hoffmann (Speed4Trade GmbH): > The configuration which works for me is: > > protocol="org.apache.coyote.http11.Http11NioProtocol" > > > sslImplementationName="org.apache.tomcat.util.net.openssl.OpenSSLImpl > ementation" > >

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
Am Freitag, dem 11.03.2022 um 10:09 +0100 schrieb Torsten Krah: > So it seems like a bug to me, right? I had a quick look on the JNI SSLContext code + the native implementation: TCN_IMPLEMENT_CALL(jboolean, SSL, setCipherSuites)(TCN_STDARGS, jlong

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
Am Freitag, dem 11.03.2022 um 09:50 +0100 schrieb Torsten Krah: > (error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match) Reading that message and looking at: https://wiki.openssl.org/index.php/TLS1.3#Ciphersuites there it is written that with TLS 1.3: Applications should

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
Am Freitag, dem 11.03.2022 um 08:52 + schrieb Thomas Hoffmann (Speed4Trade GmbH): > Hello, > > the protocol attribute looks a bit strange. > > I think it should be: > > protocols="+TLSv1.2,+TLSv1.3"> I tried standalone TLS 1.3 like you suggested: protocols="+TLSv1.3" still the same

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
Interesting exception on startup when using TLS 1.3 only - configured the connector like this: using only TLS 1.3 and the configured ciphers but now I get this on startup: 11-Mar-2022 09:43:42.753 WARNUNG [main] org.apache.tomcat.util.net.openssl.OpenSSLContext.init Fehler beim

Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Torsten Krah
Hi, I am using Tomcat 9.0.59 and configured it like that: ... Output is: [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.31] using APR version [1.7.0]. [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR

Re: Number of Web Applications in one Tomcat

2018-10-30 Thread Torsten Krah
Am Dienstag, den 30.10.2018, 15:13 + schrieb Jäkel, Guido: > I'm pretty sure that this problem is just caused by malformed > applications that include some XML stuff inside the application that > MUST NOT include, but have to be provided instead by the platform -- > e.g. as JVM endorsed libs.

Re: Number of Web Applications in one Tomcat

2018-10-30 Thread Torsten Krah
Am Dienstag, den 30.10.2018, 14:39 +0100 schrieb Ahmed, Tarek: > "With Tomcat 7.0.23+ you can configure it to start several web > applications in parallel. This is disabled by default but can be > enabled > by setting the startStopThreads attribute of a *Host* to a value > greater > than one."

Re: org.apache.tomcat.jdbc.pool casting to original connection class

2018-08-28 Thread Torsten Krah
Am Dienstag, den 28.08.2018, 09:21 -0400 schrieb Christopher Schultz: > Interesting. I wonder why Postgres decided not to support that > through > the standard JDBC API. > > Have you tried setting the "compatible" flag on the connection just > to > see if it works for you? I am curious - afaik

Re: org.apache.tomcat.jdbc.pool casting to original connection class

2018-08-24 Thread Torsten Krah
The isWrapperFor(..) and unwrap(..) methods on the connection API should work for this.

mindIdle does not inherit default value from initalSize - tomcat 8.5.x

2018-03-19 Thread Torsten Krah
Tomcat docs for minIdle reads this: https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html minIdle (int) The minimum number of established connections that should be kept in the pool at all times. The connection pool can shrink below this number if validation queries fail. Default value is

embedded tomcat (8.5.28) classloading issues when adding another war file and classes can be resolved via that webapp classloader and the bootstrap classloader

2018-03-02 Thread Torsten Krah
Hi, i am using an embedded tomcat to e.g. start my wicket application in my IDE. This works fine so far - the whole classpath used and provided by IntelliJ is used. But adding e.g. a war file via setWebapp to start some additional webapps i am running into some issues with that war files. The

startStopThreads="0" and thread safety issues with SAXParser / Xerces

2017-09-20 Thread Torsten Krah
Hi, i've enabled startStopThreads="0" to increase bootstrap time of my servlet container using tomcat 8.5.15 and jdk 1.8.0_131-b11. Sometimes - not every time - i've got something like that when the entity manager factory is created from the context initialized callback:

Re: trimSpaces removing whitespace from html

2017-05-11 Thread Torsten Krah
Am Donnerstag, den 11.05.2017, 09:23 -0400 schrieb Christopher Schultz: > So, removing the trailing space in the "class" attribute's value? That too - but have a look at: mrf-mmrf-image it was before / should be: mrf-m mrf-image there are missing whitespaces in the actual class attributes

Re: Error 404 - The requested resource is not available

2017-01-12 Thread Torsten Krah
Am Donnerstag, den 12.01.2017, 13:38 -0600 schrieb fonsin2008 .: > Here are the log files. What about fixing those NPE and enable debug/trace logs of struts2 to get more information about how struts is going to map the request and where the 404 is written to the response.

Re: Issues with accessing Apache Httpd Modules

2016-11-29 Thread Torsten Krah
> https://modules.apache.org/ Maybe you're looking for that URL: http://httpd.apache.org/modules/ ... but its nothing you would not have found via the links i'll already wrote. - To unsubscribe, e-mail:

Re: Issues with accessing Apache Httpd Modules

2016-11-29 Thread Torsten Krah
If you insist to use that non working url (don't know where you've taken that url from nor for which reason you want to reach that url. You did not write what are you searching there) -> just ask the correct mailing list ... If you want to look for the docs you are searching this

Re: Issues with accessing Apache Httpd Modules

2016-11-28 Thread Torsten Krah
This is the tomcat list, not the httpd one ... but your favorite search engine would easily have answered your question: http://httpd.apache.org/docs/2.4/mod/ Cheers Torsten Am Montag, den 28.11.2016, 07:18 + schrieb kruthika.krish...@accenture.com: > Hi , > I am trying to access the

Re: Question about suspectTimeout property of pool configuration - possible Bug - does only work with removeAbandoned = true which seems odd

2016-08-25 Thread Torsten Krah
https://bz.apache.org/bugzilla/show_bug.cgi?id=60043 Am Dienstag, den 23.08.2016, 16:32 +0900 schrieb Keiichi Fujino: > Please open the bugzilla. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Question about suspectTimeout property of pool configuration - possible Bug - does only work with removeAbandoned = true which seems odd

2016-08-18 Thread Torsten Krah
Hi, looking at the doc: https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html there is: suspectTimeout (int) Timeout value in seconds. Default value is 0. Similar to to the removeAbandonedTimeout value but instead of treating the connection as abandoned, and potentially closing the

Re: jdbc driver location in TC 7

2012-03-26 Thread Torsten Krah
Am Montag, den 26.03.2012, 05:30 -0600 schrieb Terence M. Bandoian: Apparently, Tomcat (6.0.29) takes care of that if the driver is located in the Tomcat lib directory but not if it is located in web application's lib directory. Tomcat does not take care afaik - the classloader is not the

Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Torsten Krah
Hi, i am using tomcat 7 to run my servlet 2.5 webapps. Im Tomcat 6 it was possible to tell the Context via disableURLRewriting that i want to track session only via Cookie. This parameter is removed and doc tells me to use tracking-modeCOOKIEtracking-mode at session-config element in web.xml.

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Torsten Krah
Am Donnerstag, den 22.03.2012, 17:43 +0400 schrieb Konstantin Kolinko: 2012/3/22 Torsten Krah tk...@fachschaft.imn.htwk-leipzig.de: Hi, i am using tomcat 7 to run my servlet 2.5 webapps. Im Tomcat 6 it was possible to tell the Context via disableURLRewriting that i want to track session

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Torsten Krah
Am Donnerstag, den 22.03.2012, 14:25 + schrieb Mark Thomas: You can, but it will be closed as WONTFIX. The reason it was only added to 6.0.x was that that in 7.0.x there are other ways of achieving the same result and supporting this additional option as well would result in some

tomcat 5.5 - what happens if an OOM has occured in an application and an exception is thrown in thread main later

2006-07-14 Thread Torsten Krah
Does tomcat reinitialisize themself or not? What is the lifecycle if this is happening? Clean restart of coyote engine, nothing or whats happening? If yes - are finally methods of still running threads and applications executed or is it like signal 9 - all gets killed? kind regards Torsten

Fork a new JVM from a project out of a running tomcat instance

2006-03-07 Thread Torsten Krah
Hello. Is there any possibility to fork a new instance of a jvm from a running one? For example, every project tomcat is running, should fork its own jvm. Its appreciated that it use the same start parameters as the original one. thx for help. kind regards Torsten

RE: Bootstrap class - Interface bind - Problem there again.

2006-03-07 Thread Torsten Krah
the reason maybe for that? Any specific debug options i can set to log something which let me find some information for this problem? kind regards Torsten Am Mittwoch, den 01.03.2006, 19:02 +0100 schrieb Torsten Krah: Tomcat version 4.1.31-LE-jdk14. OS: Linux 2.6.8 java version 1.4.2-02

Bootstrap class - Interface bind

2006-03-01 Thread Torsten Krah
Hello, tomcats connectors are configured to listen on localhost only, which works fine. But the bootstrap class listens still on all interfaces. How can i tell tomcat to behave like the connectors and only listen on addresses i want ( address and port would be nice ). kind regards Torsten

RE: Bootstrap class - Interface bind

2006-03-01 Thread Torsten Krah
remaining java Bootstrap classes and starting tomcat again, its fine. I will look at this, stopping tomcat should kill all instances in my opinion, strange. kind regards Torsten Am Mittwoch, den 01.03.2006, 10:46 -0600 schrieb Caldarale, Charles R: From: Torsten Krah [mailto:[EMAIL PROTECTED

RE: Bootstrap class - Interface bind - Problem there again.

2006-03-01 Thread Torsten Krah
Problem is there again - after few minutes in working state, a new process shows up with following call: /opt/java/bin/java -server -showversion -Xms640M -Xmx640M -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:/var/logs/gc.log -Djava.awt.headless=true

RE: Bootstrap class - Interface bind - Problem there again.

2006-03-01 Thread Torsten Krah
another jvm. Theres no cron job or similiar, i have to start it manually. The fork parameter isnt set, so its left at its default. kind regards Torsten Am Mittwoch, den 01.03.2006, 11:46 -0600 schrieb Caldarale, Charles R: From: Torsten Krah [mailto:[EMAIL PROTECTED] Subject: RE: Bootstrap

Re: Mod_jk Connector

2005-11-10 Thread Torsten Krah
Just guessing: They got legacy stuff and want to use it and doesnt have the man power to upgrade it or development is discarded but their still users who want to work with it - just a thought. Afaik 4.1.31 is the latest 4.1.x Tomcat, so its not old. Its like FreeBSD 4.X vs 6.X which was