You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Colvin Cowie (Jira)" <ji...@apache.org> on 2021/06/09 14:17:00 UTC

[jira] [Created] (SOLR-15464) Solr 9.0 will not start using OpenJ9

Colvin Cowie created SOLR-15464:
-----------------------------------

             Summary: 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
         Attachments: stacktrace

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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org