[ 
https://issues.apache.org/jira/browse/SOLR-15464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colvin Cowie updated SOLR-15464:
--------------------------------
    Attachment: stacktrace.txt

> Solr 9.0 will not start using OpenJ9
> ------------------------------------
>
>                 Key: SOLR-15464
>                 URL: https://issues.apache.org/jira/browse/SOLR-15464
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: main (9.0)
>            Reporter: Colvin Cowie
>            Priority: Minor
>         Attachments: stacktrace.txt
>
>
> First spotted by [~krisden] on 
> [https://github.com/apache/solr/pull/131#pullrequestreview-670778145] for 
> SOLR-15410.
> When using an OpenJ9 JVM Solr starts correctly on branch_8x, but it does not 
> start on main (9.0), producing the following error in the logs
> {noformat}
> o.a.s.c.SolrCore null:java.security.AccessControlException: Access denied 
> ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal.reflect")
> ...[snip]...
>       at 
> org.apache.solr.common.util.JsonSchemaCreator.createObjectSchema(JsonSchemaCreator.java:82)
>       at 
> org.apache.solr.common.util.JsonSchemaCreator.createSchemaFromType(JsonSchemaCreator.java:71)
>       at 
> org.apache.solr.common.util.JsonSchemaCreator.getSchema(JsonSchemaCreator.java:54)
>       at org.apache.solr.api.AnnotatedApi.createSchema(AnnotatedApi.java:358)
>       at 
> org.apache.solr.api.AnnotatedApi.lambda$readSpec$0(AnnotatedApi.java:176)
>       at 
> org.apache.solr.api.AnnotatedApi$$Lambda$179/0x0000000000000000.getSpec(Unknown
>  Source)
> ...{noformat}
> See the full [^stacktrace]
> For some additional context, a similar issue was previously reported on 
> SOLR-14598 against 8.6, and was resolved by SOLR-14404



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to