[MAGNOLIA-1958] Cannot run Magnolia due to ERROR "Unable to initialize repository: Provider org.apache.xalan.processor.TransformerFactoryImpl not found" Created: 13/Dec/07 Updated: 10/Oct/12 Resolved: 10/Oct/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Vivian Steller | Assignee: | Jan Haderka |
| Resolution: | Outdated | Votes: | 1 |
| Labels: | troubleshooting | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
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:
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 |
| Comments |
| Comment by Hermann Kurz [ 08/Jun/10 ] |
|
Hi. I encountered this error on a stock CentOS release 5.5 (Final) install. Additionally installed: java-1.6.0-openjdk output of your commands (i have no magnolia_control.sh, because magnolia was deployes as .war (magnolia-bundled-webapp-4.3.2.war) [root@magnolia tomcat5]# su - tomcat -sh-3.2$ which java yum list installed|grep tomcat [root@magnolia tomcat5]# find /var/lib/tomcat5/common find /var/lib/tomcat5/server/ there is no directory /var/lib/tomcat5/lib/ |
| Comment by Lutz Hühnken [ 07/Oct/10 ] |
|
Encountered on RedHat Linux..
|
| Comment by Jan Haderka [ 10/Oct/12 ] |
|
Downgrading to major, since there is a known workaround. |
| Comment by Jan Haderka [ 10/Oct/12 ] |
|
This issue was not updated w/ any more occurrences since 2010 so it seems to be resolved in more recent versions of JDK and app servers and doesn't seem to occur anymore. If you run into the issue again, please reopen it with new information. Thanks |