Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
...
zip -d path-to-magnolia.war WEB-INF/lib/xercesImpl-2.8.1.jar
WEB-INF/lib/xercesImpl-2.8.1.jar
file.See
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
JBoss AS 7 requires that you deploy a gwt-user.jar
when deploying a Vaadin application such as Magnolia CMS. Magnolia does not need the JAR at runtime but if you don't supply it JBoss AS 7 will throw an error:
...
To resolve this issue, download gwt-user.jar
and copy it into the Web application's classpath.
Include Page | ||||
---|---|---|---|---|
|
Oracle WebLogic 9 also ships with an old version of JDom which later leads to issues in parsing of XML documents. Issues will be noted as exceptions such as:
...
To resolve, provide newer JDOM/Jaxen libraries by adding jdom-1.0.jar
, jaxen-1.0-FCS-full.jar
, xom-1.1.jar
and saxpath-1.0-FCS.jar
to PRE_CLASSPATH
variable in the setDomainEnv.sh
script.
When deploying on Weblogic Oracle WebLogic 10, there is a version conflict while using commons-lang
. While WeblogicOracle WebLogic-10 is distributed with commons-lang-2.3.jar
, JackRabbit and Magnolia CMS need at least commons-lang-2.4.jar
. To resolve this issue, modify setDomainEnv.sh
of Weblogic Oracle WebLogic and add commons-lang-2.4.jar
to the PRE_CLASSPATH
. Since version 2.4 commons-lang
doesn't remove any methods, but only adds new API and fixes known bugs, there is no adverse effect from this change to the Weblogic Oracle WebLogic installation.
Magnolia uses the Bouncy Castle cryptography package to decode the license key and to secure the activation process. WebLogic Oracle WebLogic 12c is distributed with bcprov-jdk16-1.45.jar
but Magnolia is distributed with bcprov-jdk16-1.46.jar
. This leads to a library version conflict.
...
To resolve, do one of the following:
setDomainEnv.sh
in Oracle WebLogic and add bcprov-jdk16-1.46.jar
to PRE_CLASSPATH
orbcprov-jdk16-1.45.jar
from Oracle WebLogic 12c common libraries.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, weblogic.Deployer, wldeploy Ant task and autodeploy directory.
...
Magnolia cannot render images stored in dam
workspace. Google Guava library is used by the DAM API 2.0 which is used for rendering of 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> |
If you use Mac OS X 10.5 or 10.6, you should update to at least 10.5.8 or 10.6.2. Earlier versions cause issues where, when two or more instances are started in the same container, some or all connections are dropped.
...
ulimit -n
limits.conf
file: sudo gedit /etc/security/limits.conf
* soft nofile 10000
* hard nofile 50000
root
.sudo gedit /etc/pam.d/common-session
session required pam_limits.so
ulimit -n
...
<CATALINA_HOME>/conf/server.xml
in a text editor. This file is under your Magnolia CMS installation directory.Find the following section and set the value of port
to something other than 8080, for example 8090:
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> <Connector port="8090" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> |
...
http://localhost:8090/magnoliaAuthor/.magnolia
./server/defaultBaseUrl
property to http://localhost:8090/magnolia/
http://localhost:8090/magnoliaPublic/.magnolia
./server/defaultBaseUrl
property to http://localhost:8090/magnolia/
Now the Welcome page at http://localhost:8090
has the correct URLs too.
...
magnoliaPublic8080
subscriber, set the URL
property to http://localhost:8090/magnoliaPublic
magnoliaPublic8090
.Info |
---|
If you want to run two different Tomcats simultaneously you need to change other ports too. This is useful if you want to run different versions of Magnolia CMS at the same time. In |
...
CATALINA_HOME environment variable identifies the Tomcat home directory, for example C:\Program Files\magnolia\apache-tomcat
. Usually Magnolia CMS finds this directory automatically. When you type magnolia_control.bat start
in the bin
directory to start the system, a second script named startup.bat
tries to find Tomcat home. It assumes that Tomcat home is one level above the bin
directory where you issued the command, and sets the value of CATALINA_HOME to that directory.
...
If the Java Virtual Machine (JVM) does not have enough memory you may see a java.lang.OutOfMemoryError
in the startup log and Magnolia CMS fails to start.
Code Block | ||||
---|---|---|---|---|
| ||||
Exception in thread "Timer-1" java.lang.OutOfMemoryError: Java heap space at org.apache.jackrabbit.core.query.lucene.IndexingQueue.getFinishedDocuments |
...
./magnolia_control.sh stop
/apache-tomcat/bin/setenv.sh
(/apache-tomcat/bin/setenv.bat
on Windows) in a text editor.Xmx
parameter to set a new maximum heap size. Default size for Magnolia CMS is 512M, try a higher amount such as 1024M../magnolia_control.sh start && tail -f ../logs/catalina.out
...