Magnolia 4.5 reached end of life on June 30, 2016. This branch is no longer supported, see End-of-life policy.
There is an unfortunate issue, specifically when deploying under JBoss 5: you will need to remove the Xerces .jar from the Magnolia CMS 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
Jira | ||||
---|---|---|---|---|
|
org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
or java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration
, this is the issue you're hitting.When deploying on Weblogic 10, there is a version conflict while using commons-lang
. While 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 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 installation.
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.
...