Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Mladen Adamović
Try simply to increase -Xss parameter in setenv.sh or setenv.bat, see if it works, since there is no infinite loop (it seems) On Mon, Nov 25, 2019 at 2:15 PM Juri Berlanda wrote: > Hi all, > > I just tried to deploy my WebApplication (OpenWebBeans, MyFaces) to > Tomcat 9.0.29. While

Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Juri, On 11/25/19 14:17, Juri Berlanda wrote: > Hi all, > > I post my Stacktrace again, as I mistakenly previously only sent it > to Rémy Maucherat. > > I'll try to make it as short as possible: > > 25-Nov-2019 14:01:34.842 SEVERE

Re: [E] Re: Official documentation for running an embedded Tomcat server

2019-11-25 Thread Bauer, Margaret M (Peggy)
Ease of deployment and build in the AWS world. On Mon, Nov 25, 2019 at 3:56 PM Behrang Saeedzadeh wrote: > For an example use case, see Spring Boot. It can use an embedded Tomcat and > build an executable Uber Jar. Then you can start your Web app by running > java -jar app.jar. > > On Tue, 26

Re: Official documentation for running an embedded Tomcat server

2019-11-25 Thread Behrang Saeedzadeh
For an example use case, see Spring Boot. It can use an embedded Tomcat and build an executable Uber Jar. Then you can start your Web app by running java -jar app.jar. On Tue, 26 Nov. 2019, 2:29 am Mladen Adamović, wrote: > I wonder why somebody would want to run "embedded Tomcat" and what it >

Re: CPU high usage, the reason org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run

2019-11-25 Thread Mladen Adamović
On Mon, Nov 25, 2019 at 5:57 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > > We certainly want to be able to serve 1 hits per second (!), > > while some connections might be stalled. > > What might stall a connection? The network, or the application (or > database, etc.)? >

Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Juri Berlanda
Hi all, I post my Stacktrace again, as I mistakenly previously only sent it to Rémy Maucherat. I'll try to make it as short as possible: 25-Nov-2019 14:01:34.842 SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Faces Servlet]

Re: CPU high usage, the reason org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run

2019-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mladen, On 11/25/19 11:28, Mladen Adamović wrote: > On Mon, Nov 25, 2019 at 4:54 PM Christopher Schultz > > wrote: > > 50k connections is quite a lot. Is this a physical or virtual > server? Do you expect to

Re: CPU high usage, the reason org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run

2019-11-25 Thread Mladen Adamović
Hi Christopher, the answers is inline. On Mon, Nov 25, 2019 at 4:54 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > 50k connections is quite a lot. Is this a physical or virtual server? > Do you expect to have lots of long-lived connections that are mostly > idle (e.g.

Re: [OT] Official documentation for running an embedded Tomcat server

2019-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mladen, On 11/25/19 10:28, Mladen Adamović wrote: > I wonder why somebody would want to run "embedded Tomcat" and what > it actually means? It means that the application starts the servlet container, not the other way around. > I'm working

Re: Not running on Jetty, JSR-356 support unavailable

2019-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Naveen, On 11/25/19 04:21, Naveen Kumar wrote: > I am trying to upgrade ActiveMQ jar to its latest version. It > requires me to upgrade Jetty to 9.4 version. I have current setup > as Tomcat 9 + ActiveMQ 5.12 + jetty-all-8.1. I want to upgrade it >

Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Rémy Maucherat
On Mon, Nov 25, 2019 at 3:03 PM Juri Berlanda wrote: > Hi all, > > ok, I'll try to make it as short as possible: > > 25-Nov-2019 14:01:34.842 SEVERE [http-nio-8080-exec-4] > org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() > for servlet [Faces Servlet] in context with path

Re: CPU high usage, the reason org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run

2019-11-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mladen, On 11/24/19 04:57, Mladen Adamović wrote: > I couldn't find the explanation of this in other threads, I've > tried to search the archive. > > I have a high load average on a server and the reason for that is > kernel function futex_wait

Re: Official documentation for running an embedded Tomcat server

2019-11-25 Thread Mladen Adamović
I wonder why somebody would want to run "embedded Tomcat" and what it actually means? I'm working professionally in software engineering since 2003 and I'm puzzled. >From looking into that article, it seems that Java app starts Tomcat, why somebody would want that? On Sun, Nov 24, 2019 at 12:27

Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Rémy Maucherat
On Mon, Nov 25, 2019 at 2:15 PM Juri Berlanda wrote: > Hi all, > > I just tried to deploy my WebApplication (OpenWebBeans, MyFaces) to > Tomcat 9.0.29. While everything works fine in 9.0.27, on 9.0.29 as soon > as I access any page I get: > > 25-Nov-2019 14:01:34.842 SEVERE

Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Juri Berlanda
Hi all, I just tried to deploy my WebApplication (OpenWebBeans, MyFaces) to Tomcat 9.0.29. While everything works fine in 9.0.27, on 9.0.29 as soon as I access any page I get: 25-Nov-2019 14:01:34.842 SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke

Not running on Jetty, JSR-356 support unavailable

2019-11-25 Thread Naveen Kumar
I am trying to upgrade ActiveMQ jar to its latest version. It requires me to upgrade Jetty to 9.4 version. I have current setup as Tomcat 9 + ActiveMQ 5.12 + jetty-all-8.1. I want to upgrade it as Tomcat 9 + ActiveMQ 5.15 + jetty-all-9.4. After doing the changes when I try to start tomcat, it