Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openolat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zentraler Informatikdienst
Digitale Medien und Lerntechnologien
olat
openolat
Commits
5e0bcf2e
Commit
5e0bcf2e
authored
5 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-4220: update libraries
parent
21118947
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+0
-69
0 additions, 69 deletions
README.md
pom.xml
+17
-17
17 additions, 17 deletions
pom.xml
with
17 additions
and
86 deletions
README.md
+
0
−
69
View file @
5e0bcf2e
...
...
@@ -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) |
This diff is collapsed.
Click to expand it.
pom.xml
+
17
−
17
View file @
5e0bcf2e
...
...
@@ -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.2
6
.Final
</io.undertow>
<io.undertow>
2.0.2
7
.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.2
3.8
</version>
<version>
3.2
4.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.6
3
</version>
<version>
1.6
4
</version>
</dependency>
<dependency>
<groupId>
org.bouncycastle
</groupId>
<artifactId>
bcprov-jdk15on
</artifactId>
<version>
1.6
3
</version>
<version>
1.6
4
</version>
</dependency>
<dependency>
<groupId>
com.github.scribejava
</groupId>
...
...
@@ -1874,7 +1874,7 @@
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<version>
1.7.2
8
</version>
<version>
1.7.2
9
</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>
2019
06
10.1
</version>
<version>
201910
01
.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.1
3.2
</version>
<version>
3.1
4.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>
2
7
.1-jre
</version>
<version>
2
8
.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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment