Fixes #3747 - Make Jetty Demo work with JPMS.
Introduced module `jdbc` and made other modules that require JDBC depend on it. Modified demo.ini to enable the `jdbc` module because some webapp descriptor of the demo requires JDBC classes. Now the demo can be run fine on the module-path just by adding --jpms. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
e013c24326
commit
422b9bded5
|
@ -0,0 +1,4 @@
|
|||
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
|
||||
|
||||
[jpms]
|
||||
add-modules: java.sql
|
|
@ -10,6 +10,7 @@ session
|
|||
session-store
|
||||
|
||||
[depend]
|
||||
jdbc
|
||||
sessions
|
||||
sessions/jdbc/${db-connection-type}
|
||||
|
||||
|
@ -54,7 +55,3 @@ db-connection-type=datasource
|
|||
#jetty.session.jdbc.schema.maxIntervalColumn=maxInterval
|
||||
#jetty.session.jdbc.schema.mapColumn=map
|
||||
#jetty.session.jdbc.schema.table=JettySessions
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -3,5 +3,8 @@ DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-m
|
|||
[description]
|
||||
JDBC Datasource connections for session storage
|
||||
|
||||
[depends]
|
||||
jdbc
|
||||
|
||||
[xml]
|
||||
etc/sessions/jdbc/datasource.xml
|
||||
|
|
|
@ -3,5 +3,8 @@ DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-m
|
|||
[description]
|
||||
JDBC Driver connections for session storage
|
||||
|
||||
[depend]
|
||||
jdbc
|
||||
|
||||
[xml]
|
||||
etc/sessions/jdbc/driver.xml
|
||||
|
|
|
@ -21,3 +21,5 @@ org.eclipse.jetty.websocket.jsr356=false
|
|||
etc/test-realm.xml
|
||||
jetty.demo.realm=etc/realm.properties
|
||||
|
||||
# JDBC needed by test-jndi and test-spec
|
||||
--module=jdbc
|
||||
|
|
Loading…
Reference in New Issue