This is reproducible. If anyone has time to dig deeper: Looks like Jetty is
dumping properties to a temp file on startup
<https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-start/src/main/java/org/eclipse/jetty/start/StartArgs.java#L830>
and
has issues reading them
<https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-xml/src/main/java/org/eclipse/jetty/xml/XmlConfiguration.java#L1829>
with AccessControl enabled later.

¯\_(ツ)_/¯

On Mon, May 22, 2023 at 4:13 PM Doug Turnbull
<[email protected]> wrote:

> The latest Solr 8.11 binary release does not seem to exhibit this behavior
> FWIW
>
> On Mon, May 22, 2023 at 10:01 AM Doug Turnbull <
> [email protected]>
> wrote:
>
> > Hey all, I have Java 20 installed on OSX m1
> >
> > I downloaded Solr 9.2.1 (binary release) from
> > https://solr.apache.org/downloads.html
> >
> > and unzipped it to a directory under my home folder:
> >
> >  $ tar -xzf solr-9.2.1.tgz
> > $ cd solr-9.2.1
> > $ ./bin/solr start -f
> >
> > I unfortunately get an AccessControlException, with access denied to /.
> >
> > java.lang.reflect.InvocationTargetException
> > at
> >
> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
> > at java.base/java.lang.reflect.Method.invoke(Method.java:578)
> > at org.eclipse.jetty.start.Main.invokeMain(Main.java:229)
> > at org.eclipse.jetty.start.Main.start(Main.java:527)
> > at org.eclipse.jetty.start.Main.main(Main.java:76)
> > Caused by: java.security.AccessControlException: access denied
> > ("java.io.FilePermission" "/" "read")
> >
> > Any ideas on how I might resolve this? Or am I doing something wrong?
> >
> > Thanks
> > -Doug
> >
>

Reply via email to