Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.

You can run Magnolia on the Oracle WebLogic Application Server. Include the magnolia-module-weblogic module in your installation or use the WAR file built specifically for WebLogic.

Deploying as an exploded archive

If you are deploying Magnolia as an exploded archive, ensure that the magnolia-module-weblogic is in your application's WEB-INF/lib folder. Unlike a Tomcat deployment, there are no extra steps to do.

Deploying as a WAR file

  1. Download the WebLogic WAR file corresponding to your WebLogic version.
  2. Rename the WAR file to magnoliaAuthor, magnoliaPublic or to a name that matches the name of your configuration.

Conflicting libraries

These tasks are extra configuration steps necessary to deploy your WAR file on WebLogic. You need to perform all of the other standard configuration steps.

WebLogic 10 conflict with commons-lang library

When deploying on WebLogic, there is a version conflict if using commons-lang. Note that WebLogic 10 is distributed with commons-lang-2.3.jar while WebLogic 9 is distributed with commons-lang-2.1.jar. However, JackRabbit and Magnolia 4 (and later releases) need at least commons-lang-2.4.jar. To resolve this issue, edit in WebLogic and add commons-lang-2.4.jar to PRE_CLASSPATH. As doing this does not remove any methods but only adds new API and fixes known bugs, there are no adverse effects from this change to the WebLogic installation.

WebLogic 12c conflict with Bouncy Castle library

Magnolia uses the Bouncy Castle cryptography package to decode the license key and to secure the activation process. WebLogic 12c is distributed with bcprov-jdk16-1.45.jar but Magnolia is distributed with bcprov-jdk15on-1.54.jar. This leads to a library version conflict.

Symptom: after inserting valid license key into the Magnolia license form, the error message "License is empty" is displayed.

To resolve:

  1. Edit in WebLogic and add bcprov-jdk15on-1.54.jar to PRE_CLASSPATH.
  2. Remove bcprov-jdk16-1.45.jar from WebLogic 12c common libraries.

Conflict with SL4J/Log4j libraries

Magnolia uses Apache Log4j and SLF4J as logging libraries for monitoring. WebLogic 12c has its own Log4j configuration but Magnolia comes with its own log4j.xml configuration. This leads to a library conflict. To ensure the proper loading of Magnolia's own configuration, the weblogic.xml file in your application's WEB-INF folder  has to be modified with the prefer-application-packages  element:


JAAS Configuration

Tell WebLogic Server where your jaas.config file is located.
Edit file and add the following line.


Character encoding issues

See using multibyte language in Oracle's documentation for insight on character encoding issues you may face when using WebLogic.

If you experience issues with encoding of characters in JSPs, consider adding the following section to your web.xml to ensure WebLogic JSP compiler compiles all pages in UTF-8.


Workflow module issues

Magnolia's WebLogic WAR file comes without the workflow module. The reason behind this is to prevent this issue. However, if you need the workflow module working with WebLogic, besides installing it, you have the following options:

Option 1: Using the Magnolia 5.3.9 WebLogic WAR file

Add the following libraries to your application's WEB-INF/lib folder:

Option 2: Using Maven

Add the following dependencies to your project:


Other known issues

You can check additional known issues related to WebLogic.

  • No labels