Re: Log4j 2.15.0 and Tomcat 9.0.56

2021-12-20 Thread Johan Compagner
cp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > > > -- > Daniela Morais > Software Engineer > danielammorais.com > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Johan Compagner Servoy

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Johan Compagner
> Java Active Directory Integration > http://www.ioplex.com/ > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Johan Compagner Servoy

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Johan Compagner
wrote: > On Tue, Dec 28, 2021 at 3:29 AM Johan Compagner > wrote: > > > > Will that really work? > > No. > > Clearly I'm not paying attention because after reading surprisingly > little information about this fundamental incompatibility and > downloading a

Re: AsyncServlets in tomcat

2022-02-08 Thread Johan Compagner
On Tue, 8 Feb 2022 at 18:20, Deshmukh, Kedar wrote: > > I would like to understand, how many concurrent AsyncServlets tomcat can > handle ? > > wouldn't that be completely dependent on what resources (hardware) you give your tomcat? -- Johan Compagner Servoy

Re: Should Tomcat 10 enable response compression by default?

2020-06-09 Thread Johan Compagner
> > - compressibleMimeType > > > - compressionMinSize > > > - noCompressionStrongETag > > > > > > It would be helpful to know what the range of views of the user > > > community are on this proposal. > > > > > > So, thoughts? > > > > > > Mark > > > > > > - > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > > > -- Johan Compagner Servoy

what is the exact order of filters?

2021-01-15 Thread Johan Compagner
ething like WEB-INF/web.xml annotations based once conf/web.xml ? I am also not sure what the spec says about this mix -- Johan Compagner Servoy

Re: what is the exact order of filters?

2021-01-18 Thread Johan Compagner
> You need to read section 8.2.3 of the servlet specificaiton > > > If the order in which the listeners, servlets, filters are invoked is > important to an application then a deployment descriptor must be used. > Also, if necessary, the ordering element defined above can be used. As > described ab

Are we able to deploy the same WAR to Tomcat 9 and 10?

2021-02-05 Thread Johan Compagner
"redirect/wrapper"? And then I don't care too much about if it goes from javax.servlet to jakarta.servlet or the other way around.. I just want to support both deployments. That our customers can dump in the generated war by our tooling in any tomcat version (8,9 or 10) and it just wor

Re: Are we able to deploy the same WAR to Tomcat 9 and 10?

2021-02-05 Thread Johan Compagner
will do some test how that migration tool work. for me building it from maven is fine, but most of our customers dont code java or use mvn so are there plans to really make releases of it? so you can just download the shaded jar? -- Johan Compagner Servoy

Re: Are we able to deploy the same WAR to Tomcat 9 and 10?

2021-02-05 Thread Johan Compagner
apache/tomcat-jakartaee-migration (github.com) <https://github.com/apache/tomcat-jakartaee-migration/releases> <https://github.com/apache/tomcat-jakartaee-migration/releases>;) We did a first small test and the tool seem to work -- Johan Compagner Servoy

Re: Java to JavaScript RMI framework available.

2014-01-02 Thread Johan Compagner
ase check it out. > > https://github.com/iurisman/FERMI > Apache 2.0 license. > > Happy coding. > Igor. > -- Johan Compagner Servoy

Re: serialization and newest tomcat

2014-01-13 Thread Johan Compagner
s are transient then those fields (beans) are not serialized and they are null when they are deserialized (so you need to refill them if they are needed) -- Johan Compagner Servoy

the latest tomcat 7.0.50 has a problem when used through osgi (like eclipse)

2014-01-22 Thread Johan Compagner
= JspContext.class.getResource("resources/" + url); } return id.toExternalForm(); } So that at least the right classloader that also loads the JspContext is used to get the jsp resources. -- Johan Compagner Servoy

Re: the latest tomcat 7.0.50 has a problem when used through osgi (like eclipse)

2014-01-22 Thread Johan Compagner
thx :) On 22 January 2014 13:02, Mark Thomas wrote: > On 22/01/2014 11:56, Johan Compagner wrote: > > this is because tomcat expects that the 2 jars servlet-api.jar and > > jsp-api.jar are in the same classloader > > https://issues.apache.org/bugzilla/show_bug.

Re: Deny Put & Delete

2014-01-24 Thread Johan Compagner
> > > I've dealt with similar nonsensical "compliance scans" before, and > my response was: > > "You believe you can PUT or DELETE files on this installation?" > > ** makes popcorn ** > > "Please proceed. I'll sit here and watch. Take your time." > > Morons. Bane of productive peoples' existence. >

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Johan Compagner
lies where the actual replies are I don't mind for this list, so i do what others like to have, but i am very happy that this is one of the few doing this... -- Johan Compagner Servoy

Re: Tomcat 6.0.26 on Windows server - sessions are not expired

2014-02-03 Thread Johan Compagner
when i see this i ask the same question, and most of the time that is then true and they have specified quite a high heap size. If you do that then the native part of the memory that a 32 bit process can have is getting small -- Johan Compagner Servoy

Re: the latest tomcat 7.0.50 has a problem when used through osgi (like eclipse)

2014-02-27 Thread Johan Compagner
if (id == null) { id = ServletContext.class.getResource("jsp/resources/" + url); } return id.toExternalForm(); } so it still fails for me. On 22 January 2014 13:02, Mark Thomas wrote: > On 22/01/2014 11:56, Johan Compagner wrote: > > this i

Re: the latest tomcat 7.0.50 has a problem when used through osgi (like eclipse)

2014-02-27 Thread Johan Compagner
it still fails for me. > > How does it fail? Are you sure you are using 7.0.52? > > Mark > > > --------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Johan Compagner Servoy

can i have programatically access to the ServerContainer (websocket) in tomcat 7?

2014-02-27 Thread Johan Compagner
use the tomcat api itself if needed) johan -- Johan Compagner Servoy

Re: the latest tomcat 7.0.50 has a problem when used through osgi (like eclipse)

2014-02-27 Thread Johan Compagner
as a real osgi bundle in eclipse) But i understand now that the fix was differently applied and why i still had problems with it. (tomcat kind of changed the "standard", "jsr" api lib ;) ) johan -- Johan Compagner Servoy

Re: can i have programatically access to the ServerContainer (websocket) in tomcat 7?

2014-02-27 Thread Johan Compagner
.report(Unknown Source) or is it possible to do something directly on the StandardContext ? johan -- Johan Compagner Servoy

Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Johan Compagner
That seems to be removed from the Tomcat8 build Is there something else that we now have to use? How can i now setup a debug environment easy by using a context file like this: -- Johan Compagner Servoy

Re: Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Johan Compagner
wrote: > On 14/10/2013 16:26, Johan Compagner wrote: > > That seems to be removed from the Tomcat8 build > > Is there something else that we now have to use? > > http://tomcat.apache.org/migration-8.html#Web_application_resources > > Mark > > > > > > Ho

is there someway to get to the ServletContext/ApplicationContext from a WebSocket (tomat8)

2013-10-14 Thread Johan Compagner
When using a Filter or Servlet i can do getServletContext() where then i can ask for resources on it, to load for example a file in the WEB-INF dir? I can seem to find api of a @ServerEndpoint to get to that kind of stuff. -- Johan Compagner Servoy

How to mount multiply webAppMounts to WEB-INF/lib (multiply dirs with jars)

2013-10-15 Thread Johan Compagner
, it can't find a class in that is in a jar in dir2 if i switch the order: then it can't find a class in a jar that is in dir1 johan On 14 October 2013 18:10, Mark Thomas wrote: > On 14/10/2013 16:26, Johan Compagner wrote: > > That seems to be removed from t

Re: Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-15 Thread Johan Compagner
yes i figure this out for the classes works quite nice, The only problem is that for web-inf/lib i can't get it to work to mount multiply external folders into that one. On 15 October 2013 15:21, Daniel Mikusa wrote: > On Oct 14, 2013, at 5:20 PM, Johan Compagner > wrote

Re: Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-15 Thread Johan Compagner
> > yes i figure this out for the classes > > works quite nice, > > The only problem is that for web-inf/lib > > i can't get it to work to mount multiply external folders into that one. > > I saw this in the other thread you created. I have to apologize though, I > read it and didn't really under

Re: Tomcat 8 Websockets configuration

2013-10-26 Thread Johan Compagner
I've just started looking at the javax.websocket implementation in tomcat 8 > and I have a question about how one integrates an endpoint with application > code. Using servlets as an analogy, web.xml allows configuration > information to be passed to servlets when they are initialized. Is there >

Re: Tomcat 8 Websockets configuration

2013-10-27 Thread Johan Compagner
> > and i have a follow up question about this, with a servlet or a filter > you > > can do: getServletContext() then you have access to the resources of the > > web application and stuff like that > > How is that possible in an websocket endpoint? > > The ServerEndpointConfig will have the modifyH

Re: [ANN] Apache Tomcat 7.0.47 released

2013-10-27 Thread Johan Compagner
e Apache Tomcat proprietary WebSocket API in favour of the > new JSR-356 implementation. > - Add a drawing board example to the WebSocket examples. > i guess this page should now be updated: http://tomcat.apache.org/whichversion.html -- Johan Compagner Servoy

Re: Tomcat 8 Websockets configuration

2013-10-27 Thread Johan Compagner
On 27 October 2013 16:09, Niki Dokovski wrote: > On Sun, Oct 27, 2013 at 4:46 PM, Neil Martin wrote: > > > Thanks for the replies Mark. > > > > It does seem to me that most developers using websockets under tomcat are > > going to want that integration with the J2EE container. Maybe I'm wrong,

Re: [ANN] Apache Tomcat 7.0.47 released

2013-10-27 Thread Johan Compagner
> > > i guess this page should now be updated: > > > > http://tomcat.apache.org/whichversion.html > > Thanks for pointing that. > It should be fixed now. > > > only that the minimum version of Tomcat 7 is now not always java 6 ;)

setting the text or binary buffer size for websockets

2013-11-16 Thread Johan Compagner
Hi i read this: http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html so what i do is add this into the web.xml -- Johan Compagner Servoy

Re: setting the text or binary buffer size for websockets

2013-11-16 Thread Johan Compagner
6 November 2013 15:09, Johan Compagner wrote: > Hi > > i read this: > > http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html > > so what i do is add this into the web.xml > > -- > Johan Compagner > Servoy > -- Johan Compagner Servoy

Re: setting the text or binary buffer size for websockets

2013-11-17 Thread Johan Compagner
On 17 November 2013 12:55, Mark Thomas wrote: > On 16/11/2013 14:12, Johan Compagner wrote: > > > We have problems (with chrome) with all kinds of errors when sending > these > > frames (invalid opcode, utf char encoding problem, reserved words 1 ,2 ,3 > > errors in th

Re: setting the text or binary buffer size for websockets

2013-11-17 Thread Johan Compagner
> > > >> Exactly which version of Tomcat 7 are you using? > >> > >> > > currently testing it on 8 RC5 > > > > I can test on 7, but i guess thats the +/- the same code? > > Latest 8 RC is fine but then why are you looking at the Tomcat 7 docs? > > > first that i found, and also this http://tomcat.ap

Re: setting the text or binary buffer size for websockets

2013-11-19 Thread Johan Compagner
On 19 November 2013 03:55, Igor Urisman wrote: > Upgraded my environment to 8RC5 and this feature works for me. > Don't know how much help this is, but here's my deployment descriptor: > > > > http://java.sun.com/xml/ns/javaee"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >

Re: setting the text or binary buffer size for websockets

2013-11-19 Thread Johan Compagner
expect that i can send now 32K at once of text (or binary) withing that "continuation frame" Johan On 19 November 2013 09:38, Johan Compagner wrote: > > > > On 19 November 2013 03:55, Igor Urisman wrote: > >> Upgraded my environment to 8RC5 and this fea

Re: setting the text or binary buffer size for websockets

2013-11-19 Thread Johan Compagner
> > > I expect that i can send now 32K at > > once of text (or binary) withing that "continuation frame" > > The buffer sizes control the input buffer - i.e. they control the > maximum size of a message that can be received if an application doesn't > support partial messages. > > The output buffer

Re: setting the text or binary buffer size for websockets

2013-11-20 Thread Johan Compagner
Konstantin, > Right, I also think the calls to getBasicRemote().sendText(...) should > be synchronized as multiple threads can concurrently access this method for > a particular client (that however could mean that if one client stops > receiving from its WebSocket connection, no other client ca

is the spec of onMessage really that "whole" message means it must fit in the input buffer?

2013-11-21 Thread Johan Compagner
This doesn't look right to me.. Because now it really looks to me that all apps should include always that boolean param.. Because how do you know? Or you must be really sure that the message are not passing a buffer boundary (but maybe an implementation uses 256 bytes) -- Johan Compagner Servoy

Re: is the spec of onMessage really that "whole" message means it must fit in the input buffer?

2013-11-21 Thread Johan Compagner
. Because how do you know? Or > you must be really sure that the message are not passing a buffer boundary > (but maybe an implementation uses 256 bytes) > > -- > Johan Compagner > Servoy > To follow up on this a little bit this one: onmessage(Reader reader) only works al

Re: is the spec of onMessage really that "whole" message means it must fit in the input buffer?

2013-11-21 Thread Johan Compagner
On 21 November 2013 12:21, Niki Dokovski wrote: > On Thu, Nov 21, 2013 at 1:11 PM, Johan Compagner >wrote: > > > > > > > Hi, > > > > > > > > > https://javaee-spec.java.net/nonav/javadocs/javax/websocket/OnMessage.html > > > &g

Re: is the spec of onMessage really that "whole" message means it must fit in the input buffer?

2013-11-21 Thread Johan Compagner
> > > Patches welcome. > something like this? (only for text changes only in WsFrameBase) in the constructor of WsFrameBase // take the minimum from what is set by the user or the default. messageBufferText = CharBuffer.allocate(Math.min(Constants.DEFAULT_BUFFER_SIZE,wsSession.

Re: is the spec of onMessage really that "whole" message means it must fit in the input buffer?

2013-11-21 Thread Johan Compagner
Hi Mark, > > > So tomcat should handle the concatting for me, why do i need to do that > my > > self? > > You don't. > > If you want the container to provide the received message in a single > call then all you need to do is tell the container what the maximum > message size you wish it to suppo

Re: [OT] Symantic has a first tomcat worm ;-)

2013-11-25 Thread Johan Compagner
> > The one question this raises for me is should the Manager application be > limited to localhost be default? I'd be interested in the community's > views on that. > my view: yes If it is easy configurable (like removing localhost to have all access, but also adding a host) Because then people k

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Johan Compagner
appens all the attributes do > replicate!!! > > Is there a way to make the attribute replicate without the need of > refreshing the page? > > Thanks! > -- Johan Compagner Servoy

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Johan Compagner
e know why this wasn't done by using services? (SPI) So that we can directly point to a class that is the websocket or point to a class that registers the websockets? -- Johan Compagner Servoy

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Johan Compagner
> > > Does anyone know why this wasn't done by using services? (SPI) > > So that we can directly point to a class that is the websocket or point > to > > a class that registers the websockets? > > The Java WebSocket 1.0 specification requires this behaviour. > > As has been pointed out previously,

Re: Accessing ServletContext from WebSocket endpoint

2013-12-06 Thread Johan Compagner
kzatjastefxvd6?q=Tomcat+8+Websockets+configuration+list:org%2Eapache%2Etomcat%2Euser/ > > Regards > Violeta > -- Johan Compagner Servoy

Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Johan Compagner
tConfig.getUserProperties().put("ServletContext",request.get Context()); That context can then just return an object which i need to cast and is then up to the container to provide. -- Johan Compagner Servoy

Re: [ANN] Apache Tomcat 8.0.14 available

2014-10-01 Thread Johan Compagner
On 1 October 2014 10:48, Mark Thomas wrote: > Please refer to the change log for the complete list of changes: > http://tomcat.apache.org/tomcat-8.0-doc/changelog.html > that one only goes to max .12 (at least at this time) -- Johan Compagner Servoy

tomcat 8 depends on URL.setURLStreamHandlerFactory method

2014-10-01 Thread Johan Compagner
already set so now it bombs out with "factory al ready set" error Is there any workaround for this or is there any way to improve tomcat 8 so that it places nicer inside an osgi container like eclipse? Or am i really stuck at Tomat 7 for now (and quite some time to come ) -- Johan Compagner Servoy

Re: tomcat 8 depends on URL.setURLStreamHandlerFactory method

2014-10-02 Thread Johan Compagner
eeds this ? Johan On 1 October 2014 20:44, Mark Thomas wrote: > On 01/10/2014 16:59, Johan Compagner wrote: > > Hi, > > > > we have tomcat completely as an OSGI plugin project: > > > > > https://github.com/Servoy/servoy-eclipse-tomcat/tree/master/o

Re: Embedded Tomcat

2014-10-15 Thread Johan Compagner
per.java#L342 > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software Architect / Project Manager / Scrum Master > -- Johan Compagner Servoy

Re: Embedded Tomcat

2014-10-15 Thread Johan Compagner
. > You could regard this to be a mediation layer between the OSGi Service > Registry and the underlying web-container. > > regards, Achim > > > 2014-10-15 11:46 GMT+02:00 Johan Compagner : > > > maybe you are interested in this one: > > > > https://github.com

Re: How to access Sessions outside of class

2014-10-28 Thread Johan Compagner
> > Jason > What is an external java class? Is it in the same class loader? so it is just part of the webapplication? then the above approach should work fine -- Johan Compagner Servoy

Re: Time zone in all web application pages revert to UTC !

2016-03-22 Thread Johan Compagner
On 22 March 2016 at 07:40, Utkarsh Dave wrote: > Hi Users and Tomcat team, > > We are having this weird issue seen in all the web application pages where > time gets changed to UTC after some days. > As a workaround it works fine until Tomcat is restarted, but after some > days time in UTC is see

the new code in WebappClassLoaderBase.filter() is not working correctly with Rhino engine anymore

2016-03-24 Thread Johan Compagner
|| name.startsWith("jasper/", 11) || name.startsWith("juli/", 11) || name.startsWith("tomcat/", 11) || name.startsWith("naming/", 11) || name.startsWith("coyote/", 11)) { return true; } } *that seems a bit shorter and should do the same.* -- Johan Compagner Servoy

Re: the new code in WebappClassLoaderBase.filter() is not working correctly with Rhino engine anymore

2016-03-25 Thread Johan Compagner
t; yes running .32 so thats the same thing we encounter. good to know it is fixed. -- Johan Compagner Servoy

Re: [ANN] Apache Tomcat 8.0.33 available

2016-03-29 Thread Johan Compagner
the change log is not updated yet. On 25 March 2016 at 23:04, Mark Thomas wrote: > Please refer to the change log for the complete list of changes: > http://tomcat.apache.org/tomcat-8.0-doc/changelog.html > -- Johan Compagner Servoy

Re: [ANN] Apache Tomcat 8.0.33 available

2016-03-29 Thread Johan Compagner
My bad, i somehow expected to sse .34 (and the date that is reported at the top is quite some time ago) so i was mixed up.

Re: WebEx meeting rescheduled: Introducing Apache Tomcat 8.5

2016-03-30 Thread Johan Compagner
nsent to being recorded, > discuss your concerns with the host or do not join the session. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > -- Johan Compagner Servoy

Re: WebEx meeting rescheduled: Introducing Apache Tomcat 8.5

2016-04-01 Thread Johan Compagner
ww.youtube.com/watch?v=kBJCIpPLWm0 > -- Johan Compagner Servoy

Re: Locky Attack

2016-05-02 Thread Johan Compagner
share similar experience and how you've > dealt with it. > > Thank you, > > Thess > -- Johan Compagner Servoy

Re: [ANN] Apache Tomcat 8.5.4 available

2016-07-14 Thread Johan Compagner
> > > This is the first stable release of the 8.5.x branch. Tomcat 8.x users > should now use 8.5.x releases in preference to 8.0.x releases. > > i thought 8.5.3 was the first stable release ;)

Re: Tomcat 7 (7.0.54) memory consuption is very high(3 times) than Tomcat 6 (6.0.28)

2015-03-24 Thread Johan Compagner
> > > I understand all that. But the basic view, from a sysadmin's point of > view is this : > > Tomcat 6(6.0.28) > Virtual Memory: 6772 MB > Resident Memory: 81 MB > > Tomcat 7(7.0.54) > Virtual Memory: 6778 MB > Resident Memory: 148 MB > > what does that Resident exactly mean here? i guess the t

is there already a case for web-fragment.xml in the war and then unpack=false option to not extract the war?

2015-09-22 Thread Johan Compagner
a-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd"; version="3.0"> servoy_ngclient If we remove that ordering and/or the web-fragement.xml then it starts working again -- Johan Compagner Servoy

Re: is there already a case for web-fragment.xml in the war and then unpack=false option to not extract the war?

2015-09-22 Thread Johan Compagner
just quickly tested it and 8.0.26 so the latest has this problem On 22 September 2015 at 11:37, Mark Thomas wrote: > On 22/09/2015 10:25, Johan Compagner wrote: > > Hi, > > > > when we have a webfragment in our war to enable i think that absolute > > orderin

Re: is there already a case for web-fragment.xml in the war and then unpack=false option to not extract the war?

2015-10-09 Thread Johan Compagner
a case is created: https://bz.apache.org/bugzilla/show_bug.cgi?id=58490 On 22 September 2015 at 11:37, Mark Thomas wrote: > On 22/09/2015 10:25, Johan Compagner wrote: > > Hi, > > > > when we have a webfragment in our war to enable i think that absolute > &g

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Johan Compagner
; issue for Tomcat. As Jboss seems to have been impacted with, is there a way > to verify wether this vulnerability affects Tomcat as well? > > Regards > SJ > -- Johan Compagner Servoy

Re: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Johan Compagner
s during a restart > if you already can do that... then i think there are other problems first ;) -- Johan Compagner Servoy

Re: [PROPOSAL] Tomcat Webinar series

2015-11-13 Thread Johan Compagner
On 12 November 2015 at 23:29, Mark Thomas wrote: > - HTTP/2 and Tomcat 9 i am also interested in something for this, especially how we can configure it server side so that 1 request can send over a whole bunch of files at onces (server pusht) -- Johan Compagner Servoy

Re: Today's Tomcat 9 HTTP/2 webinar is now available on YouTube

2015-11-25 Thread Johan Compagner
- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Johan Compagner Servoy

what could this mean if there are many many http threads in this state?

2017-04-11 Thread Johan Compagner
$Worker.run(JIoEndpoint.java:484) java.lang.Thread.run(Unknown Source) or could the above be a keep alive thing? so the browser keeps the connection alive for a while to reuse? -- Johan Compagner Servoy

parallel deployment and websockets

2017-05-30 Thread Johan Compagner
o suddenly go to ##2 i guess? (we have session info over the websocket url like a jsessionid... but that will not map in the other later version of the context i guess) -- Johan Compagner Servoy

Re: parallel deployment and websockets

2017-05-30 Thread Johan Compagner
> > > But now i have websockets, if i connect to ##1 first and i have the end > > point there > > Then i add a ##2 version of the context > > then i guess a new user that opens a websocket will go to ##2 > > but if the existing user does a refresh in the browser then it will also > > suddenly go to

Re: parallel deployment and websockets

2017-05-31 Thread Johan Compagner
> > > It depends. If the URL in the HTTP UPGRADE request includes the session > ID, and that session ID is still valid in ##1, then the WebSocket > request will be handled by ##1. > > Mark > > would a feature request be accepted for this that there can be a cookie set where that "load balancer" wou

Re: parallel deployment and websockets

2017-05-31 Thread Johan Compagner
On 31 May 2017 at 10:11, Mark Thomas wrote: > > >> > >> > > would a feature request be accepted for this that there can be a cookie > set > > where that "load balancer" would also look at? > > and that cookie always make sure that it goes to the context it started > > from as long as that contex

jre leak prevention

2017-09-01 Thread Johan Compagner
-_org.apache.catalina.core.JreMemoryLeakPreventionListener -- Johan Compagner Servoy

Re: jre leak prevention

2017-09-01 Thread Johan Compagner
On 1 September 2017 at 11:10, Mark Thomas wrote: > On 01/09/17 10:03, Johan Compagner wrote: > > Hi, > > > > i got reports that running jasper reports is suddenly a lot slower when > > deployed.. > > (compared what he uses in developer) > > Running a repo

is tomcat monitoring the keystore file?

2017-10-26 Thread Johan Compagner
just fine But does tomcat monitor that file for changes and will it then use the new one without restarting the whole server? -- Johan Compagner Servoy

Re: Tomcat 7.0: compression="on" or compression="force" running on Java 1.8.0_151 causes content encoding errors in browsers

2017-10-26 Thread Johan Compagner
** >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > Some additional information: > > - No problems with Tomcat 8.5.23 using standard connector with > compression="on". > > - Problem occurs on Tomcat7 with standard connector, ssl connector and > http11nio > > > -- Johan Compagner Servoy

Re: Am I reinventing the wheel to get letsencrypt certs for Tomcat

2017-10-27 Thread Johan Compagner
On 27 October 2017 at 15:05, Don Flinn wrote: > Hi Andre, > > I have looked and it may be my ignorance but I didn't find any that seemed > to fit. I'll look more closely at the available letsencrypt clients. > > With letsencrypt you first have to authenticate, i.e. show you own the > site, by le

Re: Am I reinventing the wheel to get letsencrypt certs for Tomcat

2017-10-30 Thread Johan Compagner
or me. The only thing left then is that "certbot-auto renew" should really give me some feedback that it really did renew Else i constantly generate the p12file for tomcat and start/stop the connector Maybe i can monitor the pem file that certbot will be touching if something did renew somehow. -- Johan Compagner Servoy

Re: Context class loader of worker thread got null (using parallelStream)

2017-11-30 Thread Johan Compagner
an springboot application, all threads has context > class loader: > So please tell me why class loader got null and how to avoid it. > Best regards. > -- Johan Compagner Servoy

Re: Context class loader of worker thread got null (using parallelStream)

2017-11-30 Thread Johan Compagner
> > And I find a strange thing. Only execute thread has context class > loader, worker thread created by parallelStream got null for class loader. > > > > > > > > But when it start as an springboot application, all threads has > context class loader: > > > > > > > > So please tell me why class loader got null and how to avoid it. > > > > Best regards. > > > > > > > > -- > > Johan Compagner > > Servoy > >

Re: SSL connectors

2017-12-06 Thread Johan Compagner
On 1 December 2017 at 16:44, Mark Thomas wrote: > On 01/12/17 14:57, Chris Cheshire wrote: > > I see in the changelog for 8.5.24 > > > > 60762: Add the ability to make changes to the TLS configuration of a > > connector at runtime without having to restart the Connector. (markt) > > > > Does this

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-23 Thread Johan Compagner
Op 22 dec. 2017 21:02 schreef "Eric Robinson" : > > More heap or more native memory? > With the exact same Xms and Xmx settings, I get vastly different resident and virtual image sizes from the Linux ps command. tomcatA: jdk1.8.0_152, res: 694312, virt: 5045084 tomcatB: jdk1.6

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-23 Thread Johan Compagner
Op 23 dec. 2017 09:27 schreef "Johan Compagner" : Op 22 dec. 2017 21:02 schreef "Eric Robinson" : > > More heap or more native memory? > With the exact same Xms and Xmx settings, I get vastly different resident and virtual image sizes from the Linux p

Re: Is tomcat 8.5.24 uses thread pool by default.

2018-02-05 Thread Johan Compagner
instead of current request. > > Thank You, > Shiva Kumar K R > -- Johan Compagner Servoy

Re: Tool to analyze the core/heap dump

2018-02-05 Thread Johan Compagner
Jvisualvm that ships with java8 or yourkit (you can evaluate for some time) Op 5 feb. 2018 19:43 schreef "D, Dwarakesh (External)" < dwarakes...@xerox.com>: > Hello, > > Good Day! > > We have core and heap dump files generated from tomcat in our Solaris > server. Is there any best tool to analyze

Re: tomcat 8.5.28

2018-03-02 Thread Johan Compagner
> > Everything is set up at send to port 443 so I need to reroute 8443 in and > out of 443 > > > > CentOS 7 by the way – > > > > > > === > > Thank You; > > Chris Cheltenham > Technology Services > The School District of Philadelphia > > Work # 215-400-5025 > Cell # 215-301-6571 > -- Johan Compagner Servoy

x-forwarded-X stuff and websockets

2018-04-26 Thread Johan Compagner
n idea why suddenly the http upgrade stuff to websockets (wss protocol) are suddenly seen as 404/NOT_FOUND ? -- Johan Compagner Servoy

Re: x-forwarded-X stuff and websockets

2018-04-26 Thread Johan Compagner
at we need (At least that is what is told to me) And in the end we also need sticky session support and so (what only an http or application load balancer supports) so we have here an very annoying problem that any solution we pick will not support all features that we need... -- Johan Compagner Servoy

Re: Tomcat/9.0.8 - Can't deploy war of 104MB

2018-05-25 Thread Johan Compagner
On Thu, 24 May 2018 at 22:01, Arnold Morein wrote: > There are no errors in catalina.out when this occurs. > > Yes, via the manager UI I can deploy the WAR, but that doesn't help me in > our automated scripts. > > It does appear to be on the Ant side of things though. Does chunking need > to be t

Re: Tomcat/9.0.8 - Can't deploy war of 104MB

2018-05-26 Thread Johan Compagner
Op za 26 mei 2018 01:53 schreef Christopher Schultz < ch...@christopherschultz.net>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Johan, > > On 5/25/18 10:12 AM, Johan Compagner wrote: > > On Thu, 24 May 2018 at 22:01, Arnold Morein > > wr

using the deploy task in the newer versions of Tomcat are failing for the most part..

2018-06-16 Thread Johan Compagner
.. And the latest tomcats behaves differently if the contents is small or big. But both don't work anymore... -- Johan Compagner Servoy

Re: JFileChooser not working

2018-07-03 Thread Johan Compagner
Are you expecting that an application running on tomcat on a server will display the awt/swing components on a client? How is that code downloaded to the client? Webstart? What does the client start or load? But this is not really a tomcat question.. Op di 3 jul. 2018 21:04 schreef James Finnall

  1   2   >