Magnolia 6.0 reached end of life on June 26, 2019. This branch is no longer supported, see End-of-life policy.
...
When accessing the webapp without the trailing slash after the context http://localhost:8080/magnoliaAuthor after login the user is presented with a 404 page rather than admincentral. This behavior is configurable via the mapperContextRootRedirectEnabled
and mapperDirectoryRedirectEnabled
attributes of the Context which may be used to restore the previous behavior. See Tomcat 9.0.0.M2 in https://tomcat.apache.org/tomcat-9.0-doc/changelog.html.
When deploying on Oracle WebLogic 12c, there is a version conflict while using commons-lang
. Oracle WebLogic-12c is distributed with commons-lang-2.5.jar
, JackRabbit with commons-lang-2.6.jar
and Magnolia with commons-lang-2.1.jar
.
To resolve this issue, modify setDomainEnv.sh
of Oracle WebLogic and add commons-lang-2.6.jar
to the PRE_CLASSPATH
.
Magnolia uses the Bouncy Castle cryptography package to decode the license key and to secure the activation process. Oracle WebLogic 12c is distributed with bcprov-jdk16-1.45.jar
but Magnolia is distributed with bcprov-jdk15on-1.58.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, do one of the following:
setDomainEnv.sh
in Oracle WebLogic and add bcprov-jdk15on-1.58.jar
to PRE_CLASSPATH
orbcprov-jdk16-1.45.jar
from Oracle WebLogic 12c common libraries.Magnolia cannot render images stored in dam
workspace. Google Guava library is used by the DAM API which is used for working with images.
Symptom:
Code Block | ||
---|---|---|
| ||
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.google.common.cache.LocalCache |
Workaround:
Modify the weblogic.xml
file in your application's WEB-INF
folder with the prefer-application-packages
element:
Code Block | ||||
---|---|---|---|---|
| ||||
<container-descriptor>
<prefer-application-packages>
<package-name>com.google.common.*</package-name>
</prefer-application-packages>
</container-descriptor> |
jBPM 6 cannot be deployed on Oracle WebLogic or IBM WebSphere. jBPM is included in the Magnolia Workflow module. All deployment methods are affected: Administration Console, Oracle WebLogic.Deployer, wldeploy Ant task and autodeploy directory.
Symptom:
Code Block | ||
---|---|---|
| ||
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.jbpm.services.task.lifecycle.listeners.TaskLifeCycleEventListener |
Workaround:
...
When you open a page for editing and reload it in the browser, an extra semicolon is added to the URL fragment and the server returns a 404 error. Every subsequent reload adds another semicolon. This issue occurs with older versions of the Tomcat application server. To resolve this issue, upgrade to Tomcat 7.0.47+. See
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Multiexcerpt include | ||||
---|---|---|---|---|
|
When deploying on Oracle WebLogic 12c, there is a version conflict while using commons-lang
. Oracle WebLogic-12c is distributed with commons-lang-2.5.jar
, JackRabbit with commons-lang-2.6.jar
and Magnolia with commons-lang-2.1.jar
.
To resolve this issue, modify setDomainEnv.sh
of Oracle WebLogic and add commons-lang-2.6.jar
to the PRE_CLASSPATH
.
Magnolia uses the Bouncy Castle cryptography package to decode the license key and to secure the activation process. Oracle WebLogic 12c is distributed with bcprov-jdk16-1.45.jar
but Magnolia is distributed with bcprov-jdk15on-1.58.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, do one of the following:
setDomainEnv.sh
in Oracle WebLogic and add bcprov-jdk15on-1.58.jar
to PRE_CLASSPATH
orbcprov-jdk16-1.45.jar
from Oracle WebLogic 12c common libraries.Magnolia cannot render images stored in dam
workspace. Google Guava library is used by the DAM API which is used for working with images.
Symptom:
Code Block | ||
---|---|---|
| ||
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.google.common.cache.LocalCache |
Workaround:
Modify the weblogic.xml
file in your application's WEB-INF
folder with the prefer-application-packages
element:
Code Block | ||||
---|---|---|---|---|
| ||||
<container-descriptor>
<prefer-application-packages>
<package-name>com.google.common.*</package-name>
</prefer-application-packages>
</container-descriptor> |
jBPM 6 cannot be deployed on Oracle WebLogic or IBM WebSphere. jBPM is included in the Magnolia Workflow module. All deployment methods are affected: Administration Console, Oracle WebLogic.Deployer, wldeploy Ant task and autodeploy directory.
Symptom:
Code Block | ||
---|---|---|
| ||
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.jbpm.services.task.lifecycle.listeners.TaskLifeCycleEventListener |
Workaround:
Your Magnolia instance starts up very slowly, noticeably more than before. You may encounter this after upgrading your macOS to Sierra 10.12 or later.
Workaround:
Open a terminal and figure out the hostname of your Mac. To get the hostname, use the command hostname
.
Code Block | ||
---|---|---|
| ||
hostname
joesLittleMacBookPro.local |
The command returns the hostname of your Mac. In the given example, the hostname is joesLittleMacBookPro.local
.
/etc/hosts
with an editor of your choice. You will edit the file in the next step.root
. Your user must belong to the group admin; otherwise, you cannot save the changes to the file. You will be asked for your password either when opening the file or when trying to save it.Add these two lines to /etc/hosts
:
Code Block | ||||
---|---|---|---|---|
| ||||
127.0.0.1 <hostname>
::1 <hostname> |
In place of <hostname>
, use your real hostname.
Most probably, your hosts file already contains entries starting with 127.0.0.1
and with ::1
. Just add the real host name at the end of one line that starts with ::1
and at the end of another line that starts with 127.0.0.1
. Make sure to add a space character before the hostname.
With the given hostname, the two lines would look like this:
Code Block | ||||
---|---|---|---|---|
| ||||
127.0.0.1 localhost joesLittleMacBookPro.local
::1 localhost joesLittleMacBookPro.local |
Further information:
...
...
Our default configuration uses the server mode for H2. If you migrate from Magnolia below 5.5.9 in the 5.5 branch or below 5.6.2 in the 5.6 branch and try to initiate a backup call using CLI or REST, it fails because H2 does not allow more than one connection at a time. Configure H2 to run in server mode by adding AUTO_SERVER=TRUE
in the URL parameters:
...
For issues related to publishing/activation keys and the handshaking process, see either the Publishing or errors page or the Activation errors page, depending on the module you use.