ter Kreuser wrote:
>
>>
>> Peter Kreuser
>>
>> Am 04.10.2017 um 02:44 schrieb Christopher Schultz <
>>> ch...@christopherschultz.net>:
>>>
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA256
>>>
>>> Laurant,
>>>
Hi
I'm using apache+mod_proxy+mod_rewrite as a tomcat frontend.
A "foo" war is deployed at /foo context path under tomcat.
The /foo path is not public, apache has a rewrite rule defined as : /bar/*
rewrites internally to /foo/*.
I'm using jstl and its for every url in my jsps to
gain the ;jsessi
n the last deployment time
of a war ?
Thanks
laurent
--
http://laurentperez.fr
J2EE, HTML5, JS, CSS3
Yes I was under the false impression that Chrome did support h2c ; it does
not, as you pointed.
HTTP/2 works fine now.
Thanks
On Thu, Mar 30, 2017 at 10:46 PM, Mark Thomas wrote:
> On 30 March 2017 20:53:06 BST, Laurent Perez
> wrote:
> >Thank you Mark.
> >
> >h2c is
. Where could I check in tomcat source to see if the
client is sending the h2c upgrade token ?
laurent
On Thu, Mar 30, 2017 at 9:07 PM, Mark Thomas wrote:
>
> On 30/03/17 18:02, Laurent Perez wrote:
> > Hi
> >
> > I managed to run the servlets/serverpush/simpleimage HTTP
between mod_proxy and Tomcat.
But org.apache.coyote.AbstractProcessor#isPushSupported then returns false,
as if the UpgradeProtocol did not fire.
Is it possible to enable HTTP/2 with no SSL connector ?
Thanks
laurent
--
http://cv.laurentperez.fr
J2EE, HTML5, JS, CSS3
Thanks for your answer.
1. Before testing the code below with different Tomcat configurations, I would
like to know if there is a better way to do what I want. I'm not really
satisfied with this code that is closely related to Tomcat classes.
2. The original problem is that I would like to:
a)
SOCKET) dup;
}
}
#endif
#endif /* def WIN32 */
>
> Jeff
>
>
> On Fri, Jun 29, 2012 at 4:38 PM, Laurent Petit wrote:
>
> > On Fri, 2012-06-29 at 15:27 +0200, Jeff MAURY wrote:
> > > No,
> > >
> > > it does not (yet) make
space and won't
paste them all in this thread
( google search criteria : "windows inheriting socket handles" )
>
> Jeff
>
>
> On Fri, Jun 29, 2012 at 2:40 PM, Laurent Petit wrote:
>
> > Hello,
> >
> > On Fri, 2012-06-29 at 11:45 +0200, Jeff MAURY
with Tomcat Native implementation, but do you know the global
> architecture ?
> What I guessed is that the Tomcat native stuff created with the inherit
> flag, but even if it does, I don't see why it should not work if the socket
> is closed after a timeout.
>
> Regards
> Jef
is even more
appealing.
I know nothing about tomcat-native implementation, but I was able to see
that the bInheritHandle member is set to true here in tomcat native's C
code:
lpetit:~/tmp/tomcat-native $ grep "bInheritHandle" -R *
native/os/win32/ntpipe.c:con->
g the problem,
Regards,
--
Laurent Petit
On Mon, 2012-06-25 at 14:42 +0200, Jeff MAURY wrote:
> Yes, fine
>
> Jeff
>
>
> On Mon, Jun 25, 2012 at 1:46 PM, Laurent Petit wrote:
>
> > On Mon, 2012-06-25 at 11:51 +0200, Jeff MAURY wrote:
> >
> > > If you can po
Jun 25, 2012 at 11:40 AM, Laurent Petit wrote:
>
> > Hello,
> >
> > Is there anything I can do to help qualify the problem even more ?
> >
> > Beyond having shown the source code of the servlet, would a fully
> > mavenized example help? Anything else?
> &g
Hello,
Is there anything I can do to help qualify the problem even more ?
Beyond having shown the source code of the servlet, would a fully
mavenized example help? Anything else?
Regards,
--
Laurent
On Fri, 2012-06-22 at 10:21 +0200, Laurent Petit wrote:
> Hello,
>
> On Thu, 2012
d here is the code for the small java program:
https://www.refheap.com/paste/3286
Regards,
--
Laurent
>
> Jeff
>
> On Thu, Jun 21, 2012 at 10:45 PM, Laurent Petit wrote:
>
> > En Réponse à "Tomcat Users List" le 21 juin
> > 2012 00:07 Can you verify
, 2012 at
4:19 PM, Laurent Petit wrote: > Hello, > > I have a problem
with keep-alive connections, when starting a subprocess > (via JDK's default
ProcessBuilder/Process API), while also having > started Tomcat with the APR
HTTP/1.1 Connector. > > The problem symptom i
Hello,
I have a problem with keep-alive connections, when starting a subprocess
(via JDK's default ProcessBuilder/Process API), while also having
started Tomcat with the APR HTTP/1.1 Connector.
The problem symptom is with Keep-Alive connection, as follows:
- the client (browser, jmeter, etc.) s
On 6 déc. 2011, at 18:07, Sylvain Goulmy wrote:
> Hi Sylvain,
>
> I have tested your functionnality thanks to the description you give in
> your code.
>
> This is just EXACTLY what i wanted. I can define an external directory, the
> ressources are searched in my application and then in the dire
Here is the preview of the documentation :
http://ci.apache.org/projects/tomcat/tomcat7/docs/config/context.html#Virtual_webapp
(this is a nightly snapshot of the tomcat 7 branch)
On 6 déc. 2011, at 17:31, Sylvain Goulmy wrote:
> Hi Sylvain,
>
> I have taken the sources from the trunk version
onment, i'd like to have the functionnality on the live
> environment, i'll keep on watching your patch to see if that can give me
> the functionnality i'm looking for.
>
> Thank you for this information.
>
> On Fri, Dec 2, 2011 at 8:11 PM, Sylvain Laurent wrote
keep a watch on https://issues.apache.org/bugzilla/show_bug.cgi?id=51741 . When
it is implemented, it should give you this functionality.
On 30 nov. 2011, at 14:58, Sylvain Goulmy wrote:
>>
>> So the effect is that multiple physical directories must be searched for
>> a given resource?
>
>
>
On 25 nov. 2011, at 15:58, Christopher Schultz wrote:
> On 11/24/11 4:02 PM, Sylvain Laurent wrote:
>> I don't think this ThreadLocal creates a real leak of classloader.
>> It would if dayFormat was static.
>
> IIRC, ThreadLocal essentially puts a key/value pair i
On 23 nov. 2011, at 16:48, Christopher Schultz wrote:
> Our servlet defines the ThreadLocal to be protected (because this is a
> base class for several servlets that all do similar things) and
> transient (because we just don't need it to be serialized) and
> override the initialValue method, like
Hello,
On 26 oct. 2011, at 17:55, Rohit Kelapure wrote:
> * Reposting from the dev list as advised *
>
> Dear All,
>
> After going through the thread renewal code in
> /tomcat-8.0.x/java/org/apache/tomcat/util/threads/TaskQueue.java ,
> /tomcat-8.0.x/java/org/apache/tomcat/util/threads/ThreadPo
I'm building a multi-tenant WebApp. For ease of maintenance and operation, I
would like to have a single WebApp (WAR) in a single Tomcat instance (JVM
process) handling the requests of all tenants.
Tenants (my customers) can be added and removed dynamically in the system
(using an Administration
My personal advice with the Oracle driver is to put it at the server level, not
at the webapp level.
For instance if you use the query timeouts, oracle JDBC spawns a Thread to
handle the timeouts, and there is no way to properly stop this thread so tomcat
will continue complaining about leaking
have a look at the bindOnInit parameter on the connector
http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
On 15 mai 2011, at 12:31, Afkham Azeez wrote:
> Hi folks,
> We are using Embedded Tomcat 7.0.14. We create connectors in the normal way,
> add the webapps to Tomcat, and then call st
[from your blog entry]
> I also think that logging leaks may be more helpful than using part of
> manager, because many don't deploy manager (they remove it).
it is logged when the application is stopped, on recent tomcat 6 and 7.
I think your approach to finding leaks by performing comparisons i
I'm trying to monitor Tomcat 6.0.29 using JMX. Specifically, I want to
monitor the number of active threads servicing requests so I can get
an alert if it approaches the maximum. While I have JMX monitoring
working in general, I can't seem to get the number of threads.
Everything I have read sugges
On 22 déc. 2010, at 12:49, Mark Thomas wrote:
>
> It is do-able if you are prepared to accept the associated constraints:
> - all web apps must use the exact same version of every shared library
> - updating the shared libraries requires a Tomcat restart
> - all of the shared web apps must be "we
Some short answers :
- (for the moment) threads are always reused, even after an application is
stopped.
- tomcat 6.0.26 tries to clean the threadlocals which may provoke a leak, but
1) it was unsafe and has been disabled by default from 6.0.27 (see
https://issues.apache.org/bugzilla/show_bug.c
On 29 nov. 2010, at 15:01, Mark Thomas wrote:
> On 29/11/2010 13:57, sol myr wrote:
>> Hi,
>>
>> I'm new to Tomcat management, and would appreciate help on the 'maxThreads'
>> property of the Http Connector:
>>
>> 1) Please tell if I understood correctly:
>> Suppose I configure 'maxThreads=100
Don't bother with jhat, try eclipse Memory Analysis Tool instead. It's much
more friendly and efficient to find leaks.
On 23 nov. 2010, at 12:18, xu cheng wrote:
> hi, Chuck.Caldarale
> I referenced to these two links
> http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
> ht
I am so stupid !
Thanks for pointing me this error, it works as expected now.
Laurent
2010/3/17 Konstantin Kolinko
> 2010/3/17 Laurent Vaills :
> >(...)
> > 1catalina.org.apache.juli.FileHandler.level = FINE
> > 1catalina.org.apache.juli.FileHandler.patter
something.
Laurent
t:
Servlet Engine: 2.5
JSP Engine: 2.1
Application Server: Apache Tomcat/6.0.16
Thank you in advance for your answers.
Laurent
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
e);
Seems the tomcat (java?) classloader is reacting specially in that case,
like shortcutting it's ressource search?!
Thanks,
Laurent
JVM : 1.6.0 update2
OS : Windows Server 2003
Tomcat : 6.0.13
a chain of renderers.
It works, but is there something very, very wrong with this approach ?
My tag usage within my renderer class follows the Tag lifecycle, i.e I
always call tag.recycle(); at the end.
Thanks for any input !
laurent
--
http://in-pocket.blogspot.com";>http://in-pocket
Hi
A webapp I'm working on uses custom JSP tags (1.2) under tomcat
5.5.17. I ran into the following problem : custom tag is supposed
to have custom tags as children :
has a addChild(Tag tag) method, doing children.add(tag);
doStartTag() inits its children container : children = new ArrayLi
Hello,
I am using JBoss 3.2.5 with Tomcat 5.0.26. We are doing performance
testing and we have found some issue which may be related to the way
Tomcat handles sessions.
Specifically, when we do a login/logout then look at the active sessions
using the JBoss console, it says that there is one acti
Hi,
I would like to enable HTTP PUT method on only one webapp, not to all
webapps.
I prefer to not modify system wide web.xml, because if I do it this way I
have to secure other webapps.
How can I do it easily ?
Regards,
Laurent.
rrect ServletContext ?
Regards,
Laurent.
> I have 3 different .war files to deploy under Tomcat 5.5
> I deploy under Tomcat (under webapps) these 3 files with Eclipse 3.2 and the
> order they start under Tomcat is very important for me because they
> communicate between them with WebServices.
>
> When Tomcat starts, I want that Tomc
Hello,
Normally you shouldn't have any problem, I've achieved this (3 tomcat 5 on
the same physical machine and OS, linked through load balancing with Apache.
Try again but it should work with the usual install.
Regards,
Laurent
2005/12/27, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
I googled
quite a bit and results are just random, someone will tell jk is
faster, someone else will tell proxy is faster, so I'm looking for
some advice on this TC list.
Thanks for any input
Laurent
--
http://in-pocket.blogspot.com";>http://in-pocket.blogspot.com
- Mobile wor
so I'll add this
property and check the load afterwards.
Thanks again
Laurent
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it a known performance problem and are there tips to avoid this ?
Thanks for any input
Laurent
--
http://in-pocket.blogspot.com";>http://in-pocket.blogspot.com
- Mobile world, technology and more
-
To unsubscri
:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
Thanks if you can give me a hand on that.
Laurent
48 matches
Mail list logo