Re: Virtual Thread with Http11Nio2Protocol

2023-12-08 Thread Nicolas BONAMY
Thanks! Nicolas > Le 8 déc. 2023 à 11:35, Mark Thomas a écrit : > > On 08/12/2023 09:51, Mark Thomas wrote: >>> On 08/12/2023 02:49, Han Li wrote: >>> Hi Nicolas, >>> >>> I took a quick look that Tomcat's VirtualThreadExecutor does not i

Re: Virtual Thread with Http11Nio2Protocol

2023-12-08 Thread Nicolas
Hi Mark, Of course I tried with To reference the executor in the connector ;) > Le 8 déc. 2023 à 10:51, Mark Thomas a écrit : > > On 08/12/2023 02:49, Han Li wrote: >> Hi Nicolas, >> I took a quick look that Tomcat's VirtualThreadExecutor

Re: Virtual Thread with Http11Nio2Protocol

2023-12-08 Thread Nicolas
tConnector().setProperty("useVirtualThreads", "true")); Regards, Nicolas > Le 8 déc. 2023 à 03:49, Han Li a écrit :x > > Hi Nicolas, > > I took a quick look that Tomcat's VirtualThreadExecutor does not implement > the ExecutorService interface, which leads

Re: Virtual Thread with Http11Nio2Protocol

2023-12-07 Thread Nicolas BONAMY
William, I’m using Adoptium Temurin 21.0.1+12 Regards, Nicolas > Le 7 déc. 2023 à 21:00, William Crowell a > écrit : > > Nicolas, > > Which JDK version? > > Regards, > > William Crowell > > From: Nicolas BONAMY > Date: Thursday,

Virtual Thread with Http11Nio2Protocol

2023-12-07 Thread Nicolas BONAMY
Hi, I try to use virtual thread on Apache Tomcat 10.1.16 with this configuration on macOS or on Linux: But when I make a request, I'm not on a virtual thread : Thread[#76,Thread-14,5,main] . I profiled my application too but no virtual threads are used. If I use a Http11NioProtocol

tomcat 9.0.61 : service incorrectly installed on windows

2022-04-19 Thread Bourdais Nicolas
nts’ issue, defining –LogPath in our first command (//IS ..) resolved the issue Nicolas Bourdais Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires. Si vous recevez ce message par erreur, merci de le detru

RE: RemoteIpValve resolving localname is really slow

2021-04-12 Thread Bourdais Nicolas
> -Message d'origine- > De : Konstantin Kolinko > Envoyé : lundi 12 avril 2021 17:10 > À : users@tomcat.apache.org > Objet : Re: RemoteIpValve resolving localname is really slow > > пн, 12 апр. 2021 г. в 16:50, Bourdais Nicolas > : > > > > We are

RE: RemoteIpValve resolving localname is really slow

2021-04-12 Thread Bourdais Nicolas
> -Message d'origine- > De : Felix Schumacher > Envoyé : lundi 12 avril 2021 16:55 > À : users@tomcat.apache.org > Objet : Re: RemoteIpValve resolving localname is really slow > > > Am 12.04.21 um 15:49 schrieb Bourdais Nicolas: > > We are hosting

RemoteIpValve resolving localname is really slow

2021-04-12 Thread 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 8.5.53) and our apps running on hardware through vpn had

RE: Trying to understand How Tomcat uses Keystore for SSL

2017-12-04 Thread Nicolas Therrien
Agreed. I was thinking in terms of the TLS exchange during which the client uses the public key to send a symmetric key to the server. I should have read the text further and more literally. Sorry about the confusion. Nicolas Therrien ing. Senior Software Engineer Airbus DS Communications

RE: Trying to understand How Tomcat uses Keystore for SSL

2017-12-04 Thread Nicolas Therrien
your text if you need a reviewer. Nicolas Therrien ing. Senior Software Engineer Airbus DS Communications home of VESTA® 200 Boul. de la Technologie, Suite 300 Gatineau, QC J8Z 3H6 Canada 819.931.2139  (DIRECT) www.Airbus-DSComm.com -Original Message- From: Christopher Schultz [mailto:ch.

RE: Multiple errors

2017-11-20 Thread Nicolas Therrien
If you have autodeploy set to ON, make sure you clean your webapps from any leftover war files. I would delete the folder contents entirely and redeploy. On 19.11.2017 07:32, Karen Goh wrote: > Hi, > > I am writing to this group as I could not get an answer from anywhere. > > Basically, I do

RE: Trying to understand How Tomcat uses Keystore for SSL

2017-11-14 Thread Nicolas Therrien
eans the certificate contained in the keystore is not signed properly. You can easily check if a certificate is signed using the Keystore Explorer and right-clicking then view details... see certificate chain.In that chain, you should be able to see some top CA authority signing your cert. If none of those CAs in the chain are approved by chrome, it wont work. You'll need to find another provider. Regards, - Nicolas

RE: Question related to mutual authentication

2017-11-09 Thread Nicolas Therrien
GMT+00:00, Nicolas Therrien > wrote: > > > >> My understanding is that when "certificateVerification" is set to >> "required", the server would perform the same verification as the >> client does, that is: >> >> 1) Verify the incom

Question related to mutual authentication

2017-11-08 Thread Nicolas Therrien
should the server behavior be correct, can someone explain to me why it is like that?I find it odd that the client certificate can be copied around and used by anyone and still pass mutual authentication... Thanks in advance, Nicolas Therrien ing. Senior Software Engineer Airbus DS Communic

HttpServletRequest.login & remoteUser null

2016-09-11 Thread Nicolas Clemeur
report the user correctly when using that workaround). Cheers Nicolas

Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-23 Thread Yann Nicolas
Hello, I created an issue for this: https://issues.apache.org/bugzilla/show_bug.cgi?id=56181 Regards, Yann Nicolas 2014-02-21 3:15 GMT-06:00 Mark Thomas : > On 21/02/2014 05:32, Yann Nicolas wrote: > > > Of course I can put a filter in my web application to do search the >

Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-21 Thread Yann Nicolas
ne in different sections of the request flow inside Tomcat. It is why I think if the reverse DNS of the IP provided in x-forwarded-for is implemented, it should be configured using a different attribute than "enableLookups". Regards, Yann Nicolas 2014-02-21 10:11 GMT-06:00 Chri

Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-21 Thread Yann Nicolas
new Tomcat attribute for this (like enableRemoteIpLookups) instead of using the attribute enableLookups, because perhaps you do not want to lookups of the proxies IP but just the remoteIp (x-forwarded-for). Regards, Yann Nicolas El feb 21, 2014 3:16 AM, "Mark Thomas" escribió: > On

Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-20 Thread Yann Nicolas
for example but I was wondering if a Tomcat native solution exists. If not, is there any particular reason for this, or is it because no body has required that feature. Thanks, Yann Nicolas

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-10-02 Thread Nicolas Sarazin
Hello, I want to update Apache with 2.4.2 version. But, on mod_jk download page, we have only "mod_jk-1.2.32-httpd-2.2.21-nw.zip" (for httpd 2.2.21). Is it compatible with Apache httpd 2.4.2 ? Thanks in advance, Nicolas SARAZIN 2012/9/24 Nicolas Sarazin : > Hi Christopher, >

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-09-24 Thread Nicolas Sarazin
Hi Christopher, And thank you for this invaluable information ! I shall continue the discussion if the problem persists after the update of my configuration. Nicolas SARAZIN 2012/9/21 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nicholas, > >

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-09-21 Thread Nicolas Sarazin
; How can we explain this behavior ? > > There are lots of explanations for what you are seeing. > > A few questions: > > 1. Do you really need Apache httpd at all? > 2. Can you configure cping/cpong for connection liveness testing? > 3. Have you tried disabling AJP connection r

Re: Sticky sessions not working

2012-09-20 Thread Nicolas Sarazin
Hello, Add : worker.node1.route=node1 And : worker.node2.route=node2 To use sticky session. These directives attach name route at the end of JSESSIONID. Best regards, Nicolas SARAZIN Le vendredi 21 septembre 2012, Lou Henry a écrit : > I'm running Apache Tomcat 7.0.14 and Apach

mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-09-20 Thread Nicolas Sarazin
Hello all, English is not my native language, please excuse typing errors. I met a problem which I do not manage to explain... My environement (one server) : Server version : Apache Tomcat/5.5.26 Server built : Jan 28 2008 01:35:23 Server number : 5.5.26.0 OS Name : Linux (Red Hat Enterprise Li

Re: Location of Tomcat 7 jvm defualt ysettings...

2012-07-22 Thread Genibre, Nicolas (Citco)
U - Original Message - From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, July 20, 2012 10:53 PM To: Tomcat Users List Subject: Re: Location of Tomcat 7 jvm defualt settings... On 20/07/2012 21:42, Tony Anecito wrote: > Thanks Charles I have found documention for all the below fro

Re: .nfsxxx file created when undeploying applications

2011-10-24 Thread Nicolas Dordet
It's for a client too and I don't have acces to the server or applications so I first think it comes from Tomcat and now I'm trying to understand what's happening and what is possible to do. Thanks 2011/10/23 Hassan Schroeder > On Sun, Oct 23, 2011 at 1:56 AM, Nicolas D

Re: .nfsxxx file created when undeploying applications

2011-10-23 Thread Nicolas Dordet
Hi, I have a Tomcat 5.5.17 run on Solaris. TOMCAT_HOME is on a mounted NFS partition. When doing undeploy of an application, some .nfsxx files are created et dot no allow suppression of repertories. A similar bug for JARs has been opened but not fixed ( https://issues.apache.org/bugzilla/show_bug

RE: how to invalidate old sessions when new user access appl on same machine

2008-12-19 Thread Nicolas Romantzoff
cross protocols like http <-> https) For security, you will have to bind an 'ending' date to the session's authentication. Nicolas Romantzoff General Manager Tél.: (+33) 478 53 65 17 -Original Message- From: Vishnu Vardhana Reddy [mailto:vishnu...@gmail.com] Sent: Frida

[SOLVED] Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
gards, Nicolas - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
0068dbf2 in ?? () #1 0x08506478 in ?? () #2 0x0068fb6a in ?? () #3 0xbfc5b04c in ?? () #4 0x in ?? () Would that mean the problem is not in mod_jk, or would that mean I did not compile mod_jk in debug mode? Thanks again for your help. Best regards, Nicolas ---

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
I forgot to mention that the request is sent over https. The https is handled by apache httpd. I am not sure If this has an impact as it would be difficult for me to test it under http. Cheers Nicolas - To start a new topic

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Thank you Rainer for taking the time to answer. My comments are below. > > Not a known problem. You can increase log level via "JkLogLevel debug". > There should be a line containing "service" or "Service", which includes > the URI) we send forward to Tomcat. > > The log will also show you, i

mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
/mysite/action.do? ). No response at all is sent to the client. Is this something known or is only me experiencing that problem. I know that the url should not really containts the ending "?", but I can't control that.

Re: Form based auth - Not working

2007-10-08 Thread Nicolas Gonzalez
in my jsp login file or in the db. I really can't tell what really happened, but i'm sure it was my mistake... Thx again for everything!!! Nicolas Gonzalez Buenos Aires - Argentina On 10/8/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED

Re: Form based auth - Not working

2007-10-08 Thread Nicolas Gonzalez
Hi Mark and David! See my response inline On 10/8/07, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Nicolas Gonzalez wrote: > > I've done almost (I think that everything!) that the doc requires to > > configure a FORM > > based authentication and doesn't w

Form based auth - Not working

2007-10-08 Thread Nicolas Gonzalez
urceRealm because it doesn't work at all, at least in my case!!! Another problem for another thread I guess...) The web.xml of my app is correctly configured and that's not the problem! Does any of you what is my problem? Regards, Nicolas Gonzalez P.S.: OS: Ubuntu 7.0.4 / Tomcat: 5.5 /

Cactus Authentication problem with Tomcat > 5.5.20

2007-09-24 Thread Nicolas Clemeur
an idea where I should look at as I am really having a hard time to understand where these parameters get swallowed. Regards Nicolas - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTEC

Re: unknown protocol: httpg

2007-09-19 Thread DEMESY Nicolas
Hi David; Ok , It works well with the second solution, I put the globus library in the common/lib directory of Tomcat . Thanks a lot Nicolas David Delbecq a écrit: Hello Nicolas, java.net.URL is trying to instanciate a handler for protocol httpg and fails. Looking at your code, i suppose

unknown protocol: httpg

2007-09-18 Thread DEMESY Nicolas
(); p.deployTransport("httpg", new SimpleTargetedChain(new org.globus.axis.transport.GSIHTTPSender())); org.globus.axis.util.Util.registerTransport(); new java.net.URL("httpg","srm-server", 1234, "/srm"); It seems that the httpg registration is not done ... I use a T

Re: Problems connecting

2007-03-05 Thread Nicolas Schwartz
Hi, Why don't you try http://62.56.xxx.xxx:8080 with the j2me emulator ? If it works that way we may conclude that you have a j2me issue. If not it may be a tomcat conf problem. You should also access the url through your favorite browser (firefox) ... Tell us the results ! regards, Ni

Re: System requirements

2006-09-19 Thread DEMESY Nicolas
Thank you for yours answers. I have one context for a web portal with servlet pages and one context for an axis web server . Sorry for the missing information . Nicolas DEMESY Mikolaj Rydzewski a écrit: DEMESY Nicolas wrote: I would like to know what are the system requirements for using

System requirements

2006-09-19 Thread DEMESY Nicolas
Hi, I would like to know what are the system requirements for using Tomcat in a production server, with 50-100 users, on a Red Hat Advanced Server 3. Where can I find benchmarks ? Thank you for your advices, Nicolas DEMESY

Re: Missing Request Parameters

2006-08-21 Thread Nicolas Schwartz
see something wrong ? Nicolas Pid a écrit : have we seen your connector config, and your apache forwarding setup (JK i assume)? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Missing Request Parameters

2006-08-18 Thread Nicolas Schwartz
As I said it happens even on GET requests and very small urls on our side. Since it is a get request, we do see the parameter in the apache log, but we can't get it with the getParameter() method. The parameter is lost somewhere between the connector and tomcat I think. Nicolas Yashwanth

Re: Missing Request Parameters

2006-08-18 Thread Nicolas Schwartz
I don't know which version of mod_jk we're using ... I'm looking into it. Nicolas lmelendez a écrit : in mod_jk.conf for apache, we have the following lines: # define the channel JkSet channel.socket:localhost:8009.port 8009 JkSet channel.socket

Re: Missing Request Parameters

2006-08-17 Thread Nicolas Schwartz
I thought it might come from the connector ... Did you already try to change it ? Which version are you using ? Nicolas lmelendez a écrit : Nicolas Schwartz wrote: It occurs on GET requests, maybe on POST ones but we don't know. The value of the parameter is not long, neither is the

Re: Missing Request Parameters

2006-08-16 Thread Nicolas Schwartz
, maybe on POST ones but we don't know. The value of the parameter is not long, neither is the value. It appears to occur "randomly" Hope this will help to find a solution to the problem ... -- Nicolas Schwartz Pid a écrit : (i can't see a previous thread for this, new ma

Re: A way to know if file download has ended

2006-06-05 Thread Nicolas Schwartz
t. I tried many code and discussed about it in the forum and came to the conclusion it is not possible. (subject was "Last Byte Detection", conclusion was: HTTP is not the good level to detect that.) Good luck, Nicolas -

Re: Last Byte Detection

2006-04-27 Thread Nicolas Schwartz
Darryl Miles wrote: > Nicolas Schwartz wrote: >> I'm trying to get the information of sending the last byte of a file >> through Tomcat. >> I've done many tests, I've looked in the archives and nothing came up. >> So I'm thinking that maybe I'

Last Byte Detection

2006-04-26 Thread Nicolas Schwartz
he connection once the url has been requested. I use apache and tomcat. They're connected with the ajp13 connector. I've looked in the connector configuration (workers.properties) options but found nothing. Any help, hint , ... would be greatly appreciated :

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
That's it ! I had a library containing java 1.1 classes in my classpath. It seems that JDT uses the classes that are in the classpath instead of those that are in the JRE. This behaviour is a bit different of Sun compiler. Thanks for your help Thibaut Thibaut Nicolas a écrit : I

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
hat way and let you know Thanks for this idea Thibaut Caldarale, Charles R a écrit : From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector Here is the very simple JSP that have written to isolate the error This probably won&#x

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
;); v.add("World"); %> <% Iterator it = v.iterator(); while (it.hasNext()) { %> <%=it.next() %> <% } %> Thibaut Michael Andreas Omerou a écrit : Can we have the code that causes this error? -Original Message- From: Thibaut Nicolas

JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
Hi all, I have a problem while trying to migrate an application from Tomcat 4.1 to Tomcat 5.5. I get a JasperException when tomcat try to compile a JSP : The method add(String) is undefined for the type Vector The method iterator() is undefined for the type Vector I've put the complete trace at

RE: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

2006-02-13 Thread Manuel Nicolas Ortuño
Thank you for your help. I have other Server. This server have apache 2.0.46 and httpd -l are: core.c prefork.c http_core.c mod_so.c I switch the order of LoadModule #-- LoadModule jk_module modules/mod_jk.so LoadModule access_module modules/mod_access.so LoadModule auth_mod

RE: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

2006-02-08 Thread Manuel Nicolas Ortuño
5.0.28 - Mod_jk - .htaccess --- Manuel Nicolas Ortu�o <[EMAIL PROTECTED]> wrote: > > LoadModule jk_module modules/mod_jk.so > Dynamic loading. > I don't have LoadModule mod_access > #httpd -l > core.c > mod_access.c This means mod_access is statically

RE: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

2006-02-07 Thread Manuel Nicolas Ortuño
07 de febrero de 2006 12:08 Para: Manuel Nicolas Ortuño CC: users@tomcat.apache.org Asunto: Re: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess > I have apache and tomcat ready. The connector (mod_jk) work well. > > JkMount /jsps/servlet/* ajp13 > JkMount /jsps/*.jsp ajp13 > > The

Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

2006-02-07 Thread Manuel Nicolas Ortuño
Hello, I have apache and tomcat ready. The connector (mod_jk) work well. JkMount /jsps/servlet/* ajp13 JkMount /jsps/*.jsp ajp13 The static content work with apache and .jsp work with tomcat. My problem is that i would like that /jsps work with .htaccess AuthType Basic require va