This commit is contained in:
Calvin
2012-04-10 16:48:58 +08:00
parent f798b2cdaa
commit d4db592262
11 changed files with 8 additions and 89 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
+1 -1
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
+1 -1
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>springside-parent</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>
+2 -2
View File
@@ -2,9 +2,9 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<name>Springside</name>
<name>Springside :: Project</name>
<packaging>pom</packaging>
<properties>
+1 -1
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springside</groupId>
<artifactId>springside-project</artifactId>
<artifactId>springside-parent</artifactId>
<version>4.0.0.RELEASE-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
-4
View File
@@ -1,4 +0,0 @@
Sample of jetty configuration file.
1.jetty.xml:
a.Change auto-scan to explicit define an web application directory or war file.
-57
View File
@@ -1,57 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->
<Set name="ThreadPool">
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="minThreads">10</Set>
<Set name="maxThreads">200</Set>
<Set name="detailedDump">false</Set>
</New>
</Set>
<!-- =========================================================== -->
<!-- Set connectors -->
<!-- =========================================================== -->
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Set name="host">
<Property name="jetty.host" />
</Set>
<Set name="port">
<Property name="jetty.port" default="8080" />
</Set>
<Set name="maxIdleTime">30000</Set>
<Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set name="lowResourcesConnections">20000</Set>
<Set name="lowResourcesMaxIdleTime">5000</Set>
</New>
</Arg>
</Call>
<!-- =========================================================== -->
<!-- Configure the Webapp Context -->
<!-- =========================================================== -->
<Set name="handler">
<New class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">project-context-path</Set>
<Set name="war">path-to-project-war-file-or-webapp-dir</Set>
</New>
</Set>
<!-- =========================================================== -->
<!-- Extra options -->
<!-- =========================================================== -->
<Set name="stopAtShutdown">true</Set>
<Set name="sendServerVersion">true</Set>
<Set name="sendDateHeader">true</Set>
<Set name="gracefulShutdown">1000</Set>
<Set name="dumpAfterStart">false</Set>
<Set name="dumpBeforeStop">false</Set>
</Configure>
@@ -1,3 +0,0 @@
@echo off
java -jar selenium-server-standalone-2.20.0.jar -port 4444
pause