Re: [jetty-users] jetty native memory leak

2014-06-24 Thread Jan Bartel
Dhiraj, That thread dump just shows an idle thread. In past versions of jetty, there were issues with jdk epoll bugs, but they manifested themselves as cpu spin. So if you're not seeing undue cpu activity then this is not a problem. Jan On 23 June 2014 14:57, dhiraj prajapati

Re: [jetty-users] jetty native memory leak

2014-06-24 Thread dhiraj prajapati
Hi, But the application is using a lot of native memory and it ends up using a lot of swap space after which I am forced to restart the application. Regards, Dhiraj On Tue, Jun 24, 2014 at 1:20 PM, Jan Bartel j...@intalio.com wrote: Dhiraj, That thread dump just shows an idle thread. In

Re: [jetty-users] jetty native memory leak

2014-06-24 Thread Simone Bordet
Hi, On Tue, Jun 24, 2014 at 11:29 AM, dhiraj prajapati dhirajp...@gmail.com wrote: I took 3 thread dumps after 5 minute gaps. The number of those threads was constant. And all were in RUNNABLE state. Please note that there was very very low traffic on the application. You don't say what tool

Re: [jetty-users] jetty native memory leak

2014-06-24 Thread Simone Bordet
Hi, On Tue, Jun 24, 2014 at 12:52 PM, dhiraj prajapati dhirajp...@gmail.com wrote: Hi, I used jstack to take the thread dumps. PFA the thread dumps taken at intervals of 5 minutes.(order is td2014062301, then td2014062302 and then td2014062303 ) JDK version is jdk1.7.0_45 Jetty version is

[jetty-users] Jetty 8.1.14 Regenerating JSPs after server restart

2014-06-24 Thread Andy Stoneberg
Greetings, I am noticing an issue where JSP pages are getting completely regenerated following a server restart (I am using an Eclipse Plug-in Project - so its an Equinox/OSGi application). I have found this page that lists various configuration properties:

Re: [jetty-users] Jetty 8.1.14 Regenerating JSPs after server restart

2014-06-24 Thread Michael Dykman
You should expect JSPs to recompile after a restart as there is no permanent cache for the compiled class files. At runtime, they are compiled and deployed and when the server shuts down, the temporary space they have been compiled to vanishes. If your unmodified JSPs are recompiling between

[jetty-users] Jetty Handlers

2014-06-24 Thread Steve Souza
I am the creator of jamonapi.com which is an open source java monitoring tool. In Jetty 6.15 I provided a jetty Handler that allowed users to easily track page performance, exceptions, bytes sent, http status codes and more. It doesn't work in later versions of jetty. Here is the code for the

Re: [jetty-users] Jetty 8.1.14 Regenerating JSPs after server restart

2014-06-24 Thread Jan Bartel
Andy, Here's the jetty-8 doco on tmp directories (where the jsps are compiled): http://wiki.eclipse.org/Jetty/Reference/Temporary_Directories Jan On 24 June 2014 21:08, Andy Stoneberg stone...@gmail.com wrote: Is there any way to preserve the compiled files between restarts of the server?

Re: [jetty-users] Jetty Handlers

2014-06-24 Thread Joakim Erdfelt
With Jetty 9.x We have our own connector statistics mechanism btw. https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/ConnectorStatistics.java Also, the Handler / HandlerWrapper expose the raw Request object in its handle() method.

[jetty-users] Using override-web.xml

2014-06-24 Thread Eric Rizzo
I'm trying to use the override-web.xml feature (https://www.eclipse.org/jetty/documentation/current/override-web-xml.html) to override some of the web.xml configuration in an app. There are two parts of web.xml that I need to override, thetransport-guarantee and form-login-page . So my