Commit Graph

774 Commits

Author SHA1 Message Date
Hugues Malphettes 2b09905deb fix trivial mistake that was breaking the hot-redeploy of contexts.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1221 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-28 05:59:21 +00:00
Jan Bartel 163b50e119 Bug 300733 - Jars from lib/ext are not visible for my web application
Add section "ext" (as a dynamic section).


git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1220 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-28 03:18:29 +00:00
Jan Bartel 6391cbcec7 JETTY-776
Oops forgot to remove test code.


git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1219 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-28 00:56:18 +00:00
Jan Bartel c378bc797b JETTY-776
Remove LightLoad test as this is not applicable for the JDBC solution. It only works with terracotta because terracotta takes out a cluster-wide lock when the session is entered on any node. This means you can bounce the session around nodes. This does not work with the JDBC session implementation as it is not feasible to do a cluster-wide lock on particular row on the sessions table.

Add a method on JDBCSessionManager that would allow a subclass to send a message to all other nodes whenever the session is being written to the database which would cause the other nodes to invalidate that session in their local caches and re-read from the database.


git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1218 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-28 00:54:40 +00:00
Greg Wilkins 4d65767692 300933 - AbstractConnector uses concurrent objects for stats
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1217 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-27 09:20:05 +00:00
Joakim Erdfelt 1438977c5c Upgrading to slf4j-api 1.5.10 to match CQ, jetty-osgi-logback, and jetty-logback requirements
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1216 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-26 20:56:29 +00:00
Hugues Malphettes 2e5bc754e4 bug #299733 tweak to support JSF taglibs. ability to register additional tag-libs directly in jetty
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1215 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-26 09:38:55 +00:00
Jan Bartel 007638800b JETTY-776
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1214 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-26 01:38:46 +00:00
Jan Bartel 28453e9c24 Add new test-sessions module to do testing of various session implementations. The test-session-common module was created based on the terracotta session test suite checked into jetty-codehaus. I've genericized these tests so that they may be applied to the various session clustering solutions.
Changes to JDBCSessionIdManager with this checkin were to increase the length of the varchar storing the session id from 60 to 120 char, and also to reduce the amount of time we held a lock over the session id map.

Changes to the JDBCSessionManager with this checkin were to decrease the amount of time we held locks, and when retrieving a session from the database, checking if the session had expired before loading it.

Changes to the AbstractSessionManager with this checkin were to ensure that the SessionListeners were only called if the session was removed (we were calling them anyway).


git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1213 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-26 01:37:03 +00:00
Hugues Malphettes c706695eca add logback integration
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1212 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-25 04:35:24 +00:00
Greg Wilkins 0b7850d179 removed sun tests. dump to std err
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1211 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-24 23:46:49 +00:00
Joakim Erdfelt 4a35f6c109 Fixing for build on Windows 7, timeout occurs with values under 3000 on modern hardware
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1210 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-21 18:41:35 +00:00
Joakim Erdfelt d7a8e421e1 Fixing testing on windows 7, test temp and work directory were being reused, which windows can't unlock between tests, such that the use of delete of the directory (to clean up between tests) cannot occur
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1209 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-21 18:41:30 +00:00
Joakim Erdfelt 96044a1d2c Minor change to support Windows.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1208 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-21 18:41:25 +00:00
Simone Bordet 23568f58af Fix for #300178 - HttpClients opens too many connections that are immediately closed.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1207 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-20 12:59:23 +00:00
Greg Wilkins d9204dcd46 send JSP text as html
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1206 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-18 22:32:31 +00:00
Greg Wilkins 5267a69aa3 default to html welcome before jsp
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1205 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-18 22:31:58 +00:00
Greg Wilkins 59ed68cdde format
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1204 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-18 22:18:15 +00:00
Greg Wilkins 6cdd30390a format
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1203 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-18 22:06:52 +00:00
Hugues Malphettes 0fe25eb3d7 reverted the wrong change to WebAppProvider. it was meant to be a change for OSGiAppProvider in fact.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1202 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-18 03:21:33 +00:00
Hugues Malphettes fdaa364ee4 cleaned the workaround now that bug 294799 is fixed. added to OSGiAppProvieder the same parameters that WebAppProvider for configuration of WebAppContext
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1201 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-18 03:13:27 +00:00
Hugues Malphettes 8cd60cd604 refactor AbstractAppProvider into ScanningAppProvider. support new deployment API for jetty OSGi. added some ways to extend the behavior of App and ScanningAppProvider
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1200 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-16 02:09:35 +00:00
Greg Wilkins d37179ed70 improved test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1198 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-15 03:40:19 +00:00
Hugues Malphettes efdff3ecfe fix a trivial bug in the initialization of the jetty server.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1197 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-14 06:17:36 +00:00
Greg Wilkins 8b59dcf1bf 299455 Enum support in JSONPojoConvertor
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1195 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-14 01:42:38 +00:00
Greg Wilkins 3987ed20aa 299455 Enum support in JSONPojoConvertor
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1194 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-13 03:27:17 +00:00
Greg Wilkins eaab420027 298667 deployer cleanups
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1193 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-12 00:44:49 +00:00
Joakim Erdfelt 8dd19d2457 Removing hidden shell script
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1190 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-08 20:38:11 +00:00
Joakim Erdfelt 6597ef2862 Fixes for test failures
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1188 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 23:52:11 +00:00
Joakim Erdfelt 1090bd1ae4 Tweaking basedir
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1187 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 22:24:32 +00:00
Joakim Erdfelt 830d8691f6 Tweaking basedir usage to be by File.toURI() not by File.getAbsolutePath(), which causes problems with paths with spaces
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1186 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 19:32:39 +00:00
Joakim Erdfelt 509d5f6608 Adding some debug to test case that is failing
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1185 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-07 17:30:24 +00:00
Greg Wilkins 99d8f87d3d no utf8 in source
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1184 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-06 22:11:53 +00:00
Greg Wilkins ff553a6364 fixed test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1183 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-06 01:09:57 +00:00
Greg Wilkins 6bd8f08ef0 added forced host header support
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1182 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 23:44:14 +00:00
Greg Wilkins 52e5527d47 JETTY-1153 System property for UrlEncoded charset
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1181 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 05:56:41 +00:00
Greg Wilkins 32ae0b68cc JETTY-1151
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1180 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 05:55:46 +00:00
Greg Wilkins cbd9ed8386 JETTY-1151 JETTY-1098 allow UTF-8 with 0 carry bits
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1179 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 05:09:31 +00:00
Greg Wilkins acb98b34be work in progress for OSGi boot to use Deployment manager
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1178 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 00:59:52 +00:00
Greg Wilkins 6ba39e7fdf work in progress for OSGi boot to use Deployment manager
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1177 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 00:32:37 +00:00
Greg Wilkins 238cb5b5fc work in progress for OSGi boot to use Deployment manager
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1176 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-05 00:23:26 +00:00
Greg Wilkins ac0d3ae5e6 298667 various deployer improvements
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1175 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-31 03:02:51 +00:00
Greg Wilkins 52fc378b93 298667 various deployer improvements
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1174 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-31 03:02:16 +00:00
Greg Wilkins 8e19d18057 298667 DeploymentManager improvements
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1173 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-30 23:45:16 +00:00
Greg Wilkins 00957a8435 clean properties
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1172 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-29 22:53:16 +00:00
Greg Wilkins 510df3164e optional jetty-6 bundles
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1171 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-29 22:52:23 +00:00
Greg Wilkins e6b261cec2 javadoc and setRoles
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1170 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-29 22:51:49 +00:00
Greg Wilkins 94e6168fe6 field names
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1169 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-29 22:51:27 +00:00
Greg Wilkins 63205b461c code formatting
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1168 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-29 05:53:35 +00:00
Greg Wilkins 88e2b54764 better defaults
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1167 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-29 05:51:33 +00:00