Skip to content

Commit

Permalink
embedded jetty should use port 9090
Browse files Browse the repository at this point in the history
fix dependencies for running Jetty from Eclipse
  • Loading branch information
mojavelinux committed Nov 9, 2009
1 parent c15cdf1 commit 7a25fb3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions wicket/numberguess/pom.xml
Expand Up @@ -89,6 +89,7 @@
<maxIdleTime>3600000</maxIdleTime>
</connector>
</connectors>
<contextPath>/${project.build.finalName}</contextPath>
<overrideWebXml>src/main/webapp/WEB-INF/jetty-additions-to-web.xml</overrideWebXml>
</configuration>
</plugin>
Expand Down Expand Up @@ -135,15 +136,21 @@
<!-- JETTY DEPENDENCIES FOR IN IDE TESTING -->

<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<scope>runtime</scope>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<scope>test</scope>
</dependency>

</dependencies>
Expand Down
Expand Up @@ -11,7 +11,7 @@ public static void main(String[] args) throws Exception
{
Server server = new Server();
SocketConnector connector = new SocketConnector();
connector.setPort(8080);
connector.setPort(9090);
server.setConnectors(new Connector[] { connector });

WebAppContext bb = new WebAppContext();
Expand Down

0 comments on commit 7a25fb3

Please sign in to comment.