Galigator / openllet

Openllet is an OWL 2 reasoner in Java, build on top of Pellet.
https://www.w3.org/TR/owl2-primer/
Other
100 stars 26 forks source link

Openllet can't be used in Wildfly/Thorntail #40

Closed jpdigital closed 5 years ago

jpdigital commented 6 years ago

I'm trying to use Openllet in a Java EE application running in Wildfly/Thorntail. This is currently not possible because Openllet calls java.util.logging.Logger#setParent(Logger) which is not allowed by Wildfly:

Caused by: java.lang.SecurityException: setParent() disallowed
        at org.jboss.logmanager.Logger.setParent(Logger.java:359)
        at openllet.core.boxes.tbox.impl.TgBox.(TgBox.java:60)
        ... 82 more

I would it remove myself, but I looks like that Openllet does some more things with its logging, therefore I'm not sure about potential side effects...

Galigator commented 6 years ago

You should be able to remove the static bloc in shared/logging.java without side effect.

Galigator commented 5 years ago

Link to @jpdigital patch with removal of limitation for Java EE.