Hi Devs, I'm unable to run the acme-ldap-1.0.jar test ldap server from:
https://docs.geoserver.org/latest/en/user/security/tutorials/ldap/index.html It seems trivial to fix (see below), but the jar has only class files in it. On Debian BookWorm, $ java -version openjdk version "11.0.14.1" 2022-02-08 OpenJDK Runtime Environment (build 11.0.14.1+1-post-Debian-1) OpenJDK 64-Bit Server VM (build 11.0.14.1+1-post-Debian-1, mixed mode, sharing) Where does the code live? Regards and thanks for any pointers Richard Duivenvoorde $ java -jar acme-ldap-1.0.jar [2022-52-20T10:52:42.042+0200] INFO [org.apache.directory.server.core.DefaultDirectoryService] - ApacheDS shutdown hook has been registered with the runtime. [2022-52-20T10:52:42.042+0200] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - ---> Initializing the DefaultDirectoryService Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.directory.server.core.partition.ldif.LdifPartition.getOSFileName(LdifPartition.java:630) at org.apache.directory.server.core.partition.ldif.LdifPartition.getFileName(LdifPartition.java:621) at org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:187) at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:65) at org.apache.directory.server.core.schema.SchemaPartition.doInit(SchemaPartition.java:229) at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:65) at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1426) at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:907) at org.acme.Ldap.initDirectoryService(Ldap.java:192) at org.acme.Ldap.<init>(Ldap.java:272) at org.acme.Ldap.main(Ldap.java:306) Caused by: java.lang.NumberFormatException: multiple points at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1914) at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122) at java.base/java.lang.Float.parseFloat(Float.java:455) at org.apache.directory.shared.ldap.util.SystemUtils.getJavaVersionAsFloat(SystemUtils.java:1336) at org.apache.directory.shared.ldap.util.SystemUtils.<clinit>(SystemUtils.java:944) ... 11 more _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel