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
te:
> 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 and trying
ve 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
ectionHandler.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
e/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
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
irect/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 works.
--
Johan
> 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
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
pressibleMimeType
> > > - 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
>
>
> > Or for now generate 2 build artifacts? (as long as it is really just the
> > package rename)
> >
>
> Hm, no. I just tested locally Tomcat 10.0.1 with Apache Wicket (9.x,
> master). Nothing more.
> Tomcat 10.0.x is not production ready so it is too early to do anything
> about Jakarta APIs
Grigorov wrote:
> Hi Johan,
>
> On Mon, Mar 2, 2020 at 7:32 PM Johan Compagner
> wrote:
>
> > And when you are at it, also mention there in big letters that they
> really
> > should read the release notes... This tomcat will not work with all the
> > major frame
And when you are at it, also mention there in big letters that they really
should read the release notes... This tomcat will not work with all the
major frameworks people use for quite some time...
Op ma 2 mrt. 2020 18:23 schreef Christopher Schultz <
ch...@christopherschultz.net>:
> -BEGIN
t recreating a whole new RDS instance, the next option
> is what I did with the jvm. Makes total sense, right??? :-)
>
> Thanks again.
>
> Jerry
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
--
Johan Compagner
Servoy
On Mon, 28 Oct 2019 at 14:13, Rémy Maucherat wrote:
> On Mon, Oct 28, 2019 at 1:46 PM Johan Compagner
> wrote:
>
> > Hi
> >
> >
> >
> > On Mon, 28 Oct 2019 at 13:15, Mark Thomas wrote:
> >
> > > Hi all,
> > >
> > > A freq
Hi
On Mon, 28 Oct 2019 at 13:15, Mark Thomas wrote:
> Hi all,
>
> A frequent topic of discussion at ApacheCon EU was Jakarta EE 9. For those
> of you who aren't familiar with Jakarta EE the key points are:
>
> - Oracle have donated Java EE to Eclipse
> - Eclipse have released Jakarta EE 8
an that be a 2 way thing?
If i close a tab or i force reload the tab then yes i can get that the
browser can send a close request to the server
But it has to wait for it? I can't believe that many browsers do that?
What if the latency is a few hundred millis?
--
Johan Compagner
Servoy
that is called
As far as i can understand it should not try to send a close message at
that point, because the close did already happen from the client side..
I guess if onclose was called programatically from the server side then it
is logical.
--
Johan Compagner
Servoy
}
>
> @OnOpen
> public void onOpen(Session client, EndpointConfig config)
> {
> //Construct SessionDetails information
> clients.put(client, new SessionDetails(..));
> }
>
> @OnClose
> public void onClose(Session client)
> {
> clients.remove(client);
> }
> }
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
--
Johan Compagner
Servoy
modifyHandshake but what should we do if
we test the host and the origin? but should we then throw an exception?
--
Johan Compagner
Servoy
On Tue, 5 Feb 2019 at 11:34, Jäkel, Guido wrote:
> >On 05/02/2019 08:23, Johan Compagner wrote:
> >> problem is that our customers are doing this.
> >> also they can have 1 tomcat with a few webapps that they want to map
> under
> >> different domains
&
the only way for me is to have some kind of setting (per context)
On Mon, 4 Feb 2019 at 22:40, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Johan,
>
> On 2/4/19 07:09, Johan Compagner wrote:
>
String context = settings.getProperty("context.path",
request.getContextPath());
(get the context from the settings if not there use the default value which
is from the request)
So the problem is mostly because of virtual hosts i guess
where
Proxy / is mapped to AppServer /Webapp1
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
ing the WEB-INF/Tmp
> folder?
>
> Thanks
>
>
>
> Con OpenStar hai Giga, SMS e i minuti che vuoi da 4,99€ al mese, per
> sempre. Cambi gratis quando e come vuoi e in più hai 10€ di credito omaggio
> e 6 mesi di INFINTY! http://tisca.li/myopen
>
>
--
Johan Compagner
Servoy
Do you have a commercial license with Oracle so that you can use oracle's
Java 11?
Because if you just download it from oracle's site, you can't use it at all
in a production system..
But the 2 (open or Oracle) should be quite identical from Java 11 on..
Op ma 26 nov. 2018 19:52 schreef Andi
Op do 22 nov. 2018 22:05 schreef Mark Thomas On 22/11/2018 16:06, Johan Compagner wrote
> >
> > problem is how do we do that in a websocket scenario?
>
> Several options:
> - configure the connector
> - use a filter before the request reached the WebSocket filter
>
n everything is fine it will be
decoded correctly to Hünenberg
problem is how do we do that in a websocket scenario?
the session object of a WebSocket doesn't have anything for that as far as
i can see
the same goes for ServerEndpointConfig.Configurator using
the modifyHandshake method..
--
Johan Compagner
Servoy
>
>
> > 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
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
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
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
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
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
email
> or by telephone (collect), so that the sender's address records can be
> corrected.
>
--
Johan Compagner
Servoy
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
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
>
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
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
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 &
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
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
suddenly the http upgrade stuff to websockets
(wss protocol) are suddenly seen as 404/NOT_FOUND ?
--
Johan Compagner
Servoy
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
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
n
> previous request instead of current request.
>
> Thank You,
> Shiva Kumar K R
>
--
Johan Compagner
Servoy
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
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:
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.
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
> 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
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
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
*
>>
>>
>> -
>> 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
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
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
-_org.apache.catalina.core.JreMemoryLeakPreventionListener
--
Johan Compagner
Servoy
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
>
>
> 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"
>
> > 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
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
$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
>
>
> 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 ;)
; Would appreciate if anyone can share similar experience and how you've
> dealt with it.
>
> Thank you,
>
> Thess
>
--
Johan Compagner
Servoy
>
> https://www.youtube.com/watch?v=kBJCIpPLWm0
>
--
Johan Compagner
Servoy
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
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.
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
95817915=2
>
yes running .32
so thats the same thing we encounter.
good to know it is fixed.
--
Johan Compagner
Servoy
||
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
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
/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
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
s during a restart
>
if you already can do that... then i think there are other problems first ;)
--
Johan Compagner
Servoy
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
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
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
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
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
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
blog http://notizblog.nierbeck.de/
Co-Author of Apache Karaf Cookbook http://bit.ly/1ps9rkS
Software Architect / Project Manager / Scrum Master
--
Johan Compagner
Servoy
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
...@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
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
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
== 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
...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
--
Johan Compagner
Servoy
)
johan
--
Johan Compagner
Servoy
with it.
(tomcat kind of changed the standard, jsr api lib ;) )
johan
--
Johan Compagner
Servoy
)
or is it possible to do something directly on the StandardContext ?
johan
--
Johan Compagner
Servoy
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
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
, 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
);
}
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
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
(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
it out.
https://github.com/iurisman/FERMI
Apache 2.0 license.
Happy coding.
Igor.
--
Johan Compagner
Servoy
(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
+Websockets+configuration+list:org%2Eapache%2Etomcat%2Euser/
Regards
Violeta
--
Johan Compagner
Servoy
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
1 - 100 of 127 matches
Mail list logo