Ok, it is proto-google-cloud-firestore-v1-1.35.0.jar, or iam lib which is causing that. Not fully sure why but dropping proto google jars makes it passing.
The URL handler property is set by the meecrowave.sh (to tomcat webresource handler to behave as a plain tomcat), you can try to drop it but I would investigate more why proto-google are broken again and potentially clean up these deps. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance> Le jeu. 20 janv. 2022 à 19:21, Arne Limburg <[email protected]> a écrit : > Hi Romain, > > > > indeed it seems to be a weird combination of libraries. > > I can reproduce it: > https://github.com/ArneLimburg/meecrowave-simple-sample.git > > but I still don’t know what’s going on. > > Feel free to take a look. > > Meanwhile I remove geronimo-health from the pom and implement that > endpoint by myself. That solves the problem (however leaving it in and > removing another dependency like the firebase or so solves it, too). > > > > Cheers, > > Arne > > > > *OPEN* KNOWLEDGE GmbH > Poststraße 1, 26122 Oldenburg > Mobil: +49 151 - 108 22 942 > Tel: +49 441 - 4082-154 > Fax: +49 441 - 4082-111 > [email protected] > www.openknowledge.de > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openknowledge.de%2F&data=04%7C01%7C%7C3004d8758be44c8678c008d93bcc1e23%7C48837bc476f9481d8a76bd7b60b43dec%7C0%7C0%7C637606570139932909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9vRVYZVZ%2Feqk%2BvFxU5COofNvgs8U0AxtxRqwVEwqXHA%3D&reserved=0> > > Registergericht: Amtsgericht Oldenburg, HRB 4670 > Geschäftsführer: Lars Röwekamp, Jens Schumann > > > *Treffen Sie uns auf kommenden Konferenzen und Workshops:*Zu unseren > Events > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openknowledge.de%2Fevent%2F&data=04%7C01%7C%7C3004d8758be44c8678c008d93bcc1e23%7C48837bc476f9481d8a76bd7b60b43dec%7C0%7C0%7C637606570139932909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8tjmukdm1NxhXQMkn4VnESiBI216kXvh%2Fjb7%2FFYI0kE%3D&reserved=0> > > *Von: *Arne Limburg <[email protected]> > *Datum: *Donnerstag, 20. Januar 2022 um 16:11 > *An: *[email protected] <[email protected]> > *Betreff: *AW: JNI Error using meecrowave:bundle > > Hi Romain, > > > > of course the stack is bigger 😉 , and it repeats as it is a > StackOverflowError. See two repetitions below. > > Meanwhile I tried with java 11 and have the problem, too. So indeed it may > be a combination of the libs. I’ll try to strip it down and provide a > working sample with all the libs in it. > > > > Cheers, > > Arne > > > > Error: A JNI error has occurred, please check your installation and try > again > > Exception in thread "main" java.lang.StackOverflowError > > at java.base/java.security.AccessController.doPrivileged(Native > Method) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:475) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:444) > > at > java.base/jdk.internal.loader.URLClassPath.getResource(URLClassPath.java:313) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:695) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) > > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) > > at java.base/java.net.URL.lookupViaProperty(URL.java:1261) > > at java.base/java.net.URL.getURLStreamHandler(URL.java:1416) > > at java.base/java.net.URL.<init>(URL.java:451) > > at > java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:719) > > at > java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:493) > > at > java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:476) > > at java.base/java.security.AccessController.doPrivileged(Native > Method) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:475) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:444) > > at > java.base/jdk.internal.loader.URLClassPath.getResource(URLClassPath.java:313) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:695) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) > > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) > > at java.base/java.net.URL.lookupViaProperty(URL.java:1261) > > at java.base/java.net.URL.getURLStreamHandler(URL.java:1416) > > at java.base/java.net.URL.<init>(URL.java:451) > > at > java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:719) > > at > java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:493) > > at > java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:476) > > at java.base/java.security.AccessController.doPrivileged(Native > Method) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:475) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:444) > > at > java.base/jdk.internal.loader.URLClassPath.getResource(URLClassPath.java:313) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:695) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) > > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) > > at java.base/java.net.URL.lookupViaProperty(URL.java:1261) > > at java.base/java.net.URL.getURLStreamHandler(URL.java:1416) > > at java.base/java.net.URL.<init>(URL.java:451) > > at > java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:719) > > at > java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:493) > > at > java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:476) > > at java.base/java.security.AccessController.doPrivileged(Native > Method) > > > > > > > > *OPEN* KNOWLEDGE GmbH > Poststraße 1, 26122 Oldenburg > Mobil: +49 151 - 108 22 942 > Tel: +49 441 - 4082-154 > Fax: +49 441 - 4082-111 > [email protected] > www.openknowledge.de > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openknowledge.de%2F&data=04%7C01%7C%7C3004d8758be44c8678c008d93bcc1e23%7C48837bc476f9481d8a76bd7b60b43dec%7C0%7C0%7C637606570139932909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9vRVYZVZ%2Feqk%2BvFxU5COofNvgs8U0AxtxRqwVEwqXHA%3D&reserved=0> > > Registergericht: Amtsgericht Oldenburg, HRB 4670 > Geschäftsführer: Lars Röwekamp, Jens Schumann > > > * Treffen Sie uns auf kommenden Konferenzen und Workshops: *Zu unseren > Events > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openknowledge.de%2Fevent%2F&data=04%7C01%7C%7C3004d8758be44c8678c008d93bcc1e23%7C48837bc476f9481d8a76bd7b60b43dec%7C0%7C0%7C637606570139932909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8tjmukdm1NxhXQMkn4VnESiBI216kXvh%2Fjb7%2FFYI0kE%3D&reserved=0> > > *Von: *Romain Manni-Bucau <[email protected]> > *Datum: *Donnerstag, 20. Januar 2022 um 13:43 > *An: *[email protected] <[email protected]> > *Betreff: *Re: JNI Error using meecrowave:bundle > > Hi Arne, > > > > Isnt the stack bigger? I used java 11 but not this particular version, can > also be a lib side effect. > > > > For the runner the log config is a plain jvm one (log4j2 or jul if you > exclude log4j2 deps), nothing specific except defaults available in the > config. > > > > If you share a sample i can maybe be more precise. > > Le jeu. 20 janv. 2022 à 09:35, Arne Limburg <[email protected]> > a écrit : > > Hi, > > > > I’ve created a meecrowave bundle with the maven plugin. > > Unzipping the bundle and starting it on linux with meecrowave.sh start > fails with a JNI error: > > Error: A JNI error has occurred, please check your installation and try > again > > Exception in thread "main" java.lang.StackOverflowError > > at > java.base/java.security.AccessController.doPrivileged(Native Method) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:475) > > at > java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:444) > > at > java.base/jdk.internal.loader.URLClassPath.getResource(URLClassPath.java:313) > > at > java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:695) > > > > Java-version is AdoptOpenJDK-11.0.8. > > Is there a know issue with that version? Or anything else I can do? > > Using the runner works with that Java-version, however I don’t know how to > configure logging with the runner. Do we have any pointer how to do that? > > > > Cheer, > > Arne > > > > *OPEN* KNOWLEDGE GmbH > Poststraße 1, 26122 Oldenburg > Mobil: +49 151 - 108 22 942 > Tel: +49 441 - 4082-154 > Fax: +49 441 - 4082-111 > [email protected] > www.openknowledge.de > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openknowledge.de%2F&data=04%7C01%7C%7C3004d8758be44c8678c008d93bcc1e23%7C48837bc476f9481d8a76bd7b60b43dec%7C0%7C0%7C637606570139932909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9vRVYZVZ%2Feqk%2BvFxU5COofNvgs8U0AxtxRqwVEwqXHA%3D&reserved=0> > > Registergericht: Amtsgericht Oldenburg, HRB 4670 > Geschäftsführer: Lars Röwekamp, Jens Schumann > > > * Treffen Sie uns auf kommenden Konferenzen und Workshops: *Zu unseren > Events > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openknowledge.de%2Fevent%2F&data=04%7C01%7C%7C3004d8758be44c8678c008d93bcc1e23%7C48837bc476f9481d8a76bd7b60b43dec%7C0%7C0%7C637606570139932909%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8tjmukdm1NxhXQMkn4VnESiBI216kXvh%2Fjb7%2FFYI0kE%3D&reserved=0> > >
