I did not. I have a vague recollection that somebody else may have run into this recently. Where is this to be added? Directly in karaf.bat? That would be an –add-modules java.xml.bind, correct?
From: Jean-Baptiste Onofré <j...@nanthrax.net> Sent: Friday, December 21, 2018 12:25 PM To: user@karaf.apache.org Subject: Re: Karaf 4.2.2 with jdk 11 Did you enable the jaxb module in your jdk 11 ? Le 21 déc. 2018, à 19:11, "Leschke, Scott" <slesc...@medline.com<mailto:slesc...@medline.com>> a écrit: What’s the statement on JDK 11 support in 4.2.2. I’ve not had any luck with getting 4.2.2 to run under Windows Server 2016. I unzip the distro, and run karaf.bat in the console. Karaf starts and then appears to hang, never getting to the prompt. V4.2.1 runs fine under the same scenario though. In the log, all I get is the following: Dec 21, 2018 11:57:41 AM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Trying to lock C:\karaf\apache-karaf-4.2.2\lock Dec 21, 2018 11:57:41 AM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Lock acquired Dec 21, 2018 11:57:41 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired INFO: Lock acquired. Setting startlevel to 100 2018-12-21T11:57:43,012 | WARN | FelixStartLevel | Activator | 11 - org.apache.karaf.features.core - 4.2.2 | Error starting activator java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:166) ~[11:org.apache.karaf.features.core:4.2.2] at org.apache.karaf.util.tracker.BaseActivator.start(BaseActivator.java:89) [11:org.apache.karaf.features.core:4.2.2] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [?:?] at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240) [?:?] at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) [?:?] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373) [?:?] at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:940) ~[?:?] at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660) ~[?:?] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590) ~[?:?] at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[?:?] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] ... 8 more Scott