summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/launcher
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2007-10-16 18:29:34 +0000
committerJani Laakso <jani.laakso@itmill.com>2007-10-16 18:29:34 +0000
commita1d73094a9c44be20f91153fd42e0e9de64f3067 (patch)
tree21cb77ec0e254b363efdf82fc5daab1e7522111f /src/com/itmill/toolkit/launcher
parent02b7282ce9748766a3f174486c7a2a805b5f5f8b (diff)
downloadvaadin-framework-a1d73094a9c44be20f91153fd42e0e9de64f3067.tar.gz
vaadin-framework-a1d73094a9c44be20f91153fd42e0e9de64f3067.zip
JDK 1.4 FIX
svn changeset:2537/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/launcher')
-rw-r--r--src/com/itmill/toolkit/launcher/ITMillStandardLaunch.java43
1 files changed, 24 insertions, 19 deletions
diff --git a/src/com/itmill/toolkit/launcher/ITMillStandardLaunch.java b/src/com/itmill/toolkit/launcher/ITMillStandardLaunch.java
index f53443fcc6..41e75ca918 100644
--- a/src/com/itmill/toolkit/launcher/ITMillStandardLaunch.java
+++ b/src/com/itmill/toolkit/launcher/ITMillStandardLaunch.java
@@ -65,27 +65,32 @@ public class ITMillStandardLaunch {
Server server = new Server();
- String threadPoolName = System.getProperty("jetty.threadpool.name",
- "Jetty thread");
- int maxIdleTimeMs = Integer.getInteger(
- "jetty.threadpool.maxIdleTimeMs", 60000);
- int maxThreads = Integer.getInteger("jetty.threadpool.maxThreads",
- 100);
- int minThreads = Integer.getInteger("jetty.threadpool.minThreads",
- 1);
- int lowThreads = Integer.getInteger(
- "jetty.threadpool.maxIdleTimeMs", 25);
- BoundedThreadPool threadPool = new BoundedThreadPool();
- threadPool.setName(threadPoolName);
- threadPool.setMaxIdleTimeMs(maxIdleTimeMs);
- threadPool.setMaxThreads(maxThreads);
- threadPool.setMinThreads(minThreads);
- threadPool.setLowThreads(lowThreads);
- server.setThreadPool(threadPool);
+ // String threadPoolName =
+ // System.getProperty("jetty.threadpool.name",
+ // "Jetty thread");
+ // int maxIdleTimeMs = Integer.getInteger(
+ // "jetty.threadpool.maxIdleTimeMs", 60000);
+ // int maxThreads =
+ // Integer.getInteger("jetty.threadpool.maxThreads",
+ // 100);
+ // int minThreads =
+ // Integer.getInteger("jetty.threadpool.minThreads",
+ // 1);
+ // int lowThreads = Integer.getInteger(
+ // "jetty.threadpool.maxIdleTimeMs", 25);
+ // BoundedThreadPool threadPool = new BoundedThreadPool();
+ // threadPool.setName(threadPoolName);
+ // threadPool.setMaxIdleTimeMs(maxIdleTimeMs);
+ // threadPool.setMaxThreads(maxThreads);
+ // threadPool.setMinThreads(minThreads);
+ // threadPool.setLowThreads(lowThreads);
+ // server.setThreadPool(threadPool);
Connector connector = new SelectChannelConnector();
- connector.setPort(Integer.valueOf(serverArgs.get("httpPort")
- .toString()));
+ // FIXME httpPort hardcoded to 8080
+ // connector.setPort(Integer.valueOf(serverArgs.get("httpPort")
+ // .toString()));
+ connector.setPort(8080);
server.setConnectors(new Connector[] { connector });
WebAppContext webappcontext = new WebAppContext();