Merge from master
This commit is contained in:
commit
2700581906
|
@ -56,6 +56,10 @@ jetty-8.0.2.v20111006 - 06 October 2011
|
|||
+ JETTY-1434 Add a jsp that exercises jstl.
|
||||
+ JETTY-1439 space in directory installation path causes classloader problem
|
||||
|
||||
jetty-7.5.3.v20111011 - 11 October 2011
|
||||
+ 348978 migrate jetty-http-spi
|
||||
+ 358649 StdErrLog system properties for package/class logging LEVEL.
|
||||
|
||||
jetty-7.5.2.v20111006 - 06 October 2011
|
||||
+ 336443 add missing comma in DigestAuthenticator string
|
||||
+ 342161 ScannerTest fails intermittently on Mac OS X
|
||||
|
|
|
@ -28,6 +28,11 @@
|
|||
<artifactId>jetty-servlets</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-rewrite</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-deploy</artifactId>
|
||||
|
@ -42,6 +47,11 @@
|
|||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-ajp</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty.toolchain</groupId>
|
||||
<artifactId>jetty-test-helper</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
|
|
|
@ -199,6 +199,16 @@ public class JDBCSessionIdManager extends AbstractSessionIdManager
|
|||
}
|
||||
|
||||
|
||||
public void setDatasource (DataSource ds)
|
||||
{
|
||||
_datasource = ds;
|
||||
}
|
||||
|
||||
public DataSource getDataSource ()
|
||||
{
|
||||
return _datasource;
|
||||
}
|
||||
|
||||
public String getDriverClassName()
|
||||
{
|
||||
return _driverClassName;
|
||||
|
@ -471,6 +481,9 @@ public class JDBCSessionIdManager extends AbstractSessionIdManager
|
|||
private void initializeDatabase ()
|
||||
throws Exception
|
||||
{
|
||||
if (_datasource != null)
|
||||
return; //already set up
|
||||
|
||||
if (_jndiName!=null)
|
||||
{
|
||||
InitialContext ic = new InitialContext();
|
||||
|
|
Loading…
Reference in New Issue