Re: Tomcat 9.0.83 - SSL handshake stops working for Google API calls after a while

2024-04-11 Thread Simon Matter
of SSL handshake errors. Attaching the SSL logs > for your reference. Without knowing exactly how it would look like, are you 100% sure you're not running out of entropy for some reason? At least it doesn't hurt to have available entropy in monitoring some how. Regards, Simon

Re: Memory leak in EncodingDetector?

2024-03-22 Thread Simon Niederberger
Very cool Chris, thanks for the quick reaction! Simon out On Fri, Mar 22, 2024 at 1:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Simon, > > On 3/21/24 12:39, Simon Niederberger wrote: > > Hi Chris > > > > Personally I'd

Re: Memory leak in EncodingDetector?

2024-03-21 Thread Simon Niederberger
deploy frequently (several times a day) on a Tomcat 10.1 installation, and have various reasons for not going down the Docker/container/FAT JAR path. So, making sure we don't have memory leaks is relevant. Simon On Thu, Mar 21, 2024 at 1:44 PM Christopher Schultz wrote: > > Simon, >

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
y if it's the first webapp to load a JSP and thus clinit EncodingDetector. Maybe the public has just given up on clean undeploying. Simon Mühlegasse 18, 6340 Baar, Switzerland https://www.want.ch https://www.funnel.travel On Wed, Mar 20, 2024 at 7:01 PM Christopher Schultz wrote: > > Sim

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
ich is on the common loader's classpath, so the webapp can be undeployed cleanly. Best regards Simon -- java.lang.RuntimeException: Stracktrace for tracking XMLInputFactory creation at ch.want.funnel.FunnelApp$DelegatingXMLInputFactory.(FunnelApp.java:107)

Memory leak in EncodingDetector?

2024-03-18 Thread Simon Niederberger
not finding anything online confirming that) Tomcat 10.1.19 JVM 17.0.10+7-Ubuntu-120.04.1 Ubuntu 20.04.6 LTS Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

RE: Core Dump File Generation

2024-02-28 Thread Simon Matter
Hi, > Hi, > > I am talking about java core dump file which is generating on tomcat/bin > path and the OS is RHEL 6. What's the exact version of Java running? Regards, Simon > > Thanks & Regards, > Mohit Chaudhary > > > -Original Message- >

Re: Core Dump File Generation

2024-02-28 Thread Simon Matter
UNIX style core file here or some kind of dump from Java? If it's a UNIX style core file then the culprit may be Java and not Tomcat - because Java should never ever dump a core file if it's running without errors.

NoClassDefFoundError for SSL operations

2024-02-22 Thread Simon Arame
Invocation$Builder.get(JerseyInvocation.java:318) I asked for an upgrade of tomcat from 9.0.81 to to 9.0.86 and am waiting to see if this will resolve our problems. Any advice or links/reports on that problem would be appreciated. Simon

Re: EOL - Tomcat versions

2024-01-20 Thread Simon Matter
tes in such apps. Isn't it so that for every major version, like 9.0, all but the latest should be considered EOL? Like for now, 9.0.85 is supported and 9.0.84 and older should be considered EOL. Simon > > On Fri, Jan 19, 2024 at 6:58 PM Mark Thomas wrote: >> >> On 19/01/20

Re: EOL - Tomcat versions

2024-01-20 Thread Simon Matter
) > > - you can actually talk to the folks the maintain the code > I'd like to thank the Tomcat community for all what they're doing. I know a lot of projects but Tomcat is really at the top of the list for all the things pointed out above! Regards, Simon ---

RE: Regarding Tomcat is creating the zombie processes

2024-01-09 Thread Simon Matter
but I may have missed it. > > Is anybody already raised case similar to defunct or related to zombie > processes. If yes, can you please share which resolution you have provided > to them to prevent creation of those. Your best bet may be to openly provide more detailed info

RE: Posting questions

2024-01-09 Thread Simon Matter
> Refer to attached screenshot. Attached screenshot? This is a public mailing list so your best option is to provide information in posted text format, screenshots and other images most likely won't make it through in a usable way :) Regards, Simon > > -Original Message- >

Re: Regarding Tomcat is creating the zombie processes

2024-01-05 Thread Simon Matter
steps you used to recreate this issue in a clean > installation of a standalone Tomcat instance. > > Mark > As an easy start you could provide us with the Tomcat related process tree and detailed description of how the lifecycl

Re: mod_jk logging issue

2023-12-20 Thread Simon Matter
> Hi Rainer/Simon - I've just had another look at this. With no > application running (IOW, all Java processes killed), I see this > behaviour: Sorry, I was confused because I thought we're talking about files from Tomcat and not from Apache/mod_jk. Regards, Simon > >  #

Re: mod_jk logging issue

2023-12-20 Thread Simon Matter
. > > I'm on Ubuntu 22.04, Apache 2.4.52. The mod_jk version is possibly > 1.2.48-1. Can it be that your application crashes on shutdown? This is usually why cleanup is not working properly. Regards, Simon --

Re: I can't find how to stop TOMCAT during INITIALIZATION phase

2023-12-15 Thread Simon Matter
you see any other possible solutions? > Did you try to terminate the process with SIGUSR1 instead of SIGKILL? I usually terminate Java processes with SIGUSR1 if SIGTERM is not handled in time and it still seems to do some clean

Re: Tomcat9 not listening to ipv4 port 8080, only ipv6

2023-11-28 Thread Simon Matter
cat was starting up. On systems running systemd it's easy to get into troubles with the way systemd parallelizes the system startup. Systemd service units often need additional tuning to result in reliable startup order. Regards, Simon > > [1] > https://tomcat.apache.org/tomcat-9

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Simon Matter
2756 Jan 15 2022 tomcat-users.xml Is your Tomcat running as root? I hope not, but if it's running as user tomcat or some other unprivileged user, it won't be able to read your tomcat-users.xml as long as the user is not member of group root. Regards, Simon ---

Re: [EXTERNAL] - Need help tomcat

2023-10-02 Thread Simon Matter
> Yes I have deleted them and again I have sent a email with screenshot. > Please check that. > > Regards, > Deepak Hi, please note that attachments are not delivered on this mailing list. Regards, Simon - To

Re: Conclusion - Re: Crypto Randomly Not Getting Initialized

2023-06-21 Thread Simon Matter
. But if >> the problem goes away, maybe it won't come back. At this time, when >> using Corretto JVM, I have not encountered the Crypto directory error. >> It's been running on all server instances now for almost 24 hours wit

Re: Conclusion - Re: Crypto Randomly Not Getting Initialized

2023-06-15 Thread Simon Matter
nt on fixes that just went away goes against my grain. But if > the problem goes away, maybe it won't come back. At this time, when > using Corretto JVM, I have not encountered the Crypto directory error.  > It's been running on all server instances now for almo

Re: Crypto Randomly Not Getting Initialized

2023-06-13 Thread Simon Matter
Hi, > Jerry, > > On 6/13/23 11:42, Jerry Malcolm wrote: >> Simon, >> >> On 6/13/2023 2:20 AM, Simon Matter wrote: >>> Hi, >>> >>>> I am running Tomcat 9.0.56 in multiple AWS EC2 instances with Amazon >>>> Linux2 in a producti

Re: Crypto Randomly Not Getting Initialized

2023-06-13 Thread Simon Matter
ed changes in the kernel or rng-tools? Maybe monitor available entropy in /proc/sys/kernel/random/entropy_avail, it should not go below 100 or so. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: AW: Unable to start application

2023-03-18 Thread Simon Matter
; Could you download the jar again from the mysql website and replace it? >> Can you open/unpack the jar without errors? > > More likely a permissions problem. That warning is generated before > Tomcat tries loading the file. It means a call to java.io.File.canRead() > returned fal

Re: Systemd file and umask for tomcat

2023-03-17 Thread Simon Matter
the same way. Outside of Linux, nobody is using systemd anyway :) Therefore I have this in setenv.sh # Umask for system reserved uid/gid if [ -z "$UMASK" ]; then UMASK="0022" fi Regards, Simon - To uns

Re: AW: AW: Having trouble with Tomcat crashes. Interesting memory numbers in Manager

2023-02-06 Thread Simon Matter
va process and inspect the memory and GC usage. > When the CPU is eating 100% CPU you might also consider generating a > thread dump (kill -3) and check if there are any suspicious threads > running. > > Also se

RE: tomcat is not coming Up

2023-01-12 Thread Simon Matter
systems :) But, in you old config you had '-Djava.library.path=/usr/local/apr/lib' and maybe this is where the newer Tomcat native library is installed. The new config seems to miss this path and it's likely that now Tomcat uses the older library in one of the standard paths. Regards,

RE: tomcat is not coming Up

2023-01-12 Thread Simon Matter
t you have Apache Tomcat Native library 1.2.17 installed/referenced but you should likely have version 1.2.23? Regards, Simon > 11-Jan-2023 18:21:58.101 INFO [main] > org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR > based Apache Tomcat Native library [1.2.17] using

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Simon Matter
> On 12/01/2023 05:08, Fedor Makarov wrote: >> >> lundase and vvsguiden webapps used on different domains > > My recommendation would be to configure Tomcat for virtual hosting as > well. [1] > > For example, configure the following hosts in the local hosts file: > > lundase-local >

Re: tomcat is not coming Up

2023-01-11 Thread Simon Matter
omcat Native library [1.2.17] using APR version [1.4.8] You really didn't provide a lot of info but one thing is strange: Tomcat native and APR are now an older version than before. Are you sure this is really on the same host? Or was the whole Tom

RE: DB2 database locks

2022-10-21 Thread Simon Matter
"Container" > type="javax.sql.DataSource" > driverClassName="com.ibm.db2.jcc.DB2Driver" > url="jdbc:db2://30.177.13.12:3700/TIREHQ" > maxActive="200" > maxIdle="30" > maxWait="1" > username="xx" >

Re: Using Nashorn in Apache Tomcat

2022-10-20 Thread Simon Besenbäck
Am So., 2. Okt. 2022 um 12:34 Uhr schrieb Simon Besenbäck < simon.besenba...@gmail.com>: > Hi! > > I am using Apache 10.0.23 on Windows 10. I want to use Nashorn for > developing JSP's within the Eclipse IDE. Therefore I use OpenJDK 19 and > added the jakarta.ScriptT

Add the Nashorn Module to Tomcat 10

2022-10-08 Thread Simon Besenbäck
Hi, How can one add the Nashorn module to Apache Tomcat 10? https://openjdk.org/projects/nashorn/ Download of the jar file: https://search.maven.org/artifact/org.openjdk.nashorn/nashorn-core/15.4/jar Best Regards, Simon

Using Nashorn in Apache Tomcat

2022-10-02 Thread Simon Besenbäck
would be very thankful for any tipps as I really do not know how to get nashorn working. Thanks. Simon

Re: is too quick to respond

2022-02-20 Thread Simon Matter
ze automatically keeps changing - so at the end, it will succeed in > deploying the whole war file. I may be wrong but I thought .war files are zip files. Wouldn't it be possible to just wait until the file has a consistent content and then extract it? Simon > > I wish they

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Simon Matter
nect locally via unix domain socket and the proxy relays the queries to the db backend. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: AW: AW: Tomcat 9 doesn't shutdown cleanly

2021-12-03 Thread Simon Matter
Hi, > Hello Simon, > > if you use the Registry to bind Objects / Stubs, you must also call > "unbind" on shutdown: > https://docs.oracle.com/javase/7/docs/api/java/rmi/registry/Registry.html > > I think the developer who implemented the RMI stub, should also now

Re: AW: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
n the Tomcat instance only and shut down Tomcat, or do we have to close the RMI connections on the internal appserver which initiated the connections? Apart from RMI, is there anything in the thread dump which indicates an issue in out Tomcat app? Kind regards, Simon > > Greetings, > T

Re: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
Hi Chris, Thank you for the quick reply. > Simon, > > On 11/30/21 08:21, Simon Matter wrote: >> I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK >> JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. >> >> When I shut

Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
the OS signal. I've tried, beside a lot of other things, to set skipMemoryLeakChecksOnJvmShutdown="true" in context.xml but it seems to change nothing at all. Any help would be much appreciated. Thanks, Simon - To u

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

2020-02-10 Thread Simon Funnell
In your web.xml you want: greeting_color green I think you have defined an initialization parameter for the servlet, not the context. On Mon, 10 Feb 2020 at 17:54, Richard Monson-Haefel wrote: > Hi, > > Tomcat version: 9.0.30 > Operating System: macOS 10.15.2 > > While I can

Re: Redirecting a naked domain to sub domain

2019-08-15 Thread Simon Funnell
On Thu, 15 Aug 2019 at 23:30, Chris Cheshire wrote: > On Thu, Aug 15, 2019 at 2:54 PM Simon Funnell > wrote: > > > > On Thu, 15 Aug 2019 at 01:00, Chris Cheshire > wrote: > > > > > On Wed, Aug 14, 2019 at 5:18 PM Simon Funnell > > > wrote: >

Re: Redirecting a naked domain to sub domain

2019-08-15 Thread Simon Funnell
On Thu, 15 Aug 2019 at 01:00, Chris Cheshire wrote: > On Wed, Aug 14, 2019 at 5:18 PM Simon Funnell > wrote: > > > > On Tue, 6 Aug 2019 at 14:33, John Larsen > wrote: > > > > > I usually handle the redirect on the webserver side and set the alias &g

Re: Redirecting a naked domain to sub domain

2019-08-14 Thread Simon Funnell
t. Any help is great thanks. > > On Tue, Aug 6, 2019 at 7:11 AM Simon Funnell > wrote: > > > Hi, > > > > I was going to do a redirect at my dns provider from the naked domain to > > the www subdomain. Unfortunatly this doesn't really work if it is over >

Redirecting a naked domain to sub domain

2019-08-06 Thread Simon Funnell
is needed to get a letsencrypt certificate). If the rewrite valve is not the correct way to do this do I just deploy a catch all servlet or a filter to do the redirect instead? Thanks, Simon

Memory Usage

2019-04-24 Thread Simon Funnell
Hi, I am looking at running a small ecommerce site with about 40-80 users at a time on a virtual private server with 4 cores and 1GB of memory, I am planning on running apache james, mysql and tomcat on this instance. My question is will 256MB maximum heap memory with say 50 threads be enough to

Re: nginx + Tomcat 9

2018-07-11 Thread Simon De Uvarow
On Wed, Jul 11, 2018 at 10:41 AM Giacomo Arru - BETA Technologies wrote: > I tried to enable debug logging for org.apache.tomcat.websocket but > without success > > here is my logging.properties > > > > handlers = java.util.logging.ConsoleHandler > > .handlers =

Re: A tomcat log output problem

2018-04-04 Thread Simon De Uvarow
On Mon, Apr 2, 2018 at 9:41 AM 张钧荣 <1024238...@qq.com> wrote: > Hello ! > My project reported an error related to tomcat logging module. The > exception information is as follows: > Apr 2 11:31:27 knowledgebase java: Exception in thread "main" > java.lang.reflect.InvocationTargetException >

Re: asgard tomcat application 404

2018-02-20 Thread Simon De Uvarow
I don't know about Spring, but according to your exception, and my short experience, could be a database connection issue. grails.web.context.GrailsContextLoaderError initializing Grails: Error creating bean with name 'pluginManager' defined in ServletContext resource

Re: Monitoring Tomcat JDBC Connection Pool with JConsole?

2018-01-11 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Thu, Jan 11, 2018 at 6:47 PM, Jerry Malcolm wrote: > I followed the instructions to enable JMX on Tomcat. I added the > following lines to java

Re: Tomcat 8.5 justification (UNCLASSIFIED)

2017-11-16 Thread Simon De Uvarow
Hi, do you want to compare tomcat 8.5.last with what version ? "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Thu, Nov 16, 2017 at 8:52 PM, Lueders, Paul T CIV USARMY NGIC (US) < paul.t.lueders@mail.mil> wrote:

Re: Tomcat 8.5.16 cuts end of body after 10485761 bytes

2017-08-29 Thread Simon De Uvarow
Hi, "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Tue, Aug 29, 2017 at 11:42 AM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > Am 29.08.2017 um 04:44 schrieb Simon De Uvar

Tomcat 8.5.16 cuts end of body after 10485761 bytes

2017-08-28 Thread 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 +] "GET /./interactiveTask/

Re: Detect client disconnect in Tomcat

2017-08-23 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Wed, Aug 23, 2017 at 8:33 AM, André Warnier (tomcat) <a...@ice-sa.com> wrote: > On 23.08.2017 09:48, Grigor Aleksanyan wrote: > >> Hi Simon

Re: Detect client disconnect in Tomcat

2017-08-22 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Tue, Aug 22, 2017 at 11:36 AM, André Warnier (tomcat) wrote: > On 22.08.2017 10:50, Grigor Aleksanyan wrote: > >> Hi, >> >> I have a web application

Re: Source Package file path location in Tomcat

2017-05-30 Thread Simon De Uvarow
http://tomcat.apache.org/download-70.cgi Check the left side menu .. you will find downloads for all versions of Tomcat. In the download page you can download binary distributions and also source code. "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo

Re: Automatic deploy : java.util.zip.ZipException on macosx

2017-05-24 Thread Simon De Uvarow
rect. My bad. But try searching why your war file doesn't contain the META-INF folder. "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Wed, May 24, 2017 at 8:35 AM, Simon De Uvarow <sdeuva...@gmail.com> wr

Re: Automatic deploy : java.util.zip.ZipException on macosx

2017-05-24 Thread Simon De Uvarow
Hi Ricardo, it looks like your war files doesn't contain the META-INF folder. Check here: https://en.wikipedia.org/wiki/WAR_(file_format) "A WAR file may be digitally signed in the same way as a JAR

Re: WebSocket - Client doesn't receive server messages

2017-05-23 Thread Simon De Uvarow
vides, no traiciones, lo que siempre te ha hecho vivir." On Mon, May 22, 2017 at 9:52 PM, Simon De Uvarow <sdeuva...@gmail.com> wrote: > Hi, I'm having a strange issue: > > I'm developing a frontend with WebSockets, (my first WebSocket! ). To test > the code I'm also developing

WebSocket - Client doesn't receive server messages

2017-05-22 Thread Simon De Uvarow
Hi, I'm having a strange issue: I'm developing a frontend with WebSockets, (my first WebSocket! ). To test the code I'm also developing some tests to run in Eclipse. So, I create a Client in the Test, connect to the server, and want to have some communication. I added lot of logs to debug the

JMX - Adding NotificationListener for existing MBean

2016-03-31 Thread Simon Kulessa
nly then the BaseNotificationBroadcaster object is actually created) If so, how do I get access to it from within a webapp? I hope somebody can help me out here. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@t

Tomcat7-maven-plugin: Failed to initialize end point associated with ProtocolHandler

2016-02-03 Thread Simon Schabel
start the port after contextInitialized() is done? Thank you for your help, best Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat hanging when acting as GWT server.

2015-11-25 Thread Simon Callan
urity.InvalidAlgorithmParameterException: unknown curve name: 1.2.840.10045.3.1.7 This suggests that we are using an (elliptical?) curve that tomcat does not recognise. Is this likely to be an issue with the security certificate that we are using? I have checked, and we have the "Unlimited Stre

RE: Tomcat hanging when acting as GWT server.

2015-11-20 Thread Simon Callan
Christopher, Hopefully some useful answers. > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: 20 November 2015 16:22 > On 11/20/15 11:13 AM, Simon Callan wrote: > > We are running GWT 2.5.1, Tomcat 7.0.56 and 7.0.65 on windows server > > 2008, IE 10

Tomcat hanging when acting as GWT server.

2015-11-20 Thread Simon Callan
ifferences. Simon **stdout** 16:13:57,936 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT] 16:13:57,936 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 16:13:57,

RE: Tomcat hanging when acting as GWT server.

2015-11-20 Thread Simon Callan
Some additional information. If we configure Tomcat to accept both HTTP and HTTPs connections, the HTTP connection remains working, even after the HTTPS one has broken. Simon Infoshare is registered in England and Wales. Registered Office: Infoshare Ltd

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

2015-11-10 Thread 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 my $CATALINA_HOME\conf\context.xml is: I have added ojdbc6.jar to

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

2015-11-10 Thread Simon Kepp Nielsen
Thanks Felix, Removing the extraneous space seems to have fixed it. A classic copy-paste-error. Best regards, Simon Kepp Nielsen IT Infrastructure Manager - IT Operations M: 30 52 77 07 - E: s...@pfa.dk Sundkrogsgade 4, DK-2100København Ø, T: 39 17 50 00, www.pfa.dk Disclaimer This message

Listeners' requestDestoyed() method not called in exception cases

2015-05-15 Thread Pilkington, Simon
() method always being called for a request? One option we have considered is migrating to exclusively using filters and handling the exceptional use case explicitly there. Is there a recommended approach for this use case? -Simon [1] http://grepcode.com/file/repo1.maven.org/maven2

[Tomcat8] What happened to WebappLoader.addRepository()?

2015-03-17 Thread Pilkington, Simon
Hey tomcat users, The javadoc for WebappLoader still tells me to use addRepository(), but that method no longer exists. My team has implemented an extension of WebappLoader that looked like this: https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/loader/WebappLoader.html

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-25 Thread Simon Kulessa
Hi Christopher, Am 22.07.2014 17:00, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/22/14, 5:47 AM, Simon Kulessa wrote: Hi Christopher, see below Am 17.07.2014 16:18, schrieb Christopher Schultz: Simon, On 7/17/14, 3:52 AM, Simon Kulessa wrote

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-22 Thread Simon Kulessa
Hi Christopher, see below Am 17.07.2014 16:18, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/17/14, 3:52 AM, Simon Kulessa wrote: Hi Christopher, Am 16.07.2014 14:45, schrieb Christopher Schultz: Simon, On 7/16/14, 4:02 AM, Simon Kulessa wrote

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-17 Thread Simon Kulessa
Hi Christopher, Am 16.07.2014 14:45, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/16/14, 4:02 AM, Simon Kulessa wrote: Am 15.07.2014 16:12, schrieb Christopher Schultz: Simon, On 7/9/14, 4:51 AM, Simon Kulessa wrote: I had a look

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-16 Thread Simon Kulessa
Hello Christopher, thanks for your answer. Am 15.07.2014 16:12, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/9/14, 4:51 AM, Simon Kulessa wrote: I had a look at the documentation and the tomcat source to get a better understanding of what

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-09 Thread Simon Kulessa
) at java.lang.Thread.run(Unknown Source) I am not sure whether this is somewhat related to the problem scenario, but at least this looks like something that should not happen. Regards, Simon Kulessa Am 08.07.2014 11:35, schrieb Simon Kulessa: Hi Konstantin, thanks for you answer. Am

HttpServletRequest - getHeaders() vs getCookies()

2014-07-08 Thread Simon Kulessa
the cookie go that was defined in the header? Regards, Simon Kulessa. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-08 Thread Simon Kulessa
Hi Konstantin, thanks for you answer. Am 08.07.2014 10:22, schrieb Konstantin Kolinko: 2014-07-08 11:48 GMT+04:00 Simon Kulessa kule...@flexsecure.de: Hi, we are running a server on Apache Tomcat 7.0.29 with usage of the servlet-api 3.0.1. 1. The current version is 7.0.54 We updated

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-25 Thread Yann Simon
2014-03-20 15:28 GMT+01:00 Yann Simon yann.simon...@gmail.com: Thanks for all your input, I think I have now an implementation that works on Tomcat and Jetty. By testing it, I've found something that can be an interesting information for you. The upload variant with forking a new thread

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-25 Thread Yann Simon
2014-03-25 16:36 GMT+01:00 Daniel Mikusa dmik...@gopivotal.com: On Mar 25, 2014, at 11:25 AM, Yann Simon yann.simon...@gmail.com wrote: 2014-03-20 15:28 GMT+01:00 Yann Simon yann.simon...@gmail.com: Thanks for all your input, I think I have now an implementation that works on Tomcat and Jetty

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-25 Thread Yann Simon
2014-03-25 17:25 GMT+01:00 Caldarale, Charles R chuck.caldar...@unisys.com: From: Yann Simon [mailto:yann.simon...@gmail.com] Subject: Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener Also, have you tried with the 8.0.5 release that is up for vote? I do not see

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
Thanks Rémy and Mark for the quick feedback and explanations! On Mar 19, 2014 6:40 PM, Mark Thomas ma...@apache.org wrote: On 19/03/2014 17:04, Rémy Maucherat wrote: 2014-03-19 17:47 GMT+01:00 Yann Simon yann.simon...@gmail.com: This is because you're forking a thread, it won't

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
One option I am trying is to ignore onAllDataRead and to use sevletInputStream.isFinished to know when the body is totally consumed: https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann/ReadListenerImpl.java#L55 Is it a dumb idea? 2014-03-20 7:42 GMT+01:00 Yann Simon

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
, Yann 2014-03-20 9:36 GMT+01:00 Yann Simon yann.simon...@gmail.com: One option I am trying is to ignore onAllDataRead and to use sevletInputStream.isFinished to know when the body is totally consumed: https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
[Thread 26] onDataAvailable end [Thread 27] onAllDataRead [Thread 27] read till now: 234 (onAllDataRead is called defore read till now with the same thread) Can you check that? Thanks! Yann 2014-02-01 15:13 GMT+01:00 Yann Simon yann.simon...@gmail.com: On Jan 31, 2014 7:36 PM, Mark Thomas ma

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 16:42 GMT+01:00 Mark Thomas ma...@apache.org: On 19/03/2014 15:36, Yann Simon wrote: Hi, I have maybe found another problem: onAllDataRead is called with the same thread that is calling input.read. I updated the sample to show the problem: https://github.com/yanns

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 17:05 GMT+01:00 Rémy Maucherat r...@apache.org: 2014-03-19 16:36 GMT+01:00 Yann Simon yann.simon...@gmail.com: I have maybe found another problem: onAllDataRead is called with the same thread that is calling input.read. I am not aware of any requirement that says

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 17:24 GMT+01:00 Rémy Maucherat r...@apache.org: 2014-03-19 17:10 GMT+01:00 Yann Simon yann.simon...@gmail.com: 2014-03-19 17:05 GMT+01:00 Rémy Maucherat r...@apache.org: 2014-03-19 16:36 GMT+01:00 Yann Simon yann.simon...@gmail.com: I have maybe found another problem

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-02-01 Thread Yann Simon
On Jan 31, 2014 7:36 PM, Mark Thomas ma...@apache.org wrote: On 31/01/2014 11:52, Yann Simon wrote: On Jan 31, 2014 10:25 AM, Mark Thomas ma...@apache.org wrote: On 31/01/2014 07:58, Yann Simon wrote: On Jan 30, 2014, at 11:18 AM, Yann Simon yann.simon...@gmail.com Jetty seems

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-31 Thread Yann Simon
On Jan 31, 2014 10:25 AM, Mark Thomas ma...@apache.org wrote: On 31/01/2014 07:58, Yann Simon wrote: On Jan 30, 2014, at 11:18 AM, Yann Simon yann.simon...@gmail.com Jetty seems to allow this. Why not tomcat? Is there something in the specification about it. I could not find anything

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
not work. https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann/ReadListenerImpl.java#L22 The onDataAvailable is called only one time. With jetty, it does work (mvn jetty:run) I hope this can help. Yann 2014-01-08 Yann Simon yann.simon...@gmail.com: 2014/1/8 Daniel Mikusa

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
2014-01-30 Rémy Maucherat r...@apache.org: 2014-01-30 Yann Simon yann.simon...@gmail.com: Hi, I wrote a sample app to demonstrate the problem: https://github.com/yanns/servlet31_async You can generate an exploded war with maven: mvn war:exploded I deployed the application in tomcat 8.0.0

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
2014-01-30 Daniel Mikusa dmik...@gopivotal.com: On Jan 30, 2014, at 11:18 AM, Yann Simon yann.simon...@gmail.com wrote: Hi, I wrote a sample app to demonstrate the problem: https://github.com/yanns/servlet31_async You can generate an exploded war with maven: mvn war:exploded I deployed

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
On Jan 30, 2014 11:02 PM, Daniel Mikusa dmik...@gopivotal.com wrote: On Jan 30, 2014, at 3:38 PM, Yann Simon yann.simon...@gmail.com wrote: 2014-01-30 Daniel Mikusa dmik...@gopivotal.com: On Jan 30, 2014, at 11:18 AM, Yann Simon yann.simon...@gmail.com wrote: Hi, I wrote a sample

Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-08 Thread Yann Simon
Hi, I am trying to write a servlet that asynchronously read data from the servlet request input stream. I tested my servlet with tomcat 8.0.0-RC5. the symptoms: - I must synchronously read the input stream in onDataAvailable() so that the upload works what I expected: I want to be more reactive

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-08 Thread Yann Simon
2014/1/8 Daniel Mikusa dmik...@gopivotal.com: On Jan 8, 2014, at 12:04 PM, Yann Simon yann.simon...@gmail.com wrote: Hi, I am trying to write a servlet that asynchronously read data from the servlet request input stream. I tested my servlet with tomcat 8.0.0-RC5. If possible, you might

RE: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-11-07 Thread Simon Dean
Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 02 November 2012 21:09 To: Tomcat Users List Subject: Re: Comma related bug in org.apache.catalina.valves.RemoteIpValve -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon

RE: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-11-02 Thread Simon Dean
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 31 October 2012 20:35 To: Tomcat Users List Subject: RE: Comma related bug in org.apache.catalina.valves.RemoteIpValve From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Comma related

RE: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-10-31 Thread Simon Dean
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 31 October 2012 17:18 To: Tomcat Users List Subject: Re: Comma related bug in org.apache.catalina.valves.RemoteIpValve -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, On 10/30/12 1

Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-10-30 Thread Simon Dean
than to separate multiple regular expressions. *** Other things that might be affected by the same bug *** It's worth cheching whether RemoteIpValve and RemoveIpFilter in Tomcat 7.x are affected by the same bug. Kind regards Simon Dean

  1   2   >