• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3275: Make LAMS Valve and Session libraries part of plain lams.jar.

In JBoss these libraries had to be externalised as global valves were declared on server, not deployment level, and their code could not be a part of a deployment.

If the same thing is attempted with Undertow, the server will (most probably) require all code referenced by a valve to be available during core start up, i.e. before processing LAMS EAR. Since the valves reference LAMS services and other classes, separation seems difficult to achieve.

In such case valves (in Undertow: HTTP Handlers) will be a part of an deployment and will be declared for each WAR if necessary.

  1. … 2 more files in changeset.
LDEV-3275: Use "lams" security domain for the whole LAMS deployment.

Turn off JDBC spying for faster start up. Can be manually turned on later for debugging.

file jboss-app.xml was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./conf/j2ee/jboss-app.xml
LDEV-3275: Formatting

LDEV-3292: When looking for an unique LD title to create a lesson, search for LDs with given prefix instead taking all from given workspace folder.

  1. … 3 more files in changeset.
LDEV-3275: Make LAMS Session JAR a part of EAR instead of WildFly module as it uses other LAMS classes.

    • -1
    • +0
    ./conf/j2ee/jboss-deployment-structure.xml
  1. … 2 more files in changeset.
LDEV-3275: Add library dependencies. Reintroduce and upgrade Apache Commons Discovery 0.2 -> 0.5.

    • -0
    • +33
    ./lib/jakarta-commons/discovery.module.xml
file commons-discovery-0.5.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/jakarta-commons/commons-discovery-0.5.jar
file discovery.module.xml was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./lib/jakarta-commons/discovery.module.xml
LDEV-3275: Add library dependencies.

    • -1
    • +7
    ./lib/jakarta-commons/validator.module.xml
LDEV-3275: Put /userfiles dir in each LAMS WAR.

The ApplicationContext class from Tomcat embedded in JBoss allowed getRealPath() to return proper path even for non-existent resources. Undertow's FileResourceManager returns null in such cases.

This prevents CKEditor Connector servlet from initialising as it checks the path where it later stores files.

Alternative solutions are:

- configure the servlet to use a dir present in all WARs, like "META-INF"; this in counter-intuitive and does not follow WAR structure guide

- upgrade to newer CKEditor connector servlet; makes sense as we use very old one, made for FCKEditor, and the new one is available; it requires some work, though

- patch the servlet's initialisation code so it creates the dir by itself; this would result in LAMS custom CKEditor connector library

LDEV-3275: Add library dependencies and source code.

    • -0
    • +2
    ./lib/jakarta-commons/digester.module.xml
  1. … 412 more files in changeset.
LDEV-3293: Use Hibernate 4 cache. Remove unused cache management from lams_admin.

    • -3
    • +1
    ./conf/j2ee/jboss-deployment-structure.xml
    • -29
    • +0
    ./lib/jboss/hibernate-jbosscache.module.xml
    • binary
    ./lib/jboss/hibernate-jbosscache2.jar
    • -29
    • +0
    ./lib/jboss/jbosscache-core.module.xml
  1. … 897 more files in changeset.
file xdoclet-hibernate-template.xml was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./conf/xdoclet-hibernate-template.xml
LDEV-3293: Use Spring support for Hibernate 4 instead of 3 (session factory and filters).

Use new path for Hibernate DTDs. Make XDoclet generate hbm.xml files with the correct path by providing it a new template.

    • -0
    • +268
    ./conf/xdoclet-hibernate-template.xml
  1. … 110 more files in changeset.
LDEV-3293: Add missing Spring libraries and configuration entries.

    • binary
    ./lib/spring/spring-jdbc-4.0.6.RELEASE.jar
  1. … 255 more files in changeset.
file spring-jdbc-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-jdbc-4.0.6.RELEASE.jar
file spring-expression-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-expression-4.0.6.RELEASE.jar
LDEV-3293: Add missing Spring libraries and remove obsolete Hibernate libraries.

    • -50
    • +0
    ./lib/hibernate/hibernate.module.xml
    • binary
    ./lib/spring/spring-expression-4.0.6.RELEASE.jar
file aopalliance.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/aopalliance.jar
file spring-aop-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-aop-4.0.6.RELEASE.jar
LDEV-3293: Add missing Spring libraries and source code.

    • binary
    ./lib/spring/spring-aop-4.0.6.RELEASE.jar
  1. … 203 more files in changeset.
file spring-core-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-core-4.0.6.RELEASE.jar
file spring-web-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-web-4.0.6.RELEASE.jar
file spring-tx-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-tx-4.0.6.RELEASE.jar
file spring-orm-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-orm-4.0.6.RELEASE.jar
file spring-beans-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-beans-4.0.6.RELEASE.jar
file spring-context-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-context-4.0.6.RELEASE.jar
LDEV-3293: Add Spring 4.0.6 libraries and their sources. Make LAMS use them and reference Hibernate 4.3.5 embedded in WildFly 8.1.

    • -17
    • +7
    ./conf/j2ee/jboss-deployment-structure.xml
    • binary
    ./lib/spring/jboss-spring-int-vfs.jar
    • binary
    ./lib/spring/spring-context-4.0.6.RELEASE.jar
    • binary
    ./lib/spring/spring-context-support-4.0.6.RELEASE.jar
    • binary
    ./lib/spring/spring-core-4.0.6.RELEASE.jar
    • binary
    ./lib/spring/spring-orm-4.0.6.RELEASE.jar
    • binary
    ./lib/spring/spring-tx-4.0.6.RELEASE.jar
    • binary
    ./lib/spring/spring-web-4.0.6.RELEASE.jar
  1. … 13 more files in changeset.
file spring-context-support-4.0.6.RELEASE.jar was initially added on branch lams2_head_wildfly.

    • binary
    ./lib/spring/spring-context-support-4.0.6.RELEASE.jar