Commits

Sam Adams  committed f11d781

Increased thread count

  • Participants
  • Parent commits 0aa1791

Comments (0)

Files changed (3)

             <groupId>javax.servlet</groupId>
             <artifactId>servlet-api</artifactId>
             <version>2.5</version>
-            <!--<scope>provided</scope>-->
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>com.google.inject</groupId>
 #!/bin/bash
-mvn jetty:run -Dchempound.workspace=/home/sea36/quixote-repo/workspace -Dchempound.uri=http://daedal.ch.cam.ac.uk:8080/
+mvn compile -Djetty.port=8181 jetty:run -Dchempound.workspace=/home/sea36/quixote-repo/workspace -Dchempound.uri=http://daedal.ch.cam.ac.uk:8181/

File src/main/java/uk/ac/cam/ch/wwmm/quixote/QuixoteWebappLauncher.java

 public class QuixoteWebappLauncher {
 
     public static void main(String[] args) throws Exception {
-        System.setProperty("chempound.workspace", "e:/quixote/workspace");
-        System.setProperty("chempound.uri", "http://helios:8181/");
+//        System.setProperty("chempound.workspace", "e:/quixote/workspace");
+//        System.setProperty("chempound.uri", "http://helios:8181/");
+
+        System.setProperty("chempound.workspace", "/home/sea36/quixote-repo/workspace-2");
+        System.setProperty("chempound.uri", "http://daedal.ch.cam.ac.uk:8181/");
 
         Injector injector = Guice.createInjector(
                 getConfigurationModule(),
         );
 
         Component component = injector.getInstance(Component.class);
-        component.getContext().getParameters().add("maxThreads", "64");
+        component.getContext().getParameters().add("maxThreads", "256");
         component.getServers().add(Protocol.HTTP, 8181);
         Application application = injector.getInstance(Application.class);
         component.getDefaultHost().attach(application);
 
     }
 
-}
+}