Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Johan Compagner
/ JarScanner scanAllDirectories=true / /Context -- Johan Compagner Servoy

Re: Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Johan Compagner
Thomas ma...@apache.org 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 How can i now setup a debug environment

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
=org.apache.catalina.webresources.DirResourceSet webAppMount=/WEB-INF/lib/ then it can't find a class in a jar that is in dir1 johan On 14 October 2013 18:10, Mark Thomas ma...@apache.org wrote: On 14/10/2013 16:26, Johan Compagner wrote: That seems to be removed from the Tomcat8 build

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 dmik...@gopivotal.com wrote: On Oct 14, 2013, at 5:20 PM, Johan Compagner jcompag

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 understand what

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 an

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 modifyHandshake()

Re: [ANN] Apache Tomcat 7.0.47 released

2013-10-27 Thread Johan Compagner
the 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 nick...@gmail.com wrote: On Sun, Oct 27, 2013 at 4:46 PM, Neil Martin nsm...@gmail.com 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

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
problem, reserved words 1 ,2 ,3 errors in the browser) So i want to see if i just don't use frames what the result is then Johan On 16 November 2013 15:09, Johan Compagner jcompag...@servoy.com wrote: Hi i read this: http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html so what i do

Re: setting the text or binary buffer size for websockets

2013-11-17 Thread Johan Compagner
On 17 November 2013 12:55, Mark Thomas ma...@apache.org 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 the browser) So i

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

Re: setting the text or binary buffer size for websockets

2013-11-19 Thread Johan Compagner
On 19 November 2013 03:55, Igor Urisman igor.uris...@gmail.com 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: ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/javaee;

Re: setting the text or binary buffer size for websockets

2013-11-19 Thread Johan Compagner
display a frame of 8K and then continuation frame (Opcode 0) which is the rest. am i expecting the wrong thing here? I 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 jcompag...@servoy.com wrote

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 buffers are all

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 can

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

2013-11-21 Thread Johan Compagner
.. 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
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
On 21 November 2013 12:21, Niki Dokovski nick...@gmail.com wrote: On Thu, Nov 21, 2013 at 1:11 PM, Johan Compagner jcompag...@servoy.com wrote: Hi, https://javaee-spec.java.net/nonav/javadocs/javax/websocket/OnMessage.html if i read that, then if i have onmessage

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 =

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 support is. The

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 know

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Johan Compagner
the page? Thanks! -- Johan Compagner Servoy

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Johan Compagner
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, there

Re: Accessing ServletContext from WebSocket endpoint

2013-12-06 Thread Johan Compagner
+Websockets+configuration+list:org%2Eapache%2Etomcat%2Euser/ Regards Violeta -- Johan Compagner Servoy

Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Johan Compagner
(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: Java to JavaScript RMI framework available.

2014-01-02 Thread Johan Compagner
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
(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
); } 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 ma...@apache.org 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.cgi?id=56016 http

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. Also, a special

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

2014-01-24 Thread Johan Compagner
, 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
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
== 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 ma...@apache.org wrote: On 22/01/2014 11:56, Johan Compagner wrote: this is because tomcat

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

2014-02-27 Thread Johan Compagner
...@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
) 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
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
) or is it possible to do something directly on the StandardContext ? johan -- 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 ma...@apache.org 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
that is 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
...@apache.org 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/org.apache.tomcat so that we can start it from our eclipse application and also dynamically add

Re: Embedded Tomcat

2014-10-15 Thread Johan Compagner
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
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 jcompag...@servoy.com: maybe you are interested in this one: https://github.com/Servoy/servoy-eclipse-tomcat thats also a osgi

Re: How to access Sessions outside of class

2014-10-28 Thread Johan Compagner
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: 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 total heap the

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: java deserialization vulnerability for Tomcat 7/8

2015-11-11 Thread Johan Compagner
n vulnerability > 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: [PROPOSAL] Tomcat Webinar series

2015-11-13 Thread Johan Compagner
On 12 November 2015 at 23:29, Mark Thomas <ma...@apache.org> 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: 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 <ma...@apache.org> wrote: > On 22/09/2015 10:25, Johan Compagner wrote: > > Hi, > > > > when we have a webfragment in our war to enable i think that a

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
tance; 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 <ma...@apache.org> wrote: > On 22/09/2015 10:25, Johan Compagner wrote: > > Hi, > > > > when we have a webfragment in our war to enable i think that absol

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

2015-11-25 Thread Johan Compagner
/UCpqpJ0-G1lYfUBQ6_36Au_g > > Mark > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- 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

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

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

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: WebEx meeting rescheduled: Introducing Apache Tomcat 8.5

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

Re: WebEx meeting rescheduled: Introducing Apache Tomcat 8.5

2016-03-30 Thread Johan Compagner
you do not consent 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: [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: [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 <ma...@apache.org> 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: Locky Attack

2016-05-02 Thread Johan Compagner
; Would appreciate if anyone can 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 ;)

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

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

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-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"

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

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 <ma...@apache.org> 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 develope

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

2017-11-30 Thread Johan Compagner
> 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: Context class loader of worker thread got null (using parallelStream)

2017-11-30 Thread Johan Compagner
he beginning. > > > > On 30 Nov 2017, at 19:23, Johan Compagner <jcompag...@servoy.com> wrote: > > > > I think tomcat has nothing todo with this. > > > > This is the Threadpool that parallelStream() uses. So this is a problem > of the streaming api of

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.

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

2017-10-30 Thread Johan Compagner
ng 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

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/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

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 &

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

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

x-forwarded-X stuff and websockets

2018-04-26 Thread Johan Compagner
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
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 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

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" <jcompag...@servoy.com>: Op 22 dec. 2017 21:02 schreef "Eric Robinson" <eric.robin...@psmnv.com>: > > More heap or more native memory? > With the exact same Xms and Xmx settings, I get vastly differ

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:

Re: Is tomcat 8.5.24 uses thread pool by default.

2018-02-05 Thread Johan Compagner
n > previous request 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

Re: websocket endpoints not released

2018-09-05 Thread Johan Compagner
an one (at least with my > application running on Tomcat) > > -Original Message- > From: Johan Compagner [mailto:jcompag...@servoy.com] > Sent: Wednesday, September 05, 2018 3:42 AM > To: Tomcat Users List > Subject: Re: websocket endpoints not released > > - - - exter

Re: websocket endpoints not released

2018-09-05 Thread Johan Compagner
If a user refreshes the browser then the current ws is always closed and a new one is opened Op za 1 sep. 2018 02:38 schreef Alex O'Ree : > I ran into a strange issue today. Running tomcat 8.5 with a websocket > endpoint + some javascript to wire up a browser to the socket. All works as >

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

Re: tomcat 8.5.28

2018-03-02 Thread Johan Compagner
3? > > There are several options. > > 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

Re: [OT] Oracle Java 11 discussion?

2018-10-15 Thread Johan Compagner
Op ma 15 okt. 2018 20:37 schreef Mark Thomas : > > > I'd be more concerned that Oracle are starting to charge for production > usage. That alone would be enough for me to switch to OpenJDK. > Isnt that already the case? You can't download any installer of java 11 from Oracle that can be used in

Re: [OT] Oracle Java 11 discussion?

2018-10-17 Thread Johan Compagner
Op wo 17 okt. 2018 18:29 schreef Berneburg, Cris J. - US < cberneb...@caci.com>: > > > RAMBLE: However, if I try to look at it from a point of view of a large > bureaucracy, of which I am largely ignorant, I would not be surprised if > there is a policy against dev kits and IDE's on production

Re: [OT] Oracle Java 11 discussion?

2018-10-18 Thread Johan Compagner
> > > > There is no jre at all any more also from openjdk > > There is little difference between a JRE and a JDK. One just comes > with a compiler. > not really, until java 10 we had also desktop integration like java -jar assignments and jnlp association for starting a webstart application so

Re: Error Regarding RFC 7230 and RC 3986

2018-10-18 Thread Johan Compagner
quest line. > > > > > 2) Apart from refactoring code, is there any recommended corrective > > action? > > > > The correct fix is to ensure that the user agents are sending > > specification compliant requests. > > > > The work-around is to use relaxedPathChars and/or relaxedQueryChars on > > the Connector. > > > > Mark > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > -- Johan Compagner Servoy

Re: Error Regarding RFC 7230 and RC 3986

2018-10-18 Thread Johan Compagner
On Thu, 18 Oct 2018 at 13:38, Mark Thomas wrote: > On 18/10/18 12:17, Johan Compagner wrote: > > how is the browser to blame for " > > defaultMessageType=true=en_US=[key:label.edit]" > > > > that url is not generated by a browser but by some software th

Re: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Johan Compagner
email > or by telephone (collect), so that the sender's address records can be > corrected. > -- Johan Compagner Servoy

Re: Java 11 support in Apache Tomcat 9.0

2018-09-26 Thread Johan Compagner
he install > (a.k.a. JAVA_HOME) yourself. > > Mark > > > > On 26/09/2018 08:01, Shailendra Kumar Verma wrote: > > Johan, > > > > That's what I am saying. All we have now, jvm.dll that comes under > jdk-11\bin\server\jvm.dll. No JRE is released from Jav

Re: insufficient memory for the Java Runtime Environment to continue

2018-12-22 Thread Johan Compagner
If you use large heaps you should use G1 garbage collector And if you use that then I would set the min and Max to the same values *-server -Xms13G -Xmx13G **-XX:+UseG1GC* *To fully initialize the memory at once (g1 will figure it into compartments)* Op za 22 dec. 2018 13:35 schreef Dhaval

  1   2   >