Skip to content
Snippets Groups Projects
Commit 5e0bcf2e authored by srosse's avatar srosse
Browse files

OO-4220: update libraries

parent 21118947
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,6 @@ A sophisticated modular toolkit provides course authors with a wide range of did
* [Compress javascript and CSS](#compress-javascript-and-css)
* [REST API](#rest-api)
* [Automated tests](#automated-tests)
* [Experimental: setting up OpenOlat on Eclipse with an Application Server](#experimental-setting-up-openolat-on-eclipse-with-an-application-server)
## Licensing
......@@ -381,72 +380,4 @@ mvn clean verify -DskipTests=true -DskipSeleniumTests=true -Ptomcat
Run single test as JUnit Test in Eclipse
### Experimental: setting up OpenOlat on Eclipse with an Application Server
OpenOlat supports only Apache Tomcat officially, but it can also run on other application
servers like JBoss AS / Wildfly. This section is intended for people who have
some minimal experience with these servers and can install a JDBC driver, set some
JMS resources...
As of OpenOlat 10, we need WildFly because of JPA 2.1 (Hibernate 5.2.x)
The beginning of the installation is the same as Tomcat as described above. To create
your eclipse project, use these commands instead of the default one:
```bash
mvn eclipse:clean eclipse:eclipse -P-tomcat,wildfly
```
#### Configuration WildFly (JBoss AS 10.1)
We need Hibernate 5.2, you need to use the tutorial to update the version of hibernate
in Widlfly: http://docs.jboss.org/hibernate/orm/5.2/topical/html_single/wildfly/Wildfly.html
Define a JDBC connection pool in your standalone.xml configuration with a jndi-name like:
`java:jboss/datasources/OpenOLATDS` and set this JNDI name in olat.local.properties set
the following properties:
```
db.source=jndi
db.jndi=java:jboss/datasources/OpenOLATDS
cluster.mode=Cluster
```
The cluster mode will disable the hibernate cache
Create a queue with a jndi-name like this:
```
java:jboss/exported/jms/queue/searchQueue
```
and a topic:
```
java:jboss/exported/jms/topic/sysbus
```
in olat.local.properties set the following properties:
```
jms.provider=jndi
jms.broker.jndi=java:/ConnectionFactory
sysbus.broker.jndi=java:jboss/exported/jms/topic/sysbus
search.broker.jndi=java:jboss/exported/jms/queue/searchQueue
index.broker.jndi=java:jboss/exported/jms/queue/indexQueue
certificate.broker.jndi=java:jboss/exported/jms/queue/certificateQueue
```
The following features are delegated to the application server
| State | Feature |
| --- | --- |
| OK | JDBC Connections |
| OK | JMS |
| OK | JAX-RS (restapi) |
| OK | JAX-WS (vitero, openmeetings) |
| x | Mail |
| x | LDAP Connection |
| OK | Hibernate/JPA (only JBoss AS, we depend on Hibernate) |
| OK | Caching (for JPA second level cache for example) |
......@@ -62,14 +62,14 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<targetJdk>1.8</targetJdk>
<org.springframework.version>5.1.9.RELEASE</org.springframework.version>
<org.hibernate.version>5.4.5.Final</org.hibernate.version>
<apache.cxf>3.3.3</apache.cxf>
<org.springframework.version>5.2.0.RELEASE</org.springframework.version>
<org.hibernate.version>5.4.8.Final</org.hibernate.version>
<apache.cxf>3.3.4</apache.cxf>
<apache.pdfbox>2.0.17</apache.pdfbox>
<apache.poi>4.1.0</apache.poi>
<apache.poi>4.1.1</apache.poi>
<apache.log4j>2.12.1</apache.log4j>
<io.jsonwebtoken>0.10.7</io.jsonwebtoken>
<io.undertow>2.0.26.Final</io.undertow>
<io.undertow>2.0.27.Final</io.undertow>
<jackson.version>2.9.10</jackson.version>
<org.mysql.version>5.1.46</org.mysql.version>
<org.postgresql.version>42.2.8</org.postgresql.version>
......@@ -410,7 +410,7 @@
<dependency>
<groupId>org.webjars</groupId>
<artifactId>swagger-ui</artifactId>
<version>3.23.8</version>
<version>3.24.0</version>
</dependency>
<dependency>
<groupId>jakarta.xml.ws</groupId>
......@@ -1628,12 +1628,12 @@
<dependency>
<groupId>org.jcodec</groupId>
<artifactId>jcodec</artifactId>
<version>0.2.3</version>
<version>0.2.5</version>
</dependency>
<dependency>
<groupId>org.jcodec</groupId>
<artifactId>jcodec-javase</artifactId>
<version>0.2.3</version>
<version>0.2.5</version>
</dependency>
<dependency>
<groupId>org.mnode.ical4j</groupId>
......@@ -1712,12 +1712,12 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-jdk15on</artifactId>
<version>1.63</version>
<version>1.64</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.63</version>
<version>1.64</version>
</dependency>
<dependency>
<groupId>com.github.scribejava</groupId>
......@@ -1874,7 +1874,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.28</version>
<version>1.7.29</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
......@@ -1943,7 +1943,7 @@
<dependency>
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
<artifactId>owasp-java-html-sanitizer</artifactId>
<version>20190610.1</version>
<version>20191001.1</version>
</dependency>
<dependency>
<groupId>org.w3c.css</groupId>
......@@ -2121,7 +2121,7 @@
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.1</version>
<version>2.3.2</version>
<exclusions>
<exclusion>
<groupId>com.mchange</groupId>
......@@ -2283,7 +2283,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.13.2</version>
<version>3.14.0</version>
<scope>test</scope>
</dependency>
<dependency>
......@@ -2354,13 +2354,13 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
<version>2.8.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>27.1-jre</version>
<version>28.1-jre</version>
</dependency>
<!-- selenium first -->
<dependency>
......@@ -2450,7 +2450,7 @@
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.4.1.Final</version>
<version>1.5.0.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment