-
Bug
-
Resolution: Outdated
-
Major
-
None
-
None
On certain platforms, users have encountered this error:
ERROR info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:213) 13.12.2007 09:26:16 Unable to initialize repository: Provider org.apache.xalan.processor.TransformerFactoryImpl not found javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
So far, this occurred only with Tomcat on Java 1.6 on Linux installations.
Do you encounter this issue ?
If so, please, leave us a comment below with the output of the following commands from a terminal:
# operating system info uname -a # figure out which Java version is used echo $JAVA_HOME which java java -version grep JAVA_HOME /path/to/your/magnolia/installation/bin/magnolia_control.sh # Tomcat version /path/to/your/magnolia/installation/bin/catalina.sh version # Tomcat libs find /path/to/your/magnolia/installation/common find /path/to/your/magnolia/installation/server find /path/to/your/magnolia/installation/lib
These should ideally be executed as the same user that you start Magnolia with, with the same environment.
If you are encountering this issue on Windows and don't know how to get the equivalent output of the above, please leave us a shout too !
To fix the issue:
- Copy the xalan jar to the WEB-INF/lib folder of your Magnolia instance(s)
- Delete the repositories folder of your Magnolia instance(s) (because the failed startup generated corrupted xml files in there)
- Restart
In some other instances, it's a xercesImpl.jar that caused issues (in either Magnolia's WEB-INF/lib folder, or Tomcat's endorsed libraries)
Also see http://www.nabble.com/Jackrabbit-war-on-Tomcat-tc5617208.html
Hopefully, we'll have a built-in fix soon, but for this, we'll need as much feedback as we can get ! Thanks in advance !
edited and removed outdated comments on 2009-06-09
- duplicates
-
MAGNOLIA-1782 Errors thrown while bootstraping when using java 1.6
- Closed
- is related to
-
MAGNOLIA-2468 Problem installing Magnolia: Premature end of file due missing xalan jar
- Closed