Hi everyone,
We have an Opencast 8.x installation which is now failing at startup on our dev system with the error below.
Any advice? No code or config changes recently which would explain this, and the same java version as on our production system, which is
# java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
Cheers
Stephen
2022-06-17 11:47:17,809 ERROR o.a.k.f.i.s.BootFeaturesInstaller [activator-1-thread-2] Error installing boot features
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.$FactoryFinder.newInstance($FactoryFinder.java:113) ~[?:?]
at javax.xml.parsers.$FactoryFinder.newInstance($FactoryFinder.java:90) ~[?:?]
at javax.xml.parsers.$FactoryFinder.find($FactoryFinder.java:145) ~[?:?]
at javax.xml.parsers.$FactoryFinder.find($FactoryFinder.java:122) ~[?:?]
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:41) ~[?:?]
at org.apache.karaf.util.XmlUtils.documentBuilder(XmlUtils.java:123) ~[!/:?]
at org.apache.karaf.util.XmlUtils.parse(XmlUtils.java:59) ~[!/:?]
at org.apache.karaf.features.internal.model.JaxbUtil.unmarshalValidate(JaxbUtil.java:112) ~[!/:?]
at org.apache.karaf.features.internal.model.JaxbUtil.unmarshal(JaxbUtil.java:100) ~[!/:?]
at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:114) ~[!/:?]
at org.apache.karaf.features.internal.service.RepositoryImpl.<init>(RepositoryImpl.java:50) ~[!/:?]
at org.apache.karaf.features.internal.service.RepositoryCacheImpl.create(RepositoryCacheImpl.java:51) ~[!/:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:372) ~[!/:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:367) ~[!/:?]
at org.apache.karaf.features.internal.service.BootFeaturesInstaller.addRepositories(BootFeaturesInstaller.java:123) ~[!/:?]
at org.apache.karaf.features.internal.service.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:93) [!/:?]
at org.apache.karaf.features.internal.service.BootFeaturesInstaller.start(BootFeaturesInstaller.java:87) [!/:?]
at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:196) [!/:?]
at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:292) [!/:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ClassNotFoundException: org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:398) ~[?:?]
at javax.xml.parsers.$FactoryFinder.getProviderClass($FactoryFinder.java:80) ~[?:?]
at javax.xml.parsers.$FactoryFinder.newInstance($FactoryFinder.java:103) ~[?:?]
... 23 more
---
Stephen Marquard, Deputy Director
Centre for Innovation in Learning and
Teaching (CILT)
University of Cape Town
http://www.cilt.uct.ac.za
stephen....@uct.ac.za
Phone: +27-21-650-5037 Cell: +27-83-500-5290
Hi everyone,
We have an Opencast 8.x installation which is now failing at startup on our dev system with the error below.
Any advice? No code or config changes recently which would explain this, and the same java version as on our production system, which is
# java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
Cheers
Stephen
2022-06-17 11:47:17,809 ERROR o.a.k.f.i.s.BootFeaturesInstaller [activator-1-thread-2] Error installing boot features
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.$FactoryFinder.newInstance($FactoryFinder.java:113) ~[?:?]
at javax.xml.parsers.$FactoryFinder.newInstance($FactoryFinder.java:90) ~[?:?]
at javax.xml.parsers.$FactoryFinder.find($FactoryFinder.java:145) ~[?:?]
at javax.xml.parsers.$FactoryFinder.find($FactoryFinder.java:122) ~[?:?]
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:41) ~[?:?]
at org.apache.karaf.util.XmlUtils.documentBuilder(XmlUtils.java:123) ~[!/:?]
at org.apache.karaf.util.XmlUtils.parse(XmlUtils.java:59) ~[!/:?]
at org.apache.karaf.features.internal.model.JaxbUtil.unmarshalValidate(JaxbUtil.java:112) ~[!/:?]
at org.apache.karaf.features.internal.model.JaxbUtil.unmarshal(JaxbUtil.java:100) ~[!/:?]
at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:114) ~[!/:?]
at org.apache.karaf.features.internal.service.RepositoryImpl.<init>(http://RepositoryImpl.java:50) ~[!/:?]