What has changed since Magnolia 4.0.2
This is a bugfix release, fixing a few bugs related to updates and inheritance in tag libraries. It is a recommended update for all users of Magnolia 4.0.x. As usual, the complete list of changes can be found on our Jira.
The Magnolia team would like to thank everyone who reported issues or contributed patches to this release. Your continuous interest helps us make Magnolia better.
How to update from Magnolia 4.0.2
Please refer to the general update procedure page.
How to update from an earlier version of Magnolia
Please refer to the release notes for Magnolia 4.0.2. The procedure is identical.
Please see the release notes pages for update instructions specific to the version you are updating to. If you're skipping versions (if you're updating from a fictional 1.2.3 to 1.2.6, for example), please read all release notes concerning the versions you're skipping too.
JBoss AS 5
There is an unfortunate issue, specifically when deploying under JBoss *5*: you will need to remove the Xerces jar from the Magnolia webapps: if deploying using war files, you can remove it from the archive, or with the following Unix command
zip -d path-to-magnolia.war WEB-INF/lib/xercesImpl-2.8.1.jar. If deploying using an exploded directory, simply remove the
WEB-INF/lib/xercesImpl-2.8.1.jar file. See MAGNOLIA-2577 for technical details.
If you get exception messages such as
org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser and/or
java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration, this is the issue you're hitting.
When installing on IBM WebSphere, the Derby database is no longer supported due to an issue between Derby and JackRabbit on IBM WebSphere. Please make sure to update the default configuration to use another PersistenceManager than the Derby one.
There is also an issue with Lucene 2.3.0 with IBM WebSphere 6. For this reason it is necessary to replace
WEB-INF/lib/lucene-2.3.0.jar, which is distributed with JackRabbit by default, with
WEB-INF/lib/lucene-2.2.0.jar which works fine.
Oracle Weblogic 10
When deploying on Oracle WebLogic 10, there is a version conflict while using
commons-lang. While Oracle WebLogic-10 is distributed with
commons-lang-2.3.jar, JackRabbit and Magnolia need at least
commons-lang-2.4.jar. To resolve this issue, modify
setDomainEnv.sh of Oracle WebLogic and add
commons-lang-2.4.jar to the
PRE_CLASSPATH. Since version 2.4 of
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 Oracle WebLogic installation.
Please see the list of known issues in the administration section for more details.