I have SOLR 8.11.1 installed on a windows server and has been working for over
a year running on port 8983
I unzip SOLR 9.7 on to the server in a separate folder
I have Java JDK 21 installed
I have JAVA_HOME set to
JAVA_HOME=C:\Program Files\Java\jdk-21
I open a command window (also tried this as administrator) and go the folder
where it's installed
I execute the command:
Bin\solr start -p 8984
I see the following:
Java 21 detected. Enabled workaround for SOLR-16463
Java 21 detected. Incubating Panama Vector APIs have been enabled
Java HotSpot(TM) 64-Bit Server VM warning: JVM cannot use large page memory
because it does not have enough privilege to lock pages in memory.
WARNING: Using incubator modules: jdk.incubator.vector
WARNING: A command line option has enabled the Security Manager
WARNING: The Security Manager is deprecated and will be removed in a future
release
Failed to parse command-line arguments due to: Unrecognized option:
--max-wait-secs
usage: bin/solr status [-maxWaitSecs <SECS>] [--solr-url <URL>]
List of options:
-maxWaitSecs <SECS> Wait up to the specified number of seconds to see Solr
running.
--solr-url <URL> Address of the Solr Web application, defaults to:
http://localhost:8984.
Please see the Reference Guide for more tools documentation:
https://solr.apache.org/guide/solr/latest/deployment-guide/solr-control-script-reference.html
ERROR: Solr did not start or was not reachable. Check the logs for errors.
I check the logs and I find the following. Any idea what I could be doing wrong?
2024-11-15 19:20:35.788 INFO (main) [c: s: r: x: t:] o.e.j.s.Server
jetty-10.0.22; built: 2024-06-27T16:03:51.502Z; git:
5c8471e852d377fd726ad9b1692c35ffc5febb09; jvm 21.0.1+12-LTS-29
2024-11-15 19:20:35.916 WARN (main) [c: s: r: x: t:] o.e.j.j.MBeanContainer
bean: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:8984] =>
java.security.AccessControlException: access denied
("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.ch")
at
java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:488)
java.security.AccessControlException: access denied
("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.ch")
at
java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:488)
~[?:?]
at
java.base/java.security.AccessController.checkPermission(AccessController.java:1071)
~[?:?]
at
java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:411)
~[?:?]
at
java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1318)
~[?:?]
at
java.base/java.lang.Class.checkPackageAccess(Class.java:3249) ~[?:?]
at java.base/java.lang.Class.checkMemberAccess(Class.java:3230)
~[?:?]
at
java.base/java.lang.Class.getDeclaredMethods(Class.java:2674) ~[?:?]
at
org.eclipse.jetty.jmx.MetaData.parseMethods(MetaData.java:193)
~[jetty-jmx-10.0.22.jar:10.0.22]
at org.eclipse.jetty.jmx.MetaData.<init>(MetaData.java:73)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.newMetaData(MBeanContainer.java:221)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.findMetaData(MBeanContainer.java:203)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.lambda$newMetaData$0(MBeanContainer.java:219)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
~[?:?]
at
java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
~[?:?]
at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
~[?:?]
at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
~[?:?]
at
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
~[?:?]
at
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
~[?:?]
at
java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
~[?:?]
at
org.eclipse.jetty.jmx.MBeanContainer.newMetaData(MBeanContainer.java:220)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.findMetaData(MBeanContainer.java:203)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.mbeanFor(MBeanContainer.java:170)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.mbeanFor(MBeanContainer.java:144)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.jmx.MBeanContainer.beanAdded(MBeanContainer.java:323)
~[jetty-jmx-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.addEventListener(ContainerLifeCycle.java:471)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:355)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:335)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.Container.addBean(Container.java:178)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.manage(ContainerLifeCycle.java:544)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
~[jetty-server-10.0.22.jar:10.0.22]
at org.eclipse.jetty.server.Server.doStart(Server.java:415)
~[jetty-server-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
~[jetty-util-10.0.22.jar:10.0.22]
at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1919)
~[jetty-xml-10.0.22.jar:10.0.22]
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
~[?:?]
at org.eclipse.jetty.start.Main.invokeMain(Main.java:229)
~[start.jar:10.0.22]
at org.eclipse.jetty.start.Main.start(Main.java:528)
~[start.jar:10.0.22]
at org.eclipse.jetty.start.Main.main(Main.java:76)
~[start.jar:10.0.22]
Thanks,
RICK HODDER
Staff Software Engineer
Global Specialty
[The Hartford]<https://www.thehartford.com/>
The Hartford
83 Wooster Heights Rd. | 2nd floor
Danbury, CT, 06810
W: 475-329-6251
Email: [email protected]<mailto:[email protected]>
www.thehartford.com<https://www.thehartford.com/>
www.facebook.com/thehartford<https://www.facebook.com/thehartford>
twitter.com/thehartford<https://twitter.com/thehartford>
******************************************************************************************************
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential and/or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If you are
not the intended recipient, please notify the sender immediately by return
e-mail, delete this communication and destroy all copies.
******************************************************************************************************