Details
-
Question
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
Jena 2.11.0
-
None
-
None
-
Google App Engine
Description
I run into this exception when employing Jena 2.11.0 as part of a Google App Engine application.
1:10:41,371 WARN [com.hp.hpl.jena.sparql.mgt.ARQMgt] - Failed to initialize JMX java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory is a restricted class. Please see the Google App Engine developer's guide for more details. at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51) at com.hp.hpl.jena.sparql.mgt.ARQMgt.init(ARQMgt.java:56)
Is it safe to assume that this will only disable ARQ’s JMX agent and not otherwise impact Jena and the application? And is it possibly to disable JMX more gracefully e.g. by a Jena/ARQ property setting?
I noticed in ARQ is (perhaps) already meant to handle environments where JMX does not exist, but apparently this does not cover Google App Engine (where ManagementFactory is not available by design) well.