Update to tomcat 7

git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@442 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
mayhew64@gmail.com 2012-04-20 18:28:54 +00:00
parent 94d64a20b3
commit fed456039e
2 changed files with 9 additions and 9 deletions

View File

@ -89,7 +89,7 @@ Option 1: Run the project on Tomcat within Eclipse
--------------------------------------------------- ---------------------------------------------------
Install a local Tomcat server Install a local Tomcat server
1. Download and unzip Apache Tomcat from http://tomcat.apache.org. Note that Tomcat 7.0 is currently not supported in WebGoat. 1. Download and unzip Apache Tomcat from http://tomcat.apache.org.
2. Adapt the conf/tomcat-users.xml file of your Tomcat server: 2. Adapt the conf/tomcat-users.xml file of your Tomcat server:
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<tomcat-users> <tomcat-users>
@ -102,7 +102,7 @@ Install a local Tomcat server
<user password="tomcat" roles="tomcat" username="tomcat"/> <user password="tomcat" roles="tomcat" username="tomcat"/>
<user password="guest" roles="webgoat_user" username="guest"/> <user password="guest" roles="webgoat_user" username="guest"/>
</tomcat-users> </tomcat-users>
3. Open Eclipse -> File -> New -> Other -> Server -> Apache 3. Open Eclipse (WTP version) -> File -> New -> Other -> Server -> Apache
4. Choose your Tomcat version 4. Choose your Tomcat version
-> Click next "browse" to your tomcat install. -> Click next "browse" to your tomcat install.
-> Make sure the "JRE" dropdown is pointing to your jdk. If it isn't listed, press -> Make sure the "JRE" dropdown is pointing to your jdk. If it isn't listed, press

14
pom.xml
View File

@ -28,7 +28,7 @@
<plugin> <plugin>
<artifactId>maven-eclipse-plugin</artifactId> <artifactId>maven-eclipse-plugin</artifactId>
<configuration> <configuration>
<wtpversion>1.5</wtpversion> <wtpversion>2.0</wtpversion>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@ -114,7 +114,7 @@
<dependency> <dependency>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> <artifactId>log4j</artifactId>
<version>1.2.8</version> <version>1.2.15</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>wsdl4j</groupId> <groupId>wsdl4j</groupId>
@ -148,11 +148,11 @@
<version>2.3</version> <version>2.3</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>tomcat</groupId> <groupId>org.apache.tomcat</groupId>
<artifactId>catalina</artifactId> <artifactId>tomcat-catalina</artifactId>
<version>4.1.9</version> <version>7.0.27</version>
<!--scope>provided</scope--> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>