From: Joe W. <jo...@gm...> - 2021-02-16 23:12:09
|
Hi Loren, Are you using the CQL module? If not, you can uncomment it from your conf.xml: https://github.com/eXist-db/exist/blob/5b4692692ab0bf3642c0b0eb0a07024ec9e5f4df/exist-distribution/src/main/config/conf.xml#L995 If you're using it, I notice that there aren't any tests for it in the eXist codebase. Perhaps you would be willing to contribute some tests to prevent regressions? https://github.com/eXist-db/exist/search?q=cqlparser Joe On Tue, Feb 16, 2021 at 3:17 PM Loren Cahlander <lor...@gm...> wrote: > My client is trying to run exist in a stage environment that is in a > Kubernetes image. I do not think that the problem is exist, because it was > working before. It is, however giving the following error. > > Exist version 5.2 > > 16 Feb 2021 18:33:16,441 [main] ERROR (Configuration.java > [lookupModuleClass]:504) - Module http://exist-db.org/xquery/cqlparser could > not be initialized due to a missing dependancy (NoClassDefFoundError): > org/z3950/zing/cql/CQLParseException > java.lang.NoClassDefFoundError: org/z3950/zing/cql/CQLParseException > at > org.exist.xquery.modules.cqlparser.CQLParserModule.<clinit>(CQLParserModule.java:46) > ~[exist.uber.jar:5.2.0] > at java.lang.Class.forName0(Native Method) ~[?:?] > at java.lang.Class.forName(Class.java:315) ~[?:?] > at org.exist.util.Configuration.lookupModuleClass(Configuration.java:488) > [exist.uber.jar:5.2.0] > at org.exist.util.Configuration.loadModuleClasses(Configuration.java:454) > [exist.uber.jar:5.2.0] > at org.exist.util.Configuration.configureXQuery(Configuration.java:390) > [exist.uber.jar:5.2.0] > at org.exist.util.Configuration.<init>(Configuration.java:275) > [exist.uber.jar:5.2.0] > at > org.exist.util.SingleInstanceConfiguration.<init>(SingleInstanceConfiguration.java:56) > [exist.uber.jar:5.2.0] > at > org.exist.util.SingleInstanceConfiguration.<init>(SingleInstanceConfiguration.java:48) > [exist.uber.jar:5.2.0] > at org.exist.jetty.JettyStart.run(JettyStart.java:198) > [exist.uber.jar:5.2.0] > at org.exist.jetty.JettyStart.main(JettyStart.java:95) > [exist.uber.jar:5.2.0] > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:?] > at > jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:?] > at > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:?] > at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] > at org.exist.start.Main.invokeMain(Main.java:118) [exist.uber.jar:5.2.0] > at org.exist.start.Main.runEx(Main.java:248) [exist.uber.jar:5.2.0] > at org.exist.start.Main.run(Main.java:123) [exist.uber.jar:5.2.0] > at org.exist.start.Main.main(Main.java:60) [exist.uber.jar:5.2.0] > Caused by: java.lang.ClassNotFoundException: > org.z3950.zing.cql.CQLParseException > at > jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) > ~[?:?] > at > jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > ~[?:?] > at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?] > ... 19 more > 16 Feb 2021 18:33:16,512 [main] INFO (Configuration.java > [configureValidation]:1485) - Add catalog uri > file:///exist/etc/webapp//WEB-INF/catalog.xml > 16 Feb 2021 18:33:16,513 [main] INFO (GrammarPool.java [<init>]:54) - > Initializing GrammarPool. > 16 Feb 2021 18:33:16,515 [main] INFO (JettyStart.java [run]:2 > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |