thread « jetty « Java Enterprise Q&A





1. How to reduce the Number of threads running at instance in jetty server?    stackoverflow.com

i would like to reduce the live threads on server to reduce the bandwidth consumption for data(data pull while application launching time) transfer from my application to clients in my application. i ...

2. Jetty: Stopping programatically causes "1 threads could not be stopped"    stackoverflow.com

I have an embedded Jetty 6.1.26 instance. I want to shut it down by HTTP GET sent to /shutdown. So I created a JettyShutdownServlet:

@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

 ...

3. How to get Jetty thread dump?    stackoverflow.com

I have a Ubuntu Server 10.10 64-bit running a web application on Jetty 6.1.24-6 on Sun's JVM, both installed from standard Ubuntu repositories. I'm trying to track down a problem with this ...

4. SoapUI jetty thread still hanging after MockService stopped [SoapUI API]    stackoverflow.com

I'm using SoapUI 4.0 and i'm starting my mockservices via SoapUI API :

public static void startMockServices(String soapuiProject) throws Exception
{
    WsdlProject proj = new WsdlProject(soapuiProject);
    List<MockService> ...

5. Jetty service Thread crashes and uses 100% CPU    stackoverflow.com

I have a strange problem with Jetty. After a while, serving requests, the CPU usage goes to 100%. I have found the thread responsible, and here are a few samples of ...

6. Jetty as a library: how to handle multiple threads?    stackoverflow.com

I am using Jetty 7.0.2 as a library, following the HelloWorld example of http://wiki.eclipse.org/Jetty/Tutorial/Jetty_HelloWorld . My goal is to embed a simple web application in my program. It parses ...

7. Limiting the number of threads Compojure spawns    stackoverflow.com

I'm running compojure on Heroku. They have a limit of a 100 threads per process. So when I go over that limit, I get: java.lang.OutOfMemoryError: unable to create new native thread. Compojure ...

8. Basic - Jetty thread timeout(setMaxInactiveInterval) not working?    coderanch.com

I have this very basic program. I am able to successfully set MaxInactiveInterval to whatever seconds i want. But my jetty thread never times out and client keeps waiting for server to respond. Any ideas ?? Jetty Version: 6.1.22 OutPut: Previous MaxInactiveInterval: -1 Modified MaxInactiveInterval: 41 import org.mortbay.*; import com.sun.jersey.spi.container.servlet.ServletContainer; import java.util.*; import javax.servlet.ServletContext; public class JettyLaunch { private static Server ...