Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-24 Thread Felix Schumacher
ommand that I gave as an example? Felix On Wed, 23 Mar 2022 at 19:23, Felix Schumacher < felix.schumac...@internetallee.de> wrote: Am 23. März 2022 12:14:25 MEZ schrieb rupali singh < rupali.r.si...@gmail.com>: Hi Chris, I already tried with fully qualified name but its not working Can

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-23 Thread Felix Schumacher
r Schultz < >ch...@christopherschultz.net> wrote: > >> All, >> >> On 3/21/22 10:19, Felix Schumacher wrote: >> > >> > Am 21.03.22 um 06:39 schrieb rupali singh: >> >> Hi Felix, >> >> >> >> location of context.xml file is &g

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-21 Thread Felix Schumacher
> curl -D- 'localhost:8080/apex/f?p=10001' It should display (assuming your tomcat listens on port 8080) something like: HTTP/1.1 302 Location: /apex/myapp?p=10001 Content-Length: 0 Date: Mon, 21 Mar 2022 ... Felix its still not working On Mon, 21 Mar 2022 at 00:57, Felix Schumac

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-20 Thread Felix Schumacher
Am 20.03.22 um 19:45 schrieb Thomas Hoffmann (Speed4Trade GmbH): Hello, url rewrite doesn't match against url parameters as far as I know. RewriteRule ^/apex/f$ /apex/myapp [R,L] You can match the query string by adding a RewriteCond, for example RewriteCond %{QUERY_STRING} p=1001

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-20 Thread Felix Schumacher
Am 20.03.22 um 20:17 schrieb rupali singh: Hi Thomas, thanks for the quick reply. I have tried below but it's still not working. RewriteRule ^/apex/f$ /apex/myapp [R,L] I have placed rewrite.config on below locations and fileis same in both locations , after changing rewrite.config i'm

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-20 Thread Felix Schumacher
Am 19.03.22 um 07:03 schrieb rupali singh: Hi Team, We are using tomcat 9.54 version. Need help in rewriting rule. background : We have an Oracle apex server ( version 21.1) and tomcat is installed on the same server. We have F5 url which redirects to apex installed on tomcat

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-23 Thread Felix Schumacher
Sorry for the noise, you gave the numbers of open files (8028) and the limits (262144) in your first mail. Felix Am 23.05.21 um 12:18 schrieb Felix Schumacher: > Am 22.05.21 um 18:03 schrieb Yeggy Javadi: >> Here it is: >> >> # netstat -p -a --tcp | grep 130244 &

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-23 Thread Felix Schumacher
Am 22.05.21 um 18:03 schrieb Yeggy Javadi: > Here it is: > > # netstat -p -a --tcp | grep 130244 > tcp6 0 0 [::]:pcsync-https [::]:* LISTEN > 130244/java > tcp6 0 0 [::]:https [::]:* LISTEN > 130244/java >

Re: ApacheCon @Home 2020 links for the presentations page

2021-04-13 Thread Felix Schumacher
gt; > --- > > ApacheCon @Home > 2020 > >   >     State of the Cat - Mark Thomas, >     https://www.youtube.com/watch?v=uDy-Dwexy2Q;>video >   >   >     Lost in the Docs - Felix Schumacher, >     https://www.youtube.com/watch?v=pSU0l5kbcJ8;>video >   >   >  

Re: RemoteIpValve resolving localname is really slow

2021-04-12 Thread Felix Schumacher
Am 12.04.21 um 15:49 schrieb Bourdais Nicolas: > We are hosting our tomcats on windows vms behind a reverse proxy and have > enabled RemoteIPValve. > In the same time we have many hardware which talk to tomcat through a vpn. > Recently we updated our tomcats to a more recent version (8.5.43 to

Re: [OT] visualvm time stamps

2021-04-11 Thread Felix Schumacher
Am 9. April 2021 21:02:56 MESZ schrieb Chris Cheshire : >My googlefu is failing me here. > >I am trying to figure out some anomalous database connection behavior >in my tomcat web app. I have enabled JMX/RMI and have visualvm running >on my local machine. > >I found the ability to monitor the

Re: Tomcat, maybe Apache on Widows 10

2021-04-10 Thread Felix Schumacher
Am 09.04.21 um 22:31 schrieb Orendt, John: > Hi > > My goal is to set up a web server on Windows 10 that supports TLSv1.3 with > mutual authentication. > > I have had success with Apache on Ubuntu 20.04. I was able to generate the > server and client x509 leaf certs which apache validates up

Re: IDNs emoji replaced by punycode - how to remain with emoji?

2021-03-08 Thread Felix Schumacher
Am 08.03.21 um 17:31 schrieb Peter Rader: > Hi, >   > I try to support a emoji in a IDN. This is the head of my engine-config: >   > >    className="org.apache.catalina.realm.LockOutRealm"> >        resourceName="UserDatabase"/> >   >      

Re: AccessLog implementation via logging subsystem?

2021-01-20 Thread Felix Schumacher
Am 20.01.21 um 18:44 schrieb Mark Thomas: > On 20/01/2021 10:59, Thomas Meyer wrote: >> Hi, >> >> as far as I can see there seems to be no AccessLog interface implementation >> that is using the standard tomcat logging subsystem. >> Is there a reason for this? >> I have a use case were I want to

Re: The main resource set specified is not valid

2021-01-02 Thread Felix Schumacher
A few other things that come to my mind after reading the message:  * What user (and group) is Tomcat running with?  * Did it fail on SuSE 15.0, or only on 15.2?  * How are you starting the Tomcat (initd or systemd) Felix Am 21.12.20 um 01:50 schrieb Marc Chamberlin: > Hello - I am

Re: Tomcat JDBC Pool Cleaner Deadlock Problem

2020-08-31 Thread Felix Schumacher
Am 31.08.20 um 18:53 schrieb Phil Steitz: > > On 8/31/20 3:21 AM, Felix Schumacher wrote: >> Am 31.08.20 um 06:15 schrieb Gokhan Akgul: >>> Dear Phil , >>> Thanks for your feedback. I forgot to mention the mysql driver >>> version. The >>

Re: Tomcat JDBC Pool Cleaner Deadlock Problem

2020-08-31 Thread Felix Schumacher
Am 31.08.20 um 06:15 schrieb Gokhan Akgul: > Dear Phil , > Thanks for your feedback. I forgot to mention the mysql driver version. The > Mysql driver version is 5.1.32. > My plan is to upgrade the mysql driver to 5.1.46 version and monitor for a > while. If I read the bug report correctly,

Re: Tomcat JDBC Pool Cleaner Deadlock Problem

2020-08-31 Thread Felix Schumacher
s. Those calls have to use the connection, that the health check is using. Maybe you could check, whether the healtcheck is releasing its connection back to the pool after it has done its work. Felix > > Gökhan > > On Thu, Aug 27, 2020 at 9:48 PM Felix Schumacher < > felix.schumac...@inter

Re: Tomcat 9.0.29 - HTTPS threads age, max connections reached, Tomcat not responding on 8443

2020-08-27 Thread Felix Schumacher
Am 27.08.20 um 19:35 schrieb Christopher Schultz: > David, > > On 8/27/20 10:48, David wrote: > > In the last two weeks I've had two occurrences where a single > > CentOS 7 production server hosting a public webpage has become > > unresponsive. The first time, all 300 available > >

Re: Apache 8.5.57 shared class loader does not find its default classpath

2020-08-27 Thread Felix Schumacher
Are you sure, that the Tomcat you reach under the ip and port is the same, than that you reach by dns? Have you checked, whether the Java version running Tomcat is new enough to read the class lib.Text? Are there any other errors in catalina.out or localhost.DATE.log in the Tomcat instance, that

Re: Tomcat JDBC Pool Cleaner Deadlock Problem

2020-08-27 Thread Felix Schumacher
Am 27.08.20 um 11:47 schrieb Gokhan Akgul: > Hi , > > I have been facing the deadlock issue for the last 2 months about > JDBCPoolCleaner Thread . > > Following config set in context.xml > > auth="Container" > type="javax.sql.DataSource" >

Re: Allowing dir listing of root (/) dir of the machine

2020-08-25 Thread Felix Schumacher
Am 24.08.20 um 16:41 schrieb Aryeh Friedman: > On Mon, Aug 24, 2020 at 4:27 AM Mark Thomas wrote: > >> On 23/08/2020 22:05, Aryeh Friedman wrote: >>> In order to allow my developers to quickly access any temporarily >> produced >>> html files created/stored outside of webapps (such as those

Re: Logging Rewrite Activity

2020-08-09 Thread Felix Schumacher
Am 06.08.20 um 21:36 schrieb Jerry Malcolm: > How do configure TC to log the activities of the RewriteValve?  I added > > org.apache.catalina.valves.rewrite.RewriteValve.level = FINE > > to logging.properties.  But I'm not seeing any output related to > rewrite. Do I have the logging config

Re: Tomcat 8.5.(x > 5) & SSL Connections (sun.security.provider.certpath.SunCertPathBuilderException)

2020-08-09 Thread Felix Schumacher
Hi David, when debugging SSL problems, it is important to know, which certs are the troublemakers. Are those errors reported when tomcat is used as a client as a server? Try to get more information about the cert that is making problems. I always try to get the cert with an openssl command like

Re: Tomcat 9.0.12 shows in browser but tomcat8 installed

2020-07-12 Thread Felix Schumacher
Am 12.07.20 um 10:14 schrieb Christoph Kukulies: > Strange. I’m running an apache2 and a tomcat8 (AFAIK) on my server. > > > When I open a browser on my server remotely and enter http://localhost:8080/ > I’m getting the tomcat > congratulations page saying: > > Apache

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Felix Schumacher
ed. > > socket:[2084570754] > socket:[2084579487] > socket:[2084578478] > socket:[2084570167] Can you try the other command (lsof -p $(cat ...tomcat.pid))? It should give a bit more details on the used sockets that the proc directory. Felix > > On Mon, Jun

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Felix Schumacher
Am 22.06.20 um 11:41 schrieb Ayub Khan: > Chris, > > I am using HikariCP for connection pooling. If the database is leaking > connections then I should see connection not available exception. > > How do I find out which file descriptors are leaking ?  these are not files > open on disk as there

Re: Aw: Re: Fix for CVE-2020-1938

2020-03-05 Thread Felix Schumacher
Am 05.03.2020 08:12, schrieb Jürgen Göres: Ghostcat is the name of a malware strain that has been around since at least October last year. When referencing vulnerabilities it is best to stick to the CVE reference since they should be unique (and if something goes wrong and they aren't there

Re: Expression Language ${initParam.whatever} not working

2020-02-11 Thread Felix Schumacher
Am 10.02.2020 22:43, schrieb Richard Monson-Haefel: Thanks, Mark. Your explanation was good but the code didn't do it. Then try ${pageContext.servletConfig.getInitParameter("greeting_color")} Felix On Mon, Feb 10, 2020 at 12:10 PM Mark Thomas wrote: On 10/02/2020 18:03, Richard

Re: Installing a program designed for Tomcat 5.5 on Tomcat 9

2020-02-09 Thread Felix Schumacher
s mailing list - as has happened to your image. Could you post the content as text? Felix > > On Sun, Feb 9, 2020 at 11:36 AM Felix Schumacher > <mailto:felix.schumac...@internetallee.de>> wrote: > > > Am 09.02.20 um 18:46 schrieb Shane Johnson: > > I

Re: Installing a program designed for Tomcat 5.5 on Tomcat 9

2020-02-09 Thread Felix Schumacher
Am 09.02.20 um 18:46 schrieb Shane Johnson: > I extracted the shared folder to my desktop to see what was in it. It > contains 2 folders Classes and lib, with 24 jar files in the lib folder. I > did try extracting it to the Libraries in the tomcat tree and running the > program with no success.

Re: RewriteValve does not work on HTTPS

2020-02-05 Thread Felix Schumacher
Am 04.02.2020 22:16, schrieb Hua Zhang: What I mean with word 'works' is: the RewriteRule has been executed. That is not the case by HTTPS. The rule has not been executed while the RewriteCond is fulfilled. Can you give us more information on your setup? Is there any Proxy/Loadbalancer in

Re: Install Comodo SSL in Tomcat

2020-01-27 Thread Felix Schumacher
Am 27.01.20 um 21:24 schrieb logo: > Leonard, > > Please respond to the list!!! Easiest as respond to all... > > >> Am 27.01.2020 um 17:48 schrieb Léonard WAMBERGUE : >> >> Ok so i put 8443 in my connector but not yet the alias. Now i have in my browser the error : ERR_CONNECTION_TIMED_OUT. >>  

Re: Datasource Connections Problem

2020-01-23 Thread Felix Schumacher
Am 24. Januar 2020 06:22:49 MEZ schrieb Jerry Malcolm : > >On 1/23/2020 11:04 PM, Jerry Malcolm wrote: >> Sorry... forgot the version.  You are correct.  It's 8.5.x running on > >> AWS Linux EC2.  I didn't intentionally configure anything special for > >> the pool.  So I assume it's dbcp 2.0. 

Re: lower/uppercase rewrite maps

2020-01-09 Thread Felix Schumacher
Am 09.01.20 um 17:35 schrieb Chris Cheshire: > On Thu, Jan 9, 2020 at 11:15 AM Felix Schumacher > wrote: >> >> Am 09.01.20 um 17:01 schrieb Chris Cheshire: >>> Looking through the documentation for the rewrite valve [1], I see >>> there is an example o

Re: lower/uppercase rewrite maps

2020-01-09 Thread Felix Schumacher
Am 09.01.20 um 17:39 schrieb Rémy Maucherat: > On Thu, Jan 9, 2020 at 5:16 PM Felix Schumacher < > felix.schumac...@internetallee.de> wrote: > >> Am 09.01.20 um 17:01 schrieb Chris Cheshire: >>> Looking through the documentation for the rewrite valve [1], I see

Re: lower/uppercase rewrite maps

2020-01-09 Thread Felix Schumacher
Am 09.01.20 um 17:01 schrieb Chris Cheshire: > Looking through the documentation for the rewrite valve [1], I see > there is an example of how to write and use a rewrite map to convert a > value to upper case. This is the inverse of what I want (lowercase), > so great, easy enough to implement.

Re: Dates on Linux vs. Windows

2020-01-07 Thread Felix Schumacher
Am 07.01.20 um 21:58 schrieb Jerry Malcolm: > This may be more of a Java question than Tomcat.  But I'm not sure.  I > have the same code, talking to the same MySql Linux (AWS) database.  I > read a date column value in a Tomcat app.  After calling > resultSet.getDate(...) I printed the date

Re: ECDSA Private Keys

2020-01-01 Thread Felix Schumacher
Am 01.01.20 um 18:19 schrieb logo: > Felix, > >> Am 01.01.2020 um 11:49 schrieb Felix Schumacher >> : >> >> >> Am 27.12.19 um 17:36 schrieb logo: >>> Chris >>> >>> Am 2019-12-27 16:33, schrieb Christopher Schultz: >>> Peter

Re: ECDSA Private Keys

2020-01-01 Thread Felix Schumacher
Am 27.12.19 um 17:36 schrieb logo: > Chris > > Am 2019-12-27 16:33, schrieb Christopher Schultz: > Peter, > > On 12/26/19 18:55, logo wrote: > >>> Hi Mark, > > I hope it's okay if I reply. :) > > > :-) > > > > >>> I just recently tested Step CA (smallstep.com) as an internal CA > >>> that

Re: JSP custom tag operating different when adoptOpenJDK is used vs Oracle (cross post from tomcat-taglibs-user)

2019-10-27 Thread Felix Schumacher
, the issue is fixed & doesn’t happen. The bug > is very subtle since the JSP does compile, but the data passed to our tag is > a String instead of a Date object. > > Thanks, > > Jeff LoBello > Lead Software Engineer > Cerner | www.cerner.com<http://www.cerner.c

Re: postgresql jndi datasource with certificate authentication?

2019-10-26 Thread Felix Schumacher
Am 22.10.19 um 20:07 schrieb Magosányi Árpád: > Thank you all for the suggestions. > > Based on the documentation, my setup should work: The server certificate > is already processed and accepted (I know that because I could not get > it right at the first try). The driver is supposed to work

Re: JSP custom tag operating different when adoptOpenJDK is used vs Oracle (cross post from tomcat-taglibs-user)

2019-10-26 Thread Felix Schumacher
Am 25. Oktober 2019 19:33:19 MESZ schrieb "LoBello,Jeff" : >We have a custom tag, FormatDateTag extends >org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport. It’s >been working ok for a number of years under tomcat & Oracle JVM. Now, >we are moving to adoptOpenJDK & we are seeing

Re: efficient redirect map with embedded Tomcat

2019-10-26 Thread Felix Schumacher
Am 15. Oktober 2019 15:18:07 MESZ schrieb Christopher Schultz : >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Mark, > >On 10/14/19 04:50, Mark Thomas wrote: >> On 13/10/2019 23:46, Garret Wilson wrote: >>> On 10/13/2019 11:52 AM, Mark Thomas wrote: That depends on how you define

Re: efficient redirect map with embedded Tomcat

2019-10-12 Thread Felix Schumacher
Am 12.10.19 um 17:13 schrieb Garret Wilson: > Could somebody at least point me to the best place to wire in > site-level per-resource redirects in embedded Tomcat? I can create a > solution, I just need to know where it is best to start. Did you look at

Re: error 0 issue

2019-06-24 Thread Felix Schumacher
Am 24. Juni 2019 21:23:24 MESZ schrieb Kumar R : >Hi Team, >I am facing server 0 issue while starting tomcat 5 service after >increase >the heap size from 1024 to 2048. > >Server:- >Windows 32 >Jre:- >1.5.0_15-h04, mixed mode sharing The 32 bit version of Java under windows can't use more than

Re: OS

2019-04-18 Thread Felix Schumacher
Sorry for the noise. This specific list is of course the correct list to ask. The other list in the original addresses users-owner@ was not the correct one. Felix Am 18.04.19 um 07:35 schrieb Felix Schumacher: Hello, this is a administrative mail address and not meant for questions about

Re: OS

2019-04-18 Thread Felix Schumacher
Hello, this is a administrative mail address and not meant for questions about the usage of Tomcat. Please ask your questions on the user mailing list. You have to be subscribed to the mailing list in order to be able to send messages to the list. For more information see

Re: [ANN] New committer: Woonsan Ko

2018-12-19 Thread Felix Schumacher
Am Mittwoch, den 19.12.2018, 09:56 + schrieb Mark Thomas: > On behalf of the Tomcat committers I am pleased to announce that > Woonsan Ko (woonsan) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. Congrats, Felix > > Kind regards, > > Mark > >

Re: Persist authenticated sessions across tomcat restarts

2018-07-31 Thread Felix Schumacher
Am 30.07.2018 17:57, schrieb Tim K: On Mon, Jul 30, 2018, 4:26 AM Felix Schumacher < felix.schumac...@internetallee.de> wrote: Am 27.07.2018 13:36, schrieb Tim K: > Hello, > > I'm creating a new app under Tomcat 9.0.8 (local dev: windows, live > servers: linux). > > I h

Re: Persist authenticated sessions across tomcat restarts

2018-07-30 Thread Felix Schumacher
Am 27.07.2018 13:36, schrieb Tim K: Hello, I'm creating a new app under Tomcat 9.0.8 (local dev: windows, live servers: linux). I have successfully created a custom JAAS authentication, which works just fine. I have SSO enabled at the moment, but not sure if I really need it. I left the

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-14 Thread Felix Schumacher
Am 11.07.2018 um 16:22 schrieb Martin Knoblauch: Hi, while analyzing some heap dump for other reasons, I found that our application is apparently aggregating a considerable amount of memory in "org.apache.tomcat.jdbc.pool.TrapException", which is never cleaned by GC. Digging deeper, it

Re: tomcat with laptop + windows sleep

2018-06-03 Thread Felix Schumacher
that the pool will check the connections validity before handing it out to your application. Regards,  Felix The encrypted connection factory extends the default one and supports a basic ciphered password On Sat, Jun 2, 2018, 1:34 PM Felix Schumacher wrote: Am 24. Mai 2018 23:30:10 MESZ

Re: tomcat with laptop + windows sleep

2018-06-02 Thread Felix Schumacher
Am 24. Mai 2018 23:30:10 MESZ schrieb Alex O'Ree : >Yes it is a tomcat managed data source with postgres. The cpu usage is >my >app trying to get a managed data source. Perhaps the jdbc driver is the >issue. .. Care to post your configuration? Maybe there are some changes missing when you

Re: [ANN] New committer: Igal Sapir

2018-05-25 Thread Felix Schumacher
Congrats, Felix Am 24. Mai 2018 21:09:06 MESZ schrieb Mark Thomas : >On behalf of the Tomcat committers I am pleased to announce that >Igal Sapir (isapir) has been voted in as a new Tomcat committer. > >Please join me in welcoming him. > >Regards, > >Mark >

Re: CrawlerSessionManagerValve only working with default host

2018-04-12 Thread Felix Schumacher
Am 12.04.2018 um 09:27 schrieb Mark Thomas: On 12/04/18 00:10, Matt Cosentino wrote: I first noticed it by the large number of sessions in the manager webapp, but then I verified it in my logs. Both of my sites are polled every minute by the UptimeRobot service. These requests are logged and

Re: Is LDAP connection failing?

2018-04-11 Thread Felix Schumacher
Hi Luis, Am 05.04.2018 18:50, schrieb Luis Rodríguez Fernández: Hello Suvendu, May I ask you to share your JNDIRealm configuration? For me something like this works: roleBase="OU=BASE_ORGANIZATION_UNIT_FOR_MY_GROUPS,OU=Workgroups,DC=cern,DC=ch" roleSubtree="1" roleName="cn"

Re: Is LDAP connection failing?

2018-04-11 Thread Felix Schumacher
Am 05.04.2018 15:32, schrieb Suvendu Sekhar Mondal: Hello Everyone, Recently in one of our environments I am seeing following log in Catalina.out. It seems that LDAP connection is failing. This issue is sporadic and goes away with Tomcat recycle. One interesting thing is "localhost:389" part.

Re: How to offer a link correction for the Tomcat docs?

2018-03-30 Thread Felix Schumacher
Am Donnerstag, den 29.03.2018, 18:21 -0500 schrieb charlie arehart: > > > > From: Christopher Schultz   > > > > Mark, > > > > On 3/29/18 6:07 PM, Mark Thomas wrote: > > > > > > On 29/03/18 21:38, charlie arehart wrote: > > > > > > > > Thanks. I'm guessing someone

Re: [External] RE: Tomcat 8.5.23

2018-02-25 Thread Felix Schumacher
logs dir? Regards,  Felix > > Regards, > > Lawrence Lim   > Software Developer > — > > ENBRIDGE > TEL: 780-969-6208 > 10175 101 St NW,  Edmonton, Alberta T5J 0H3 > > enbridge.com > Integrity. Safety. Respect. > > > -Original Message-

RE: Tomcat 8.5.23

2018-02-22 Thread Felix Schumacher
Am 15. Februar 2018 19:25:24 MEZ schrieb Lawrence Lim : >Red Hat Enterprise Linux Server release 6.9 (Santiago) How did you install tomcat? Are you running tomcat with some kind of security manager enabled (Java or system wide)? Can the tomcat user (running the

Re: error creating connection pool

2018-02-22 Thread Felix Schumacher
Am 13. Februar 2018 15:20:00 MEZ schrieb "Bruce L. Riddle" : >We are running a CDC Application PHIN MS that uses Tomcat 8.5.11. > >As the application starts, we are getting a message that says > >'error creating connection pool for dbid.' > > >Our assumption is

Re: internalProxies regex

2018-01-08 Thread Felix Schumacher
= FINE Regards,  Felix I do get matches when visiting. Is it also possible to print the list of IP’s? I have no clue how to do that. Regards, Harrie On 5 January 2018 at 16:32, Felix Schumacher <felix.schumac...@internetallee.de <mailto:felix.schumac...@internetal

Re: internalProxies regex

2018-01-05 Thread Felix Schumacher
debug-logs for the RemoteIpValve? It should print out the IP it tries to match. Regards,  Felix Regards, Harrie On 5 January 2018 at 14:46, Felix Schumacher < felix.schumac...@internetallee.de> wrote: Am 05.01.2018 um 09:47 schrieb Harrie Robins: Hi Mark, our tomcat application server

Re: internalProxies regex

2018-01-05 Thread Felix Schumacher
Am 05.01.2018 um 09:47 schrieb Harrie Robins: Hi Mark, our tomcat application server are fronted by 1. cloudflare, and 2. amazon load balancer. In apache there is mod_remote IP and I can simply put in CIDR range: https://www.cloudflare.com/ips/ that will swallow all those IP and will get the

Re: Tomcat 8.5.16 cuts end of body after 10485761 bytes

2017-08-29 Thread Felix Schumacher
Am 29.08.2017 um 04:44 schrieb Simon De Uvarow: Hi, I have to respond a big json file: return Response.status(Status.OK).entity(new SimpleDataMessageResponse("TASK_FINISH", str)).build(); The tomcat logs correctly the size in the access log file: 127.0.0.1 - - [29/Aug/2017:02:26:07 +]

Re: Issue with static file in Tomcat 8.5.17

2017-07-21 Thread Felix Schumacher
Am 20.07.2017 22:33, schrieb George Stanchev: The problem is related to the new code that handles the case when a file is stored in one encoding but served in another. Since changing encodings can change the value and number of bytes served (for example serving £ in UTF-8 requires two bytes

Re: Thread.sleep CPU time

2017-05-10 Thread Felix Schumacher
Am 10. Mai 2017 09:44:13 MESZ schrieb Oliver Fernandez : >While profiling my Tomcat app using YourKit, I noticed two Threads, >consuming 57% of total CPU, in the method Thread.sleep() > >[image: Inline images 1] The image was removed by the mailing list. Could you

Re: Fwd: Custom JNDIRealm with Configuration

2017-04-19 Thread Felix Schumacher
Am 13.04.2017 um 12:58 schrieb Lucas S. Silva: Hi All, I am implementing a custom JNDIRealm and I need to pass some configurations to it. I tried to pass the configuration via Real configuration and in my code I define the setter and getter for *configurationPattern* but when I debug it

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread Felix Schumacher
Am 19.03.2017 um 14:09 schrieb Mahmoud Ramadan: But whenever i use the command [root@localhost ~]# service tomcat status tomcat dead but subsys locked I see the service dead , i tried to remove the /var/lock/subsys/tomcat and restarting the service again or rebooting the system but still get

Re: Help On Tomcat Process which is utilizing more than 300%

2016-12-04 Thread Felix Schumacher
Am 04.12.2016 um 07:37 schrieb Jayaram Ponnusamy: Dear All, I am new to Tomcat We are using Tomcat 7.0.42 with JVM 1.7.0_40-b43 on Rhel 6 (8 Core CPU). Suddenly tomcat process start utilizing more than 300% and our website performance went down. I couldn't find anything in the Log. Kindly

Re: Tomcat Realm/LDAP - userRoles and Organization Unit name for authenticated users

2016-12-04 Thread Felix Schumacher
Am 04.12.2016 um 08:04 schrieb Taylor, Larry: Hello, For Users that have authenticated from the Web Login page through Tomcat Realm LDAP configuration is it possible to get the authenticated user's ou=Organizational Unit or Department name? and also what their role names are? I need

Re: 自动: SuTing Chen 已离开办公室 (返回日期 2016-11-12)

2016-08-31 Thread Felix Schumacher
Am 31. August 2016 21:15:22 MESZ, schrieb Christopher Schultz <ch...@christopherschultz.net>: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Felix, > >On 8/31/16 3:51 AM, Felix Schumacher wrote: >> >> >> Am 29. August 2016 11:44:50 MESZ

Re: 自动: SuTing Chen 已离开办公室 (返回日期 2016-11-12)

2016-08-31 Thread Felix Schumacher
Am 29. August 2016 11:44:50 MESZ, schrieb Mark Thomas : >On 29/08/2016 02:05, Christopher Schultz wrote: >> Mark, >> >> On 8/27/16 2:13 PM, Mark Thomas wrote: >>> On 27/08/2016 13:48, Christopher Schultz wrote: All, CC'ing markt, since he's both Tomcat PMC and

Re: CONFIRM unsubscribe from users@tomcat.apache.org

2016-07-07 Thread Felix Schumacher
Am 07.07.2016 um 20:01 schrieb users-h...@tomcat.apache.org: Hi! This is the ezmlm program. I'm managing the users@tomcat.apache.org mailing list. I'm working for my owner, who can be reached at users-ow...@tomcat.apache.org. A request has been made to remove hughhols...@yahoo.com from

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Felix Schumacher
Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Thursday, July 07, 2016 12:30 PM To: users@tomcat.apache.org Subject: Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues Am 07.07.2016 um 15:04 schrieb Mekkelsen Madden, Steve: Hi, sorry for delay

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-07 Thread Felix Schumacher
Am 07.07.2016 um 15:04 schrieb Mekkelsen Madden, Steve: Hi, sorry for delay and misinformation of the screenshot. The screenshot shows Fiddler seeing the correct xml using both NIO and NIO2 protocols. Fiddler does not see anything wrong with the requests themselves. However, when we enable

Re: SSL/TLS 8.5.3 upgrade from 8.0.32 using NIO2 url encoding issues

2016-07-06 Thread Felix Schumacher
Am 06.07.2016 um 19:14 schrieb Mekkelsen Madden, Steve: This particular issue has raised a lot of issues in-house and we would greatly appreciate a response from someone having more details on why NIO2 no longer works. Thanks! -Original Message- From: Mekkelsen Madden, Steve Sent:

Re: Memory Leak

2016-06-28 Thread Felix Schumacher
Am 29. Juni 2016 02:26:57 MESZ, schrieb Leo Donahue : >On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: >> >> I am running a middleware application in .. tomcat... > >Ok. This is something you wrote and deployed or it is a third party >war >file? > >>

RE: FW: Tomcat 6.0.45 - Problem in creating the socket.

2016-06-13 Thread Felix Schumacher
pile your own implementation with the current tomcat source code? The class JSSEImplementation was changed between 6.0.37 and 6.0.45 (the overridden method getServerSocketFactory has been added. ) What is the reason for your own implementation, why can't you use the tomcat ones? Regards, Felix

Re: FW: Tomcat 6.0.45 - Problem in creating the socket.

2016-06-12 Thread Felix Schumacher
Am 13. Juni 2016 07:25:54 MESZ, schrieb "Radha Krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at Cisco)" : >Anyone can help on this? Could you explain a bit more, how you configured the connector/ssl implementation? Perhaps post a snippet of the server.xml, or

Re: Tomcat 9 realm datasource digest attribute

2016-06-11 Thread Felix Schumacher
Am 10. Juni 2016 22:12:02 MESZ, schrieb Hardibo Pierre-Jean : >Hello, it seems realm's digest attribute is depreciated in tomcat9, how > >can i replace it ? (MD5) thanks I think you are looking for the nested component CredentialHandler (

Re: performance of tomcat 8 is less than tomcat 6

2016-04-30 Thread Felix Schumacher
Am 20.04.2016 um 12:55 schrieb Ravi Chandra Suryavanshi: Yes I tried the NIO and NIO2 but not seen much difference. The TPS only increased 3K with NIO2. Can you try it with nio enabled in tomcat 6 and see, if that is slower, too? Same with bio and tomcat 8 and see if it is better? Regards,

Re: JSESSIONID changed without notice

2016-04-11 Thread Felix Schumacher
Am Montag, den 11.04.2016, 10:22 + schrieb Arno Schäfer: > Hi Felix, > > thank you very much for that hint. > > > When a session gets 'authenticated' its id will change to prevent > > session fixation attacks. If you are interested in the events telling > > you the change you have two

Re: JNDIRealm random authentication issue

2016-04-09 Thread Felix Schumacher
Am 06.04.2016 um 11:10 schrieb Arnaud Mergey: Hello, I have a tomcat 8.0.23 configured to authenticate against and Active Directory with LDAP realm. Randomly I have authentication failures with stack trace above. I didn not find anything except an old post mentionning same issue I am

Re: JSESSIONID changed without notice

2016-04-09 Thread Felix Schumacher
Am 07.04.2016 um 17:40 schrieb Arno Schäfer: Hi all, I have the following Problem: we have a very old, some kind of complex webapp, that run under tomcat 7.0.54 on Windows. I have to maintain some functionality and came to a point, what I can't understand. Some requests have to have an

Re: Performance regression from 7 to 8

2016-03-09 Thread Felix Schumacher
Am 09.03.2016 um 10:12 schrieb Tullio Bettinazzi: I tested with http11.Http11Protocol, http11.Http11NioProtocol and http11.Http11Nio2Protocol and the problem reproduces only with http11.Http11NioProtocol. It seems to be a bug of the Nio protocol. It's better to use Nio2 or standard ? What's

RE: Performance regression from 7 to 8

2016-03-06 Thread Felix Schumacher
Am 6. März 2016 13:07:39 MEZ, schrieb Tullio Bettinazzi : >What do you mean with : >Have you tried switching the connectors on the tomcat side? The http connector has different implementations. See http://tomcat.apache.org/tomcat-8.0-doc/config/http.html Felix > ??? >Tks >

Re: Performance regression from 7 to 8

2016-03-05 Thread Felix Schumacher
Am 05.03.2016 um 12:34 schrieb Tullio Bettinazzi: This is not a memory problem because, otherwise, I'll have the same problem on all client systems. It's a communication related problem between server and clients but not strictly a network problem because, otherwise, two clients, connected to

Re: Windows Authentication

2016-03-05 Thread Felix Schumacher
Am 04.03.2016 um 10:11 schrieb Chanchal Kariwala: I tries what you asked and I have observed the following 1. Browser sends a request for the resource Server replies with HTTP 401 and WWW-Authenticate: Negotiate in Response Headers 2. Browser sends a new request with the following in Request

Re: Performance regression from 7 to 8

2016-03-05 Thread Felix Schumacher
Am 04.03.2016 um 14:19 schrieb Tullio Bettinazzi: Done and nothing changed. Any suggestion ? It could be related to memory usage. Tomcat 8 can use more memory than tomcat 7 (See

Re: [PossibleSpam] Re: Tomcat Rewrite Valve

2016-02-11 Thread Felix Schumacher
Am 10.02.2016 um 15:23 schrieb Rémy Maucherat: 2016-02-10 15:06 GMT+01:00 Joe Aldrich : Am 29.01.2016 15:34, schrieb Joe Aldrich: Hello, I am using Tomcat 8.0.28 on Windows 10 and am having a problem with the Rewrite Value. I must include the escaped form of an

Re: Tomcat Rewrite Valve

2016-02-10 Thread Felix Schumacher
Am 29.01.2016 15:34, schrieb Joe Aldrich: Hello, I am using Tomcat 8.0.28 on Windows 10 and am having a problem with the Rewrite Value. I must include the escaped form of an ampersand '%26' in the output URL. My rewrite.config has the following: RewriteCond %{QUERY_STRING}

Re: JDBC Connection pooling

2016-01-26 Thread Felix Schumacher
Am 22.01.2016 um 12:35 schrieb R. Sriram: Hello I am trying to establish connection pooling. Should I be using dbcp? If you want to use db connection pooling, it is probably a good idea to use the pooling method the container gives you, as it will be used by a lot of people and therefore has

Re: [ANN] Apache Tomcat 8.0.29 available

2015-11-25 Thread Felix Schumacher
Am 25. November 2015 20:24:17 MEZ, schrieb Violeta Georgieva : >Hi, > >2015-11-25 20:42 GMT+02:00 David Balažic : >> >> Typo on http://tomcat.apache.org/tomcat-8.0-doc/changelog.html >> >> "TLSv1.0 is no an alias" >> >> Should probably be "TLSv1.0

Re: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver '"

2015-11-10 Thread Felix Schumacher
Am 10. November 2015 15:06:09 MEZ, schrieb Simon Kepp Nielsen : >Hi all, > >I've tried following the instructions in >https://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html >to add an Oracle DataSource to my Tomcat 7.0.65 installation. The >relevant contents of

Re: Apache Giving HTTP 505 Error While Contacting it through Oracle database

2015-10-08 Thread Felix Schumacher
Am 08.10.2015 um 10:38 schrieb Ankur Gupta: This is my SMS sending procedure where mobile number and body of msg is passed. Then concatenating all these values a URL is formed . URL hit to apache server where .jsp page is made to send SMS via third vendor. This apache server is just a

Re: Tomcat access log customization

2015-09-13 Thread Felix Schumacher
Am 08.09.2015 um 12:31 schrieb Eric Tang: Dear Tomcat support, I am a developer working on Java applications and have been using different containers and deployment platforms. I would like to have a question on the access logs. The access logs of Tomcat is configured in

Re: cpu spike after upgrade from tomcat 6.0.36 to tomcat 7.0.57

2015-08-18 Thread Felix Schumacher
Am 18.08.2015 um 19:08 schrieb Mark Thomas: On 18/08/2015 17:10, musafir wrote: On Tue, Aug 18, 2015 at 11:57 AM, Mark Thomas ma...@apache.org wrote: On 18/08/2015 16:50, musafir wrote: Hello, ugraded tomcat from 6.0.36(jdk 6) to tomcat7.0.57 (jdk7).. os:centos 6.6 ...seeing high cpu spike

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-08-11 Thread Felix Schumacher
Am 11. August 2015 23:32:12 MESZ, schrieb Sergey svin...@apple.com: I recompiled SFlow_Valve.jar with Tomcat-7.0.61. Now it doesn’t give any errors in the log, but also doesn’t send any metrics to port 6343. Is there any way to debug this valve? I assume it is this valve

  1   2   3   4   >